/* ============================================================
   FOOD DIGITAL STUDIO — design system
   deep warm charcoal · bone ivory · refined copper
   Fraunces (display) · Manrope (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --bg: #0D0B08;
  --bg-2: #14110C;
  --bg-3: #1B1710;
  --ink: #F2ECE0;
  --ink-dim: #B7AD9C;
  --ink-faint: #877E6E;
  --copper: #C98E52;
  --copper-2: #E7BE8A;
  --line: rgba(242, 236, 224, .10);
  --line-strong: rgba(242, 236, 224, .20);

  --font-d: "Fraunces", Georgia, serif;
  --font-b: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --container: 1300px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --sect: clamp(96px, 13vw, 176px);
  --radius: 20px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--copper); color: var(--bg); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2b241a; border-radius: 5px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

/* film grain over everything — tiny static SVG noise tile */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* host-platform watermark is suppressed per the platform's
   user-brand-only contract for standalone websites */
#hf-watermark { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 3000;
  padding: 10px 18px; background: var(--copper); color: var(--bg);
  border-radius: 8px; font-weight: 600; transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* ---------- primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }

.mono {
  font-family: var(--font-m);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section { padding-block: var(--sect); position: relative; }
.section--tint { background: var(--bg-2); }
section { scroll-margin-top: 84px; }

/* section header ribbon */
.shead { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(18px, 3vw, 30px); }
.shead-ix { color: var(--copper); }
.shead-lab { color: var(--ink-faint); }
.shead-rule { flex: 1; height: 1px; background: var(--line-strong); transform-origin: left center; }

.shead-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.stitle {
  font-family: var(--font-d);
  font-size: clamp(2.3rem, 5.4vw, 4.7rem);
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.stitle em, .cta-title em, .film-line em, .hero-title em {
  font-style: italic;
  font-weight: 420;
  color: var(--copper-2);
}
.slede { color: var(--ink-dim); max-width: 46ch; font-size: clamp(.98rem, 1.2vw, 1.08rem); }

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.02em 1.9em;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .45s var(--ease-out), background-color .35s, border-color .35s, color .35s, box-shadow .45s;
  overflow: hidden;
  white-space: nowrap;
}
.btn-solid { background: var(--copper); color: #17100a; }
.btn-solid::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease-out);
}
.btn-solid:hover::before { transform: translateX(110%); }
.btn-solid:hover { background: var(--copper-2); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(201,142,82,.45); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-2); transform: translateY(-2px); background: rgba(201,142,82,.06); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .78em 1.4em; font-size: .85rem; }
.btn-lg { padding: 1.15em 2.5em; font-size: 1.05rem; }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background-color .45s, backdrop-filter .45s, box-shadow .45s;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; transition: padding .45s; }
.nav.is-scrolled { background: rgba(13, 11, 8, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav-in { padding-block: 13px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-word { font-family: var(--font-d); font-size: 1.18rem; font-weight: 520; letter-spacing: -.01em; white-space: nowrap; }
.brand-word em { font-style: italic; font-weight: 420; color: var(--copper-2); }

.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--ink-dim);
  transition: color .3s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--copper); transform: scaleX(0); transform-origin: right center;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* language switcher */
.lang { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); }
.lang a { color: var(--ink-faint); transition: color .3s; }
.lang a:hover { color: var(--ink); }
.lang a.is-active { color: var(--copper-2); }
.mnav-foot .lang { margin-bottom: 6px; }

.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
body.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* mobile overlay menu */
body.menu-open { overflow: hidden; }
.mnav {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(13, 11, 8, .96);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; gap: 8vh;
  padding: 100px var(--gutter) 40px;
  visibility: hidden; opacity: 0;
  transition: opacity .5s var(--ease-out), visibility 0s .5s;
}
body.menu-open .mnav { visibility: visible; opacity: 1; transition-delay: 0s; }
.mnav-links { display: flex; flex-direction: column; gap: 6px; }
.mnav-links a {
  font-family: var(--font-d); font-size: clamp(2rem, 8.5vw, 3.2rem); font-weight: 460; line-height: 1.25;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), color .3s;
}
.mnav-links a .mono { color: var(--copper); font-size: .7rem; }
.mnav-links a:hover { color: var(--copper-2); }
body.menu-open .mnav-links a { opacity: 1; transform: none; }
body.menu-open .mnav-links a:nth-child(1) { transition-delay: .10s; }
body.menu-open .mnav-links a:nth-child(2) { transition-delay: .16s; }
body.menu-open .mnav-links a:nth-child(3) { transition-delay: .22s; }
body.menu-open .mnav-links a:nth-child(4) { transition-delay: .28s; }
body.menu-open .mnav-links a:nth-child(5) { transition-delay: .34s; }
body.menu-open .mnav-links a:nth-child(6) { transition-delay: .40s; }
.mnav-foot { display: flex; flex-direction: column; gap: 10px; }
.mnav-foot .mono { color: var(--ink-faint); }
.mnav-foot a.mono { color: var(--copper-2); }

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  transform: scale(1.08);
}
/* the "before" state — the same footage, degraded live via backdrop-filter
   so both halves of the wipe stay perfectly in sync over video */
.hero-before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 62%)) 0 0);
  will-change: clip-path;
  background: rgba(18, 14, 9, .22);
  -webkit-backdrop-filter: brightness(.68) contrast(.84) saturate(.5) sepia(.14);
  backdrop-filter: brightness(.68) contrast(.84) saturate(.5) sepia(.14);
}

.wipe-seam {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 62%); width: 1px;
  background: linear-gradient(180deg, transparent, rgba(242,236,224,.85) 22%, rgba(242,236,224,.85) 78%, transparent);
  box-shadow: 0 0 28px rgba(201,142,82,.5);
}
.wipe-chip {
  position: absolute; top: 96px;
  font-family: var(--font-m); font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(13,11,8,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.wipe-chip--b { left: var(--gutter); }
.wipe-chip--a { right: var(--gutter); color: var(--copper-2); border-color: rgba(201,142,82,.35); }

.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 20%, transparent 40%, rgba(13,11,8,.52) 100%),
    linear-gradient(180deg, rgba(13,11,8,.66) 0%, rgba(13,11,8,.18) 34%, rgba(13,11,8,.30) 62%, var(--bg) 99%);
}

.hero-content { position: relative; padding-bottom: clamp(120px, 16vh, 190px); }
.overline { color: var(--copper-2); margin-bottom: clamp(18px, 2.6vh, 30px); }

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(2.7rem, 8.4vw, 8rem);
  font-weight: 470;
  line-height: 1.0;
  letter-spacing: -.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line-in { display: inline-block; will-change: transform; }
/* Portuguese lines run longer — trim the display size so lines stay whole */
.hero-title:lang(pt) { font-size: clamp(2.35rem, 6.9vw, 6.6rem); }

.hero-lede {
  margin-top: clamp(20px, 3vh, 30px);
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vh, 38px); }
.hero-chips { margin-top: clamp(22px, 3.4vh, 32px); color: var(--ink-faint); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-chips .dot { color: var(--copper); font-size: .55em; font-style: normal; }

.hero-foot {
  position: absolute; bottom: 26px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.scrollcue { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); }
.scrollcue-line { position: relative; width: 1px; height: 52px; background: var(--line-strong); overflow: hidden; }
.scrollcue-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--copper);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

.filmtag {
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(13,11,8,.42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ============================================================ TICKER */
.ticker { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: var(--bg); }
.ticker-track { display: flex; align-items: center; gap: 3.2rem; width: max-content; animation: tick 41s linear infinite; }
.ticker-track span {
  font-family: var(--font-m); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap;
}
.ticker-track i { color: var(--copper); font-style: normal; font-size: .55rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================ BEFORE / AFTER */
.ba { position: relative; }
.ba--featured { margin-bottom: clamp(20px, 3vw, 36px); max-width: 920px; margin-inline: auto; }
/* real client pair — the "before" file IS the before; no simulated degrade */
.ba--real .ba-before .ba-img { filter: none; }

.ba-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  isolation: isolate;
}
.ba--featured .ba-frame { aspect-ratio: 5 / 4; }
.ba-grid .ba-frame { aspect-ratio: 5 / 4; }
/* portrait 4:5 — a social-media-format example among the delivery crops */
.ba-grid .ba--portrait .ba-frame { aspect-ratio: 4 / 5; }

.ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  pointer-events: none;
}
.ba-before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 55%)) 0 0);
  will-change: clip-path;
  z-index: 2;
}
/* the simulated "average photo": dim, flat, colour-cast */
.ba-before .ba-img { filter: brightness(.68) contrast(.8) saturate(.46) sepia(.18); }

.ba-seam {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 55%); width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(242,236,224,.0), rgba(242,236,224,.9) 14%, rgba(242,236,224,.9) 86%, rgba(242,236,224,.0));
  z-index: 4;
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(13,11,8,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(242,236,224,.4);
  color: var(--copper-2);
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  transition: transform .3s var(--ease-out), border-color .3s, background-color .3s;
}
.ba-handle svg { width: 20px; height: 20px; }
.ba-frame:hover .ba-handle { transform: translate(-50%, -50%) scale(1.08); border-color: var(--copper); }
.ba-frame.is-dragging .ba-handle { transform: translate(-50%, -50%) scale(.92); border-color: var(--copper); background: rgba(23,16,10,.75); }

.ba-chip {
  position: absolute; bottom: 14px; z-index: 5;
  font-family: var(--font-m); font-size: .6rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(13,11,8,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  pointer-events: none;
}
.ba-chip--b { left: 14px; }
.ba-chip--a { right: 14px; color: var(--copper-2); border-color: rgba(201,142,82,.35); }

.ba-hit {
  position: absolute; inset: 0; z-index: 6;
  cursor: ew-resize;
  touch-action: pan-y;
  border-radius: var(--radius);
}
.ba-frame.is-dragging .ba-hit { cursor: grabbing; }

.ba-cap { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px 0; color: var(--ink-faint); }
.ba-cap span:first-child { color: var(--ink-dim); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

/* ============================================================ FILM BANDS */
.film { position: relative; height: clamp(380px, 64vh, 640px); overflow: clip; }
.film-media { position: absolute; inset: -12% 0; }
.film-img { width: 100%; height: 100%; object-fit: cover; }
.film-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13,11,8,.35) 26%, rgba(13,11,8,.45) 74%, var(--bg) 100%);
}
.film-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 18px; padding-bottom: 56px;
}
.film-line {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 450; line-height: 1.05; letter-spacing: -.015em;
}

/* ============================================================ [03] FIX CARDS */
.fix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.fix-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: transform .5s var(--ease-out), border-color .4s, background-color .4s;
}
.fix-card:hover { transform: translateY(-6px); border-color: rgba(201,142,82,.4); background: var(--bg-3); }
.fix-num { color: var(--copper); }
.fix-card h3 {
  font-family: var(--font-d); font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 480;
  letter-spacing: -.01em; margin-top: auto; padding-top: 42px;
}
.fix-card p { color: var(--ink-dim); font-size: .94rem; margin-top: 10px; }

/* ============================================================ [04] PLACEMENT */
.place-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.place-media {
  position: sticky; top: 96px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.place-img { width: 100%; height: 112%; object-fit: cover; }
.filmtag--onmedia { position: absolute; left: 14px; bottom: 14px; }

.place-list { border-top: 1px solid var(--line); }
.prow {
  display: grid;
  grid-template-columns: 52px 1fr minmax(0, 42%);
  align-items: baseline; gap: 14px;
  padding: clamp(18px, 2.2vw, 26px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.prow-ix { color: var(--copper); }
.prow-name {
  font-family: var(--font-d); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 470; letter-spacing: -.01em;
  transition: transform .45s var(--ease-out), color .3s;
}
.prow-desc { color: var(--ink-faint); font-size: .88rem; text-align: right; }
.prow:hover .prow-name { transform: translateX(8px); color: var(--copper-2); }

/* ============================================================ [05] STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  counter-reset: step;
}
.step { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.step-num {
  font-family: var(--font-d); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 4vw, 3.6rem); color: var(--copper);
  line-height: 1; display: block;
}
.step h3 { font-family: var(--font-d); font-size: clamp(1.4rem, 1.9vw, 1.75rem); font-weight: 480; margin-top: 22px; letter-spacing: -.01em; }
.step p { color: var(--ink-dim); font-size: .95rem; margin-top: 10px; max-width: 34ch; }

/* ============================================================ [06] PACKAGES
   Five tiers in a centred flex grid: desktop ~5 across, laptop 3, tablet 2,
   mobile 1 — orphan rows centre themselves, cards never go excessively narrow. */
.pack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 22px);
}
.pack {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 262px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 1.9vw, 28px);
  display: flex; flex-direction: column; gap: 15px;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.pack:hover {
  transform: translateY(-6px);
  border-color: rgba(201,142,82,.45);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.pack-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink-faint); min-height: 22px; }
.pack-badge {
  color: #17100a; background: var(--copper);
  font-family: var(--font-m); font-size: .56rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.pack-name { color: var(--copper-2); letter-spacing: .22em; font-size: .74rem; }
.pack-count { display: flex; align-items: baseline; gap: 10px; }
.pack-num { font-family: var(--font-d); font-size: clamp(2.7rem, 3.4vw, 3.4rem); font-weight: 460; line-height: 1; letter-spacing: -.02em; }
.pack-unit { color: var(--ink-faint); }
.pack-price { border-block: 1px solid var(--line); padding-block: 13px; }
.pack-amount { font-family: var(--font-d); font-size: 1.7rem; font-weight: 480; }
.pack-list { display: flex; flex-direction: column; gap: 9px; }
.pack-list li { color: var(--ink-dim); font-size: .85rem; line-height: 1.4; padding-left: 17px; position: relative; }
.pack-list li::before { content: "◆"; position: absolute; left: 0; top: .3em; font-size: .5em; color: var(--copper); }
.pack-cta { margin-top: auto; width: 100%; }
.pack-foot { margin-top: clamp(22px, 3vw, 34px); text-align: center; color: var(--ink-faint); max-width: 66ch; margin-inline: auto; line-height: 1.7; }

/* SIGNATURE — subtle recommended highlight (never aggressive) */
.pack--featured {
  border-color: rgba(201,142,82,.5);
  background: linear-gradient(180deg, rgba(201,142,82,.08), rgba(201,142,82,.02)), var(--bg-2);
}
.pack--featured:hover { border-color: var(--copper); }

@media (max-width: 1080px) { .pack { flex-basis: 30%; max-width: 320px; } }   /* laptop: 3 per row */
@media (max-width: 780px)  { .pack { flex-basis: 44%; max-width: none; } }     /* tablet: 2 per row */
@media (max-width: 540px)  { .pack { flex-basis: 100%; max-width: 400px; } }   /* mobile: 1 per row */

/* ============================================================ PACKAGE REQUEST MODAL
   One reusable dialog, dynamically populated per package. */
body.pkg-open { overflow: hidden; }
/* the [hidden] attribute must beat our flex display rules */
.pkg-modal [hidden] { display: none !important; }
.pkg-opt-tag { color: var(--ink-faint); font-size: .68rem; letter-spacing: .04em; }
.pkg-modal {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vh, 40px) clamp(12px, 4vw, 24px);
  visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease-out), visibility 0s .35s;
}
.pkg-modal.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.pkg-overlay { position: absolute; inset: 0; background: rgba(6,5,3,.74); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.pkg-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 92vh;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75);
  transform: translateY(18px) scale(.985); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
  overflow: hidden;
}
.pkg-modal.is-open .pkg-dialog { transform: none; opacity: 1; }

.pkg-head { flex: none; position: relative; padding: clamp(22px,3vw,30px) clamp(22px,3vw,32px) 20px; border-bottom: 1px solid var(--line); }
.pkg-eyebrow { color: var(--ink-faint); margin-bottom: 9px; }
.pkg-selected { font-family: var(--font-d); font-size: clamp(1.12rem,2vw,1.4rem); font-weight: 470; letter-spacing: -.01em; padding-right: 42px; }
.pkg-selected em { font-style: normal; color: var(--copper-2); }
.pkg-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink-dim);
  transition: border-color .3s, color .3s, transform .4s var(--ease-out);
}
.pkg-close:hover { border-color: var(--copper); color: var(--copper-2); transform: rotate(90deg); }
.pkg-close svg { width: 15px; height: 15px; }

.pkg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(20px,3vw,26px) clamp(22px,3vw,32px) clamp(24px,3vw,30px); }
.pkg-form { display: flex; flex-direction: column; gap: 22px; }
.pkg-fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.pkg-legend { color: var(--copper-2); margin-bottom: 1px; }
.pkg-field { display: flex; flex-direction: column; gap: 6px; }
.pkg-label { color: var(--ink-dim); font-size: .82rem; font-weight: 500; }
.pkg-label .req { color: var(--copper); margin-left: 2px; }
.pkg-input, .pkg-select, .pkg-textarea {
  width: 100%; font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; transition: border-color .25s, background-color .25s;
}
.pkg-input:focus, .pkg-select:focus, .pkg-textarea:focus { outline: none; border-color: var(--copper); background: var(--bg); }
.pkg-input::placeholder, .pkg-textarea::placeholder { color: var(--ink-faint); }
.pkg-textarea { resize: vertical; min-height: 84px; }
.pkg-select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23877E6E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.pkg-select option { background: var(--bg-2); color: var(--ink); }

.pkg-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pkg-opt { position: relative; display: block; }
.pkg-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pkg-opt span {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: .82rem;
  background: var(--bg-3); border: 1px solid var(--line); color: var(--ink-dim);
  transition: border-color .2s, color .2s, background-color .2s;
}
.pkg-opt input:checked + span { border-color: var(--copper); color: var(--ink); background: rgba(201,142,82,.11); }
.pkg-opt input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.pkg-consent { display: flex; gap: 11px; align-items: flex-start; }
.pkg-consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--copper); flex: none; }
.pkg-consent label { font-size: .82rem; color: var(--ink-dim); line-height: 1.45; }
.pkg-privacy { font-size: .72rem; color: var(--ink-faint); line-height: 1.55; }

.pkg-err { color: #e79070; font-size: .74rem; display: none; }
.pkg-field.invalid .pkg-err, .pkg-fieldset.invalid .pkg-err { display: block; }
.pkg-field.invalid .pkg-input, .pkg-field.invalid .pkg-select, .pkg-field.invalid .pkg-textarea { border-color: #c65c3d; }

.pkg-hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.pkg-submit { width: 100%; margin-top: 2px; }
.pkg-submit[disabled] { opacity: .62; cursor: default; pointer-events: none; }
.pkg-formerr { color: #e79070; font-size: .82rem; text-align: center; }
.pkg-formerr a { color: var(--copper-2); text-decoration: underline; }

.pkg-state { padding: clamp(34px,6vw,54px) clamp(24px,4vw,40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pkg-state-mark { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201,142,82,.45); color: var(--copper-2); }
.pkg-state-mark svg { width: 26px; height: 26px; }
.pkg-state h3 { font-family: var(--font-d); font-size: clamp(1.6rem,3vw,2.1rem); font-weight: 470; letter-spacing: -.01em; }
.pkg-state p { color: var(--ink-dim); max-width: 46ch; line-height: 1.6; }
.pkg-state a { color: var(--copper-2); }
.pkg-state .btn { margin-top: 6px; }

@media (max-width: 560px) {
  .pkg-options { grid-template-columns: 1fr; }
  .pkg-modal { padding: 0; }
  .pkg-dialog { max-width: none; max-height: 100%; height: 100%; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-dialog { transition: opacity .2s; transform: none; }
  .pkg-close:hover { transform: none; }
}

/* ============================================================ [07] COMPARE */
.cmp { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--bg); }
.cmp-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > span { padding: clamp(16px, 2vw, 24px) clamp(16px, 2.2vw, 28px); }
.cmp-lab { color: var(--ink-faint); }
.cmp-a { color: var(--ink-dim); font-size: .95rem; }
.cmp-b {
  color: var(--ink); font-size: .95rem;
  background: rgba(201,142,82,.05);
  border-left: 1px solid rgba(201,142,82,.25);
  position: relative;
}
.cmp-row--head .cmp-a { color: var(--ink-faint); }
.cmp-row--head .cmp-b { color: var(--copper-2); }

/* ============================================================ [08] FAQ */
.faq { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.6vw, 28px) 4px;
  text-align: left;
  font-family: var(--font-d); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 470; letter-spacing: -.01em;
  transition: color .3s;
}
.faq-q:hover { color: var(--copper-2); }
.faq-ic { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .45s var(--ease-out), border-color .3s; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--copper);
  transform: translate(-50%, -50%);
}
.faq-ic::before { width: 12px; height: 1.5px; }
.faq-ic::after { width: 1.5px; height: 12px; transition: transform .4s var(--ease-out), opacity .3s; }
.faq-item.open .faq-ic { transform: rotate(90deg); border-color: var(--copper); }
.faq-item.open .faq-ic::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-item.open .faq-p { grid-template-rows: 1fr; }
.faq-p-in { overflow: hidden; }
.faq-p-in p { color: var(--ink-dim); max-width: 62ch; padding: 0 4px clamp(22px, 2.6vw, 30px); }

/* ============================================================ [09] FINAL CTA */
.cta {
  position: relative;
  padding-block: clamp(130px, 18vw, 240px);
  overflow: clip;
  text-align: center;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(201,142,82,.13), transparent 70%),
    var(--bg-2);
  scroll-margin-top: 84px;
}
.cta-mark {
  position: absolute; top: 50%; left: 50%;
  width: min(78vw, 720px); height: min(78vw, 720px);
  transform: translate(-50%, -50%);
  color: var(--ink);
  opacity: .04;
  pointer-events: none;
}
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 30px); }
.cta .overline { margin-bottom: 0; }
.cta-title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 460; line-height: 1.04; letter-spacing: -.018em;
  max-width: 18ch;
  text-wrap: balance;
}
.cta-lede { color: var(--ink-dim); max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.14rem); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 8px; }
.cta-mail { color: var(--ink-faint); transition: color .3s; }
.cta-mail:hover { color: var(--copper-2); }

/* ============================================================ [10] FOOTER */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 7vw, 88px);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-tag { color: var(--ink-faint); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h { color: var(--ink-faint); margin-bottom: 6px; }
.footer-col a, .footer-col span:not(.footer-h) { color: var(--ink-dim); font-size: .92rem; transition: color .3s, transform .3s; }
.footer-col a:hover { color: var(--copper-2); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}
.footer-base .mono { font-size: .62rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

@media (max-width: 480px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 1020px) {
  .fix-grid { grid-template-columns: repeat(2, 1fr); }
  .place-grid { grid-template-columns: 1fr; }
  .place-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shead-grid { grid-template-columns: 1fr; align-items: start; }
  .slede { max-width: 60ch; }

  .ba-grid { grid-template-columns: 1fr; }
  .ba-handle { width: 52px; height: 52px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step p { max-width: 60ch; }

  .fix-grid { grid-template-columns: 1fr; }
  .fix-card { min-height: 0; }
  .fix-card h3 { padding-top: 26px; }

  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-lab { grid-column: 1 / -1; padding-bottom: 0 !important; }
  .cmp-row--head .cmp-lab { display: none; }
  .cmp-b { border-left: 1px solid rgba(201,142,82,.25); }

  .prow { grid-template-columns: 40px 1fr; }
  .prow-desc { grid-column: 2; text-align: left; }

  .hero-foot .filmtag { display: none; }
  .wipe-chip { top: 84px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  body::after { opacity: .04; }
}

@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* ============================================================ REDUCED MOTION
   Product decision after real-iPhone testing: the cinematic identity
   (hero, wipe, films, ticker) runs for everyone — iOS enables Reduce
   Motion on far too many devices to let it blank the brand. Only
   smooth-scroll inertia and the hover sheen are stilled. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-solid::before { display: none; }
}
