/* ─── DESIGN TOKENS ──────────────────────────────────────────────
   Forest & Falls palette, from SienaFalls_BrandGuide.md v1.0
   ──────────────────────────────────────────────────────────────── */
:root {
  --navy:        #0D1825;
  --navy-2:      #16253A;
  --forest:      #2B5E3A;
  --forest-lt:   #4A8A52;
  --sky:         #3D7EA8;
  --sky-lt:      #6AA0C0;
  --gold:        #C4A215;
  --gold-lt:     #D4B820;
  --mauve:       #7A5278;

  --bg:          #F4F5F1;
  --bg-alt:      #E8EAE4;
  --white:       #FAFAF8;
  --text:        #141E2A;
  --text-mid:    #3A4A58;
  --text-lt:     #6A7A88;
  --rule:        #C8CCC6;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Lato', system-ui, -apple-system, sans-serif;

  --max-w: 1140px;
  --pad:   2rem;
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-mid);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--text); line-height: 1.2; }

.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--white); padding: .75rem 1rem; z-index: 999; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─── TYPE HELPERS ──────────────────────────────────────────────── */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--forest); font-family: var(--sans);
}
.lede { font-size: 1.12rem; color: var(--text-mid); max-width: 62ch; }

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--forest); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: .88rem;
  letter-spacing: .04em; text-decoration: none;
  padding: .9rem 1.6rem; border: 1px solid var(--forest);
  transition: background .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--forest-lt); border-color: var(--forest-lt); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(250,250,248,.5); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--sm { padding: .6rem 1.1rem; font-size: .8rem; }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 100;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.1rem; }
.site-logo { text-decoration: none; }
.site-logo__mark { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .menu { display: flex; gap: 1.75rem; list-style: none; }
.site-nav a { font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--text-mid); }
.site-nav .menu a:hover { color: var(--forest); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--navy); cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem var(--pad); }
  .site-nav.is-open { display: flex; }
  .site-nav .menu { flex-direction: column; gap: 1rem; }
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero { background: var(--navy); color: var(--white); padding-block: clamp(4rem, 11vw, 8rem); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: .02em; line-height: 1.22; max-width: 18ch;
}
.hero h1 em { color: var(--gold-lt); font-style: italic; font-weight: 400; }
.hero .eyebrow { color: var(--sky-lt); }
.hero p { color: rgba(250,250,248,.82); max-width: 58ch; margin-top: 1.5rem; font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ─── SECTIONS ──────────────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: rgba(250,250,248,.85); }
.section--dark h2 { color: var(--white); }
.section__head { max-width: 62ch; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-block: .6rem 1rem; letter-spacing: -.01em; }
.rule { width: 64px; height: 2px; background: var(--gold); margin-block: 1.5rem; border: 0; }

/* ─── CARD GRIDS ────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--rule); padding: 2rem; }
.card__title { font-size: 1.4rem; margin-bottom: .5rem; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--forest); }
.card__meta { font-size: .82rem; color: var(--text-lt); letter-spacing: .03em; margin-bottom: 1rem; }
.card__body p { font-size: .95rem; line-height: 1.78; }
.card--price .card__price { font-family: var(--sans); font-weight: 700; color: var(--gold); font-size: .95rem; letter-spacing: .04em; }

/* ─── PROBLEM BLOCK ─────────────────────────────────────────────── */
.problem p { max-width: 68ch; font-size: 1.02rem; }
.problem p + p { margin-top: 1.4rem; }
.problem blockquote { border-left: 3px solid var(--sky); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: var(--text-mid); }

/* ─── CTA BAND ──────────────────────────────────────────────────── */
.cta-band { background: var(--navy-2); color: rgba(250,250,248,.85); padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-band p { max-width: 60ch; margin-top: 1rem; }
.cta-band .btn { margin-top: 2rem; }
.cta-band a[href^="mailto"] { color: var(--gold-lt); }

/* ─── PAGE SHELLS ───────────────────────────────────────────────── */
.page-head { background: var(--bg-alt); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .75rem; }
.page-wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-wrap--narrow { max-width: 74ch; }
.page-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.entry-content h2 { font-size: 1.8rem; margin-block: 2.5rem 1rem; }
.entry-content h3 { font-size: 1.3rem; margin-block: 2rem .75rem; }
.entry-content p + p { margin-top: 1.2rem; }
.entry-content ul, .entry-content ol { margin: 1.2rem 0 1.2rem 1.4rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content li::marker { color: var(--forest); }
.entry-content a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ─── CASE STUDY ────────────────────────────────────────────────── */
.cs-header { background: var(--navy); color: var(--white); padding-block: clamp(3rem, 7vw, 5rem); }
.cs-header h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-block: .5rem .75rem; }
.cs-header__meta { color: var(--sky-lt); font-size: .9rem; letter-spacing: .04em; }
.cs-visit { margin-top: 2.5rem; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(250,250,248,.7); padding-block: 4rem 2rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__name { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: .6rem; }
.footer-brand__tagline { font-size: .92rem; max-width: 40ch; }
.footer-nav__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer-nav .menu { list-style: none; }
.footer-nav li { margin-bottom: .5rem; }
.site-footer a { color: rgba(250,250,248,.7); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(250,250,248,.15); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

/* ─── PROSE COLUMN ──────────────────────────────────────────────── */
.prose { max-width: 74ch; }
.prose p { font-size: 1.02rem; }
.prose p + p { margin-top: 1.4rem; }

/* ─── PULLQUOTE (mauve, About page only per brand guide) ─────────── */
.pullquote {
  border-left: 3px solid var(--mauve);
  padding-left: 1.75rem;
  margin-block: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 52ch;
}
.pullquote cite { display: block; margin-top: .9rem; font-family: var(--sans); font-style: normal;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-lt); }

/* ─── TESTIMONIAL ───────────────────────────────────────────────── */
.testimonial { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold); padding: 2.5rem; max-width: 60ch; }
.testimonial p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.55; color: var(--text); }
.testimonial cite { display: block; margin-top: 1.25rem; font-family: var(--sans); font-style: normal; font-size: .82rem; color: var(--text-lt); letter-spacing: .04em; }

/* ─── CONTACT ───────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--rule); padding: 2rem; }
.contact-card__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin-bottom: .5rem; }
.contact-card__email { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-card__email:hover { color: var(--forest); }
.contact-list { list-style: none; margin-top: 1.5rem; }
.contact-list li { position: relative; padding-left: 1.25rem; margin-bottom: .6rem; font-size: .96rem; }
.contact-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   EDITORIAL LAYER
   Weight comes from imagery, type scale, and restraint. Added after
   the first build looked correct but flat.
   ══════════════════════════════════════════════════════════════════ */

/* ─── FULL-BLEED IMAGE HERO ─────────────────────────────────────── */
.hero--image {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 35%;
  background-color: var(--navy);
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero--image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(13,24,37,.94) 0%,
    rgba(13,24,37,.72) 38%,
    rgba(13,24,37,.34) 70%,
    rgba(13,24,37,.20) 100%);
}
.hero--image .wrap { position: relative; z-index: 1; }

/* Larger display scale. The single biggest change from the first pass. */
.hero--image h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: .005em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero--image h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-lt);
}
.hero--image p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 52ch; }

/* ─── CAPABILITY STRIP ──────────────────────────────────────────── */
.strip {
  background: var(--navy-2);
  border-block: 1px solid rgba(196,162,21,.35);
  padding-block: 1.15rem;
}
.strip ul {
  list-style: none; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .9rem 2rem;
}
.strip li {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(250,250,248,.82);
  position: relative;
}
.strip li + li::before {
  content: ""; position: absolute; left: -1rem; top: 50%;
  width: 1px; height: 11px; transform: translateY(-50%);
  background: rgba(196,162,21,.55);
}

/* ─── ORNAMENT: gold rule with a centre diamond ─────────────────── */
.ornament { display: flex; align-items: center; gap: .75rem; margin-block: 2rem; }
.ornament::before, .ornament::after { content: ""; height: 1px; background: var(--gold); flex: 1; max-width: 120px; }
.ornament span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.ornament--left::before { max-width: 48px; }

/* ─── NUMBERED SERVICE ROWS ─────────────────────────────────────── */
.numbered { border-top: 1px solid var(--rule); }
.numbered__row {
  display: grid; grid-template-columns: 5rem 1fr;
  gap: 0 2rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.numbered__num {
  font-family: var(--serif); font-size: 2.1rem; font-weight: 400;
  font-style: italic; color: var(--gold); line-height: 1;
}
.numbered__body h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.numbered__body p { max-width: 62ch; }
@media (max-width: 640px) {
  .numbered__row { grid-template-columns: 1fr; gap: .5rem; }
  .numbered__num { font-size: 1.5rem; }
}

/* ─── DROP CAP ──────────────────────────────────────────────────── */
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: .82;
  padding: .32rem .6rem 0 0;
  color: var(--navy);
}

/* ─── FULL-BLEED IMAGE PLATE ────────────────────────────────────── */
.plate { position: relative; }
.plate img { width: 100%; height: clamp(280px, 44vh, 520px); object-fit: cover; }
.plate figcaption {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-lt);
  padding: .85rem var(--pad); text-align: center;
}
.plate--quote { background: var(--navy); }
.plate--quote .plate__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--pad); }
.plate--quote blockquote {
  font-family: var(--serif); font-style: italic; color: var(--white);
  font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.35;
  text-align: center; max-width: 24ch; text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.plate--quote cite { display: block; margin-top: 1.25rem; font-family: var(--sans); font-style: normal;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); }

/* ─── SECTION HEAD, RAISED ──────────────────────────────────────── */
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section--dark .eyebrow { color: var(--gold-lt); }

/* ─── CARDS WITH IMAGES ─────────────────────────────────────────── */
.card img { margin: -2rem -2rem 1.5rem; width: calc(100% + 4rem); max-width: none; height: 200px; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════════
   FIXES, first review
   ══════════════════════════════════════════════════════════════════ */

/* 1. Nav CTA was unreadable. `.site-nav a` (0,1,1) was beating `.btn`
      (0,1,0), so the button text inherited mid-grey on forest green. */
.site-nav .btn { color: var(--white); }
.site-nav .btn:hover { color: var(--white); }

/* 2. Hero: the flare washed out the gold italic. Add a left-to-right
      scrim so the type side stays dark regardless of the photograph. */
.hero--image::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(13,24,37,.82) 0%,
    rgba(13,24,37,.55) 42%,
    rgba(13,24,37,.10) 78%,
    rgba(13,24,37,0) 100%);
}
.hero--image::after { z-index: 0; }
.hero--image .wrap { z-index: 2; }

/* Lift the italic off bright ground with a faint shadow. */
.hero--image h1 { text-shadow: 0 1px 28px rgba(13,24,37,.45); }
.hero--image h1 em { color: #E6C64A; }

/* 3. Hero eyebrow in sky blue was too weak over a photograph. */
.hero--image .eyebrow { color: var(--gold-lt); }

/* 4. Drop cap spanned three lines against a two-line paragraph and left
      a hole. Smaller cap, and clear the float so following text sits right. */
.dropcap::first-letter { font-size: 3.2rem; line-height: .9; padding: .2rem .5rem 0 0; }
.dropcap { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════
   MOTION
   Slow, small, once. Nothing loops, nothing bounces, nothing moves
   more than 20px. All of it off for prefers-reduced-motion.
   ══════════════════════════════════════════════════════════════════ */

.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.rise.is-in { opacity: 1; transform: none; }

/* Header condenses on scroll. Brand guide called for a scrolled state. */
.site-header { transition: padding .3s ease, box-shadow .3s ease, background-color .3s ease; }
.site-header__inner { transition: padding-block .3s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 16px rgba(13,24,37,.08); background: rgba(244,245,241,.96); backdrop-filter: blur(6px); }
.site-header.is-scrolled .site-header__inner { padding-block: .7rem; }
.site-header.is-scrolled .site-logo__mark { font-size: 1.2rem; transition: font-size .3s ease; }
.site-logo__mark { transition: font-size .3s ease; }

/* Nav links draw a gold underline from the left on hover. */
.site-nav .menu a { position: relative; padding-block: .3rem; }
.site-nav .menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.site-nav .menu a:hover::after { transform: scaleX(1); }

/* Buttons lift a hair. */
.btn { transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }

/* Cards warm slightly on hover. */
.card { transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
.card:hover { border-color: var(--gold); box-shadow: 0 6px 28px rgba(13,24,37,.06); transform: translateY(-2px); }

/* Plate images breathe very slowly on hover, cropped by the frame. */
.plate { overflow: hidden; }
.plate img { transition: transform 1.6s cubic-bezier(.22,.61,.36,1); }
.plate:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .plate:hover img { transform: none; }
  .site-nav .menu a::after { transition: none; }
  html { scroll-behavior: auto; }
}
