/* The Cost of Capable™ — locked design system
   Background #1A1A1A · Cream #F5F0E8 · Gold #C4965A
   Display: Cormorant Garamond (italic for voice) · Body: Jost
   Sharp corners. No gradients. No shadows. Generous negative space. */

:root {
  --charcoal: #1A1A1A;
  --charcoal-2: #202020;
  --charcoal-3: #161616;
  --cream: #F5F0E8;
  --cream-dim: #C9C3B8;
  --cream-faint: #8A857C;
  --gold: #C4965A;
  --gold-deep: #A87C44;
  --hair: rgba(245, 240, 232, 0.14);
  --hair-strong: rgba(245, 240, 232, 0.28);

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(24px, 6vw, 120px);
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--charcoal); }

/* ----- type primitives ----- */
.eyebrow {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.voice { /* the italic Cormorant subhead voice */
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.tm { font-size: 0.5em; vertical-align: 0.7em; font-family: var(--body); letter-spacing: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--body); font-weight: 400;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.05em 1.7em;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn .arr { transition: transform .35s ease; }
.btn:hover { background: var(--gold); color: var(--charcoal); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--gold); color: var(--charcoal); }
.btn--solid:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--ghost { border-color: var(--hair-strong); }
.btn--ghost:hover { border-color: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--body); font-weight: 400;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .3s ease, gap .3s ease;
}
.link-arrow:hover { border-color: var(--gold); gap: 0.85em; }

/* ----- site header ----- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 24px;
  padding: 1.4rem var(--gutter);
  background: rgba(26,26,26,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.site-head .brand img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.site-nav a {
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--cream-dim); font-weight: 400;
  transition: color .3s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--cream); }
.site-nav a.is-active { color: var(--gold); }
.nav-cta {
  padding: 0.7em 1.2em; border: 1px solid var(--gold);
  background: var(--gold); color: var(--charcoal) !important;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.nav-cta:hover { background: transparent; color: var(--gold) !important; border-color: var(--gold); }
.menu-toggle { display: none; }

/* ----- site footer ----- */
.site-foot {
  border-top: 1px solid var(--hair);
  padding: clamp(48px, 7vw, 96px) var(--gutter) 2.4rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.foot-grid h4 {
  font-family: var(--body); font-weight: 400;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4em;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85em; }
.foot-grid li a { font-size: 0.92rem; color: var(--cream-dim); transition: color .3s ease; }
.foot-grid li a:hover { color: var(--cream); }
.foot-brand .mark { font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--cream); }
.foot-brand p { color: var(--cream-faint); font-size: 0.88rem; max-width: 30ch; margin-top: 1em; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 1.8rem;
  border-top: 1px solid var(--hair);
  font-size: 0.78rem; color: var(--cream-faint); letter-spacing: 0.04em;
}
.foot-base a { color: var(--cream-faint); }
.foot-base a:hover { color: var(--cream-dim); }

/* ----- placeholder image slot ----- */
.ph {
  position: relative;
  background-color: var(--charcoal-2);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 9px,
    rgba(245,240,232,0.035) 9px, rgba(245,240,232,0.035) 10px);
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-family: "Courier New", monospace;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-faint);
  padding: 0.5em 1em; text-align: center;
}

/* ----- placeholder copy tag ----- */
.pl-tag {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid rgba(196,150,90,0.4);
  padding: 0.2em 0.55em; margin-bottom: 1em;
  vertical-align: middle;
}

/* ----- reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- shared layout helpers ----- */
.hair { height: 1px; background: var(--hair); border: 0; margin: 0; }
.section { padding: clamp(70px, 10vw, 150px) var(--gutter); }
.kicker-num {
  font-family: var(--display); font-style: italic; color: var(--gold);
  font-size: 1.1rem;
}

/* ============================================================
   BLENDED SITE SYSTEM — shared components across all pages
   ============================================================ */

/* cream "page" — warm sections that mirror the Field Guide title page */
.cream { background: var(--cream); color: var(--charcoal); }
.cream ::selection { background: var(--charcoal); color: var(--cream); }
.cream .eyebrow, .cream .voice { color: var(--gold-deep); }
.cream .hair { background: rgba(26,26,26,0.16); }
.cream-text-dim { color: #4a463f; }
.cream-text-faint { color: #8a8170; }
.cream-hair { background: rgba(26,26,26,0.16); }

/* monumental hero — the cohesion signature on every page */
.hero {
  padding: clamp(70px,11vw,170px) var(--gutter) clamp(48px,7vw,96px);
  border-bottom: 1px solid var(--hair);
}
.hero .eyebrow { display: block; margin-bottom: clamp(26px,4vw,46px); }
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 7rem);
  line-height: 0.98; max-width: 16ch; letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem); color: var(--cream-dim);
  line-height: 1.32; max-width: 36ch; margin-top: clamp(24px,3vw,40px);
}
.hero--split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px,5vw,80px); align-items: center; }

/* section heading block */
.shead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: clamp(40px,5vw,72px); }
.shead h2 { font-size: clamp(2.1rem,4.6vw,3.8rem); }
.shead h2 em { font-style: italic; color: var(--gold); }
.cream .shead h2 em { color: var(--gold-deep); }
.shead .note { color: var(--cream-faint); font-size: 0.95rem; max-width: 32ch; }
.cream .shead .note { color: #6a6457; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.stat { padding: clamp(30px,3.4vw,52px) clamp(20px,2vw,40px) clamp(34px,4vw,56px); border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; }
.stat .fig { font-family: var(--display); font-size: clamp(2.6rem,5vw,4.4rem); line-height: 1; color: var(--cream); }
.stat .fig em { font-style: italic; color: var(--gold); }
.stat .lab { font-family: var(--body); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-faint); margin-top: 1.2em; }

/* trusted-by logo strip */
.logos-band { padding: clamp(40px,5vw,70px) var(--gutter); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.logos-band .cap { font-family: var(--body); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: clamp(24px,3vw,40px); }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px,4vw,60px); }
.logos-row img { height: clamp(22px,2.4vw,32px); width: auto; opacity: 0.62; filter: brightness(0) invert(1); transition: opacity .3s ease; }
.logos-row img:hover { opacity: 1; }

/* pull quote */
.pullquote { padding: clamp(60px,9vw,130px) var(--gutter); }
.pullquote blockquote { margin: 0; max-width: 24ch; }
.pullquote .q { font-family: var(--display); font-style: italic; font-size: clamp(2rem,4.6vw,3.8rem); line-height: 1.2; color: var(--cream); }
.cream .pullquote .q { color: var(--charcoal); }
.pullquote .by { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 1.6em; }
.pullquote .by span { display:block; color: var(--cream-faint); margin-top: 0.4em; letter-spacing: 0.08em; }

/* testimonial grid */
.quotes { display: grid; grid-template-columns: 1fr 1fr; }
.quote { padding: clamp(32px,3.6vw,56px); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.quote:nth-child(odd) { border-left: 0; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem,2vw,1.7rem); line-height: 1.34; color: var(--cream); }
.quote .who { font-family: var(--body); font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-top: 1.4em; }
.quote .who span { display:block; color: var(--cream-faint); margin-top: 0.4em; letter-spacing: 0.06em; text-transform: none; font-size: 0.82rem; }

/* CTA band — routes to RHQ Quiz then Field Guide */
.cta-band { padding: clamp(72px,11vw,160px) var(--gutter); text-align: center; }
.cta-band .voice { font-size: clamp(1.5rem,3vw,2.5rem); display: block; margin-bottom: 0.35em; }
.cta-band h2 { font-size: clamp(2.4rem,5.6vw,5rem); max-width: 18ch; margin: 0 auto 1.4em; line-height: 1; }
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cream .cta-band h2 em { color: var(--gold-deep); }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .sub { margin-top: 2em; color: var(--cream-faint); font-size: 0.86rem; max-width: 48ch; margin-left:auto; margin-right:auto; }

/* mobile nav */
.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 30px; height: 20px; position: relative; padding: 0;
}
.menu-toggle span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--cream); transition: transform .3s ease, opacity .3s ease; }
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 16px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 49; background: var(--charcoal);
  display: flex; flex-direction: column; justify-content: center; gap: 0.2em;
  padding: var(--gutter); transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1);
}
body.menu-open .mobile-nav { transform: translateY(0); }
.mobile-nav a { font-family: var(--display); font-size: clamp(2rem,9vw,3.4rem); color: var(--cream); padding: 0.18em 0; border-bottom: 1px solid var(--hair); }
.mobile-nav a.is-active { color: var(--gold); font-style: italic; }

/* nav collapses to hamburger earlier — the full desktop nav needs room */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
}

/* ----- photography ----- */
.img-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img { background-image: none; }

/* full-bleed photographic hero — text over a flat charcoal scrim (no gradient) */
.photo-hero { position: relative; min-height: 90vh; display: flex; align-items: flex-end; border-bottom: 1px solid var(--hair); overflow: hidden; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,0.58); }
.photo-hero .inner { position: relative; z-index: 1; width: 100%; padding: clamp(48px,7vw,110px) var(--gutter); }

/* full-bleed photographic banner — optional overlaid quote */
.photo-banner { position: relative; min-height: clamp(340px,52vh,620px); display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.photo-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,0.5); }
.photo-banner .inner { position: relative; z-index: 1; padding: clamp(40px,6vw,90px) var(--gutter); width: 100%; }
.photo-banner .q { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem,4vw,3.4rem); line-height: 1.2; color: var(--cream); max-width: 24ch; }
.photo-banner .by { font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 1.6em; }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--hair); }
  .hero--split { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote { border-left: 0 !important; }
}
