/* ==========================================================================
   reachingkiwis.com
   Design system adapted from craigsip.com:
     - Financier Display  ->  Newsreader   (display serif, tight leading)
     - Gotham             ->  Montserrat   (geometric sans, uppercase nav)
   Palette, spacing rhythm and easing curves sampled from the source site.
   ========================================================================== */

:root {
  /* --- colour ------------------------------------------------------------ */
  --cream-50:   #F5F5F1;   /* lightest section wash          */
  --cream-100:  #F1F0EB;   /* alternate section wash         */
  --cream-200:  #E7E6DD;   /* text/rules on dark grounds     */
  --white:      #FFFFFF;

  --ink:        #454543;   /* body copy                      */
  --ink-strong: #161614;   /* nav + headings on light        */
  --muted:      #737372;   /* meta, captions                 */
  --muted-soft: #A2A2A1;
  --rule:       #D0D0D0;

  --forest:     #364630;   /* deep green feature sections    */
  --forest-dk:  #26311F;
  --copper:     #B07748;   /* accent                         */
  --copper-dk:  #A56836;
  --copper-15:  rgba(165, 104, 54, 0.3);

  /* --- type -------------------------------------------------------------- */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* --- motion (sampled from source) -------------------------------------- */
  --ease: cubic-bezier(0.42, 0, 0.58, 1);   /* ease-in-out */
  --t-fast: 0.25s;
  --t-base: 0.3s;
  --t-slow: 0.6s;

  /* --- layout ------------------------------------------------------------ */
  --shell: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 108px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 500; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--copper); color: #fff; }

/* --- type scale ----------------------------------------------------------- */
/* Source runs H1 80/80 and H2 86/81.7 - near-1.0 leading is the signature. */
.t-display { font-family: var(--serif); font-size: clamp(2.9rem, 6.4vw, 5rem);    line-height: 1.0;  letter-spacing: -0.01em; }
.t-h2      { font-family: var(--serif); font-size: clamp(2.4rem, 5.2vw, 5.35rem); line-height: 0.95; letter-spacing: -0.01em; }
.t-h3      { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.625rem); line-height: 0.9; }
.t-h4      { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem);    line-height: 1.05; }

.t-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--copper-dk);
}
.t-lede { font-size: clamp(1rem, 1.15vw, 1.13rem); line-height: 1.55; color: var(--ink); }
.t-meta {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* --- layout --------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 820px; }
/* Wider measure for long-form reading (the story, prayer letters) so a long
   piece takes fewer lines without the type getting small. */
.shell--reading { max-width: 950px; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--cream   { background: var(--cream-50); }
.section--cream-2 { background: var(--cream-100); }
.section--forest  { background: var(--forest); color: var(--cream-200); }
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: var(--white); }
.section--forest .t-eyebrow { color: var(--copper); }

.section__head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section__head .t-eyebrow { display: block; margin-bottom: 18px; }
.section__head p { margin-top: 22px; max-width: 62ch; color: var(--muted); }
.section--forest .section__head p { color: var(--cream-200); opacity: 0.82; }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   Header - transparent over the hero, solid cream once scrolled
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-slow) var(--ease);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: var(--header-h);
  transition: height var(--t-base) var(--ease);
}
.site-header__logo { display: flex; align-items: center; gap: 14px; }
.site-header__logo img { height: 54px; width: auto; transition: height var(--t-base) var(--ease), filter var(--t-base) var(--ease); }
.site-header__logo span {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a {
  position: relative;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding-block: 6px;
  transition: color var(--t-fast) var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base) var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav .btn::after { display: none; }

/* over-hero (transparent) state */
.site-header--over { color: var(--white); }
.site-header--over .site-header__logo img { filter: brightness(0) invert(1); }
.site-header--over .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.site-header--over .btn--ghost:hover { background: #fff; color: var(--ink-strong); border-color: #fff; }

/* scrolled (solid) state */
.site-header--solid {
  background: var(--cream-50);
  color: var(--ink-strong);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.site-header--solid .site-header__bar { height: 76px; }
.site-header--solid .site-header__logo img { height: 42px; filter: none; }
.site-header--hidden { transform: translateY(-100%); }

.nav-toggle { display: none; width: 30px; height: 20px; position: relative; z-index: 95; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.btn svg { transition: transform var(--t-base) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid  { background: var(--copper-dk); color: #fff; border-color: var(--copper-dk); }
.btn--solid:hover { background: var(--ink-strong); border-color: var(--ink-strong); }
.btn--ghost  { border-color: var(--ink-strong); color: var(--ink-strong); }
.btn--ghost:hover { background: var(--ink-strong); color: #fff; }
.btn--light  { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink-strong); border-color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 0.7rem; }

/* text link with animated copper rule */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper-dk); padding-bottom: 4px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base) var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--forest .link-arrow { color: var(--copper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero--short { min-height: min(62vh, 560px); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,13,0.52) 0%, rgba(15,20,13,0.18) 42%, rgba(15,20,13,0.78) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 10vw, 128px); color: #fff; }
.hero__inner .t-display { color: #fff; max-width: 15ch; }
.hero__eyebrow { color: var(--cream-200); display: block; margin-bottom: 24px; }
.hero__sub { margin-top: 24px; max-width: 54ch; font-size: clamp(0.95rem, 1.1vw, 1.08rem); color: rgba(255,255,255,0.9); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 42px; z-index: 2;
  color: rgba(255,255,255,0.75); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll i { display: block; width: 1px; height: 46px; background: currentColor; animation: dropline 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes dropline { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero for interior pages */
.pagehead { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(40px, 5vw, 72px); background: var(--cream-50); }
.pagehead .t-eyebrow { display: block; margin-bottom: 20px; }
.pagehead p { margin-top: 22px; max-width: 62ch; color: var(--muted); font-size: 1.02rem; }

/* ==========================================================================
   Scripture band
   ========================================================================== */
.scripture { text-align: center; }
.scripture blockquote {
  margin: 0 auto; max-width: 26ch;
  font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.12;
}
.scripture cite {
  display: block; margin-top: 32px; font-style: normal;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper);
}
.scripture .rule { width: 64px; height: 1px; background: var(--copper); margin: 0 auto 40px; }

/* ==========================================================================
   Feature rows (image + copy, alternating)
   ========================================================================== */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(32px, 5vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 120px); }
.feature__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-100); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature--flip .feature__media { order: 2; }
.feature__body .t-h2 { margin-bottom: 26px; }
.feature__body .t-eyebrow { display: block; margin-bottom: 18px; }
.feature__body p { color: var(--muted); max-width: 54ch; }
.feature__body .t-lede { color: var(--ink); max-width: 46ch; margin-bottom: 20px; }
.feature__body .btn, .feature__body .link-arrow { margin-top: 30px; }

/* Portrait media, with the copy column given a little less room, so a short
   two-paragraph summary sits level with the photo instead of running past it. */
.feature--portrait { grid-template-columns: 0.85fr 1fr; align-items: center; }
/* Fallback for photos whose dimensions are unknown; a media box rendered with
   natural=true carries an inline aspect-ratio, which wins over this. */
.feature--portrait .feature__media { aspect-ratio: 4 / 5; }

/* ==========================================================================
   Cards - post/insight cards (the "Insights & News" pattern)
   ========================================================================== */
.card { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-100); margin-bottom: 24px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__date { display: block; margin-bottom: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.05; color: var(--ink); transition: color var(--t-base) var(--ease); }
.card:hover .card__title { color: var(--copper-dk); }
.card__excerpt { margin-top: 14px; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.card__author { margin-top: auto; padding-top: 22px; }
.card__author strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.card__author span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-soft); }

/* placeholder shown when no photo has been set yet */
.card__media--empty, .feature__media--empty {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--cream-100) 0 12px, var(--cream-50) 12px 24px);
  color: var(--muted-soft);
}
.card__media--empty span, .feature__media--empty span {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

/* featured (first) post gets a wide split treatment */
.card--wide { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.card--wide .card__media { aspect-ratio: 16 / 10; margin-bottom: 0; }
.card--wide .card__title { font-size: clamp(1.9rem, 3.2vw, 3rem); }

/* ==========================================================================
   Accordion (Common questions / Beliefs)
   ========================================================================== */
.accordion { border-top: 1px solid var(--rule); }
.acc { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.6vw, 32px) 0; text-align: left;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.15;
  transition: color var(--t-base) var(--ease);
}
.acc__btn:hover { color: var(--copper-dk); }
.acc__icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.acc__icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.acc__icon::after  { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.acc[data-open="true"] .acc__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height var(--t-base) var(--ease); }
.acc__panel-inner { padding-bottom: clamp(24px, 3vw, 36px); max-width: 68ch; color: var(--muted); }

/* ==========================================================================
   Carousel (stats / services) - matches the slick-driven rows on the source
   ========================================================================== */
.carousel { position: relative; }
.carousel__track { display: flex; gap: clamp(20px, 2.4vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 clamp(260px, 30%, 380px); scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 12px; margin-top: 40px; }
.carousel__btn {
  width: 52px; height: 52px; border: 1px solid var(--rule); display: grid; place-items: center;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.carousel__btn:hover:not(:disabled) { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
.section--forest .carousel__btn { border-color: rgba(231,230,221,0.35); color: var(--cream-200); }
.section--forest .carousel__btn:hover:not(:disabled) { background: var(--cream-200); color: var(--forest); border-color: var(--cream-200); }

/* tile used inside the services carousel */
.tile { background: var(--white); padding: clamp(28px, 3vw, 40px); height: 100%; display: flex; flex-direction: column; transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.tile:hover { box-shadow: 0 18px 48px rgba(0,0,0,0.09); transform: translateY(-3px); }
.tile__n { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; color: var(--copper); margin-bottom: 20px; }
.tile p { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.tile .link-arrow { margin-top: auto; padding-top: 26px; }

/* ==========================================================================
   Pull quote / testimonial over image
   ========================================================================== */
.quote { position: relative; display: flex; align-items: center; overflow: hidden; padding-block: clamp(80px, 11vw, 160px); }
.quote .shell { position: relative; z-index: 2; }
.quote__media { position: absolute; inset: 0; background: var(--forest); }
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
/* Darker for longer through the middle, so a wider quote stays legible. */
.quote__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,26,18,0.88) 0%, rgba(20,26,18,0.74) 55%, rgba(20,26,18,0.42) 100%); }
/* Absolute max-width, not ch: this element inherits the 17px body font, so a
   ch value here would size against that rather than the display text inside. */
.quote__inner { color: #fff; max-width: min(100%, 760px); }
.quote__inner blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 3.1rem); line-height: 1.14; }
.quote__attr { margin-top: 34px; }
.quote__attr strong { display: block; font-size: 0.95rem; font-weight: 600; }
.quote__attr span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Prose (post body, about copy, beliefs)
   ========================================================================== */
.prose { font-size: clamp(0.98rem, 1.05vw, 1.05rem); line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 2em 0 0.7em; }
.prose h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.15; margin: 1.8em 0 0.6em; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--copper-dk); border-bottom: 1px solid var(--copper-15); transition: border-color var(--t-base) var(--ease); }
.prose a:hover { border-color: var(--copper-dk); }
.prose blockquote {
  margin: 2em 0; padding-left: clamp(20px, 3vw, 36px); border-left: 2px solid var(--copper);
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; color: var(--ink-strong);
}
.prose img { margin: 2.2em 0; width: 100%; }
.prose .signoff { margin-top: 2.2em; font-family: var(--serif); font-size: 1.25rem; color: var(--ink-strong); }

/* Recommendation quotes: long testimonials, so far smaller than display size,
   but still the serif so they read as quotations rather than body copy. */
.rec-quote {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink-strong);
}
.rec-quote p + p { margin-top: 0.9em; }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 9px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 0;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-15);
}
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { margin-top: 7px; font-size: 0.82rem; color: var(--muted-soft); text-transform: none; letter-spacing: 0; font-weight: 400; }

.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.section--forest .field label { color: var(--cream-200); opacity: 0.75; }
.section--forest .field input { background: transparent; border-color: rgba(231,230,221,0.35); color: #fff; }
.section--forest .field input::placeholder { color: rgba(231,230,221,0.5); }

.flash { padding: 14px 20px; margin-bottom: 24px; font-size: 0.92rem; border-left: 3px solid; }
.flash--ok  { background: rgba(54,70,48,0.07);  border-color: var(--forest); color: var(--forest-dk); }
.flash--err { background: rgba(165,104,54,0.09); border-color: var(--copper-dk); color: var(--copper-dk); }
.flash-stack { position: relative; z-index: 5; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-dk); color: var(--cream-200); padding-block: clamp(56px, 7vw, 96px) 40px; }
.site-footer a { transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--copper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-grid h5 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 11px; font-size: 0.94rem; opacity: 0.85; }
.footer-brand img { height: 58px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { margin-top: 20px; max-width: 34ch; font-size: 0.94rem; opacity: 0.75; }
.socials { display: flex; gap: 14px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(231,230,221,0.3); display: grid; place-items: center; transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.socials a:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.footer-base { margin-top: clamp(40px, 5vw, 68px); padding-top: 28px; border-top: 1px solid rgba(231,230,221,0.18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; opacity: 0.6; }

/* ==========================================================================
   Scroll reveal - fade + rise, staggered (source uses 0.4-0.6s ease-in-out
   with ~0.1s increments)
   ========================================================================== */
/* Guarded on html.js: if scripting never runs, content stays plainly visible
   rather than stranded at opacity 0. */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature--portrait { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-template-columns: 1fr; }
  .card--wide .card__media { margin-bottom: 24px; }
}
@media (max-width: 860px) {
  :root { --header-h: 82px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 80;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: 0 var(--gutter);
    background: var(--cream-50); color: var(--ink-strong);
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--t-slow) var(--ease), visibility var(--t-slow) var(--ease);
  }
  body.nav-open .site-nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .site-nav a { font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none; padding-block: 10px; }
  .site-nav a::after { display: none; }
  .site-nav .btn { margin-top: 22px; font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .feature, .feature--portrait { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature--portrait .feature__media { aspect-ratio: 4 / 3; }
  .quote__inner { max-width: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .grid--4, .footer-grid { grid-template-columns: 1fr; }
  .shell--reading { max-width: 100%; }
  .section { padding-block: 56px; }
}
