/* ============================================================
   우리4컷 · our4cuts — landing page
   Palette (locked, 4 colors only):
     #6B8F7A  청자  celadon — saturated band ground, accents
     #1F2622  송묵  pine ink — body text, headlines, buttons
     #F4F1E6  쌀    rice    — paper ground, card fills
     #BDC5BA  안개  mist    — hairlines, secondary text
   Type: Noto Serif KR + Source Serif 4 (serif only, never sans)

   COMPONENT CATALOG (single source of truth — copy class names exactly):
     Layout:    .band(.--jade/.--rice/.--warm), .rail, .section-head,
                .eyebrow, .headline, .display, .sub, .microcopy
     Cards:     .card(.--rice/.--ink/.--lifted/.--paper/.--callout)
     Motion:    .micro-lift (clay lift; cards lift except .email-mock)
     Nav:       .nav, .nav__links, .nav__lang, .doors, .door
     Content:   .strip, .compare, .tiers, .setup-options, .nolist, .anatomy, .email-mock,
                .page-hero, .photo-mosaic, .visual-split, .cost-bars,
                .contact-stack, .tier-glyphs, .compare__visual,
                .metric-strip, .metrics-showcase, .anchor-pair, .cost-compare, .roi-calc,
                .faq, .vertical-block, .install-list,
                .trust-grid, .referral, .pilot-cta, .page-cta,
                .pricing-notes
     Footer:    .footer, .footer__inner, .footer__col, .footer__copy

   MOBILE-FIRST: base = 375px. Scale up with min-width queries.
   Breakpoints: 640px (large phone) · 760px (tablet) · 900px (laptop)
   Touch: all interactive elements ≥44×44px.
   ============================================================ */

:root {
  --celadon: #6B8F7A;
  --celadon-deep: #557364;
  --pine:    #1F2622;
  --rice:    #F4F1E6;
  --rice-warm: #EFEADC;
  --mist:    #BDC5BA;

  --ink:        var(--pine);
  --ink-60:     #1F2622aa;
  --ink-on-jade: var(--rice);

  --serif-display: 'Noto Serif KR', 'Noto Serif', Georgia, serif;
  --serif-body:    'Source Serif 4', 'Source Serif Pro', Georgia, serif;

  --gap:    clamp(1rem, 2.5vw, 2rem);
  --pad-x:  clamp(1.25rem, 5vw, 5rem);
  --pad-y:  clamp(3rem, 8vw, 7rem);
  --max:    1240px;
  --rail:   3.5rem;

  --radius-card: 14px;
  --radius-btn:  10px;

  /* Claymorphism shadow tokens */
  --clay-rice-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(31,38,34,.06),
    0 1px 2px rgba(31,38,34,.04),
    0 12px 32px -10px rgba(31,38,34,.18);
  --clay-rice-shadow-lifted:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -1px 0 rgba(31,38,34,.08),
    0 2px 4px rgba(31,38,34,.05),
    0 24px 48px -14px rgba(31,38,34,.26);
  --clay-ink-shadow:
    inset 0 1px 0 rgba(244,241,230,.08),
    0 24px 48px -14px rgba(31,38,34,.45);

  --transition: 200ms cubic-bezier(.2,.6,.2,1);
  --lift-y: -3px;
  --lift-scale: 1.01;
  --lift-y-touch: -1px;
  --lift-scale-touch: 1.005;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  color: var(--ink);
  background: var(--rice);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle paper grain — pure CSS, no asset */
  background-image:
    radial-gradient(rgba(31,38,34,.018) 1px, transparent 1px),
    radial-gradient(rgba(31,38,34,.014) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

:lang(ko) { font-family: var(--serif-display); }
:lang(en) { font-family: var(--serif-body); }

a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover, a:focus-visible { color: var(--celadon-deep); }
a:focus-visible { outline: 2px solid var(--celadon); outline-offset: 3px; border-radius: 2px; }

img, svg { display: block; max-width: 100%; height: auto; }

mark { background: transparent; color: var(--celadon-deep); font-weight: 700;
       border-bottom: 2px solid var(--celadon); padding-bottom: 1px; }

.sep { opacity: .35; padding: 0 .35em; }
.muted { color: var(--ink-60); font-style: italic; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pine); color: var(--rice); padding: .75rem 1rem;
  border-radius: 6px; border: none;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }

/* ===== NAV ===== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  background: var(--rice);
  border-bottom: 1px solid rgba(31,38,34,.08);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%);
}
.nav__logo { border: 0; color: var(--pine); display: inline-flex; align-items: center; }
.nav__logo svg { width: clamp(140px, 14vw, 180px); height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); font-size: .95rem; }
.nav__lang {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .75rem !important;
  border: 1px solid var(--mist) !important;
  border-radius: 999px;
  margin-left: .25rem;
}
.nav__lang::after { display: none !important; }
.nav__lang:hover { background: var(--pine); color: var(--rice) !important; border-color: var(--pine) !important; }
.footer__lang { margin-top: 1.25rem !important; font-size: .9rem; }
.footer__lang a { opacity: .85; }
.nav__links a { border: 0; padding: .25rem 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1px; background: var(--pine); transition: right var(--transition);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { right: 0; }
/* Mobile nav: horizontal scroll instead of hiding links.
   Always reachable, no JS, no hamburger. */
@media (max-width: 640px) {
  .nav { padding: .75rem var(--pad-x); gap: .75rem; align-items: center; }
  .nav__logo svg { width: 130px; }
  .nav__links {
    gap: 1.25rem; font-size: .9rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 1; min-width: 0;
    padding: .25rem 0;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { white-space: nowrap; flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .nav__lang { padding: .35rem .65rem !important; }
}

/* ===== BANDS ===== */
.band {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  padding-left: calc(var(--pad-x) + var(--rail));
}
.band--rice { background: var(--rice); color: var(--ink); }
.band--jade { background: var(--celadon); color: var(--ink-on-jade); }
.band--jade a:hover { color: var(--rice); opacity: .85; }

/* Sticky vertical Korean rail */
.rail {
  position: absolute;
  top: 0; bottom: 0; left: var(--pad-x);
  width: var(--rail);
  display: flex; align-items: flex-start; justify-content: center;
  pointer-events: none;
}
.rail span {
  position: sticky; top: 90px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--serif-display);
  font-size: .85rem; letter-spacing: .2em;
  opacity: .55;
  padding: 1rem 0;
}
.band--jade .rail span { color: var(--rice); }
@media (max-width: 760px) {
  .band { padding-left: var(--pad-x); }
  .rail { display: none; }
}

/* ===== EYEBROWS / HEADLINES ===== */
.eyebrow {
  font-family: var(--serif-body);
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 1.25rem; opacity: .7;
}
.eyebrow--rice { color: var(--rice); opacity: .85; }

.headline {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.18; letter-spacing: -.01em;
  margin: 0 0 2.5rem; max-width: 22ch;
}
.headline--rice { color: var(--rice); }
.headline :lang(en) { display: block; font-style: italic; font-weight: 400;
                      font-size: .82em; opacity: .78; margin-top: .35em;
                      font-family: var(--serif-body); }

.display {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 1.5rem;
}
.display__en {
  display: block;
  font-family: var(--serif-body); font-style: italic; font-weight: 400;
  font-size: .42em; line-height: 1.25;
  opacity: .75; margin-top: 1.1em; letter-spacing: 0;
}

.sub {
  font-family: var(--serif-body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5; max-width: 38ch;
  margin: 0 0 2rem;
}
.sub :lang(en) { display: block; font-style: italic; opacity: .7; margin-top: .25em; }

.section-head { margin-bottom: 3rem; max-width: var(--max); }

/* Page titles on jade bands — replaces per-page inline styles */
.display--on-jade {
  color: var(--rice);
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 24ch;
}
.display--on-jade--narrow { max-width: 22ch; }
.sub--on-jade {
  color: var(--rice);
  opacity: .9;
  max-width: 42rem;
}
.sub--on-jade--narrow { max-width: 38rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.5rem;
  font-family: var(--serif-body); font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--pine);
  background: var(--pine); color: var(--rice);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn--ghost { background: transparent; color: var(--pine); }
.band--jade .btn--ghost { color: var(--rice); border-color: var(--rice); }

.microcopy {
  font-size: .85rem; color: var(--ink-60); margin: 1rem 0 0;
  letter-spacing: .01em;
}

/* ===== HERO ===== */
.hero {
  min-height: clamp(620px, 78vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero .eyebrow { color: var(--rice); opacity: .85; }
.hero .display { color: var(--rice); }
.hero .sub { color: var(--rice); opacity: .9; }
.hero .microcopy { color: var(--rice); opacity: .65; }
.hero__copy { max-width: 36rem; }

.hero__mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding-bottom: 2rem;
}
.frame {
  aspect-ratio: 1 / 1;
  background: var(--rice);
  border: 1.5px solid var(--pine);
  border-radius: 4px;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 18px 32px -16px rgba(0,0,0,.45);
  display: grid; place-items: center;
  color: var(--ink-60); font-family: var(--serif-body);
  font-size: .85rem; text-align: center;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.frame::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(31,38,34,.04) 12px 13px);
}
.frame span { position: relative; z-index: 1; line-height: 1.3; }
.frame small { font-size: .7em; opacity: .7; }
.frame--a { transform: rotate(var(--rot)) translateY(8px); }
.frame--d { transform: rotate(var(--rot)) translateY(-12px); }

/* Hero flash on load — the one motion moment */
.frame.is-flash::after {
  content: ""; position: absolute; inset: 0; background: white;
  animation: flash 200ms ease-out forwards;
}
@keyframes flash { from { opacity: .9; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frame.is-flash::after { animation: none; opacity: 0; } }

.hero__mosaic figcaption {
  position: absolute; left: 0; bottom: -1rem;
  font-size: .75rem; color: var(--rice); opacity: .6;
  font-style: italic;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; }
  .hero__mosaic { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
}

/* ===== PAIN ===== */
.pain { display: grid; place-items: center; min-height: clamp(360px, 50vh, 520px); }
.pain__quote {
  max-width: 48rem; margin: 0; text-align: center;
  font-family: var(--serif-display);
  position: relative;
}
.pain__quote p { font-size: clamp(1.3rem, 2.4vw, 1.95rem); line-height: 1.4; margin: 0 0 .85rem; font-style: italic; }
.pain__quote p:lang(en) { font-size: clamp(1.1rem, 1.9vw, 1.5rem); opacity: .72; font-family: var(--serif-body); }
.pain__quote footer { font-style: normal; font-size: .9rem; opacity: .6; margin-top: 1.5rem; }
.pain__quote::before {
  content: """; position: absolute; top: -3rem; left: 50%; transform: translateX(-50%);
  font-family: var(--serif-display); font-size: 7rem; line-height: 1;
  color: var(--celadon); opacity: .35;
}

/* ===== COMPARE / MATH ===== */
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: var(--max);
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.card {
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--rice);
  color: var(--ink);
  box-shadow: var(--clay-rice-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--lifted { box-shadow: var(--clay-rice-shadow-lifted); transform: translateY(-4px) scale(1.015); }
.card--ink { background: var(--pine); color: var(--rice); box-shadow: var(--clay-ink-shadow); }
.card--ink .muted { color: rgba(244,241,230,.55); }

.compare__head { margin-bottom: 1.5rem; padding-bottom: 1rem;
                 border-bottom: 1px solid var(--mist); }
.compare__head p { margin: 0; font-family: var(--serif-display); font-size: 1.15rem; font-weight: 700; }
.compare__head p:lang(en) { font-weight: 400; opacity: .65; font-size: 1rem; font-family: var(--serif-body); }

.compare__rows { margin: 0; display: grid; gap: .9rem; }
.compare__rows > div {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem;
  padding-bottom: .9rem; border-bottom: 1px solid var(--mist);
  font-size: .98rem;
}
.compare__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.compare__rows dt { margin: 0; font-weight: 600; font-size: .92rem; opacity: .8; }
.compare__rows dd { margin: 0; font-family: var(--serif-display); font-size: 1.05rem; }

.footnote {
  margin-top: 2rem; font-size: .85rem; text-align: center;
  color: var(--ink-60); max-width: 48rem; margin-inline: auto;
}
.footnote--rice { color: var(--rice); opacity: .7; }

/* ===== HOW IT WORKS / STRIP ===== */
.strip {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(.75rem, 2vw, 1.5rem);
  max-width: var(--max);
}
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .strip { grid-template-columns: 1fr; } }

.strip__frame {
  display: flex; flex-direction: column; gap: .85rem;
  transform: rotate(var(--rot, 0deg));
}
.strip__placeholder {
  aspect-ratio: 1 / 1.1;
  background: var(--rice-warm);
  border: 1.5px solid var(--pine);
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--serif-display);
  font-size: 1.6rem; color: var(--pine);
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.35);
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(31,38,34,.04) 14px 15px);
  transition: box-shadow var(--transition);
}
.strip__frame p { margin: 0; font-size: .92rem; line-height: 1.5; }
.strip__frame p :lang(en) { display: block; opacity: .7; margin-top: .25em; font-size: .9em; }
.strip__frame strong { font-family: var(--serif-display); font-weight: 700; display: block; margin-bottom: .15em; }

/* ===== STAT ===== */
.stat { display: grid; place-items: center; text-align: center; gap: 1.25rem; min-height: clamp(420px, 55vh, 620px); }
.stat__number {
  font-family: var(--serif-display); font-weight: 900;
  font-size: clamp(7rem, 18vw, 14rem); line-height: .95; margin: 0;
  color: var(--rice); letter-spacing: -.04em;
}
.stat__x { font-style: italic; font-weight: 400; opacity: .8; font-size: .7em; }
.stat__body { max-width: 42rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--rice); margin: 0; }
.stat__body :lang(en) { display: block; font-style: italic; opacity: .75; margin-top: .35em; }
.stat__source { font-size: .8rem; color: var(--rice); opacity: .5; margin: 0; }

/* ===== PRICING ===== */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
  max-width: var(--max);
}
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } }

/* ===== SETUP OPTIONS (one-time, BYO vs hardware kit) ===== */
.setup-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: var(--max);
  align-items: stretch;
}
@media (max-width: 720px) { .setup-options { grid-template-columns: 1fr; } }

.setup-option {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.setup-option__label {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.setup-option__price {
  font-family: var(--serif-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
.setup-option__price span {
  font-family: var(--serif-body);
  font-weight: 400;
  font-size: 1rem;
  opacity: .75;
}
.setup-option__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-60);
}
.setup-options__combine {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: .95rem;
  color: var(--ink-60);
}
.setup-options__combine strong { color: var(--ink); }

/* Pricing page — annual + extras below tiers or setup */
.pricing-notes {
  margin-top: clamp(2rem, 5vw, 3rem);
  max-width: var(--max);
  display: grid;
  gap: 1.25rem;
}
.pricing-notes .anchor-pair { margin: 0; }
.pricing-notes__text { margin: 0; }

.tier { display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.tier--featured { transform: scale(1.04); box-shadow: var(--clay-ink-shadow); }
@media (max-width: 880px) { .tier--featured { transform: none; } }

.badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--celadon); color: var(--pine);
  padding: .35rem .9rem; border-radius: 999px; font-size: .75rem; letter-spacing: .15em;
  text-transform: uppercase; margin: 0;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.25);
}

.tier__head { display: flex; flex-direction: column; gap: .35rem; }
.tier__name { margin: 0; font-family: var(--serif-display); font-size: 1.4rem; font-weight: 700; }
.tier__price { margin: 0; font-family: var(--serif-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.tier__per { font-size: .9rem; font-weight: 400; opacity: .6; letter-spacing: .04em; font-family: var(--serif-body); }

.tier__features { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.tier__features li { font-size: .98rem; padding-left: 1rem; position: relative; }
.tier__features li::before { content: "·"; position: absolute; left: 0; font-weight: 700; }
.tier__features li :lang(en) { display: block; opacity: .65; font-size: .85em; margin-top: .15em; }
.card--ink .tier__features li :lang(en) { opacity: .55; }

/* ===== NO-LIST ===== */
.nolist__items {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.75rem clamp(2rem, 5vw, 4rem);
  max-width: var(--max);
}
@media (max-width: 760px) { .nolist__items { grid-template-columns: 1fr; } }
.nolist__items li {
  padding-left: 1.5rem; position: relative;
  font-size: 1.05rem; line-height: 1.5; color: var(--rice);
}
.nolist__items li::before { content: "—"; position: absolute; left: 0; opacity: .75; }
.nolist__items li :lang(en) { display: block; opacity: .65; margin-top: .25em; font-size: .92em; }

/* ===== PLATEAU ===== */
.plateau { text-align: center; display: grid; place-items: center; gap: 2rem;
           background: var(--rice-warm); }
.plateau .section-head { text-align: center; margin-bottom: 0; }
.plateau__line {
  max-width: 42rem; margin: 0;
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45;
}
.plateau__line :lang(en) { display: block; font-family: var(--serif-body);
                            font-size: .68em; opacity: .72; margin-top: 1em; font-weight: 400; }
.plateau__cta { margin: 0; }

/* ===== FOOTER ===== */
.footer { padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem;
  max-width: var(--max); margin-bottom: 2rem;
}
@media (max-width: 700px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__col p { margin: 0 0 .5rem; color: var(--rice); }
.footer__col a { color: var(--rice); }
.footer__col :lang(en) { display: block; opacity: .7; margin-top: .15em; }
.footer__logo { color: var(--rice); width: 160px; height: auto; margin-bottom: 1rem; }
.footer__copy { font-size: .8rem; color: var(--rice); opacity: .55; text-align: center; margin: 0; border-top: 1px solid rgba(244,241,230,.15); padding-top: 1.5rem; }

/* ============================================================
   NEW COMPONENTS · mobile-first
   ============================================================ */

/* Belt-and-suspenders viewport hygiene */
html, body { overflow-x: hidden; }
.btn { min-height: 44px; }

/* Reduce polaroid rotation on phones so rotated tiles don't overflow */
@media (max-width: 640px) {
  .frame, .strip__frame { --rot: 0deg !important; }
}

/* Soften shadows on mobile (heavy shadows look muddy on small screens) */
@media (max-width: 640px) {
  :root {
    --clay-rice-shadow:
      inset 0 1px 0 rgba(255,255,255,.5),
      0 1px 2px rgba(31,38,34,.04),
      0 6px 16px -8px rgba(31,38,34,.14);
    --clay-rice-shadow-lifted:
      inset 0 1px 0 rgba(255,255,255,.55),
      0 2px 4px rgba(31,38,34,.06),
      0 10px 20px -8px rgba(31,38,34,.2);
    --lift-y: -2px;
  }
}

/* ===== MICRO-INTERACTIONS (clay lift · pointer vs touch) ===== */
.micro-lift,
.card:not(.email-mock),
.trust-grid > div,
.install-list li,
.cost-compare__row,
.roi-row,
.door,
.btn {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

/* Fine pointer: hover lift */
@media (hover: hover) and (pointer: fine) {
  .micro-lift:hover,
  .card:not(.email-mock):hover,
  .trust-grid > div:hover,
  .install-list li:hover,
  .cost-compare__row:not(.cost-compare__row--highlight):hover,
  .roi-row:not(.roi-row--ink):hover {
    transform: translateY(var(--lift-y)) scale(var(--lift-scale));
    box-shadow: var(--clay-rice-shadow-lifted);
  }

  .card--lifted:hover { transform: translateY(-5px) scale(1.02); }

  .card--ink:hover,
  .cost-compare__row--highlight:hover,
  .roi-row--ink:hover {
    transform: translateY(var(--lift-y)) scale(var(--lift-scale));
    box-shadow:
      inset 0 1px 0 rgba(244,241,230,.1),
      0 28px 52px -12px rgba(31,38,34,.52);
  }

  .tier--featured:hover { transform: translateY(var(--lift-y)) scale(1.045); }

  .door:hover,
  .door:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--clay-rice-shadow-lifted);
    background: var(--rice-warm);
  }

  .btn:hover,
  .btn:focus-visible {
    background: var(--celadon-deep);
    border-color: var(--celadon-deep);
    color: var(--rice);
    transform: translateY(-1px);
  }
  .btn--ghost:hover,
  .btn--ghost:focus-visible { background: var(--pine); color: var(--rice); }
  .band--jade .btn--ghost:hover,
  .band--jade .btn--ghost:focus-visible { background: var(--rice); color: var(--pine); }

  /* Polaroid settle (hero + how-it-works strip) */
  .frame:hover,
  .frame.frame--a:hover,
  .frame.frame--d:hover {
    transform: rotate(0) translateY(0) scale(1.02);
    box-shadow: 0 28px 48px -18px rgba(0,0,0,.55);
    z-index: 2;
  }
  .strip__frame:hover {
    transform: rotate(0) translateY(-3px);
  }
  .strip__frame:hover .strip__placeholder {
    box-shadow: 0 18px 32px -14px rgba(0,0,0,.42);
  }
}

/* Touch: brief press feedback (no sticky hover) */
@media (hover: none) {
  .micro-lift:active,
  .card:not(.email-mock):active,
  .trust-grid > div:active,
  .install-list li:active,
  .cost-compare__row:active,
  .roi-row:active,
  .door:active {
    transform: translateY(var(--lift-y-touch)) scale(var(--lift-scale-touch));
    box-shadow: var(--clay-rice-shadow-lifted);
    background: var(--rice-warm);
  }

  .card--ink:active,
  .cost-compare__row--highlight:active,
  .roi-row--ink:active {
    box-shadow:
      inset 0 1px 0 rgba(244,241,230,.08),
      0 16px 36px -12px rgba(31,38,34,.48);
  }

  .btn:active { transform: translateY(0); }

  .frame:active,
  .frame.frame--a:active,
  .frame.frame--d:active {
    transform: rotate(0) translateY(0) scale(1.01);
    z-index: 2;
  }
  .strip__frame:active { transform: rotate(0) translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .micro-lift,
  .card:not(.email-mock),
  .trust-grid > div,
  .install-list li,
  .cost-compare__row,
  .roi-row,
  .door,
  .btn,
  .frame,
  .strip__frame { transition: none; }

  .frame:hover,
  .frame:active,
  .strip__frame:hover,
  .strip__frame:active,
  .micro-lift:hover,
  .micro-lift:active,
  .card:not(.email-mock):hover,
  .card:not(.email-mock):active,
  .trust-grid > div:hover,
  .trust-grid > div:active,
  .install-list li:hover,
  .install-list li:active,
  .cost-compare__row:hover,
  .cost-compare__row:active,
  .roi-row:hover,
  .roi-row:active,
  .door:hover,
  .door:active,
  .btn:hover,
  .btn:active,
  .tier--featured:hover,
  .tier--featured { transform: none; }
}

/* ===== BAND VARIANT: warm rice =====
   For subtle differentiation between rice bands without breaking the palette. */
.band--warm { background: var(--rice-warm); color: var(--ink); }

/* ===== DOORS (3-tile "learn more" grid for home) ===== */
.doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 720px) {
  .doors { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.door {
  display: flex; flex-direction: column;
  gap: .85rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--rice);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  border: 0;
  border-bottom: 0;
  min-height: 180px;
  position: relative;
}
/* Beat .band--jade a:hover (rice text on rice cards = invisible) */
.band--jade .door:hover,
.band--jade .door:focus-visible,
.door:hover,
.door:focus-visible {
  color: var(--ink);
  opacity: 1;
}
.door__eyebrow {
  font-family: var(--serif-body);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: .65; margin: 0;
}
.door__title {
  font-family: var(--serif-display); font-weight: 700;
  font-size: 1.3rem; line-height: 1.2; margin: 0;
}
.door__desc {
  font-size: .95rem; line-height: 1.5; opacity: .8; margin: 0;
  flex-grow: 1;
}
.door__arrow {
  font-family: var(--serif-display); font-style: italic;
  font-size: .95rem; opacity: .65; margin-top: .5rem;
}
.door:hover .door__eyebrow,
.door:focus-visible .door__eyebrow { opacity: .8; }
.door:hover .door__desc,
.door:focus-visible .door__desc { opacity: .92; }
.door:hover .door__arrow,
.door:focus-visible .door__arrow { opacity: 1; color: var(--celadon-deep); }

/* ===== CARD VARIANTS ===== */

/* Paper letter — for email mock, weekly recap, anything that should feel printed */
.card--paper {
  background: var(--rice);
  color: var(--ink);
  border-radius: 4px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 1px 0 rgba(31,38,34,.05),
    0 18px 40px -16px rgba(31,38,34,.28);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.card--paper::before {
  /* faint torn-edge top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background-image: linear-gradient(90deg,
    var(--rice) 0 6px, transparent 6px 8px,
    var(--rice) 8px 14px, transparent 14px 17px,
    var(--rice) 17px 23px, transparent 23px 25px);
  background-size: 25px 4px;
  background-repeat: repeat-x;
}

/* Callout — small polaroid that points at something (anatomy) */
.card--callout {
  background: var(--rice);
  border-radius: 6px;
  padding: .75rem .9rem 1rem;
  font-size: .88rem; line-height: 1.45;
  box-shadow: var(--clay-rice-shadow);
  max-width: 240px;
  transform: rotate(var(--rot, -0.8deg));
}
.card--callout strong {
  font-family: var(--serif-display); font-weight: 700; display: block;
  font-size: .92rem; margin-bottom: .25em;
}
@media (max-width: 640px) { .card--callout { transform: none; max-width: 100%; } }

/* ===== EMAIL MOCK (sample Monday recap inbox card) ===== */
.email-mock {
  max-width: 600px;
  margin: 0 auto;
}
.email-mock--solo {
  max-width: 36rem;
  margin: 0;
}
.email-mock__head {
  display: grid; gap: .35rem;
  padding-bottom: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--mist);
  font-size: .85rem;
}
.email-mock__row { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; align-items: baseline; }
.email-mock__row dt { margin: 0; opacity: .55; font-weight: 600; letter-spacing: .03em; }
.email-mock__row dd { margin: 0; font-family: var(--serif-display); }
.email-mock__subject { font-size: 1.1rem; font-weight: 700; }
.email-mock__body { font-size: .98rem; line-height: 1.55; }
.email-mock__body p { margin: 0 0 1.1em; }
.email-mock__body p:last-child { margin-bottom: 0; }
.email-mock__stats {
  list-style: none; padding: 1rem 1.25rem; margin: 1.25rem 0;
  border: 1px solid var(--mist); border-radius: 8px;
  background: rgba(189,197,186,.15);
  display: grid; gap: .65rem;
}
.email-mock__stats li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; font-size: .95rem; }
.email-mock__stats li strong { font-family: var(--serif-display); font-size: 1.15rem; }
.email-mock__signature { font-style: italic; opacity: .75; font-size: .9rem; margin-top: 1.5rem; }

/* ===== METRIC STRIP (3-up headline numbers) ===== */
.metric-strip {
  display: grid; gap: 1rem;
  max-width: var(--max);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .metric-strip { grid-template-columns: repeat(3, 1fr); }
}
.metric {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 1.75rem) 1.25rem;
  background: var(--pine); color: var(--rice);
  border-radius: var(--radius-card);
  border: 1px solid rgba(244,241,230,.1);
  box-shadow: var(--clay-ink-shadow);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    opacity var(--transition);
}
.metric::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 1rem;
  right: 1rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--celadon), var(--mist));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(.2,.6,.2,1);
}
.metrics-showcase .metric::before { transform: scaleX(1); }
.metric::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,143,122,.22) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.metrics-showcase .metric::after { opacity: 1; }
.metric__value {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.05; letter-spacing: -.02em;
  transition: transform var(--transition), color var(--transition);
}
.metric__label {
  margin: .45rem 0 0;
  position: relative;
  z-index: 1;
  font-size: .95rem; line-height: 1.45; opacity: .82;
  transition: opacity var(--transition);
}

/* ===== METRICS SHOWCASE (ROI — three numbers + contact stack) ===== */
.metrics-showcase {
  position: relative;
  isolation: isolate;
}
.metrics-showcase::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -8%;
  width: min(52vw, 480px);
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(107,143,122,.16) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.metrics-showcase > * { position: relative; z-index: 1; }

/* Popped state — always on in showcase (not hover-gated) */
.metrics-showcase .metric-strip .metric {
  opacity: 0;
  transform: translateY(22px) scale(.97);
  border-color: rgba(107,143,122,.4);
  box-shadow:
    inset 0 1px 0 rgba(244,241,230,.1),
    0 24px 48px -14px rgba(31,38,34,.5);
}
.metrics-showcase .metric__value { color: var(--celadon); }
.metrics-showcase .metric__label { opacity: 1; }

.metrics-showcase.is-visible .metric-strip .metric {
  animation: metric-rise 620ms cubic-bezier(.2,.6,.2,1) forwards;
}
.metrics-showcase.is-visible .metric-strip .metric:nth-child(1) { animation-delay: 60ms; }
.metrics-showcase.is-visible .metric-strip .metric:nth-child(2) { animation-delay: 180ms; }
.metrics-showcase.is-visible .metric-strip .metric:nth-child(3) { animation-delay: 300ms; }

@keyframes metric-rise {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to {
    opacity: 1;
    transform: translateY(-5px) scale(1.025);
  }
}

@media (hover: hover) and (pointer: fine) {
  .metrics-showcase .metric:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow:
      inset 0 1px 0 rgba(244,241,230,.14),
      0 32px 56px -12px rgba(31,38,34,.58);
  }
  .metrics-showcase .metric:hover .metric__value { transform: scale(1.05); }
}

.metrics-showcase .contact-stack__card {
  opacity: 0;
  transition:
    transform 520ms cubic-bezier(.2,.6,.2,1),
    box-shadow var(--transition),
    opacity 420ms ease;
}
.metrics-showcase.is-visible .contact-stack__card:nth-child(1) {
  opacity: .92;
  transform: translateX(-58%) rotate(-7deg) translateY(-2px);
  transition-delay: 220ms;
}
.metrics-showcase.is-visible .contact-stack__card:nth-child(2) {
  opacity: .95;
  transform: translateX(-46%) rotate(4deg) translateY(-4px);
  transition-delay: 320ms;
}
.metrics-showcase.is-visible .contact-stack__card:nth-child(3) {
  opacity: .98;
  transform: translateX(-52%) rotate(-3deg) translateY(-6px);
  transition-delay: 420ms;
}
.metrics-showcase.is-visible .contact-stack__card:nth-child(4) {
  opacity: 1;
  transform: translateX(-44%) rotate(3deg) translateY(-8px);
  transition-delay: 520ms;
}
.metrics-showcase.is-visible .contact-stack__card:nth-child(5) {
  opacity: 1;
  transform: translateX(-50%) rotate(-2deg) translateY(-10px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(244,241,230,.1),
    0 32px 56px -14px rgba(31,38,34,.5);
  transition-delay: 640ms;
  animation: stack-pulse 3.8s ease-in-out 1.1s infinite;
}
@keyframes stack-pulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(244,241,230,.08),
      0 24px 48px -14px rgba(31,38,34,.45);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(244,241,230,.12),
      0 32px 56px -12px rgba(31,38,34,.58);
  }
}
.metrics-work {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: metrics-step;
  max-width: 38rem;
  display: grid;
  gap: 1rem;
}
.metrics-work li {
  position: relative;
  padding-left: 2.35rem;
  font-size: 1rem;
  line-height: 1.55;
}
.metrics-work li::before {
  counter-increment: metrics-step;
  content: counter(metrics-step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: .85rem;
  background: var(--pine);
  color: var(--rice);
  border-radius: 50%;
}
.metric__math {
  display: block;
  margin-top: .35rem;
  font-family: var(--serif-body);
  font-size: .78rem;
  letter-spacing: .04em;
  opacity: .75;
  font-weight: 400;
}
.metrics-sources {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--rice-warm);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  max-width: 38rem;
}
.metrics-sources__title {
  margin: 0 0 .75rem;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 1rem;
}
.metrics-sources ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: .65rem;
  font-size: .92rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .metrics-showcase .metric-strip .metric {
    opacity: 1;
    transform: translateY(-5px) scale(1.025);
    animation: none;
  }
  .metrics-showcase .contact-stack__card {
    animation: none;
  }
  .metrics-showcase.is-visible .contact-stack__card:nth-child(1) {
    opacity: .92;
    transform: translateX(-58%) rotate(-7deg) translateY(-2px);
  }
  .metrics-showcase.is-visible .contact-stack__card:nth-child(2) {
    opacity: .95;
    transform: translateX(-46%) rotate(4deg) translateY(-4px);
  }
  .metrics-showcase.is-visible .contact-stack__card:nth-child(3) {
    opacity: .98;
    transform: translateX(-52%) rotate(-3deg) translateY(-6px);
  }
  .metrics-showcase.is-visible .contact-stack__card:nth-child(4) {
    opacity: 1;
    transform: translateX(-44%) rotate(3deg) translateY(-8px);
  }
  .metrics-showcase.is-visible .contact-stack__card:nth-child(5) {
    opacity: 1;
    transform: translateX(-50%) rotate(-2deg) translateY(-10px) scale(1.04);
  }
}

/* ===== ANCHOR PAIR (deck slide 2 — two price anchors) ===== */
.anchor-pair {
  display: grid; gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 640px) {
  .anchor-pair { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.anchor-pair__item {
  padding: clamp(1.5rem, 4vw, 2rem) 1.5rem;
  border-radius: var(--radius-card);
  background: rgba(244,241,230,.12);
  border: 1px solid rgba(244,241,230,.25);
  text-align: center;
}
.anchor-pair__item--rice {
  background: var(--rice); color: var(--pine);
  border-color: transparent;
  box-shadow: var(--clay-rice-shadow-lifted);
}
.anchor-pair__value {
  margin: 0;
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1; letter-spacing: -.02em;
}
.anchor-pair__label {
  margin: .5rem 0 0;
  font-size: .95rem; line-height: 1.45; opacity: .85;
}
.anchor-pair__item--rice .anchor-pair__label { opacity: .7; }

/* ===== COST COMPARE (stacked competitor rows) ===== */
.cost-compare {
  display: grid; gap: .6rem;
  max-width: var(--max);
}
.cost-compare__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem 1rem;
  padding: 1rem 1.25rem;
  background: var(--rice);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  align-items: baseline;
}
@media (min-width: 720px) {
  .cost-compare__row {
    grid-template-columns: minmax(160px, 1fr) auto minmax(200px, 1.15fr);
    align-items: center;
  }
}
.cost-compare__row--highlight {
  background: var(--pine); color: var(--rice);
  box-shadow: var(--clay-ink-shadow);
}
.cost-compare__name {
  margin: 0;
  font-family: var(--serif-display); font-weight: 700;
  font-size: 1.02rem;
}
.cost-compare__price {
  margin: 0;
  font-family: var(--serif-display); font-weight: 700;
  font-size: 1.1rem; white-space: nowrap;
}
.cost-compare__detail {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .88rem; line-height: 1.45;
  opacity: .72;
}
@media (min-width: 720px) {
  .cost-compare__detail { grid-column: 3; }
}
.cost-compare__row--highlight .cost-compare__detail { opacity: .75; }

/* ===== PAGE HERO (subpages — copy + photo mosaic) ===== */
.page-hero {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: var(--max);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero { grid-template-columns: minmax(0, 1.05fr) minmax(260px, 1fr); }
}
.page-hero__copy { min-width: 0; }
.page-hero__copy .section-head { margin-bottom: 0; }

/* ===== PHOTO MOSAIC (reusable polaroid grid) ===== */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.photo-mosaic--3 { grid-template-columns: repeat(3, 1fr); }
.photo-mosaic__cell {
  aspect-ratio: 1 / 1.05;
  background: var(--rice);
  border: 1.5px solid var(--pine);
  border-radius: 4px;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 14px 28px -14px rgba(0,0,0,.4);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--serif-body);
  font-size: clamp(.7rem, 1.6vw, .82rem);
  color: var(--ink-60);
  line-height: 1.25;
  position: relative;
  overflow: hidden;
}
.photo-mosaic__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(31,38,34,.04) 10px 11px);
}
.photo-mosaic__cell span { position: relative; z-index: 1; }
.photo-mosaic__cell strong {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.35em;
  color: var(--pine);
  font-weight: 700;
}
.band--jade .photo-mosaic__cell {
  background: var(--rice-warm);
  border-color: rgba(244,241,230,.5);
  color: rgba(244,241,230,.75);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.5);
}
.band--jade .photo-mosaic__cell strong { color: var(--rice); }

/* ===== VISUAL SPLIT (text + illustration) ===== */
.visual-split {
  display: grid; gap: 2rem;
  max-width: var(--max);
  align-items: center;
}
@media (min-width: 900px) {
  .visual-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (min-width: 900px) {
  .visual-split--wide-right { grid-template-columns: 1.1fr .9fr; }
}

/* ===== COST BARS (horizontal price comparison chart) ===== */
.cost-bars {
  display: grid; gap: .75rem;
  max-width: var(--max);
}
.cost-bars__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr auto;
  gap: .65rem 1rem;
  align-items: center;
}
.cost-bars__label {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
}
.cost-bars__track {
  height: 14px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.cost-bars__fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: var(--celadon-deep);
  transition: width 600ms cubic-bezier(.2,.6,.2,1);
}
.cost-bars__price {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}
.cost-bars__row--highlight .cost-bars__label,
.cost-bars__row--highlight .cost-bars__price { color: var(--pine); }
.cost-bars__row--highlight .cost-bars__fill { background: var(--pine); }
.cost-bars__row--muted .cost-bars__fill {
  background: repeating-linear-gradient(
    90deg,
    var(--mist) 0 8px,
    rgba(189,197,186,.4) 8px 12px
  );
}
.cost-bars__note {
  grid-column: 1 / -1;
  margin: -.25rem 0 0;
  font-size: .78rem;
  opacity: .65;
  font-style: italic;
}

/* ===== CONTACT STACK (growing list visual) ===== */
.contact-stack {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.contact-stack__card {
  position: absolute;
  left: 50%;
  width: 78%;
  padding: .85rem 1rem;
  background: var(--rice);
  border: 1.5px solid var(--pine);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  transform: translateX(-50%) rotate(var(--rot, 0deg));
  font-size: .82rem;
}
.contact-stack__card:nth-child(1) { top: 0; --rot: -4deg; z-index: 1; opacity: .55; }
.contact-stack__card:nth-child(2) { top: 14%; --rot: 2deg; z-index: 2; opacity: .7; }
.contact-stack__card:nth-child(3) { top: 28%; --rot: -2deg; z-index: 3; opacity: .85; }
.contact-stack__card:nth-child(4) { top: 42%; --rot: 1deg; z-index: 4; }
.contact-stack__card:nth-child(5) {
  top: 58%; --rot: -1deg; z-index: 5;
  background: var(--pine); color: var(--rice);
  border-color: var(--pine);
  box-shadow: var(--clay-ink-shadow);
}
.contact-stack__card strong {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.15rem;
  margin-bottom: .15rem;
}
.contact-stack__card em {
  font-style: normal;
  opacity: .7;
  font-size: .9em;
}

/* ===== TIER GLYPHS (device count on pricing cards) ===== */
.tier-glyphs {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-bottom: .5rem;
  min-height: 2.75rem;
  align-items: flex-end;
}
.tier-glyphs__device {
  width: 1.35rem;
  height: 1.75rem;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: .35;
  position: relative;
}
.tier-glyphs__device::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: .5;
}
.tier--featured .tier-glyphs__device,
.tier-glyphs__device--on { opacity: 1; }
.tier-glyphs__device--on:nth-child(2) { transform: translateY(-4px) rotate(-6deg); }
.tier-glyphs__device--on:nth-child(3) { transform: translateY(-6px) rotate(5deg); }
.card--ink .tier-glyphs__device { color: var(--rice); border-color: var(--rice); }

.photo-mosaic__cell strong { display: block; margin-bottom: .2rem; }

/* ===== COMPARE VISUAL (icon strip above compare cards) ===== */
.compare__visual {
  aspect-ratio: 5 / 3;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  background: var(--rice-warm);
  border: 1px solid var(--mist);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.card--ink .compare__visual {
  background: rgba(244,241,230,.08);
  border-color: rgba(244,241,230,.2);
}
.compare__visual--influencer::before {
  content: "";
  width: 2.25rem;
  height: 3.5rem;
  border: 2px solid currentColor;
  border-radius: 6px;
  opacity: .45;
}
.compare__visual--booth {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 12px 16px;
  align-content: center;
}
.compare__visual--booth span {
  aspect-ratio: 3 / 4;
  background: rgba(244,241,230,.25);
  border: 1px solid rgba(244,241,230,.35);
  border-radius: 2px;
}
.card--rice .compare__visual--booth span {
  background: var(--mist);
  border-color: var(--pine);
  opacity: .4;
}

.card--ink .compare__head { border-bottom-color: rgba(244,241,230,.2); }
.card--ink .compare__rows > div { border-bottom-color: rgba(244,241,230,.15); }
.card--ink .compare__rows dt { opacity: .7; }

/* ===== ROI CALC (legacy granular breakdown — optional) ===== */
.roi-calc {
  display: grid; gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 760px) {
  .roi-calc { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.roi-row {
  display: grid; grid-template-columns: 1fr; gap: .25rem;
  padding: 1.25rem;
  background: var(--rice);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
}
.roi-row__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.roi-row__value { font-family: var(--serif-display); font-weight: 700; font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.1; }
.roi-row__note { font-size: .88rem; opacity: .7; margin-top: .25rem; }
.roi-row--ink { background: var(--pine); color: var(--rice); box-shadow: var(--clay-ink-shadow); }
.roi-row--ink .roi-row__label { opacity: .55; }

/* ===== FAQ (native details/summary accordion) ===== */
.faq {
  display: grid; gap: .75rem;
  max-width: 800px;
}
.faq__item {
  background: var(--rice);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  padding: 0 1.25rem;
  overflow: hidden;
}
.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--serif-display); font-weight: 700;
  font-size: 1.02rem; line-height: 1.4;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 44px;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: "+"; font-family: var(--serif-body); font-weight: 400;
  font-size: 1.5rem; line-height: 1; opacity: .5;
  transition: transform var(--transition), opacity var(--transition);
}
.faq__item[open] .faq__summary::after { transform: rotate(45deg); opacity: .85; }
.faq__body {
  padding: 0 0 1.25rem;
  border-top: 1px solid var(--mist);
  padding-top: 1rem; margin-top: -.1rem;
  font-size: .96rem; line-height: 1.6;
}
.faq__body p { margin: 0 0 .75em; }
.faq__body p:last-child { margin-bottom: 0; }

/* ===== ANATOMY (iPad illustration + numbered callouts) ===== */
.anatomy {
  display: grid; gap: 2rem;
  max-width: var(--max);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .anatomy { grid-template-columns: minmax(260px, 360px) 1fr; gap: 4rem; align-items: center; }
}
.anatomy__device {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 320px;
  margin: 0 auto;
  background: var(--rice);
  border: 2px solid var(--pine);
  border-radius: 22px;
  box-shadow: var(--clay-rice-shadow-lifted);
  display: grid; place-items: center;
  font-family: var(--serif-display);
  color: var(--ink-60);
  font-size: .85rem; text-align: center;
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(31,38,34,.035) 14px 15px);
}
.anatomy__device::before, .anatomy__device::after {
  /* faux camera dot + home button */
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-60); opacity: .35;
}
.anatomy__device::before { top: 8px; }
.anatomy__device::after  { bottom: 8px; width: 32px; height: 32px; border: 1.5px solid var(--ink-60); background: transparent; opacity: .25; }
.anatomy__callouts {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem; counter-reset: anatomy;
}
.anatomy__callouts li {
  display: grid; grid-template-columns: 2.25rem 1fr; gap: .85rem;
  align-items: start;
  counter-increment: anatomy;
}
.anatomy__callouts li::before {
  content: counter(anatomy, decimal-leading-zero);
  font-family: var(--serif-display); font-weight: 700;
  font-size: 1.25rem; color: var(--celadon-deep);
  border-bottom: 1px solid var(--celadon);
  padding-bottom: .15em;
}
.anatomy__callouts strong { font-family: var(--serif-display); display: block; margin-bottom: .15em; font-size: 1.02rem; }
.anatomy__callouts p { margin: 0; font-size: .95rem; line-height: 1.5; opacity: .85; }

/* settle animation — gentler cousin of the hero flash */
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.anatomy__callouts li { animation: settle 350ms cubic-bezier(.2,.6,.2,1) both; }
.anatomy__callouts li:nth-child(1) { animation-delay: 80ms; }
.anatomy__callouts li:nth-child(2) { animation-delay: 160ms; }
.anatomy__callouts li:nth-child(3) { animation-delay: 240ms; }
.anatomy__callouts li:nth-child(4) { animation-delay: 320ms; }
.anatomy__callouts li:nth-child(5) { animation-delay: 400ms; }
.anatomy__callouts li:nth-child(6) { animation-delay: 480ms; }
@media (prefers-reduced-motion: reduce) {
  .anatomy__callouts li { animation: none; }
}

/* ===== INSTALL LIST (in-the-box) ===== */
.install-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 640px) { .install-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .install-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.install-list li {
  background: var(--rice);
  padding: 1.25rem;
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  display: grid; gap: .5rem;
}
.install-list strong { font-family: var(--serif-display); font-weight: 700; font-size: 1.05rem; }
.install-list p { margin: 0; font-size: .92rem; line-height: 1.5; opacity: .8; }

/* ===== TRUST GRID (4-up trust signals) ===== */
.trust-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.trust-grid > div {
  background: var(--rice);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  display: grid; gap: .5rem;
}
.trust-grid strong { font-family: var(--serif-display); font-size: 1.05rem; }
.trust-grid p { margin: 0; font-size: .9rem; line-height: 1.5; opacity: .8; }

/* ===== VERTICAL BLOCK (Restaurants / Grocery / Events sections) ===== */
.vertical-block {
  display: grid; gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--rice);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  max-width: var(--max);
  margin-bottom: 1.5rem;
}
@media (min-width: 760px) {
  .vertical-block { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; align-items: start; }
}
.vertical-block__head .eyebrow { margin-bottom: .5rem; }
.vertical-block__head h3 {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.2;
  margin: 0 0 .75rem;
}
.vertical-block__head p { margin: 0; font-size: .98rem; line-height: 1.55; opacity: .85; }
.vertical-block__tiers {
  display: grid; gap: .85rem;
}
.vertical-block__tier {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1rem 1.15rem;
  background: var(--rice-warm);
  border-radius: 8px;
  border: 1px solid rgba(189,197,186,.4);
}
.vertical-block__tier--featured {
  background: var(--pine); color: var(--rice);
  border-color: var(--pine);
}
.vertical-block__tier dt { margin: 0; font-family: var(--serif-display); font-weight: 700; font-size: 1.02rem; }
.vertical-block__tier dt small { display: block; font-weight: 400; opacity: .65; font-size: .85em; margin-top: .15em; font-family: var(--serif-body); }
.vertical-block__tier dd { margin: 0; font-family: var(--serif-display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.vertical-block__tier dd small { font-weight: 400; opacity: .65; font-size: .75em; }

/* ===== REFERRAL CALLOUT ===== */
.referral {
  display: grid; gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2.25rem);
  background: var(--rice); color: var(--pine);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  max-width: var(--max);
}
.referral__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  counter-reset: referral-step;
}
@media (min-width: 640px) {
  .referral__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0; text-align: center;
  }
}
.referral__steps li {
  margin: 0;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .65rem 1rem;
  align-items: center;
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.35;
}
@media (min-width: 640px) {
  .referral__steps li {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding: 0 1.25rem;
    border-right: 1px solid var(--mist);
  }
  .referral__steps li:last-child { border-right: 0; }
}
.referral__steps li::before {
  content: counter(referral-step);
  counter-increment: referral-step;
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--celadon); color: var(--rice);
  font-family: var(--serif-body);
  font-size: .9rem; font-weight: 700;
}
@media (min-width: 640px) {
  .referral__steps li::before {
    width: 1.75rem; height: 1.75rem;
    margin: 0 auto;
    font-size: .82rem;
  }
}
.referral__cap {
  margin: 0; padding-top: 1rem;
  border-top: 1px solid var(--mist);
  text-align: center;
  font-size: .88rem;
  color: var(--ink-60);
}

/* ===== PILOT CTA BAND ===== */
.pilot-cta {
  display: grid; place-items: center; gap: 1.5rem; text-align: center;
}
.pilot-cta__lead {
  max-width: 38rem; margin: 0;
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4;
  color: var(--rice);
}
.pilot-cta__buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0; }
.pilot-cta .btn { min-width: 200px; justify-content: center; }
.pilot-cta__fine { font-size: .85rem; color: var(--rice); opacity: .7; margin: 0; max-width: 32rem; }

/* Cross-page links at bottom of subpages */
.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: center;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.page-cta a {
  font-family: var(--serif-body);
  font-size: 1rem;
  color: var(--rice);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-cta a:hover,
.page-cta a:focus-visible { opacity: .85; }
.page-cta a[aria-current="page"] { text-decoration: none; opacity: .55; }

/* ===== ANCHOR PLAN (the single big plan card on /en/pricing/) ===== */
.anchor-plan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--rice);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow-lifted);
  max-width: var(--max);
  align-items: start;
}
@media (min-width: 760px) {
  .anchor-plan {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}
.anchor-plan__price {
  border-right: 0; border-bottom: 1px solid var(--mist); padding-bottom: 1.5rem;
}
@media (min-width: 760px) {
  .anchor-plan__price {
    border-right: 1px solid var(--mist); border-bottom: 0;
    padding-right: 2rem; padding-bottom: 0;
  }
}
.anchor-plan__amount {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1;
  margin: 0 0 .5rem; letter-spacing: -.02em;
}
.anchor-plan__per {
  font-size: .35em; font-weight: 400; opacity: .55;
  letter-spacing: .04em; font-family: var(--serif-body);
}
.anchor-plan__note {
  font-size: .9rem; line-height: 1.55; opacity: .7;
  margin: 0;
}
.anchor-plan__features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .85rem;
}
.anchor-plan__features li {
  font-size: .98rem; line-height: 1.5;
  padding-left: 1.25rem; position: relative;
}
.anchor-plan__features li::before {
  content: "—"; position: absolute; left: 0; opacity: .55;
  font-weight: 400;
}
.anchor-plan__cta { margin: 0; }
@media (min-width: 760px) {
  .anchor-plan__cta {
    grid-column: 2; margin-top: 1rem;
  }
}

/* ===== OTHER PLANS (compact 3-up cards) ===== */
.other-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: var(--max);
}
@media (min-width: 720px) { .other-plans { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.other-plans__card {
  background: var(--rice);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--clay-rice-shadow);
  display: grid; gap: .65rem;
  align-content: start;
}
.other-plans__card .eyebrow { margin-bottom: .25rem; }
.other-plans__price {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.1;
  margin: 0;
}
.other-plans__price small {
  font-weight: 400; opacity: .55; font-size: .55em;
  letter-spacing: .03em; font-family: var(--serif-body);
}
.other-plans__desc {
  margin: 0; font-size: .94rem; line-height: 1.55; opacity: .8;
}

/* ===== STAT 9.8× — ENHANCED ANIMATION ===== */
.band--rice .stat__number { color: var(--pine); }

@keyframes stat-pulse {
  0%, 100% {
    transform: scale(1) translateY(0);
    text-shadow: 0 2px 8px rgba(31,38,34,.06);
  }
  45%, 55% {
    transform: scale(1.07) translateY(-7px);
    text-shadow:
      0 0 25px rgba(180,110,0,.55),
      0 0 70px rgba(200,140,0,.28),
      0 24px 60px rgba(0,0,0,.15);
  }
}

@keyframes stat-color {
  0%, 100% { color: var(--pine); }
  45%, 55%  { color: #a06000; }
}

@keyframes stat-radial {
  0%, 100% { opacity: 0; transform: scale(.55); }
  50% { opacity: 1; transform: scale(1.35); }
}

.stat { position: relative; overflow: hidden; }
.stat::before {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(ellipse 55% 35% at 50% 50%, rgba(220,165,0,.14) 0%, transparent 65%);
  animation: stat-radial 3.6s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.stat > * { position: relative; z-index: 1; }

.stat__number {
  animation: stat-pulse 3.6s cubic-bezier(.4,0,.2,1) infinite,
             stat-color 3.6s cubic-bezier(.4,0,.2,1) infinite;
  will-change: transform, text-shadow, color;
}

@media (prefers-reduced-motion: reduce) {
  .stat__number { animation: none; }
  .stat::before { animation: none; }
}

/* ===== IMAGE ROW (horizontal photo band below section headers) ===== */
.img-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  margin-top: 2.5rem;
  max-width: var(--max);
}
@media (max-width: 600px) {
  .img-row { grid-template-columns: 1fr 1fr; }
  .img-row__cell:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}
.img-row__cell {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--mist);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 8px 28px -8px rgba(0,0,0,.22);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.img-row__cell:hover { transform: scale(1.03) translateY(-3px); box-shadow: 0 18px 44px -10px rgba(0,0,0,.32); }
.band--jade .img-row__cell { box-shadow: 0 16px 42px -14px rgba(0,0,0,.5); }
.band--warm .img-row__cell { box-shadow: 0 8px 28px -8px rgba(0,0,0,.15); }
