/* 1923 Ranch — Saddle Brown / Field Tan / Weathered Gray / Pine Green / Iron Clay / Dust */
:root {
  --saddle: #6B4426;
  --saddle-deep: #4d2f17;
  --field-tan: #C7B08A;
  --weathered: #D9D2C3;
  --pine: #2E3F2F;
  --pine-deep: #1f2a1f;
  --iron-clay: #7A5A3E;
  --dust: #E7E2D9;
  --ink: #1f1812;
  --cream: #f5f1e8;

  --display: 'Cinzel', Georgia, serif;
  --serif:   'Cormorant Garamond', Georgia, serif;

  --max: 1280px;
  --narrow: 760px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--dust);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container.narrow { max-width: var(--narrow); text-align: center; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* Type primitives */
.eyebrow {
  font-family: var(--display);
  font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--field-tan);
  margin: 0; padding-left: 0.42em;
}
.folio {
  display: inline-flex; align-items: center; gap: 1rem;
  margin: 0 0 1.5rem;
  font-family: var(--display); font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--saddle);
}
.folio span:first-child { letter-spacing: 0.18em; color: rgba(31, 24, 18, 0.45); }
.folio span:nth-child(2) { position: relative; padding-left: 1rem; }
.folio span:nth-child(2)::before {
  content: "·"; position: absolute; left: 0; top: 50%;
  transform: translateY(-55%); color: var(--saddle);
}
.folio.centered { display: flex; justify-content: center; }

.title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.18; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 1.25rem;
}
.title.centered { text-align: center; }
.rule-short {
  border: 0; width: 70px; height: 1px;
  background: var(--saddle); margin: 0 0 2rem;
  display: block;
}
.rule-short.centered { margin-left: auto; margin-right: auto; }
.editorial {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65; color: var(--ink);
  margin: 0 0 1.5rem; max-width: 60ch;
}
.editorial.centered { text-align: center; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.1rem 0;
  background: linear-gradient(to bottom, rgba(46,63,47,0.7), transparent);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(46, 63, 47, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(199, 176, 138, 0.22);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem;
  color: var(--dust);
}
.house-link {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--dust);
  opacity: 0.78; transition: opacity 0.3s var(--ease);
  border-right: 1px solid rgba(231, 226, 217, 0.22); padding-right: 1rem;
}
.house-link:hover { opacity: 1; }
.house-mark { width: 1.4rem; height: 1.4rem; object-fit: contain; }
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--display); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dust);
  justify-self: start;
}
.brand-mark { width: 2rem; height: 2rem; object-fit: contain; filter: brightness(1.2); }
.site-nav {
  display: flex; gap: 1.75rem;
  font-family: var(--display); font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--dust);
  justify-self: end;
}
.site-nav a { opacity: 0.85; padding: 0.25rem 0; position: relative; transition: opacity 0.3s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--field-tan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--cream);
}
.hero-image {
  position: absolute; inset: 0;
  background: url('assets/ranch-hero.png') center/cover no-repeat;
  filter: brightness(0.78);
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(46,63,47,0.45), rgba(46,63,47,0.15) 60%, transparent 80%),
    linear-gradient(180deg, rgba(46,63,47,0.5) 0%, rgba(107,68,38,0.2) 50%, rgba(46,63,47,0.95) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 760px; padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.lockup { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lockup .eyebrow { color: var(--field-tan); }
.hero-mark {
  width: clamp(70px, 8vw, 110px); height: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.55)) brightness(1.15);
  margin: 0.25rem 0;
}
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); line-height: 1.05;
  text-shadow: 0 3px 24px rgba(0,0,0,0.85);
  padding-left: 0.18em; white-space: nowrap;
}
.rule { display: flex; align-items: center; gap: 0.85rem; width: clamp(220px, 28vw, 340px); margin: 0.5rem auto 0.25rem; }
.rule span { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--field-tan), transparent); }
.rule i { font-style: normal; color: var(--field-tan); font-size: 0.6rem; }
.tagline {
  margin: 0.25rem 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.45; color: var(--cream); opacity: 0.95;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}

/* Sections */
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.purpose { background: var(--dust); }

/* Operations */
.operations { background: var(--weathered); }
.ops-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.op {
  border-top: 1px solid rgba(107, 68, 38, 0.32);
  padding: 1.5rem 0 0;
}
.op-num {
  margin: 0 0 0.85rem;
  font-family: var(--display); font-style: italic;
  font-size: 0.85rem; letter-spacing: 0.18em;
  color: var(--saddle);
}
.op h3 {
  margin: 0 0 0.85rem;
  font-family: var(--display); font-weight: 500;
  font-size: 1rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--pine);
}
.op p {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.55; color: var(--ink);
}

/* The Place */
.place { background: var(--dust); padding: 0; }
.place-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.place-frame { position: relative; overflow: hidden; }
.place-frame.wide { height: clamp(360px, 45vw, 560px); }
.place-img {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.place-text {
  padding: clamp(3rem, 6vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--dust);
}

/* Heritage */
.heritage { background: var(--pine); color: var(--dust); }
.heritage .title { color: var(--dust); }
.heritage .editorial { color: var(--dust); opacity: 0.95; }
.heritage .folio { color: var(--field-tan); }
.heritage .folio span:first-child { color: rgba(231, 226, 217, 0.55); }
.heritage .folio span:nth-child(2)::before { color: var(--field-tan); }
.heritage .rule-short { background: var(--field-tan); margin-left: auto; margin-right: auto; }
.creed {
  margin: 1.5rem auto 0; max-width: 540px; text-align: left;
}
.creed li {
  padding: 0.85rem 0 0.85rem 1.5rem;
  position: relative;
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(231, 226, 217, 0.18);
}
.creed li::before {
  content: "◆"; position: absolute; left: 0; top: 1rem;
  color: var(--field-tan); font-size: 0.55rem; font-style: normal;
}
.creed li:last-child { border-bottom: none; }

/* Contact */
.contact { background: var(--saddle); color: var(--cream); text-align: center; }
.contact-inner { max-width: 720px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.contact .title { color: var(--cream); }
.contact .editorial { color: var(--cream); opacity: 0.95; max-width: 56ch; }
.contact .folio { color: var(--field-tan); }
.contact .folio span:first-child { color: rgba(245, 241, 232, 0.5); }
.contact .folio span:nth-child(2)::before { color: var(--field-tan); }
.contact .rule-short { background: var(--field-tan); }
.contact-form {
  display: flex; gap: 0.5rem; max-width: 480px;
  margin: 2rem auto 1.5rem; flex-wrap: wrap;
}
.contact-form input {
  flex: 1; min-width: 0; background: transparent;
  border: 1px solid rgba(231, 226, 217, 0.5);
  color: var(--cream); padding: 0.85rem 1rem;
  font-family: var(--serif); font-size: 1rem; outline: none;
  transition: border-color 0.3s var(--ease);
}
.contact-form input::placeholder { color: rgba(245, 241, 232, 0.55); font-style: italic; }
.contact-form input:focus { border-color: var(--cream); }
.contact-form button {
  background: var(--field-tan); color: var(--saddle-deep);
  border: 1px solid var(--field-tan);
  padding: 0.85rem 1.4rem;
  font-family: var(--display); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}
.contact-form button:hover { background: transparent; color: var(--cream); }
.closing-tag {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--field-tan); margin: 1rem 0 0;
}

/* Footer */
.site-footer { background: var(--pine-deep); color: var(--dust); border-top: 1px solid rgba(199, 176, 138, 0.22); padding: 2.25rem 0; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: baseline; gap: 1rem; }
.footer-name {
  font-family: var(--display); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-house { font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: var(--field-tan); }
.footer-copy {
  font-family: var(--display); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(231, 226, 217, 0.6); margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-grid { grid-template-columns: 1fr; }
  .place-frame { min-height: 360px; }
}
@media (max-width: 760px) {
  .site-nav, .house-link { display: none; }
  .header-inner { grid-template-columns: 1fr; justify-items: center; }
  .ops-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}


.hero.hero-sheet {
  min-height: 0;
  padding: 0;
  background: #000;
  display: block;
  width: 100%;
  margin: 0;
}
.hero-sheet-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* ── Brand-sheet hero (full-viewport, centered panel, brand-color frame) ── */
.hero.hero-sheet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  margin: 0;
  padding: 0;
  background: #2E3F2F;
  overflow: hidden;
}
.hero-sheet-img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  .hero.hero-sheet { height: auto; min-height: 0; }
  .hero-sheet-img { width: 100%; height: auto; }
}

/* ── Hero-sheet override: full-bleed responsive image ── */
.hero.hero-sheet {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}
.hero.hero-sheet .hero-sheet-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1100px) {
  .hero.hero-sheet .hero-sheet-img {
    max-height: 90vh;
    width: 100%;
    object-fit: cover;
  }
}

