/* ============================================================
   Sprezza — Editorial Elegance
   Quiet-luxury system: Fraunces display · ivory · green-black ink
   racing green · gold hairlines · guilloché engravings.
   Typography is the design. Loaded after styles.css, 5 pages only.
   ============================================================ */

:root {
  --ink-soft: #3f3a33; /* body copy a touch darker for contrast on the cream */
  /* Recolor the base system */
  --ink:        #171f1a;   /* green-black ink */
  --ink-soft:   #454f47;
  --ink-faint:  #85897b;
  --paper:      #f7f4ec;
  --paper-2:    #f1ecdf;
  --panel:      #e9e3d1;
  --line:       #ddd6c2;
  --bronze:      #9a7b3f;  /* gold — labels & hairlines only */
  --bronze-deep: #7e6432;
  --bronze-soft: #eadfc4;
  --teal:      #1e4434;    /* racing green — the interactive color */
  --teal-deep: #143126;
  --teal-soft: #d9e2d6;

  --serif: "Hoefler Text A", "Hoefler Text", "EB Garamond", Georgia, serif;
  --caps: "Jost", "Futura", "Century Gothic", sans-serif;
  --krona: "Krona One", sans-serif;
  --green:      #183f38;   /* background areas */
  --green-deep: #11322c;   /* header */
  --gold:       #9a7b3f;
  --pop:        #C5673D;   /* vermillion — the wayfinding color */
}

::selection { background: var(--pop); color: var(--paper); }

/* ---------- The ticker: one honest line ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); background: var(--paper);
}
.ticker__inner { display: flex; justify-content: space-between; gap: 1.4rem; padding-block: 0.5rem; flex-wrap: wrap; }
.ticker__inner span { white-space: nowrap; }
@media (max-width: 720px) { .ticker__inner span:nth-child(2) { display: none; } }

/* ---------- Typography: Hoefler headers & body ---------- */
body { font-family: var(--serif); }
h1, h2, h3 {
  font-family: var(--serif); text-transform: none;
  font-weight: 400; letter-spacing: -0.005em;
}
.display { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -0.005em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; font-weight: 400; }
.hero .display, .hero--split .display { max-width: none; }
.lede {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.6; letter-spacing: 0.002em;
  text-transform: none; max-width: 44ch;
}
p, li { font-family: var(--serif); }
.serif-accent { color: var(--green); }
.stat .num { font-weight: 350; }
.stat .num em { color: var(--gold); }

/* small caps label system */
.eyebrow {
  font-family: var(--caps); font-size: 0.78rem; letter-spacing: 0.22em; color: var(--gold); font-weight: 500;
}
.eyebrow::before {
  width: 9px; height: 9px; background: var(--pop); opacity: 1;
  border-radius: 50%; -webkit-mask: none; mask: none;
}
.eyebrow--teal { color: var(--green); }
.kicker { font-family: var(--caps); font-size: 0.68rem; letter-spacing: 0.24em; color: var(--gold); font-weight: 500; }
.kicker--teal { color: var(--green); }

/* ---------- Nav: the clubhouse bar ---------- */
.nav {
  background: var(--green-deep);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
@media (max-width: 900px) {
  /* closed menu: fully off-screen AND unpaintable (screenshot stitchers re-anchor fixed elements) */
  .nav__links {
    transform: translateY(calc(-100% - 90px));
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; transition: transform 0.4s var(--ease); }
}
.nav.scrolled { border-bottom-color: rgba(244,239,226,0.18); }
.brand {
  font-family: var(--krona); font-weight: 400; font-size: 0.98rem;
  text-transform: uppercase; letter-spacing: 0.22em; line-height: 0.95;
  color: #f4efe2;
}
.brand .dot { color: var(--pop); }
.nav .brand .mark { background: #f4efe2; border-radius: 50%; padding: 3px; }
.nav__links a {
  font-family: var(--krona); font-size: 0.685rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(248,244,233,0.93); font-weight: 400; line-height: 0.95;
}
.nav__links a::after { background: var(--pop); height: 1.5px; bottom: -5px; }
.nav__links a:hover, .nav__links a.active { color: #f4efe2; }
.nav__links a.nav__cta {
  border-radius: 999px; background: transparent; border: 1.5px solid rgba(244,239,226,0.85);
  color: #f4efe2; padding: 0.6rem 1.45rem; font-weight: 500;
}
.nav__links a.nav__cta:hover, .nav__links a.nav__cta.active {
  background: var(--pop); border-color: var(--pop); color: #fdf9ef; transform: none;
}
.nav__toggle span { background: #f4efe2; }
@media (max-width: 900px) {
  .nav__links { background: var(--green-deep); border-bottom: 1px solid rgba(244,239,226,0.18); }
  .nav__links a { border-bottom-color: rgba(244,239,226,0.12); }
  /* roomier tap rows (~56px) so picking a page is easy */
  .nav__links a:not(.nav__cta) { padding: 1.35rem 0; }
  .nav__links a.nav__cta { min-height: 54px; }
}

/* ---------- Buttons: soft pills ---------- */
.btn {
  border-radius: 999px; border-width: 1.5px;
  font-family: var(--caps); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 1.02rem 2rem;
}
.btn--solid { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn--solid:hover { background: var(--green-deep); border-color: var(--green-deep); transform: none; box-shadow: none; }
.btn--accent { background: var(--pop); border-color: var(--pop); color: #fdf9ef; }
.btn--accent:hover { background: #a8522e; border-color: #a8522e; transform: none; box-shadow: none; }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 45%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: transparent; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(197,103,61,0.35); }

/* ---------- Ornament: subtraction ---------- */
body::before { content: none; }
.deco-star { display: none; }
.deco-rule {
  width: 176px; height: 16px; margin: 0 auto;
  color: color-mix(in srgb, var(--gold) 78%, #d9b25f);
  background: currentColor; opacity: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 16'%3E%3Cpath d='M0 8 H72 M104 8 H176' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='82' y='2' width='12' height='12' transform='rotate(45 88 8)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 16'%3E%3Cpath d='M0 8 H72 M104 8 H176' stroke='%23000' stroke-width='1.8'/%3E%3Crect x='82' y='2' width='12' height='12' transform='rotate(45 88 8)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.divider { background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.divider::before { content: none; }

/* ---------- Section heads: quiet folio rules + refined underline ---------- */
/* head rules retired site-wide — they ended at the head's 54ch cap, never the wrap, and read as accidents */
.head { border-top: 0; padding-top: 0; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.head .eyebrow { margin-bottom: 1.3rem; }
/* (the copper squiggle underline is retired site-wide — dots, rules, frames and diamonds carry the ornament) */

/* ---------- Framed editorial section (mounted-card treatment) ---------- */
.section--framed {
  position: relative;
  padding-top: calc(clamp(4.6rem, 6.6vw, 6.1rem) + 25px);
  padding-bottom: calc(clamp(5.2rem, 7.8vw, 7.2rem) + 25px);
}
.section--framed::before {
  content: ""; position: absolute;
  top: calc(clamp(26px, 2.7vw, 29px) + 30px);
  bottom: calc(clamp(38px, 4.5vw, 54px) + 30px);
  left: max(14px, calc((100% - (var(--maxw) + 190px)) / 2));
  right: max(14px, calc((100% - (var(--maxw) + 190px)) / 2));
  border: 2px solid var(--green);
  outline: 2px solid var(--green);
  outline-offset: 5px;
  pointer-events: none;
}
.section--framed > .wrap {
  position: relative;
  max-width: calc(var(--maxw) + 104px);
  padding-inline: calc(var(--gut) + clamp(10px, 1.6vw, 22px));
}
.section--framed .head {
  border-top: 0; padding-top: 0;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.section--framed .head h2::after { display: none; }

/* columns align as a set: shared title height, CTAs on one baseline */
.pillar { display: flex; flex-direction: column; }
.pillar > p.mt-1:last-child { margin-top: auto; padding-top: 0.9rem; }
@media (min-width: 901px) {
  /* equal reserved zones: two-line titles, four-line descriptions, CTAs on one baseline */
  .section--framed .pillar h3 { min-height: 2.6em; }
  .section--framed .pillar > p:not(.mt-1) { min-height: 6.4em; }
}

/* ---------- About page: company spread, who-you-work-with, values rhythm ---------- */
.hero .serif-accent { color: #c8a969; } /* was green-on-green: invisible */
.section--company { padding-block: clamp(2.6rem, 5vw, 4rem); }
.section--company .split { align-items: center; }
.section--company .split p + p { margin-top: 0.4rem; } /* one connected explanation */
.section--company .art--company { width: 95%; justify-self: end; margin-top: 13px; }
#values .head { margin-bottom: clamp(1.3rem, 2.4vw, 1.65rem); } /* columns ~12px closer again */
#values .pillar p { font-size: 1.01rem; color: #34302a; }
@media (max-width: 900px) {
  .section--company .art--company { width: 100%; justify-self: stretch; }
}

/* ---------- Software page: build grid, partner note, portfolio ---------- */
/* subpage hero plates hang from the headline cap, not the eyebrow */
.hero--split .hero__art:has(.art--raster) {
  align-self: start;
  margin-top: clamp(2.2rem, 4vw, 3.3rem);
}
.build-grid { row-gap: clamp(1.6rem, 3vw, 2.4rem); column-gap: clamp(2rem, 4vw, 3.5rem); }
.build-grid .pillar p {
  max-width: 58ch; color: #37332c;
  font-size: clamp(1.0625rem, 1.1vw, 1.125rem); /* 17px, up to 18px on wide screens */
  line-height: 1.6;
}
/* intro matches the descriptions, a hair larger */
.section--tight:has(.build-grid) .head p { font-size: clamp(1.09rem, 1.15vw, 1.15rem); color: #37332c; }
/* intro sits ~20px closer to the grid */
.section--tight:has(.build-grid) .head { margin-bottom: clamp(1.4rem, 3vw, 2.35rem); }
#process .step { padding: 1.55rem 0; } /* ~14% tighter rows */
#process .head { margin-bottom: clamp(1.2rem, 2.6vw, 1.8rem); } /* intro ~30px closer to step 01 */
#process .head p { color: #d3dac9; }
#process .step p { color: #ccd4c2; }
#process .step:last-child { border-bottom: 0; } /* nothing follows step 04 */
/* How to Start / How We Can Help: descriptions match What We Build's scale */
.start-grid .pillar p, .help-grid .pillar p {
  font-size: clamp(1.0625rem, 1.1vw, 1.125rem); line-height: 1.6; color: #37332c;
}
/* all titles fit one line now — no reserved zone, no gap */
.section--tight:has(.help-grid) .head, .section--tight:has(.start-grid) .head {
  margin-bottom: clamp(1.3rem, 2.6vw, 2rem); /* columns ~25px closer to the headline */
}
#partner { padding-bottom: clamp(1.6rem, 3vw, 2.5rem); }
#portfolio { padding-top: clamp(2.4rem, 4.5vw, 3.6rem); }
.plogo {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 10px;
  background: transparent; margin-bottom: 0.9rem; overflow: hidden;
}
.plogo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 10px; } /* center, never crop */
.link-sep { color: color-mix(in srgb, var(--ink-faint) 70%, transparent); margin: 0 0.15rem; }
.portfolio-grid { row-gap: clamp(2.25rem, 3.4vw, 2.75rem); column-gap: clamp(2rem, 4vw, 3.5rem); }
.portfolio-grid .pillar p {
  max-width: 58ch; color: #37332c;
  font-size: clamp(1.0625rem, 1.1vw, 1.125rem); line-height: 1.6;
}
.portfolio-grid .kicker { margin: 0.1rem 0 0.45rem; }
.portfolio-grid .pillar h3 { margin-top: 0; }
/* rows align: descriptions share a reserved zone so links land on one baseline */
@media (min-width: 901px) {
  .portfolio-grid .pillar > p:not(.mt-1) { min-height: 5em; }
}
.portfolio-grid .accent-link { display: inline-block; padding: 0.45rem 0.4rem 0.45rem 0; margin: -0.3rem 0; }

/* ---------- Consulting: two-practice editorial spreads ---------- */
.section--pov { padding-bottom: clamp(1.8rem, 3.4vw, 3rem); } /* a touch less air before the divider */
.section--pov p { color: #37332c; }
.section--pov p + p { margin-top: 0.65rem; } /* paragraphs ~10px closer */
.section--pov .art { width: 111%; max-width: none; margin-right: -7%; }
@media (max-width: 900px) {
  .section--pov .art { width: 100%; margin-right: 0; }
}
.practice__grid {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 58fr);
  gap: clamp(2.4rem, 6vw, 5.5rem);
  align-items: start;
}
.practice__intro .eyebrow { display: inline-flex; margin-bottom: 1.2rem; }
.practice__intro h2 { margin: 0 0 1.1rem; }
.practice__intro p { max-width: 42ch; }
.plist { border-top: 1px solid color-mix(in srgb, var(--gold) 42%, transparent); }
.plist__row {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.pnum {
  font-family: var(--caps); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; color: var(--pop); padding-top: 0.42rem;
}
.plist h3 { margin: 0 0 0.4rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.plist p { margin: 0; font-size: 0.98rem; max-width: 58ch; }
.plist p { color: #37332c; }
.practice { padding-bottom: clamp(2.8rem, 5.5vw, 4.25rem); } /* both practices a touch shorter */
.practice--dark { padding-block: clamp(3.2rem, 6.2vw, 4.75rem); }
.practice--dark .plist { border-top-color: rgba(200,169,105,0.5); }
.practice--dark .plist__row { border-bottom-color: rgba(247,244,236,0.16); }
.practice--dark .pnum { color: #c8a969; }
.practice--dark .practice__intro p, .practice--dark .plist p { color: #d3dac9; }
/* Practice 02 mirrors Practice 01 on desktop: capabilities left, introduction right */
@media (min-width: 901px) {
  .practice--dark .practice__grid { grid-template-columns: minmax(0, 58fr) minmax(0, 38fr); }
  .practice--dark .practice__intro { order: 2; }
  .practice--dark .plist { order: 1; }
}
@media (max-width: 900px) {
  .practice__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .practice__intro p { max-width: 58ch; }
}

/* method as a horizontal pathway */
.steps--path {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
  position: relative;
}
.steps--path::before {
  content: ""; position: absolute; top: 1.4rem; left: 2%; right: 2%; height: 1px;
  background: color-mix(in srgb, var(--gold) 50%, transparent);
}
.steps--path .step { display: block; padding: 0; border-bottom: 0; }
.steps--path .step__n { position: relative; z-index: 1; margin-bottom: 1rem; }
.steps--path h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.steps--path p { font-size: 0.95rem; color: #37332c; }
/* timeline sits ~25px closer to the intro */
.section:has(.steps--path) .head { margin-bottom: clamp(1.5rem, 2.8vw, 2.2rem); }
@media (max-width: 900px) {
  /* vertical timeline: the line runs through the circles */
  .steps--path { grid-template-columns: 1fr; gap: 0; }
  .steps--path::before {
    content: ""; left: 1.4rem; right: auto; top: 1.4rem; bottom: 1.4rem;
    width: 1px; height: auto;
  }
  .steps--path .step {
    display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
    padding: 1.05rem 0; border-bottom: 0;
  }
  .steps--path .step__n { margin-bottom: 0; }
}

/* ---------- The Name: sprezzatura spread ---------- */
.section--name .head {
  border-top: 0; padding-top: 0;
  margin-bottom: clamp(0.9rem, 1.8vw, 1.4rem);
}
.section--name h2 { font-size: clamp(2.15rem, 4.1vw, 3.15rem); }
.section--name .head h2::after { display: none; }
.name-split {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  /* settle the composition in the green: shifted down, then raised 18px to balance */
  margin-top: calc(clamp(14px, 2vw, 24px) - 18px);
  margin-bottom: calc(18px - clamp(14px, 2vw, 24px));
}
.section--name .lede { max-width: 46ch; color: #e9e4d2; }
.section--name p:not(.lede) { max-width: 46ch; color: #e5eadd; }
.section--name .lede + p.mt-2 { margin-top: 0.65rem; }
/* the lexicon plate: sprezzatura, defined */
.section--name .name-plate {
  align-self: start; justify-self: end;
  width: min(474px, 100%);
  margin-top: 3.4rem;
  margin-right: clamp(12px, 2.6vw, 42px);
  border: 1px solid rgba(244,239,226,0.78);
  outline: 1px solid rgba(244,239,226,0.34);
  outline-offset: 5px;
  padding: clamp(2.1rem, 3.5vw, 2.9rem) clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
}
.section--name .name-plate p { max-width: none; margin: 0; }
.section--name .name-plate__word {
  font-family: var(--serif); font-size: clamp(1.85rem, 2.9vw, 2.4rem);
  line-height: 1.1; color: #f4efe2; letter-spacing: 0.015em;
}
.section--name .name-plate__phon {
  margin-top: 0.55rem; font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: rgba(244,239,226,0.62); letter-spacing: 0.04em;
}
.section--name .name-plate__pos {
  margin-top: 0.8rem; font-family: var(--caps); text-transform: uppercase;
  font-size: 0.66rem; letter-spacing: 0.26em; color: #c8a969;
}
/* one accent hue within this section: dot, sprezzatura, diamond */
.section--name .eyebrow::before { background: #c8a969; }
.section--name .deco-rule { color: #c8a969; }
.section--name .name-plate .deco-rule { width: 112px; height: 12px; margin: 1.15rem auto; }
.section--name .name-plate__def {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.12rem, 1.6vw, 1.28rem); line-height: 1.55;
  color: #e9e4d2;
  text-wrap: balance;
}
.section--name .name-plate__src {
  margin-top: 1.65rem; font-size: 0.88rem;
  color: rgba(215,221,207,0.9); letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .name-split { grid-template-columns: 1fr; }
  .section--name .name-plate { justify-self: center; margin-top: 1.4rem; width: min(400px, 100%); }
}

/* the divider straddles the green/cream boundary */
.hero + .wrap { position: relative; z-index: 2; }
.hero + .wrap .deco-sep { margin-top: -7px; margin-bottom: clamp(0.6rem, 1.6vw, 1.2rem); }

/* ---------- Hero: the green room, filling the first screen ---------- */
/* cream lives on <main>; body + canvas stay green so overscroll and the
   area beyond the footer read green top AND bottom (Rochambeau behavior) */
html { background: var(--green-deep); }
body { background: var(--green-deep); }
main { background: var(--paper); }
.hero {
  background: var(--green);
  padding-block: clamp(2.4rem, 5.5vw, 4.5rem) clamp(2.8rem, 6vw, 5rem);
  min-height: calc(100svh - 78px);
  display: flex; align-items: center;
}
.hero > .wrap { width: 100%; }
.hero--split > .wrap { align-items: center; }
.hero::after { content: none; }
.hero::before {
  content: ""; position: absolute; z-index: 0; right: -10%; top: -24%;
  width: min(60vw, 700px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(244,239,226,0.07), transparent 62%);
}
.hero__art::before { content: none; }
.hero h1, .hero .display { color: #f4efe2; }
.hero .lede { color: #d5dbc7; }
.hero p { color: #c2cbb5; }
.hero .eyebrow { color: #c8a969; }
.hero .btn--ghost { border-color: rgba(244,239,226,0.85); color: #f8f4e9; }
.hero .btn--ghost:hover { border-color: #f4efe2; color: var(--green); background: #f4efe2; }
.art {
  /* the engravings carry their own drawn plate frames — no second box around them */
  border-radius: 0; border: 0;
  box-shadow: none; filter: none; background: transparent;
}
/* CTA belongs to the paragraph it concludes */
.split .btn.mt-3 { margin-top: 1.6rem; }
/* mobile-only merged paragraphs stay hidden at desktop/tablet widths */
.m-only { display: none; }

/* tighten the seam between the AI split and The Difference (was ~2x section padding) */
.section--ai { padding-bottom: clamp(2.6rem, 5vw, 3.6rem); }
.section--difference { padding-top: clamp(2.8rem, 5.5vw, 4rem); }

/* same rhythm into the FAQ: trim both sides of the divider seam */
.section--difference { padding-bottom: clamp(3rem, 5.5vw, 4rem); }
#faq { padding-top: clamp(2.8rem, 5.5vw, 4rem); }
#faq .head { border-top: 0; padding-top: 0; }
#faq .head h2::after { display: none; }

/* ---------- The Difference: same refined head as the other homepage sections ---------- */
.section--difference .head {
  border-top: 0; padding-top: 0;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem); /* columns sit ~26px closer to the intro */
}
.section--difference .head h2::after { display: none; }
/* the closing diamond floats too low in the cream — draw it up toward the section */
.section--difference + .wrap .deco-sep { margin-top: -32px; }

/* ---------- Custom Software split: larger plate, aligned to the headline ---------- */
.section--software .split { align-items: start; }
.section--software .art {
  width: 112%; max-width: none;
  height: auto; object-fit: contain; /* let the 4:3 image size itself — the height attribute must not win */
  margin-right: -6%;
  margin-top: clamp(10px, 1.4vw, 16px); /* frame top meets the headline cap, not the eyebrow */
}
@media (max-width: 900px) {
  .section--software .art { width: 100%; margin: 1rem 0 0; }
}

/* ---------- AI split: same plate language, mirrored ---------- */
.section--ai .split { align-items: start; }
.section--ai .art {
  width: 109%; max-width: none; height: auto; object-fit: contain;
  aspect-ratio: 1475 / 1067; /* the image's own ratio — no letterboxing */
  margin-left: -6%;
  margin-top: clamp(10px, 1.4vw, 16px); /* frame top meets the headline cap */
}
.section--ai .split > div:first-child { max-width: calc(100% - 26px); }
.section--ai .btn.mt-3 { margin-top: 0.75rem; }
@media (max-width: 900px) {
  .section--ai .art { width: 100%; margin: 1rem 0 0; }
  .section--ai .split > div:first-child { max-width: none; }
}
.hero__art .art { border-color: rgba(244,239,226,0.35); background: transparent; }
/* raster plates keep their own ratio (the height attribute and 1:1 hero default must not win) */
.hero__art .art--raster {
  aspect-ratio: auto; height: auto; object-fit: contain;
  width: 108%; max-width: none; margin-right: -8%; /* both subpage heroes scaled up equally */
}
/* the About S plate carries more presence on desktop */
@media (min-width: 901px) {
  /* the new tight crop needs no blow-up: natural width, leaning toward the copy */
  .hero__art img[src*="about-us"] { width: 88%; display: block; margin-left: 2%; margin-right: auto; }
  /* the tall plate centers the text low — trim the section's headroom */
  .hero--split:has(img[src*="about-us"]) { padding-top: clamp(1rem, 2.2vw, 1.8rem); }
  /* the software workbench was clipping at the viewport edge — back to column width */
  .hero__art img[src*="customSoftwareCooler"] { width: 100%; margin-right: 0; }
  /* the AI sketch reads large at full column — modest, centered */
  .hero__art img[src*="sketch-ai-strategy"] { width: 86%; margin-right: 0; display: block; margin-inline: auto; }
}
@media (max-width: 900px) {
  .hero__art .art--raster { width: 100%; margin-right: 0; }
}

/* ---------- Editorial columns instead of cards ---------- */
.pillar {
  background: transparent; border: 0;
  border-top: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  border-radius: 0; padding: 1.8rem 0 0.6rem; overflow: visible;
  transition: border-color 0.5s ease;
}
.pillar::before {
  height: 1px; top: -1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.pillar:hover { transform: none; box-shadow: none; border-color: var(--line); }
.pillar:hover::before { transform: scaleX(1); }
.pillar::after { content: none; }
.pillar h3 { margin: 0.2rem 0 0.7rem; }
.pillar p { font-size: 0.95rem; }
.ico { display: none; }
.section--dark .pillar { background: transparent; border-color: rgba(247,244,236,0.22); }

/* ---------- Numbered rows: orange map markers ---------- */
.slist__row .idx, .step__n {
  background: var(--pop); border: 0; color: #fdf9ef; box-shadow: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; letter-spacing: 0;
}
.slist--teal .slist__row .idx { background: var(--pop); color: #fdf9ef; }
.section--dark .step__n { background: var(--pop); border: 0; color: #fdf9ef; }

/* ---------- The green salon (dark sections) ---------- */
.section--dark {
  background: var(--green);
  color: #e6e3d4;
}
.section--dark::before, .section--dark::after { content: none; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #f2efe3; }
.section--dark p { color: #bcc5b4; }
.section--dark .lede { color: #dcd9c6; }
.section--dark .eyebrow { color: #c8a969; }
.section--dark .serif-accent { color: #c8a969; }
.section--dark .kicker { color: #c8a969; }
.section--dark .btn--ghost { color: #eee9da; border-color: rgba(247,244,236,0.35); }
.section--dark .btn--ghost:hover { border-color: #c8a969; color: #c8a969; background: transparent; }

/* ---------- CTA: the framed invitation ---------- */
/* seam: last FAQ divider → CTA panel ≈ 88px total */
#faq { padding-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.section--cta { padding-top: clamp(2rem, 3.5vw, 2.75rem); }

.cta-band {
  border-radius: 14px;
  background: var(--green);
  box-shadow: none; /* unframed — the solid green is the distinction */
  padding-block: clamp(2.1rem, 4.8vw, 4.25rem); /* ~24px shorter overall */
}
.cta-band::before {
  opacity: 0.5;
  background:
    radial-gradient(42% 60% at 14% 22%, rgba(200,169,105,0.2), transparent 60%),
    radial-gradient(42% 60% at 86% 88%, rgba(200,169,105,0.14), transparent 60%);
}
.cta-band::after { content: none; }
.cta-band p { color: #c3cbba; }

/* ---------- Footer: back to the clubhouse ---------- */
.footer {
  background: var(--green-deep); /* matches header + canvas: solid green past the page edge, no seam */
  border-top: 0; position: relative; color: #dfe4d4;
  padding-bottom: 1.25rem; /* ~20px sharper below the bottom rule */
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--pop); opacity: 0.9;
}
.footer::after { content: none; }
.footer .brand { color: #f4efe2; }
.footer .brand .dot { color: var(--pop); }
.footer .brand .mark { background: #f4efe2; border-radius: 50%; padding: 3px; }
.footer h4 { font-family: var(--caps); color: #c8a969; letter-spacing: 0.26em; font-size: 0.66rem; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #c3cbb5; }
.footer__col a {
  color: #dfe4d4;
  text-decoration: underline transparent; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.footer__col a:hover { color: #f4efe2; text-decoration-color: var(--pop); transform: none; }
.footer__bottom > .muted:last-child { margin-left: auto; text-align: right; }
.footer__bottom {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8fa08b; border-top: 1px solid rgba(244,239,226,0.16);
}
.footer .muted { color: #a7b4a0; }
.footer__bottom { color: #a7b4a0; }

/* ---------- Forms: the ledger line ---------- */
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 45%, transparent);
  border-radius: 0; background: transparent; padding: 0.7rem 0.1rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--green); box-shadow: 0 1px 0 0 var(--green);
}
.field label { letter-spacing: 0.22em; font-size: 0.66rem; color: var(--gold); }
.contact-card { border: 1px solid var(--line); border-radius: 2px; box-shadow: none; background: #fbf8f0; }

/* ---------- Editorial dropdown (custom select) ---------- */
.csel { position: relative; }
.csel__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.csel__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--sans); font-size: 1.05rem; color: var(--ink); text-align: left;
  background: transparent; border: 0; cursor: pointer;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  border-radius: 0; padding: 0.7rem 0.1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.csel__btn:focus-visible { outline: none; border-bottom-color: var(--green); box-shadow: 0 1px 0 0 var(--green); }
.csel.open .csel__btn { border-bottom-color: var(--green); }
.csel__caret {
  width: 12px; height: 8px; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1 L6 6 L11 1' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1 L6 6 L11 1' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.csel.open .csel__caret { transform: rotate(180deg); }
.csel__list {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0;
  margin: 0; padding: 0.45rem 0; list-style: none;
  background: #fdfbf4;
  border: 1px solid color-mix(in srgb, var(--green) 60%, transparent);
  outline: 1px solid color-mix(in srgb, var(--green) 18%, transparent); outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(23, 31, 26, 0.10);
  max-height: 300px; overflow: auto;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.csel.open .csel__list { opacity: 1; transform: none; pointer-events: auto; }
.csel__opt {
  font-family: var(--serif); font-size: 1.04rem; color: var(--ink);
  padding: 0.7rem 1rem 0.7rem 2.1rem; cursor: pointer; position: relative;
  transition: background 0.15s ease;
}
.csel__opt.is-active, .csel__opt:hover { background: color-mix(in srgb, var(--green) 8%, transparent); }
.csel__opt[aria-selected="true"] { color: var(--green-deep); }
.csel__opt[aria-selected="true"]::before {
  content: ""; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--pop);
}
@media (prefers-reduced-motion: reduce) {
  .csel__list, .csel__caret { transition: none; }
}
.form-success { border-radius: 0; border: 0; border-left: 1px solid var(--green); background: transparent; }
.form-error { border-left-color: var(--pop); }

/* ---------- Contact: the framed inquiry (Rochambeau-informed) ---------- */
.hero--brief { min-height: 0; padding-block: clamp(1.6rem, 3.4vw, 2.8rem); }
.contact-frame-grid {
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-title { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; margin: 0 0 0.9rem; }
.section--contact .eyebrow { display: inline-flex; margin-bottom: 1.1rem; }
.contact-lede { max-width: 48ch; color: #3f3a33; font-size: 1.08rem; }
.form-head { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.form-hint { margin: 0.5rem 0 0; font-size: 0.95rem; font-style: italic; color: color-mix(in srgb, var(--ink-soft) 80%, transparent); }
.label-opt { letter-spacing: 0.06em; color: var(--ink-faint); text-transform: none; }
/* readability inside the frame */
.section--contact .field label { color: #8a6f37; font-size: 0.7rem; }
.section--contact .field input, .section--contact .field textarea, .section--contact .field select {
  font-size: 1.05rem; color: var(--ink);
  border-bottom-color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.section--contact .field ::placeholder { color: color-mix(in srgb, var(--ink-soft) 62%, transparent); }
.section--contact textarea { min-height: 170px; }
/* right column: plate + direct panel */
.contact-side { margin-top: clamp(2rem, 3.6vw, 2.9rem); } /* plate top meets the headline */
.contact-art { width: 100%; height: auto; aspect-ratio: 1448 / 1086; object-fit: contain; }
.direct-panel { margin-top: clamp(1.5rem, 2.8vw, 2.2rem); border-top: 1px solid color-mix(in srgb, var(--gold) 42%, transparent); padding-top: 1.1rem; }
.direct-panel .kicker { display: block; }
.direct-panel__email { margin: 0.45rem 0 0; font-family: var(--serif); font-size: 1.35rem; }
.direct-panel__email a:hover { color: var(--pop); }
.direct-panel__row { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.direct-panel__row p { margin: 0.45rem 0 0; font-size: 0.98rem; color: #3f3a33; line-height: 1.65; }
@media (max-width: 900px) {
  .contact-frame-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-side { margin-top: 0; }
}

/* ---------- FAQ ---------- */
.faq { max-width: none; } /* rules + icons reach the wrap edge like every other section */
.faq summary {
  font-weight: 400;
  padding: 1.15rem 2.5rem 1.15rem 0; /* ~11px more compact per row */
  transition: color 0.25s ease;
}
.faq summary::after {
  color: var(--gold); font-weight: 300;
  /* pinned top-right so multi-line questions on mobile keep the icon at the first line;
     line-height 1 + offset centers it on the first line of text */
  top: 1.42rem; line-height: 1; transform: none;
  transition: transform 0.28s var(--ease), color 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq summary:hover::after { color: var(--bronze-deep); }
.faq summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent);
  outline-offset: 4px; border-radius: 2px;
}
.faq details > p { padding-bottom: 1.4rem; font-size: 1.125rem; }

/* ---------- Links ---------- */
.accent-link { color: var(--green); border-bottom-color: color-mix(in srgb, var(--green) 40%, transparent); font-weight: 500; }
.accent-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Reveal: a touch slower, more graceful ---------- */
.reveal { transform: translateY(16px); transition-duration: 1.1s; }

/* ---------- The self-sketching hero (chalk on green) ---------- */
.hero > .wrap { position: relative; z-index: 1; }
.hero .dry-note { color: #a9b39e; }
.art--sketch { aspect-ratio: 1 / 1; height: auto; }
#hero-sketch .f { opacity: 0; transition: opacity 0.7s ease 2.4s; }
#hero-sketch.go .f { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #hero-sketch .f { opacity: 1; transition: none; }
  .head h2::after { transform: scaleX(1); transition: none; }
}

/* portfolio monograms are content, not decoration — keep them */
.ico--keep { display: grid; }

/* ---------- Provided artwork plates ---------- */
.art--plate {
  height: auto; aspect-ratio: 1 / 1; object-fit: contain;
  border: 0; border-radius: 10px; background: transparent;
  box-shadow: none;
  width: 93%; margin-inline: auto;
}

/* ---------- Hero figure: drawn on the green, no card ---------- */
.hero-figure {
  display: block; width: 106%; max-width: none; height: auto;
  aspect-ratio: 1000 / 817; margin-right: -6%;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
@media (max-width: 900px) {
  .hero--split .hero__art { max-width: 520px; }
  .hero-figure { width: 100%; margin: 0; }
}

/* ============================================================
   MOBILE-ONLY SYSTEM (≤767px) — desktop and tablet untouched
   ============================================================ */
@media (max-width: 767px) {

  /* ---- global rhythm & type ---- */
  .section { padding-block: clamp(3.5rem, 10vw, 4.5rem); }        /* 56–72px */
  .section--tight { padding-block: clamp(3rem, 9vw, 3.5rem); }    /* 48–56px */
  p, li { font-size: 1.045rem; line-height: 1.6; }                /* ~16.7px */
  /* beat the more-specific desktop selectors that kept card copy at ~15px */
  .pillar p, .faq details > p, .cta-band p { font-size: 1.02rem; line-height: 1.58; }
  .pillar p { color: #3a352e; }
  .section--dark .pillar p { color: #d3dac9; }
  .section--dark p { color: #d3dac9; }
  .eyebrow { font-size: 0.67rem; }
  .head .eyebrow { margin-bottom: 1rem; }                          /* eyebrow→headline 16px */
  .head h2 + p, h2 + p { margin-top: 1.4rem; }                     /* headline→body 22px */
  .head { margin-bottom: 1.9rem; }
  p + p { margin-top: 1rem; }                                      /* 16px between grafs */
  h2 { font-size: clamp(2.125rem, 9vw, 2.5rem); }                  /* 34–40px */
  .pillar h3, .plist h3 { font-size: 1.375rem; }                   /* 22px */
  .kicker { letter-spacing: 0.1em; }
  .btn { font-size: 0.78rem; letter-spacing: 0.01em; min-height: 51px; }

  /* ---- header ---- */
  .nav__inner { height: 62px; }
  .nav__links { inset: 62px 0 auto 0; }
  .brand { font-size: 1.05rem; }
  .brand .mark { width: 36px; height: 36px; }
  .nav__toggle { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
  .hero { min-height: 0; } /* natural height; no inherited full-viewport rule */
  html { scroll-padding-top: 70px; }

  /* ---- hero ---- */
  .hero { padding-block: 3.5rem 2.2rem; } /* headline breathes a little lower */
  .display { font-size: clamp(2.75rem, 12vw, 3rem); line-height: 1.0; } /* 44–48px */
  .hero .lede { font-size: 1.045rem; line-height: 1.6; color: #dde3d2; margin-top: 1.4rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 1.7rem; }
  .hero__actions .btn { width: 100%; min-height: 52px; }
  .btn--ghost { border-color: rgba(244,239,226,0.9); }
  .hero--split .hero__art { max-width: min(88%, 340px); margin: 2.1rem auto 0; } /* −12%, closer, centered */
  .hero-figure { width: 100%; margin: 0; }
  /* all heroes on mobile: ghost button leads, copper concludes the stack */
  .hero__actions .btn--ghost { order: 1; }
  .hero__actions .btn--accent { order: 2; }
  .hero--split:has(.hero-figure) .hero__art { margin-top: 0.6rem; }
  /* subpage hero plates sit close under the copper button */
  .hero--split .hero__art:has(.art--raster) { margin-top: 0.9rem; }
  /* the AI diagram's mass leans left (icons vs. thin labels) — optical recenter */
  .hero__art img[src*="ai-page"] { transform: translateX(4%); }
  /* About S plate: the tight crop reads large — keep it modest on phones */
  .hero--split .hero__art:has(img[src*="about-us"]) { max-width: min(74%, 300px); }
  /* AI sketch likewise */
  .hero--split .hero__art:has(img[src*="sketch-ai-strategy"]) { max-width: min(78%, 310px); }
  .hero__art img[src*="about-us"] { margin-top: 0.5rem; }

  /* ---- What We Do: one frame, four entries ---- */
  .section--framed {
    padding-top: 3.4rem;
    padding-bottom: 3.6rem;
  }
  .section--framed::before {
    top: 14px; bottom: 14px; left: 14px; right: 14px; /* 12–16px inset */
  }
  .section--framed > .wrap { padding-inline: calc(14px + 22px); } /* ~22px inside the frame */
  .section--framed .head { margin-bottom: 1.2rem; }
  .section--framed .grid-4 { grid-template-columns: 1fr; gap: 0; }
  .section--framed .pillar {
    padding: 1.9rem 0 2rem; /* 30–32px per entry */
    border-top: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  }
  .section--framed .pillar:first-child { border-top: 0; padding-top: 0.4rem; }
  .section--framed .pillar h3 { min-height: 0; margin-bottom: 0.55rem; }
  .section--framed .pillar p { max-width: none; }
  .section--framed .pillar .accent-link { display: inline-block; padding: 0.55rem 0.75rem 0.55rem 0; margin: -0.35rem 0; } /* larger tap area */
  .section--framed .pillar > p.mt-1:last-child { padding-top: 0.55rem; }

  /* ---- The Name ---- */
  .section--name .lede, .section--name p:not(.lede) { font-size: 1.045rem; }
  .section--name .lede + p.mt-2 { margin-top: 0.8rem; }
  .name-split { gap: 0; }
  .section--name .name-plate {
    margin-top: 2rem; /* 32px from narrative to plate */
    margin-right: 0; margin-left: 0; /* desktop's right-nudge made it sit off-center */
    width: 100%;
    padding: 1.5rem 1.35rem; /* ~24px */
  }
  .section--name .name-plate__def { font-size: 1.08rem; }
  .section--name .name-plate__src { font-size: 0.92rem; }
  .section--name .name-plate__phon { font-size: 1rem; }

  /* ---- feature splits: copy → CTA → illustration, one shared system ---- */
  .split { gap: 0; }
  .split .btn.mt-3 { margin-top: 1.7rem; width: fit-content; min-width: 220px; min-height: 48px; }
  /* ghost CTAs on cream were fading into the page — full green border, green label */
  .split .btn--ghost {
    border-color: var(--green); color: var(--green-deep); border-width: 1.5px;
  }
  /* matched pair: eyebrow→headline tightened, single mobile paragraph */
  .section--software .split h2.mt-1, .section--ai .split h2.mt-1 { margin-top: 0.5rem; }
  .m-only { display: block; }
  .m-hide { display: none; }
  /* the plates live on the destination pages' heroes; on mobile the CTA closes the section */
  .section--software .art, .section--ai .art { display: none; }
  .section--software, .section--ai { padding-bottom: 3.75rem; } /* 60px into the next section, both alike */
  .section--ai .split > div:first-child { max-width: none; }

  /* ---- The Difference ---- */
  .section--difference .grid-3 { gap: 0; }
  .section--difference .pillar {
    padding: 1.9rem 0; /* ~30px between entries, divider carries separation */
  }
  .section--difference .pillar:first-child { border-top: 0; padding-top: 0.6rem; }
  .section--difference .pillar h3 { font-size: 1.4rem; }
  .section--difference + .wrap .deco-sep { margin-top: -8px; } /* divider tucks toward final entry */

  /* ---- FAQ ---- */
  .faq summary {
    font-size: 1.08rem;
    padding: 1.3rem 3rem 1.3rem 0; /* ≥60px rows, room for 44px icon */
  }
  .faq summary::after { top: 50%; transform: translateY(-50%); padding: 10px; } /* 44px tap zone, centered per row */
  .faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
  .faq details > p { font-size: 1rem; line-height: 1.6; padding-bottom: 1.2rem; }
  #faq { padding-bottom: 1.6rem; }
  @media (prefers-reduced-motion: no-preference) {
    .faq details[open] > p { animation: faq-in 220ms ease both; }
  }

  /* ---- final CTA ---- */
  .section--cta { padding-top: 1.4rem; }
  .section--cta .wrap { padding-inline: 0.8rem; } /* panel uses more of the screen */
  .cta-band {
    border-radius: 5px;
    padding: 2.5rem 1.5rem; /* 40px / 24px */
  }
  .cta-band h2 { font-size: clamp(1.875rem, 8.6vw, 2.125rem); } /* 30–34px */
  .cta-band p { font-size: 1.02rem; color: #ccd4c2; max-width: none; }
  .cta-band .btn { width: 100%; min-height: 52px; }

  /* ---- footer ---- */
  .footer { padding-block: 3.25rem 1.75rem; } /* 52px top, 28px bottom */
  .footer .wrap { padding-inline: 20px; }
  .footer__top {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem; margin-bottom: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { font-size: 1rem; color: #ccd4c0; max-width: none; }
  .footer__col a { font-size: 1rem; line-height: 1.8; padding: 0.35rem 0; color: #e4e9d9; } /* ~38px tap rows */
  .footer h4 { color: #d1af73; margin-bottom: 0.7rem; }
  .footer__bottom { padding-top: 1.4rem; font-size: 0.78rem; color: #b2bfab; gap: 0.5rem; }
  .footer__bottom > .muted:last-child { margin-left: 0; text-align: left; }
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
