/* Sawce website. Colours mirror ios/Shared/DesignSystem.swift. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-subset.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --cream: #F6E9D2;
  --paper: #FFF8EC;
  --ink: #3A1020;
  --muted: #6E4A5A;
  --line: rgb(58 16 32 / 0.16);
  --fixed-ink: #2A0A14;
  --sawce: #E8432B;
  --deep-red: #C2321D;
  --on-red: #FFF1DC;
  --mango: #FFB23F;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --page: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root { --cream: #170A0F; --paper: #24131A; --ink: #FFF1DC; --muted: #CDB8A4; --line: rgb(255 241 220 / 0.18); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 32px; }
body { margin: 0; font: 1rem/1.6 var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 3px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--page); padding-inline: var(--gutter); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.glyph { width: 18px; height: 18px; fill: currentColor; flex: none; }
.mark-pin { fill: var(--sawce); }
.mark-drop { fill: var(--sawce); }
.skip { position: absolute; left: 20px; top: -100px; padding: 12px 20px; background: var(--paper); color: var(--ink); z-index: 5; }
.skip:focus { top: 12px; }
.brand-ground, .on-red { background: var(--sawce); color: var(--fixed-ink); }
.site-header { padding-block: 28px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lockup { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on-red); }
.lockup svg { width: 25px; height: 31px; }
.lockup .mark-pin { fill: var(--on-red); }
.lockup .mark-drop { fill: var(--mango); }
.lockup span { font: 800 30px/1 var(--display); letter-spacing: -0.06em; }
.release-note { font-size: 14px; font-weight: 600; }
.hero { padding: 40px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 64px; }
.hero-copy h1 { font-size: clamp(48px, 5.6vw, 76px); max-width: 12ch; color: var(--on-red); }
.lede { max-width: 36ch; font-size: 19px; line-height: 1.55; margin-top: 26px; }
.text-link { display: inline-flex; gap: 16px; align-items: center; font-weight: 700; margin-top: 26px; min-height: 44px; }
.text-link span { font-size: 22px; }
.sources { margin-top: 46px; }
.sources p { font-size: 13px; margin-bottom: 12px; }
.sources ul { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 0; margin: 0; list-style: none; }
.sources li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.product-preview { min-width: 0; }
.map-preview { position: relative; aspect-ratio: 480 / 540; border-radius: 28px; overflow: hidden; background: #F6E9D2; color: var(--fixed-ink); box-shadow: 0 18px 0 -8px rgb(42 10 20 / 0.12); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-base { fill: #F6E9D2; }
.map-block { fill: rgb(58 16 32 / 0.05); }
.map-streets { fill: none; stroke: rgb(58 16 32 / 0.1); stroke-width: 20; }
.map-street-centres { fill: none; stroke: #FFF8EC; stroke-width: 16; }
.map-heading { position: absolute; left: 22px; right: 22px; top: 22px; display: flex; align-items: center; gap: 8px; font: 700 18px/1.2 var(--display); }
.map-heading svg { width: 18px; height: 22px; }
.map-count { margin-left: auto; font: 12px/1.2 var(--body); }
.photo-pin { position: absolute; width: 25%; background: #FFF8EC; padding: 5px 5px 8px; border-radius: 9px; box-shadow: 0 6px 15px rgb(42 10 20 / 0.14); }
.photo-pin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.photo-pin span { display: block; font: 600 clamp(9px, 1vw, 12px)/1.4 var(--display); text-align: center; margin-top: 5px; }
.photo-pin::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--fixed-ink); bottom: -18px; left: calc(50% - 3px); }
.pastry { top: 20%; left: 10%; transform: rotate(-6deg); }
.sashimi { top: 17%; right: 9%; transform: rotate(6deg); }
.ramen { top: 38%; left: 39%; transform: rotate(-3deg); width: 26%; box-shadow: 0 0 0 3px var(--sawce), 0 6px 15px rgb(42 10 20 / 0.14); }
.ramen::after { background: var(--sawce); }
.saved-detail { position: absolute; bottom: 16px; left: 16px; right: 16px; padding: 12px; background: #FFF8EC; border-radius: 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 3px 12px rgb(42 10 20 / 0.08); }
.saved-detail img { width: 64px; height: 70px; object-fit: cover; border-radius: 9px; }
.saved-detail b { display: block; font: 700 clamp(15px, 1.6vw, 20px)/1.3 var(--display); letter-spacing: -0.025em; }
.saved-state { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; color: var(--deep-red); }
.saved-note { font-size: 12px; }
.product-preview figcaption { font-size: 11px; line-height: 1.5; max-width: 42ch; margin: 18px auto 0; text-align: center; }
.how { padding-block: 92px; }
.section-heading { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 64px; }
h2 { font-size: clamp(32px, 3.6vw, 46px); }
.section-heading p { max-width: 37ch; font-size: 19px; color: var(--muted); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.step-number { display: block; font: 600 16px/1 var(--display); color: var(--muted); margin-bottom: 26px; }
h3 { font-size: 25px; letter-spacing: -0.03em; }
.steps p { margin-top: 14px; max-width: 32ch; color: var(--muted); }
.closing { display: flex; gap: 24px; align-items: center; padding-block: 46px; position: relative; }
.closing::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.closing-mark { background: var(--sawce); width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; flex: none; }
.closing-mark svg { width: 29px; height: 36px; }
.closing-mark .mark-pin { fill: var(--on-red); }
.closing-mark .mark-drop { fill: var(--mango); }
.closing h2 { font-size: 30px; margin-bottom: 10px; }
.closing p { color: var(--muted); font-size: 14px; }
.closing-status { margin-left: auto; flex: none; font: 600 18px/1.3 var(--display); }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding-block: 20px 32px; color: var(--muted); font-size: 13px; }
.site-footer a { padding-block: 10px; }
.doc-hero h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 24px; }
@media (max-width: 980px) {
  .hero-inner, .section-heading { gap: 32px; }
  .hero-copy h1 { font-size: clamp(46px, 6.6vw, 64px); }
  .lede { font-size: 17px; }
  .sources { margin-top: 28px; }
  .steps { gap: 24px; }
  .saved-detail { gap: 8px; padding: 10px; }
  .saved-detail img { width: 48px; height: 56px; }
  .saved-note { font-size: 11px; }
}
@media (max-width: 720px) {
  .site-header { padding-block: 22px; }
  .hero { padding-block: 28px 48px; }
  .hero-inner, .section-heading { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy h1 { font-size: clamp(46px, 10vw, 68px); max-width: 13ch; }
  .lede { max-width: 38ch; font-size: 18px; margin-top: 22px; }
  .sources { margin-top: 26px; }
  .product-preview { width: 100%; max-width: 440px; justify-self: center; margin-top: 8px; }
  .photo-pin span { font-size: 11px; }
  .saved-detail b { font-size: 18px; }
  .how { padding-block: 56px; }
  .section-heading { gap: 20px; }
  .section-heading p { font-size: 18px; }
  .steps { grid-template-columns: 1fr; margin-top: 32px; gap: 24px; }
  .steps li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; }
  .step-number { grid-row: 1 / 3; margin: 5px 0 0; }
  .steps p { margin-top: 10px; max-width: 44ch; }
  .closing { flex-wrap: wrap; gap: 18px; padding-block: 32px; }
  .closing-mark { width: 54px; height: 54px; border-radius: 16px; }
  .closing > div:nth-child(2) { flex: 1; }
  .closing h2 { font-size: 26px; }
  .closing p br { display: none; }
  .closing-status { margin-left: 72px; font-size: 16px; }
  .closing-status br { display: none; }
}
@media (max-width: 360px) {
  .lockup span { font-size: 26px; }
  .lockup svg { width: 21px; height: 26px; }
  .release-note { font-size: 12px; max-width: 104px; text-align: right; line-height: 1.3; }
  .hero-copy h1 { font-size: 44px; }
  .sources ul { gap: 12px; }
  .sources li { font-size: 11px; }
  .map-heading { left: 14px; right: 14px; top: 16px; font-size: 16px; }
  .photo-pin span { font-size: 9px; }
  .saved-detail { bottom: 10px; left: 10px; right: 10px; }
  .saved-detail b { font-size: 15px; }
  .saved-detail img { width: 44px; height: 50px; }
  .saved-note { font-size: 10px; }
}
/* No launch overlay or scroll-triggered content reveals. */

/* ---------- Scenarios ---------- */

.scenarios {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) { .scenarios { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .scenarios { grid-template-columns: repeat(3, 1fr); } }
.scenario {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.scenario h3 { font-size: 1.35rem; margin: 16px 0 8px; }
.scenario p { color: var(--muted); margin-bottom: 8px; }
.scenario .fix {
  margin: auto 0 0;
  padding-top: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 600;
}
.scenario .fix svg { width: 14px; height: 17px; flex: none; margin-top: 3px; }

.sv {
  position: relative;
  height: 160px;
  border-radius: 16px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.sv-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fixed-ink);
  color: var(--on-red);
  font-size: 0.75rem;
  font-weight: 700;
}

.sv-feed img {
  position: absolute;
  width: 34%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid #FFF8EC;
  box-shadow: 0 10px 20px -10px rgb(42 10 20 / 0.5);
}
.sv-feed img:nth-child(1) { left: 12%; top: -22%; transform: rotate(-8deg); opacity: 0.35; filter: blur(1.5px) grayscale(0.6); }
.sv-feed img:nth-child(2) { left: 56%; top: -8%; transform: rotate(7deg); opacity: 0.55; filter: blur(0.8px) grayscale(0.4); }
.sv-feed img:nth-child(3) { left: 33%; top: 30%; transform: rotate(-3deg); }

.sv-chat { display: flex; flex-direction: column; gap: 5px; padding: 9px 12px; height: auto; min-height: 160px; }
.sv-chat .chat-b { font-size: 0.85rem; padding: 5px 11px; }
.sv-chat .chat-b.typing-dots { padding: 8px 11px; }
.chat-head { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.chat-b {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 16px 16px 16px 4px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9rem;
}
.chat-b.is-me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--deep-red); color: var(--on-red); box-shadow: none; }
.chat-b.typing-dots { padding: 10px 12px; color: var(--muted); }

.sv-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
.sv-shots img { width: 100%; height: 74px; object-fit: cover; border-radius: 6px; filter: saturate(0.7); }
.sv-shots::after {
  content: "?";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fixed-ink);
  color: var(--on-red);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  box-shadow: 0 0 0 4px #FFF8EC, 0 12px 24px -10px rgb(42 10 20 / 0.7);
}

.sv-story { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px; }
.story-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.9rem;
  transform: rotate(-3deg);
}
.story-bubble .av { width: 26px; height: 26px; background: var(--paper); color: var(--ink); box-shadow: none; }
.story-print {
  position: relative;
  width: 104px;
  padding: 5px 5px 0;
  background: #FFF8EC;
  border-radius: 6px;
  transform: rotate(5deg);
  box-shadow: 0 12px 22px -12px rgb(42 10 20 / 0.6);
}
.story-print img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.story-print em { display: block; font-style: normal; font-size: 0.62rem; font-weight: 700; color: var(--fixed-ink); padding: 5px 1px 6px; line-height: 1.2; }

.sv-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-map i {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--sawce);
  box-shadow: 0 0 0 2px #FFF8EC;
}
.sv-map i.is-big { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--deep-red); }

.sv-halal { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px; }
.halal-q {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.95rem;
  opacity: 0.7;
}
.halal-a {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--sawce);
  color: var(--fixed-ink);
  font-size: 0.75rem;
  box-shadow: 0 14px 24px -14px rgb(42 10 20 / 0.7);
  --mark-pin: var(--on-red);
  --mark-drop: var(--mango);
}
.halal-a svg { width: 18px; height: 22px; }
.halal-a b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--on-red); }


/* Scenario illustrations remain still and decorative. */
.scenarios-section { padding-block: 72px 0; }
.scenarios-section .eyebrow { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.scenarios-section h2 { max-width: 25ch; }
.scenario h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; text-wrap: pretty; }
.scenario p { margin-top: 12px; }
.scenario .fix { padding-top: 20px; }
.scenario .av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: 11px; flex: none; }
.scenario .av-soft { background: var(--line); color: var(--ink); }
.typing-dots { display: inline-flex; gap: 3px; align-items: center; justify-content: center; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.sv-map .map-ground { fill: var(--cream); }
.sv-map .map-water { fill: none; stroke: var(--line); stroke-width: 24; }
.sv-map .map-minor path { fill: none; stroke: var(--paper); stroke-width: 6; }
.sv-map .map-major path { fill: none; stroke: var(--paper); stroke-width: 15; }
.halal-a b { font-weight: 800; }
.halal-a .mark-pin { fill: var(--on-red); }
.halal-a .mark-drop { fill: var(--mango); }
@media (max-width: 720px) { .scenarios-section { padding-top: 48px; } }

/* Photo prints land on the map, then drift gently in place. */
.photo-pin.pastry { --tilt: -6deg; --arrival-delay: 0s; }
.photo-pin.sashimi { --tilt: 6deg; --arrival-delay: 0.18s; }
.photo-pin.ramen { --tilt: -3deg; --arrival-delay: 0.36s; }
.motion-controls { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .photo-pin {
    animation: photo-arrive 850ms cubic-bezier(.18,.85,.28,1.15) var(--arrival-delay) both,
               photo-drift 7s ease-in-out calc(var(--arrival-delay) + 850ms) infinite;
  }
  @keyframes photo-arrive {
    from { opacity: 0; transform: translateY(-44px) rotate(calc(var(--tilt) + 8deg)) scale(.86); }
    to { opacity: 1; transform: translateY(0) rotate(var(--tilt)) scale(1); }
  }
  @keyframes photo-drift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
  }
  .motion-controls { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 20px; font-size: 13px; font-weight: 600; }
  .motion-controls input { width: 18px; height: 18px; margin: 0; accent-color: var(--fixed-ink); }
  .motion-controls label { cursor: pointer; padding-block: 8px; }
  .product-preview:has(#pause-photos:checked) .photo-pin { animation-play-state: paused; }
}
