/* TendaGo — official website
   Palette: navy (anchor) · cream/sand (surface) · orange (accent, from the logo)
   Type: Bricolage Grotesque (display) + Hanken Grotesk (body) */

:root {
  --orange: #FF5A14;
  --orange-600: #EB4A08;
  --orange-ink: #C2410C;          /* orange for small text on light surfaces (AA) */
  --orange-50: #FFF1E6;
  --navy: #0E1A3B;
  --navy-800: #15244C;
  --navy-700: #22335F;
  --cream: #FBF6EE;
  --sand: #F3EADC;
  --sand-2: #E9DDC9;
  --white: #FFFFFF;
  --ink: #0E1A3B;
  --ink-2: #4A536B;
  --ink-3: #7B8296;
  --line: rgba(14, 26, 59, .12);
  --line-light: rgba(255, 255, 255, .14);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(80px, 8.5vw, 128px);
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .1 0 0 0 0 .23 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream) var(--noise);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.025em;
}
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.o { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Labels, headings, buttons ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.on-dark .label { color: var(--orange); }

.h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.03em; }
.muted { color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 15.5px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #FF6D2E; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Google Play badge — placeholder. Swap for the official badge artwork:
   https://play.google.com/intl/en_us/badges/ */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 18px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #A6A6A6; border-radius: 14px;
  transition: transform .25s var(--ease);
}
.play-badge:hover { transform: translateY(-2px); }
.play-badge svg { width: 26px; height: 26px; }
.play-badge small { display: block; font: 600 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.play-badge strong { display: block; margin-top: 3px; font: 600 21px/1.05 var(--body); letter-spacing: -.01em; }

/* ---------- Photo placeholders ----------
   To use a real photo, replace the <div class="ph …">…</div> inside a .frame
   with <img src="photos/your-photo.jpg" alt="Describe the photo">. */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.frame > img, .frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph {
  --ph-a: #FFD7BE; --ph-b: #FFB285; --ph-fg: rgba(14, 26, 59, .72);
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 26px, transparent 26px 52px),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
  color: var(--ph-fg);
}
.ph--sand { --ph-a: #F1E6D4; --ph-b: #DCCAB0; }
.ph--cream { --ph-a: #FBF3E6; --ph-b: #EEDFC8; }
.ph--orange { --ph-a: #FF8A4C; --ph-b: #F0500E; --ph-fg: rgba(255, 255, 255, .9); }
.ph--night { --ph-a: #2A3B6B; --ph-b: #17264F; --ph-fg: rgba(255, 255, 255, .78); }
.ph .ph-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, .42); backdrop-filter: blur(4px);
}
.ph--night .ph-icon, .ph--orange .ph-icon { background: rgba(255, 255, 255, .14); }
.ph .ph-icon svg { width: 26px; height: 26px; }
.ph .ph-cap {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  font: 500 12.5px/1.35 var(--body);
}
.ph .ph-cap b { display: block; font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-bottom: 3px; }

/* Real photos: the rider shots are transparent cutouts (images/*.webp),
   so each frame supplies a brand backdrop behind them. */
figure.frame { margin: 0; }
.stage {
  background:
    radial-gradient(50% 9% at 50% 100%, rgba(5, 10, 26, .45) 0%, rgba(5, 10, 26, 0) 100%),
    radial-gradient(62% 58% at 50% 62%, #3A5089 0%, rgba(58, 80, 137, 0) 72%),
    linear-gradient(180deg, #1B2A55 0%, #0E1A3B 100%);
}
.stage--light { background: linear-gradient(165deg, #FFF6EC 0%, #F6E0C8 100%); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(14, 26, 59, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-tile {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(14, 26, 59, .4);
}
.brand-tile img { width: 114%; height: 114%; max-width: none; object-fit: cover; }
.wordmark { font: 800 25px/1 var(--display); letter-spacing: -.04em; color: var(--navy); }
.wordmark span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Awning (brand motif from the logo) ---------- */
.awning { position: relative; z-index: 2; filter: drop-shadow(0 12px 14px rgba(14, 26, 59, .12)); }
.awning .rod { display: block; height: 12px; background: var(--navy); }
.stripes { display: flex; height: clamp(44px, 4.6vw, 66px); }
.stripes span {
  flex: 1;
  border-radius: 0 0 50% 50% / 0 0 62% 62%;
  background: linear-gradient(180deg, #FF7A2E, #FF5212);
  box-shadow: inset 0 8px 0 rgba(0, 0, 0, .06);
}
.stripes span:nth-child(even) { background: linear-gradient(180deg, #FFFFFF, #ECE6DD); }
.awning--thin .stripes { height: 30px; }
.awning--thin .rod { height: 8px; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(40px, 4.4vw, 60px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border: 1px solid rgba(194, 65, 12, .25); border-radius: 999px; background: rgba(255, 255, 255, .55);
  font: 700 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(48px, 7.8vw, 112px); font-weight: 600; line-height: .92; letter-spacing: -.03em;
}
.hero .lede { max-width: 580px; margin-top: 24px; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--ink-2); }
.cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 34px; }

.hero-stage { position: relative; height: clamp(350px, 29vw, 410px); margin-top: clamp(50px, 5vw, 70px); }
.arc-item { position: absolute; top: var(--t); left: 50%; width: var(--w); transform: translateX(var(--x)) rotate(var(--r)); }
.arc-phone { --w: 340px; --x: -170px; --t: 0px; --r: 0deg; z-index: 3; }
.arc-l1 { --w: 268px; --x: -460px; --t: 40px; --r: -6deg; z-index: 2; }
.arc-r1 { --w: 268px; --x: 194px; --t: 28px; --r: 5deg; z-index: 2; }
.arc-l2 { --w: 224px; --x: -740px; --t: 127px; --r: -3deg; z-index: 1; }
.arc-r2 { --w: 224px; --x: 516px; --t: 139px; --r: 4deg; z-index: 1; }

.snap {
  background: #fff; padding: 9px; border-radius: 20px;
  box-shadow: 0 34px 60px -34px rgba(14, 26, 59, .45), 0 2px 8px rgba(14, 26, 59, .06);
}
.snap .frame { aspect-ratio: 4 / 5; border-radius: 13px; }
.snap .frame.sq { aspect-ratio: 1; }

.phone {
  padding: 11px; border-radius: 48px; background: var(--navy);
  box-shadow: 0 50px 90px -40px rgba(14, 26, 59, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone-screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 38px; overflow: hidden; background: #fff; }
.scr-notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: var(--navy); }
.scr-head { padding: 50px 16px 16px; background: var(--orange-50); }
.scr-row { display: flex; align-items: center; gap: 9px; }
.scr-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.scr-logo img { width: 130%; height: 130%; max-width: none; object-fit: cover; }
.scr-brand { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.15; }
.scr-brand strong { font: 700 14px var(--display); color: var(--navy); }
.scr-brand small { font: 500 8px var(--body); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.scr-cart { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.scr-cart svg { width: 15px; height: 15px; color: var(--navy); }
.scr-cart i { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 8px/1 var(--body); font-style: normal; }
.scr-search { display: flex; align-items: center; gap: 8px; height: 34px; margin-top: 14px; padding: 0 12px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.scr-search svg { width: 14px; height: 14px; color: var(--ink-3); flex: none; }
.scr-search span { font: 500 11px var(--body); color: var(--ink-3); }
.scr-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.scr-product { display: grid; gap: 6px; }
.scr-thumb { aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--sand); }
.scr-thumb .ph { position: static; width: 100%; height: 100%; }
.scr-thumb .ph svg { width: 22px; height: 22px; }
.scr-name { font: 600 10.5px var(--body); color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr-price { display: flex; align-items: center; justify-content: space-between; font: 700 11.5px var(--display); color: var(--orange-ink); }
.scr-add { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 13px/1 var(--body); font-style: normal; }

/* ---------- 2 · About ---------- */
.about { background: var(--sand) var(--noise); }
.about-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding-left: 44px; }
.media-main { position: relative; }
.about-media .frame-main { aspect-ratio: 4 / 3; }
.about-media .frame-main > img { top: auto; bottom: 0; height: auto; object-fit: contain; }
.media-side { display: flex; justify-content: flex-end; margin-top: 20px; }
.about-media .frame-inset {
  position: relative; width: 42%; aspect-ratio: 4 / 5;
  border-radius: 20px; box-shadow: 0 20px 40px -24px rgba(14, 26, 59, .35);
}
.awning--stage { position: absolute; top: 0; left: 0; right: 0; z-index: 1; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .28)); }
.awning--stage .rod { height: 8px; }
.awning--stage .stripes { height: clamp(22px, 2.6vw, 34px); }
.stage-cap {
  position: absolute; left: clamp(18px, 2.2vw, 28px); top: calc(8px + clamp(22px, 2.6vw, 34px) + 20px); z-index: 2;
  max-width: 58%; color: #fff;
}
.stage-cap span {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.stage-cap span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.stage-cap strong { display: block; margin-top: 10px; font: 600 clamp(20px, 2vw, 28px)/1.08 var(--display); letter-spacing: -.025em; }
/* Vertical side-rail note — the one "second read" moment on the page */
.side-rail {
  position: absolute; left: -44px; top: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 700 11.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.side-rail::after { content: ""; flex: 1; width: 1px; background: var(--line); }
.side-rail i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.about-title { margin-top: 22px; font-size: clamp(48px, 6vw, 88px); line-height: .95; letter-spacing: -.035em; }
.about-copy .lead { margin-top: 28px; font-size: 19px; line-height: 1.55; color: var(--ink); }
.about-copy .lead + p { margin-top: 14px; color: var(--ink-2); }
.values { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values .n { font: 700 12.5px/1.9 var(--body); letter-spacing: .1em; color: var(--orange-ink); }
.values strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.values span { font-size: 15.5px; color: var(--ink-2); }

/* Mission · vision · service area, then core values */
.about-more { margin-top: clamp(72px, 8vw, 120px); }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.mv-item { padding: 34px clamp(24px, 3vw, 44px) 6px; border-left: 1px solid var(--line); }
.mv-item:first-child { padding-left: 0; border-left: 0; }
.mv-item:last-child { padding-right: 0; }
.mv-text { margin-top: 20px; font: 500 clamp(21px, 1.85vw, 26px)/1.25 var(--display); letter-spacing: -.02em; color: var(--navy); }
.mv-sub { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.mv-sub a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
.core {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: start;
  margin-top: clamp(48px, 5vw, 72px); padding-top: 30px; border-top: 1px solid var(--line);
}
.core .label { margin-top: 4px; }
.core-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.core-list li { display: grid; align-content: start; gap: 6px; }
.core-list .n { font: 700 12.5px/1.9 var(--body); letter-spacing: .1em; color: var(--orange-ink); }
.core-list strong { font: 600 21px/1.1 var(--display); letter-spacing: -.02em; }
.core-list span:last-child { font-size: 15px; color: var(--ink-2); }

/* ---------- 3 · Services (bento) ---------- */
.services-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.services-title { grid-column: 1 / span 8; }
.services-title .h2 { margin-top: 22px; }
.services-head .aside { grid-column: 9 / span 4; color: var(--ink-2); padding-bottom: 8px; }
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(200px, 17vw, 240px);
  gap: 14px; margin-top: clamp(40px, 4.5vw, 64px);
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius); }
.tile-copy { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; }
.tile-copy h3 { font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.04em; }
.tile-copy p { margin-top: 8px; max-width: 40ch; font-size: 15.5px; opacity: .85; }
.chip {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--navy); font: 600 13px/1 var(--body);
}
.chip .ic { width: 16px; height: 16px; color: var(--orange-ink); }
.b-food { grid-column: 1 / 7; grid-row: 1; background: var(--sand-2); color: var(--navy); }
.b-groc { grid-column: 7 / 13; grid-row: 1; background: var(--sand); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.b-med { grid-column: 1 / 7; grid-row: 2; background: var(--orange); color: var(--navy); }
.b-help { grid-column: 7 / 13; grid-row: 2; background: var(--navy); color: #fff; }
.b-food .tile-icon, .b-groc .tile-icon { background: #fff; }
.tile-copy p { color: inherit; }
.tile-icon { position: absolute; left: 26px; top: 26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); }
.tile-icon svg { width: 24px; height: 24px; }
.b-help .kicker { position: absolute; left: 28px; top: 28px; font: 700 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.b-help .phone-big { display: block; font: 600 clamp(24px, 2.2vw, 32px)/1.05 var(--display); letter-spacing: -.03em; text-decoration: none; }
.b-help .link-arrow { margin-top: 12px; color: var(--orange); font-size: 15px; }

/* ---------- 5 · Gallery (accordion slices) ---------- */
.gallery { background: var(--sand) var(--noise); }
.slices { display: flex; gap: 12px; height: clamp(360px, 34vw, 480px); }
.slice {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 22px; cursor: pointer;
  transition: flex-grow .7s var(--ease);
  border: 0; padding: 0; background: none; text-align: left; color: inherit; font: inherit;
}
.slice .frame { position: absolute; inset: 0; border-radius: 0; }
/* Group cutout: keep the whole height with headroom and let the slice width crop the sides */
.slice--photo .frame > img { inset: 16% auto 0 50%; width: auto; height: 84%; max-width: none; transform: translateX(-50%); object-fit: contain; }
.slice--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 18, 42, .6) 0%, rgba(10, 18, 42, 0) 42%);
}
.slice.is-active { flex-grow: 3.6; }
@media (hover: hover) {
  .slices:hover .slice.is-active:not(:hover) { flex-grow: 1; }
  .slice:hover { flex-grow: 3.6; }
}
.slice-v {
  position: absolute; left: 20px; bottom: 22px; z-index: 2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 15px/1 var(--display); letter-spacing: -.01em; color: var(--navy);
  transition: opacity .3s var(--ease);
}
.slice--dark .slice-v { color: #fff; }
.slice-cap {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; width: min(420px, calc(100% - 40px));
  padding: 20px 22px; border-radius: 16px; background: var(--cream); color: var(--navy);
  box-shadow: 0 20px 40px -24px rgba(14, 26, 59, .5);
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.slice-title { display: block; font: 600 30px/1 var(--display); letter-spacing: -.035em; }
.slice-desc { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.slice.is-active .slice-cap { opacity: 1; transform: none; }
.slice.is-active .slice-v { opacity: 0; }
@media (hover: hover) {
  .slices:hover .slice.is-active:not(:hover) .slice-cap { opacity: 0; }
  .slices:hover .slice.is-active:not(:hover) .slice-v { opacity: 1; }
  .slice:hover .slice-cap { opacity: 1; transform: none; }
  .slice:hover .slice-v { opacity: 0; }
}
.gallery-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(40px, 4.5vw, 60px); }
.gallery-foot .h2 { margin-top: 20px; max-width: 14ch; }
.gallery-foot .aside { max-width: 380px; color: var(--ink-2); }
.gallery-foot .link-arrow { margin-top: 16px; color: var(--navy); }

/* ---------- 6 · Partners (full-bleed) ---------- */
.partners { background: var(--navy); color: #fff; overflow: hidden; }
.partners-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-block: var(--section-y); }
.partners .h2 { margin-top: 22px; max-width: 12ch; }
.partners .lead { margin-top: 22px; max-width: 500px; color: rgba(255, 255, 255, .8); font-size: 18px; }
.partners .cta-row { justify-content: flex-start; margin-top: 32px; }
.partners .link-arrow { color: #fff; }
.partner-list { list-style: none; justify-self: end; width: min(100%, 360px); border-top: 1px solid var(--line-light); }
.partner-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-weight: 500; }
.partner-list .ic { color: var(--orange); }

/* ---------- 7 · FAQ + contact ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-intro .h2 { margin-top: 22px; }
.faq-intro > p { margin-top: 20px; max-width: 420px; color: var(--ink-2); }
.contact-card { margin-top: 36px; padding: 8px 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(14, 26, 59, .4); }
.contact-card li { display: grid; grid-template-columns: 40px 1fr; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); list-style: none; }
.contact-card li:last-child { border-bottom: 0; }
.contact-card .ic { width: 20px; height: 20px; color: var(--orange-ink); }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card a, .contact-card span { font-weight: 600; text-decoration: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 25px 0; cursor: pointer; list-style: none;
  font: 500 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), background-color .3s;
}
.faq-list summary .pm svg { width: 18px; height: 18px; }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--orange); box-shadow: none; }
.faq-list details p { padding: 0 64px 26px 0; color: var(--ink-2); max-width: 62ch; }
.faq-list details p a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; }

/* ---------- 8 · Download + footer ---------- */
.download { background: var(--orange); color: var(--navy); text-align: center; overflow: hidden; padding-top: calc(var(--section-y) + 30px); }
.download::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40px;
  background: radial-gradient(circle at 50% 0, var(--cream) 39.5px, transparent 40.5px) 0 0 / 80px 40px repeat-x;
}
.download-inner { display: flex; flex-direction: column; align-items: center; }
.app-tile {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 28px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 40px -22px rgba(14, 26, 59, .6);
}
.app-tile img { width: 112%; height: 112%; max-width: none; object-fit: cover; }
.download h2 { margin-top: 34px; font-size: clamp(48px, 7.6vw, 112px); line-height: .95; letter-spacing: -.035em; }
.download .lead { margin-top: 22px; max-width: 540px; font-size: 19px; color: rgba(14, 26, 59, .82); }
.download .cta-row { margin-top: 34px; }
.download .link-arrow { color: var(--navy); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-block: 72px 56px; }
.footer-brand .wordmark { color: #fff; }
.footer-brand .tag { margin-top: 18px; font: 700 12.5px/1 var(--body); letter-spacing: .2em; color: #fff; }
.footer-brand .tag i { font-style: normal; color: var(--orange); }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-col h4 { margin: 0 0 16px; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- Legal pages ---------- */
.doc-hero { padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.doc-hero h1 { margin-top: 20px; font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -.035em; }
.doc-hero .meta { margin-top: 20px; color: var(--ink-3); font-size: 15px; }
.doc-hero .intro { margin-top: 18px; max-width: 640px; font-size: 19px; color: var(--ink-2); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding-block: 56px var(--section-y); }
.toc { position: sticky; top: 108px; align-self: start; }
.toc h4 { margin: 0 0 14px; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--navy); }
.prose { max-width: 720px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.03em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.prose a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose .btn-navy { color: #fff; }
.callout { margin-top: 20px; padding: 24px 26px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.callout.warm { background: var(--orange-50); box-shadow: 0 0 0 1px rgba(194, 65, 12, .18); }
.steps-list { list-style: none; padding: 0 !important; counter-reset: s; gap: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 13px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 13px/1 var(--body);
}
.data-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15.5px; }
.data-table th, .data-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.data-table td { color: var(--ink-2); }
.data-table td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Reveal (staggered float-up) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .arc-item[data-reveal] { transform: translateX(var(--x)) rotate(var(--r)) translateY(40px); }
.js .arc-item[data-reveal].is-in { transform: translateX(var(--x)) rotate(var(--r)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .arc-item[data-reveal] { opacity: 1; transition: none; }
  .js [data-reveal]:not(.arc-item) { transform: none; }
  .js .arc-item[data-reveal] { transform: translateX(var(--x)) rotate(var(--r)); }
  .slice, .slice-cap { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .arc-l2, .arc-r2 { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--cream);
    box-shadow: 0 20px 30px -20px rgba(14, 26, 59, .35);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-btn { display: grid; }

  .about-grid, .faq-grid, .partners-inner { grid-template-columns: 1fr; }
  .about-media { padding-left: 0; }
  .side-rail { display: none; }
  .mv { grid-template-columns: 1fr; }
  .mv-item, .mv-item:first-child, .mv-item:last-child { padding: 28px 0; border-left: 0; }
  .mv-item + .mv-item { border-top: 1px solid var(--line); }
  .core { grid-template-columns: 1fr; }
  .core-list { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .partner-list { justify-self: start; }

  .services-title, .services-head .aside { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .b-food { grid-column: 1; grid-row: auto; }
  .b-groc { grid-column: 2; grid-row: auto; }
  .b-med { grid-column: 1; grid-row: auto; }
  .b-help { grid-column: 2; grid-row: auto; }

  .slices { flex-direction: column; height: auto; }
  .slice { flex: none; height: 76px; transition: height .6s var(--ease); }
  .slice.is-active { height: 320px; }
  .slice--photo .frame > img { top: 5%; height: 68%; }
  .slice-v { writing-mode: horizontal-tb; transform: none; left: 20px; bottom: 50%; translate: 0 50%; }
  .gallery-foot { grid-template-columns: 1fr; }

  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 68px; }
  .header-actions .btn { display: none; }
  .stripes span:nth-child(n+11) { display: none; }

  .hero-stage { height: 340px; }
  .arc-phone { --w: 230px; --x: -115px; }
  .arc-l1 { --w: 170px; --x: -272px; --t: 64px; }
  .arc-r1 { --w: 170px; --x: 101px; --t: 53px; }

  .stage-cap strong { display: none; }

  .bento { grid-template-columns: 1fr; }
  .b-food, .b-groc, .b-med, .b-help { grid-column: 1; }
  .tile-copy { left: 22px; right: 22px; bottom: 22px; }

  .faq-list details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 56px; }
  .play-badge { height: 56px; }
}
