/* Noorish — "Behind the Glass"
   Layout: editorial stacks of oversized type around a playable machine; cream walls, burgundy ink,
   colour arrives only with product. Single committed brand look (no dark theme by design). */
:root {
  color-scheme: light;
  /* brand */
  --cream: #f6ede2;
  --sand: #ead9c2;
  --tan: #e2c4a0;      /* the flower */
  --sage: #9eb489;     /* brand green */
  --paper: #fbf6ee;
  --rose: #963e4c;      /* the wordmark burgundy */
  --wine: #5e1626;      /* deep burgundy */
  --night: #2a0a12;     /* 4:17 PM */
  --ink: #2b1418;
  --ink-soft: #6c4a4f;
  --line: rgba(94, 22, 38, .16);
  /* product bursts — packs only */
  --matcha: #9cc75b;
  --mango: #ff9f2e;
  --berry: #f05a8c;
  --sky: #3d7bff;
  --lemon: #f7d93b;
  --lav: #b9a6f5;
  --cocoa: #6b3a26;
  /* type */
  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* scale */
  --t-mega: clamp(3.4rem, 15vw, 13.5rem);
  --t-xl: clamp(2.6rem, 9.5vw, 7.5rem);
  --t-l: clamp(2rem, 6vw, 4.4rem);
  --t-m: clamp(1.4rem, 3vw, 2.1rem);
  --t-body: clamp(1rem, 1.1vw + .7rem, 1.18rem);
  --t-small: .875rem;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease-pop: cubic-bezier(.2, 1.3, .4, 1);
  --symbol-mask: url("noorish-symbol.png");
  --bloom-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23000'%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='22' r='21'/%3E%3Ccircle cx='74.2' cy='36' r='21'/%3E%3Ccircle cx='74.2' cy='64' r='21'/%3E%3Ccircle cx='50' cy='78' r='21'/%3E%3Ccircle cx='25.8' cy='64' r='21'/%3E%3Ccircle cx='25.8' cy='36' r='21'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose); color: var(--paper); }

.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75, "opsz" 96;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0;
}
.lede { font-size: clamp(1.1rem, 1.4vw + .75rem, 1.45rem); line-height: 1.45; max-width: 34ch; margin: 0; text-wrap: pretty; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.serif-i { font-family: var(--f-display); font-weight: 400; font-stretch: 100%; font-variation-settings: "wdth" 100; text-transform: none; font-style: normal; }

/* ---------- wordmark (real logo used as a mask so it can take any brand colour) ---------- */
.wordmark {
  display: inline-block;
  aspect-ratio: 900 / 269;
  width: 132px;
  background: currentColor;
  -webkit-mask: url("noorish-wordmark.png") center / contain no-repeat;
  mask: url("noorish-wordmark.png") center / contain no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--rose); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-pop), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .arr { transition: transform .25s var(--ease-pop); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--wine); border-color: var(--wine); }
.btn--ghost:hover { --bg: var(--wine); --fg: var(--paper); }
.btn--cream { --bg: var(--cream); --fg: var(--wine); }
.btn--big { font-size: clamp(1rem, 1.2vw + .7rem, 1.3rem); padding: 1.1em 1.7em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 14px; }
.brand { color: var(--rose); display: inline-flex; padding: 4px 0; }
.brand .wordmark { width: clamp(108px, 12vw, 140px); }
.nav { display: none; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rose); transition: right .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--wine); color: var(--paper); border: 0; border-radius: 999px;
  padding: .7em 1.1em; font-weight: 700; font-size: .9rem; cursor: pointer;
}
.menu-btn i { display: grid; gap: 4px; }
.menu-btn i::before, .menu-btn i::after { content: ""; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
@media (min-width: 1024px) {
  .nav, .header-cta { display: flex; }
  .menu-btn { display: none; }
  .header-cta .btn { padding: .8em 1.2em; font-size: .92rem; }
}

.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--wine); color: var(--cream);
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto;
}
.menu[hidden] { display: none !important; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-top .wordmark { color: var(--cream); width: 118px; }
.menu-close { background: var(--cream); color: var(--wine); border: 0; border-radius: 999px; padding: .7em 1.1em; font-weight: 700; cursor: pointer; }
.menu nav { display: grid; gap: .1em; }
.menu nav a {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%;
  text-transform: uppercase; font-size: clamp(2.6rem, 13vw, 4.5rem); line-height: .95; text-decoration: none;
  animation: menuIn .5s var(--ease-pop) backwards;
}
.menu nav a:nth-child(2) { animation-delay: .04s } .menu nav a:nth-child(3) { animation-delay: .08s }
.menu nav a:nth-child(4) { animation-delay: .12s } .menu nav a:nth-child(5) { animation-delay: .16s }
.menu nav a:nth-child(6) { animation-delay: .2s } .menu nav a:nth-child(7) { animation-delay: .24s }
.menu nav a[aria-current="page"] { color: var(--berry); }
.menu-foot { margin-top: auto; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
@keyframes menuIn { from { transform: translateY(30px); opacity: 0; } }

/* ---------- sticky mobile CTA ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--wine); color: var(--paper); border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 14px 40px -12px rgba(42, 10, 18, .55);
  transform: translateY(140%); transition: transform .45s var(--ease-pop);
  font-size: .9rem; font-weight: 600;
}
.dock.is-on { transform: none; }
.dock .btn { padding: .8em 1.1em; font-size: .9rem; }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- packs (SVG product illustrations) ---------- */
.pack { overflow: visible; filter: drop-shadow(0 10px 14px rgba(42, 10, 18, .22)); }
.pack text { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; letter-spacing: .02em; }
.pack .sub { font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; font-stretch: 100%; font-variation-settings: normal; }

/* ---------- the machine (modelled on the real Noorish unit: burgundy cabinet, tan side tower, elevator delivery) ---------- */
.machine {
  --m-w: min(100%, 440px);
  --slot-h: clamp(66px, 17vw, 84px);
  width: var(--m-w);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  border-radius: 10px 10px 6px 6px;
  box-shadow: 0 40px 70px -30px rgba(42,10,18,.6), 0 8px 18px -6px rgba(42,10,18,.3);
  color: var(--paper);
  user-select: none;
}
.machine::after { /* floor shadow */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -24px; height: 24px;
  background: radial-gradient(closest-side, rgba(42,10,18,.35), transparent); z-index: -1;
}
.m-cab {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #8f2c3e 0%, #7a2033 55%, #651a2a 100%);
  border-radius: 10px 0 0 6px;
  padding: 12px 12px 10px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset -2px 0 0 rgba(0,0,0,.2);
  display: grid; gap: 10px;
}
.m-bloom { position: absolute; width: 58%; left: -18%; top: -14%; color: var(--tan); opacity: .95; pointer-events: none; }
.m-head { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 20px; }
.m-head .wordmark { color: var(--wine); width: 70px; }
.m-head .m-led { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .12em; display: flex; align-items: center; gap: 5px; opacity: .9; text-transform: uppercase; }
.m-head .m-led::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--matcha); box-shadow: 0 0 8px var(--matcha); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.m-glass {
  position: relative;
  background: linear-gradient(180deg, #24161a 0%, #140a0d 100%);
  border-radius: 6px;
  padding: 10px 8px 2px;
  box-shadow: inset 0 0 0 4px #0c0507, inset 0 14px 22px -10px rgba(255,236,214,.35);
  overflow: hidden;
}
.m-glass::before { /* LED strip */
  content: ""; position: absolute; left: 8px; right: 8px; top: 4px; height: 2px; background: #fff3e2; border-radius: 2px; box-shadow: 0 0 12px 2px rgba(255,236,214,.6);
}
.m-glass::after { /* reflection */
  content: ""; position: absolute; inset: -20% 40% -20% -30%;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.12) 46%, transparent 58%);
  transform: rotate(8deg); pointer-events: none; z-index: 3;
}
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: end; position: relative; padding-bottom: 16px; }
.m-row::after { /* shelf */
  content: ""; position: absolute; left: -8px; right: -8px; bottom: 10px; height: 4px;
  background: linear-gradient(#5b5354, #2b2425); box-shadow: 0 1px 0 rgba(255,255,255,.12);
}
.m-slot {
  appearance: none; border: 0; background: none; padding: 4px 0 0; cursor: pointer;
  display: grid; justify-items: center; align-content: end; gap: 2px; position: relative;
  height: var(--slot-h);
  -webkit-tap-highlight-color: transparent;
}
.m-slot .pack { height: calc(var(--slot-h) - 18px); width: auto; max-width: 92%; transition: transform .3s var(--ease-pop); transform-origin: 50% 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.m-slot .pack--bar { height: auto; width: 96%; max-height: calc(var(--slot-h) - 18px); }
.m-slot .pack--tub { height: calc(var(--slot-h) - 34px); }
.m-slot:hover .pack, .m-slot:focus-visible .pack { transform: translateY(-4px) rotate(-3deg) scale(1.06); }
.m-slot.is-picked .pack { transform: translateY(-5px) scale(1.08); }
.m-slot.is-empty .pack { opacity: 0; transform: translateY(6px) scale(.8); transition: none; }
.m-tag {
  position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .54rem; letter-spacing: .02em; color: var(--ink);
  background: var(--paper); padding: 0 4px; border-radius: 2px; white-space: nowrap; z-index: 2;
}
.m-slot.is-picked .m-tag { background: var(--matcha); color: var(--night); }
.m-lift { position: absolute; z-index: 25; height: 6px; border-radius: 2px; background: linear-gradient(#d9d4cf, #8f8884); box-shadow: 0 0 10px rgba(255,236,214,.5); pointer-events: none; }
.m-tray { /* pickup window with the flower ends, as on the real machine */
  position: relative; height: 40px; margin: 4px 14% 0; border-radius: 4px;
  background: linear-gradient(#050203, #24161a); box-shadow: inset 0 6px 12px rgba(0,0,0,.7), 0 0 0 3px #120709;
  display: flex; align-items: flex-end; justify-content: center; overflow: visible;
}
.m-tray::before, .m-tray::after { content: ""; position: absolute; top: 50%; width: 22px; height: 30px; margin-top: -15px; background: var(--tan); -webkit-mask: var(--bloom-mask) center / contain no-repeat; mask: var(--bloom-mask) center / contain no-repeat; }
.m-tray::before { left: -16px; } .m-tray::after { right: -16px; }
.m-tray-in { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px; }
.m-tray .pack { height: 30px; width: auto; margin-bottom: 3px; animation: trayIn .45s var(--ease-pop); }
.m-tray .pack--bar { height: 22px; }
@keyframes trayIn { from { transform: translateY(-24px); opacity: 0; } }
.m-foot { display: flex; justify-content: center; padding-top: 2px; }
.m-foot .wordmark { color: var(--tan); width: 74px; }
.m-side {
  position: relative; background: linear-gradient(180deg, #ecd4b4, #e0c29e); border-radius: 0 10px 6px 0;
  padding: 14px 10px 10px; display: flex; flex-direction: column; gap: 10px; color: var(--wine);
  box-shadow: inset 2px 0 0 rgba(0,0,0,.08), inset 0 2px 0 rgba(255,255,255,.4);
}
.m-screen {
  background: #fffdf9; border-radius: 4px; padding: 9px 8px;
  min-height: 140px; display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 0 0 4px #1a1012, 0 2px 0 5px rgba(0,0,0,.15);
  font-size: .72rem; line-height: 1.25; color: var(--wine); overflow-wrap: anywhere; min-width: 0;
}
.m-screen .scr-k { font-family: var(--f-mono); font-size: .54rem; letter-spacing: .1em; color: var(--rose); text-transform: uppercase; }
.m-screen .scr-t { font-weight: 800; font-size: .76rem; color: var(--wine); }
.m-screen .scr-m { font-family: var(--f-mono); font-size: .6rem; color: var(--ink-soft); }
.m-screen .scr-bloom { width: 38px; color: var(--rose); align-self: center; margin: 2px 0; }
.m-screen .vend {
  margin-top: auto; border: 0; border-radius: 999px; background: var(--wine); color: var(--paper);
  font-weight: 800; font-size: .66rem; padding: 7px 4px; cursor: pointer; text-transform: uppercase; letter-spacing: .06em;
}
.m-screen .vend:disabled { background: #ead9cf; color: #a88a8f; cursor: default; }
.m-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 6px; }
.m-pay span { height: 18px; border-radius: 3px; background: #1a1012; box-shadow: inset 0 0 0 2px #3a2a2d; }
.m-pay span:nth-child(2) { height: 24px; }
.m-tagline { margin-top: auto; text-align: center; font-family: var(--f-display); font-weight: 600; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: .62rem; line-height: 1.2; color: var(--wine); }
.m-feet { display: flex; justify-content: space-between; padding: 0 14px; position: absolute; left: 0; right: 0; bottom: -9px; z-index: -1; }
.m-feet span { width: 16px; height: 10px; background: #2a1d1f; border-radius: 0 0 3px 3px; }
.m-fly { position: absolute; z-index: 30; pointer-events: none; }

/* shelves fill on load */
.machine.is-filling .m-slot .pack { animation: slideIn .7s var(--ease-pop) backwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes slideIn { from { transform: translateY(-26px) scale(.7); opacity: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(20px, 4vw, 56px) clamp(48px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 18.5vw, 11.5rem); color: var(--wine); }
.hero h1 .ln { display: block; }
.hero h1 .ln--b { color: var(--rose); }
.hero h1 .dot { color: var(--berry); }
.hero-copy { display: grid; gap: clamp(18px, 2.4vw, 28px); position: relative; z-index: 2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stage { position: relative; display: grid; place-items: center; padding-block: 24px 36px; }
.hero-stage .machine { z-index: 2; }
.floaty { position: absolute; z-index: 1; pointer-events: none; will-change: transform; }
.floaty .pack { width: 100%; height: auto; }
.floaty .bob { animation: bob 6s ease-in-out infinite; }
.floaty:nth-child(2) .bob { animation-delay: -2s; animation-duration: 7s; }
.floaty:nth-child(3) .bob { animation-delay: -4s; animation-duration: 5.5s; }
.floaty:nth-child(4) .bob { animation-delay: -1s; animation-duration: 6.5s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }
.f1 { width: clamp(64px, 15vw, 120px); left: -4%; top: 2%; transform: rotate(-14deg); }
.f2 { width: clamp(50px, 11vw, 92px); right: -3%; top: -2%; transform: rotate(12deg); }
.f3 { width: clamp(90px, 22vw, 170px); right: -7%; bottom: 6%; transform: rotate(-8deg); }
.f4 { width: clamp(50px, 12vw, 86px); left: -5%; bottom: 14%; transform: rotate(10deg); }
.hero-note { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; display: flex; align-items: center; gap: .6em; }
.hero-note::before { content: ""; width: 26px; height: 2px; background: var(--berry); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-stage .machine { --m-w: min(100%, 480px); --slot-h: 96px; }
  .hero h1 { font-size: clamp(5.5rem, 10.8vw, 11.5rem); }
}

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding-block: 24px; margin-block: -24px; position: relative; z-index: 4; }
.marquee { background: var(--wine); color: var(--cream); overflow: hidden; transform: rotate(-1.6deg); margin-inline: -20px; position: relative; z-index: 4; }
.marquee--flat { transform: none; margin-inline: 0; background: var(--sage); }
.marquee-track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%;
  text-transform: uppercase; font-size: clamp(1.4rem, 3.6vw, 2.6rem); padding: .4em 0; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.marquee-track span::after { content: ""; width: .6em; height: .6em; margin-inline: .8em; background: var(--tan); -webkit-mask: var(--symbol-mask) center / contain no-repeat; mask: var(--symbol-mask) center / contain no-repeat; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .display { font-size: var(--t-xl); color: var(--wine); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- upgrade flip ---------- */
.upgrade .display { font-size: var(--t-mega); color: var(--wine); }
.upgrade .display s { text-decoration: none; white-space: nowrap; position: relative; color: var(--ink-soft); opacity: .55; }
.upgrade .display s::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--berry); transform: rotate(-3deg) scaleX(var(--strike, 0)); transform-origin: left; transition: transform .8s .2s var(--ease-pop); }
.upgrade.is-in .display s::after { --strike: 1; }
.upgrade-intro { display: grid; gap: 24px; margin-bottom: clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .upgrade-intro { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.flips { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 20px); }
@media (min-width: 900px) { .flips { grid-template-columns: repeat(4, 1fr); } }
.flip { display: block; width: 100%; perspective: 1000px; aspect-ratio: 3 / 4; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; max-width: 100%; }
.flip-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease-pop); transition-delay: calc(var(--i) * 140ms); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); padding: clamp(12px, 1.6vw, 20px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.flip-old { background: #d8d2c9; color: #6d6862; filter: saturate(.2); }
.flip-old .pack { filter: grayscale(1) contrast(.8) drop-shadow(0 6px 8px rgba(0,0,0,.15)); opacity: .7; }
.flip-new { transform: rotateY(180deg); color: var(--ink); }
.flip-face .pack { align-self: center; width: auto; height: 60%; max-width: 90%; }
.flip-face .pack--bar { height: auto; width: 86%; }
.flip-k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.flip-n { font-weight: 800; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.15; }
.flip-old .flip-n { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.35); }
.flip-hint { margin-top: 18px; font-family: var(--f-mono); font-size: .75rem; color: var(--ink-soft); }

/* ---------- the edit ---------- */
.edit { background: var(--paper); }
.edit-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 52px); }
.edit-head .display { font-size: var(--t-xl); color: var(--wine); }
.edit-head .display em { font-style: normal; color: var(--rose); display: block; }
.edit-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--rose) transparent; overscroll-behavior-x: contain;
}
.edit-track::-webkit-scrollbar { height: 6px; } .edit-track::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 6px; }
.ecard {
  scroll-snap-align: start; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 4.2;
  background: var(--c, var(--sand)); color: var(--ink); isolation: isolate; max-width: 100%;
  border: 0; padding: 0; text-align: left; cursor: pointer; display: block; width: 100%;
}
.ecard-cat { position: absolute; top: 18px; left: 20px; right: 20px; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3rem); line-height: .88; z-index: 1; text-wrap: balance; }
.ecard-num { position: absolute; top: 20px; right: 20px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; z-index: 2; }
.ecard-art { position: absolute; inset: 22% 10% 22%; display: grid; place-items: center; transition: transform .6s var(--ease-pop); z-index: 0; }
.ecard-art .pack { height: 100%; width: auto; max-width: 100%; transform: rotate(var(--r, -8deg)); }
.ecard-art .pack--bar { width: 100%; height: auto; }
.ecard:hover .ecard-art { transform: scale(1.07) rotate(4deg); }
.ecard-foot { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 10px; z-index: 1; }
.ecard-foot b { font-size: 1rem; line-height: 1.2; display: block; }
.ecard-foot small { font-family: var(--f-mono); font-size: .7rem; }
.ecard-plus { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease-pop); }
.ecard-info {
  position: absolute; inset: auto 0 0 0; background: var(--ink); color: var(--paper); padding: 22px 20px 20px;
  transform: translateY(101%); transition: transform .45s var(--ease-pop); z-index: 3; display: grid; gap: 10px;
}
.ecard-info b { font-size: 1.05rem; line-height: 1.2; }
.ecard-info p { margin: 0; font-size: .95rem; color: #ead9dc; }
.ecard-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.ecard-stats span { font-family: var(--f-mono); font-size: .68rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px 9px; }
.ecard[aria-expanded="true"] .ecard-info { transform: none; }
.ecard[aria-expanded="true"] .ecard-plus { transform: rotate(45deg); }
@media (hover: hover) { .ecard:hover .ecard-info { transform: none; } .ecard:hover .ecard-plus { transform: rotate(45deg); } }

/* ---------- philosophy ---------- */
.philo-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .philo-grid { grid-template-columns: 1.3fr 1fr; } }
.philo .eyebrow { margin-bottom: 18px; }
.philo .display { font-size: var(--t-l); color: var(--wine); margin-bottom: 28px; }
.philo .display .hl { color: var(--paper); background: var(--rose); padding: 0 .12em; display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.facts {
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 14px 16px 16px; max-width: 380px; width: 100%;
  font-family: var(--f-body); transform: rotate(2deg); box-shadow: 14px 14px 0 var(--rose); justify-self: center;
  transition: transform .4s var(--ease-pop);
}
.facts:hover { transform: rotate(-1deg) scale(1.02); }
.facts h3 { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; font-size: 2.6rem; line-height: .9; margin: 0 0 4px; text-transform: none; }
.facts .f-serv { font-size: .9rem; padding-bottom: 6px; border-bottom: 10px solid var(--ink); margin: 0; }
.facts dl { margin: 0; }
.facts .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--ink); font-size: .95rem; }
.facts .row dt { font-weight: 800; }
.facts .row dd { margin: 0; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.facts .row.thick { border-bottom-width: 5px; }
.facts .f-contains { font-size: .82rem; margin: 8px 0 0; line-height: 1.4; }

/* ---------- 4:17 ---------- */
.slump { background: var(--night); color: var(--cream); overflow: hidden; }
.slump .eyebrow { color: var(--berry); }
.slump-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .slump-grid { grid-template-columns: 1.2fr 1fr; } }
.clock { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; font-size: clamp(5rem, 27vw, 17rem); line-height: .82; letter-spacing: -.02em; display: flex; align-items: baseline; font-variant-numeric: tabular-nums; margin: 14px 0 22px; }
.clock .colon { animation: blink 1s steps(1) infinite; color: var(--berry); }
.clock .min { display: inline-block; position: relative; }
.clock .min.tick { animation: tick .6s var(--ease-pop); }
@keyframes tick { 0% { transform: translateY(-30%); opacity: 0; } }
.clock .ampm { font-size: .28em; margin-left: .15em; color: var(--berry); letter-spacing: 0; }
.slump .lede { color: #f1dcd2; max-width: 26ch; font-size: clamp(1.3rem, 2.2vw + .6rem, 2rem); font-weight: 600; }
.slump .lede em { font-style: normal; color: var(--lemon); }
.slump-stage { position: relative; display: grid; gap: 14px; justify-items: center; }
.invite { width: min(100%, 360px); background: #3c1320; border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 20px 40px -20px #000; border: 1px solid rgba(255,255,255,.08); }
.invite .k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a9b0; }
.invite b { font-size: 1.05rem; }
.invite small { color: #c9a9b0; font-family: var(--f-mono); font-size: .72rem; }
.declined { width: min(100%, 360px); background: var(--cream); color: var(--ink); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; transform: rotate(-2deg) translateX(14px); box-shadow: 0 20px 40px -20px #000; }
.declined .av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; font-weight: 800; color: var(--wine); font-size: .9rem; }
.declined p { margin: 0; font-size: .92rem; line-height: 1.3; }
.declined p b { color: var(--rose); }
.reach { width: min(100%, 380px); position: relative; margin-top: 6px; }
.reach-slot { background: linear-gradient(#fff9f0, #efe0ca); border-radius: 16px; padding: 18px 18px 26px; display: flex; gap: 14px; align-items: end; justify-content: center; box-shadow: inset 0 0 0 3px rgba(150,62,76,.6); }
.reach-slot .pack { height: 92px; width: auto; }
.reach-slot .pack--bar { height: 56px; }
.reach-slot .m-tag { bottom: 6px; }
.reach-slot > div { position: relative; display: grid; justify-items: center; }
.hand { position: absolute; right: 4%; bottom: -88px; width: 30%; transform: translate(40%, 50%) rotate(-24deg); transition: transform 1.1s var(--ease-pop); }
.slump.is-in .hand { transform: translate(0, 0) rotate(-24deg); }
.reach { margin-bottom: 70px; }
.slump-foot { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 10px 40px; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: var(--t-m); color: var(--berry); line-height: 1.05; }
.slump-foot span:nth-child(2) { color: var(--cream); }

/* ---------- how it works ---------- */
.how-list { list-style: none; margin: 0; padding: 0; display: grid; }
.how-list li { display: grid; gap: 4px 28px; padding-block: clamp(10px, 1.5vw, 18px); border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 900px) { .how-list li { grid-template-columns: auto 1fr minmax(0, 30ch); } }
.how-list .n { font-family: var(--f-mono); font-size: .8rem; color: var(--rose); }
.how-list .w {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(3.2rem, 14vw, 10rem); line-height: .9; color: rgba(150, 62, 76, .2);
  transition: color .5s;
}
.how-list li.is-on .w { color: var(--wine); }
.how-list li:last-child.is-on .w { color: var(--berry); }
.how-list p { margin: 0; color: var(--ink-soft); font-size: 1rem; max-width: 34ch; }
.how-sum { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.how-sum p { margin: 0; max-width: 52ch; font-size: clamp(1.05rem, 1vw + .75rem, 1.3rem); }

/* ---------- spaces ---------- */
.spaces { background: var(--sand); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: clamp(20px, 3vw, 36px); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 2px solid var(--wine); background: transparent; color: var(--wine); border-radius: 999px; padding: .6em 1.15em; font-weight: 700; cursor: pointer; font-size: .95rem; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--wine); color: var(--cream); }
.space-panel { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .space-panel { grid-template-columns: 1.15fr 1fr; } }
.scene { position: relative; aspect-ratio: 4 / 3.3; border-radius: 28px; overflow: hidden; background: var(--wall, #e9d9c3); max-width: 100%; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.space-copy { display: grid; gap: 16px; }
.space-copy h3 { margin: 0; font-size: var(--t-l); color: var(--wine); }
.space-copy p { margin: 0; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: var(--f-mono); font-size: .72rem; background: var(--paper); border-radius: 999px; padding: 5px 11px; }
.space-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }

/* ---------- community ---------- */
.dimm .display { font-size: var(--t-xl); color: var(--wine); }
.dimm .display .q { color: var(--berry); }
.votes { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .votes { grid-template-columns: repeat(3, 1fr); } }
.vote { background: var(--paper); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); }
.vote .art { height: 100px; display: grid; place-items: center; }
.vote .art .pack { height: 100%; width: auto; max-width: 84px; }
.vote .art .pack--bar { height: auto; width: 84px; }
.vote h3 { margin: 0 0 2px; font-size: 1.05rem; line-height: 1.2; }
.vote .k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.vote-btns { display: flex; gap: 6px; margin-top: 10px; }
.vote-btns button { flex: 1; border: 2px solid var(--wine); background: transparent; border-radius: 999px; padding: .45em .5em; font-weight: 800; cursor: pointer; color: var(--wine); font-size: .85rem; transition: background .2s, color .2s, transform .2s var(--ease-pop); }
.vote-btns button:hover { transform: translateY(-2px); }
.vote-btns button[aria-pressed="true"] { background: var(--wine); color: var(--paper); }
.vote-bar { height: 8px; background: var(--sand); border-radius: 8px; margin-top: 10px; overflow: hidden; display: flex; }
.vote-bar i { background: var(--matcha); height: 100%; transition: width .6s var(--ease-pop); }
.vote-res { font-family: var(--f-mono); font-size: .7rem; margin-top: 6px; color: var(--ink-soft); display: flex; justify-content: space-between; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 260px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .reels { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; } }
.reel { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--c); color: var(--paper); text-decoration: none; display: block; max-width: 100%; isolation: isolate; }
.reel .art { position: absolute; inset: 18% 12% 34%; display: grid; place-items: center; }
.reel .art .pack { height: 100%; width: auto; max-width: 100%; animation: bob 5s ease-in-out infinite; }
.reel .art .pack--bar { width: 100%; height: auto; }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(42,10,18,.85)); z-index: 0; }
.reel .top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; z-index: 1; }
.reel .top span { background: rgba(42,10,18,.55); padding: 3px 8px; border-radius: 999px; }
.reel .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.reel .cap small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .68rem; margin-top: 6px; opacity: .85; }
.reel .play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(251,246,238,.92); z-index: 1; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .3s var(--ease-pop); }
.reel .play::before { content: ""; border-left: 14px solid var(--wine); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.reel:hover .play { opacity: 1; transform: none; }

/* ---------- enquiry ---------- */
.enquire { background: var(--rose); color: var(--paper); overflow: hidden; }
.enquire-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1000px) { .enquire-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.enquire .display { font-size: var(--t-xl); color: var(--cream); }
.enquire .display .u { color: var(--night); }
.enquire .eyebrow { color: var(--lemon); margin-bottom: 16px; }
.enquire .lede { margin-top: 24px; color: #fbe7ea; }
.promise { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.promise li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--tan); -webkit-mask: var(--symbol-mask) center / contain no-repeat; mask: var(--symbol-mask) center / contain no-repeat; transform: translateY(2px); }
.form { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(42,10,18,.7); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); padding: 0; }
.field input, .field select {
  font: inherit; font-size: 1rem; width: 100%; border: 0; border-bottom: 2px solid var(--line); background: transparent;
  padding: .55em 0; color: var(--ink); border-radius: 0; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--rose) 50%), linear-gradient(135deg, var(--rose) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--rose); }
.field input::placeholder { color: #b39a9d; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; margin: 0; padding: 0; }
.ltypes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ltypes label { cursor: pointer; }
.ltypes input { position: absolute; opacity: 0; pointer-events: none; }
.ltypes span { display: inline-block; border: 2px solid var(--line); border-radius: 999px; padding: .45em .95em; font-size: .92rem; font-weight: 600; transition: .2s; font-family: var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.ltypes input:checked + span { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.ltypes input:focus-visible + span { outline: 3px solid var(--berry); outline-offset: 2px; }
.form .btn { justify-content: center; width: 100%; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form-err { color: #b3261e; font-size: .88rem; margin: 0; }
.form-done { text-align: center; padding: 30px 10px; display: grid; gap: 12px; justify-items: center; }
.form-done .display { font-size: var(--t-l); color: var(--wine); }
.form-done p { margin: 0; max-width: 36ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--cream); padding-block: clamp(56px, 8vw, 110px) calc(env(safe-area-inset-bottom, 0px) + 100px); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 40px; } }
.foot-big { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.8rem, 11vw, 9rem); line-height: .86; margin: 0 0 clamp(36px, 6vw, 72px); color: var(--cream); text-wrap: balance; }
.foot-big em { font-style: normal; color: var(--berry); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); margin: 0 0 12px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; opacity: .85; } .foot-grid a:hover { opacity: 1; text-decoration: underline; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 14px; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand .wordmark { color: var(--cream); width: 170px; }
.foot-brand p { margin: 0; opacity: .75; max-width: 30ch; font-size: .95rem; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(244,235,221,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; opacity: .6; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 110px) clamp(36px, 5vw, 72px); }
.page-hero .display { font-size: var(--t-mega); color: var(--wine); }
.page-hero .display .alt { color: var(--rose); }
.page-hero .lede { margin-top: clamp(20px, 3vw, 32px); }
.page-hero-grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.5fr 1fr; } }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 20px); }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pgrid .ecard { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; min-height: 100%; }
.pgrid .ecard-cat, .pgrid .ecard-foot { position: static; }
.pgrid .ecard-art { position: static; height: clamp(120px, 34vw, 190px); padding: 6px 4px; }
.pgrid .ecard-art .pack { height: calc(clamp(120px, 34vw, 190px) - 16px); }
.pgrid .ecard-art .pack--bar { height: auto; width: 100%; }
.pgrid .ecard-foot { margin-top: auto; }
.pgrid .ecard-plus { width: 32px; height: 32px; font-size: 1.1rem; }
.pgrid .ecard-cat { font-size: .72rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; font-stretch: 100%; font-variation-settings: normal; }
.pgrid .ecard-foot b { font-size: .95rem; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.big-quote { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: var(--t-l); line-height: .92; color: var(--wine); margin: 0; text-wrap: balance; }
.arabic { font-family: "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif; font-size: clamp(6rem, 26vw, 16rem); line-height: 1; color: var(--rose); direction: rtl; margin: 0; }
.manifesto { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.manifesto li { border-top: 1px solid var(--line); padding-block: 22px; display: grid; gap: 6px; }
@media (min-width: 900px) { .manifesto li { grid-template-columns: 1fr 1.2fr; gap: 40px; } }
.manifesto b { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: var(--t-m); line-height: 1; color: var(--wine); }
.manifesto p { margin: 0; color: var(--ink-soft); max-width: 50ch; }
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: clamp(1.05rem, 1vw + .8rem, 1.3rem); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--rose); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; max-width: 62ch; color: var(--ink-soft); }
.spaces-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.map-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .map-wrap { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.map { background: var(--paper); border-radius: 28px; overflow: hidden; position: relative; aspect-ratio: 1 / .8; max-width: 100%; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; }
.pin { cursor: pointer; }
.pin circle.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.pin.is-on .dot { fill: var(--berry); }
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.loc-list li { border-top: 1px solid var(--line); }
.loc-list button { width: 100%; text-align: left; background: none; border: 0; padding: 14px 4px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; cursor: pointer; }
.loc-list button b { font-size: 1.05rem; }
.loc-list button span { font-family: var(--f-mono); font-size: .7rem; color: var(--rose); text-transform: uppercase; letter-spacing: .08em; }
.loc-list button[aria-pressed="true"] b { color: var(--rose); }
.review { display: grid; gap: 20px; background: var(--paper); border-radius: 28px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); }
@media (min-width: 760px) { .review { grid-template-columns: 180px 1fr; align-items: center; } }
.review .art { height: 180px; display: grid; place-items: center; background: var(--c); border-radius: 20px; padding: 20px; }
.review .art .pack { height: 140px; width: auto; max-width: 100%; }
.review .art .pack--bar { width: 100%; height: auto; }
.review h3 { margin: 0 0 6px; font-size: var(--t-m); line-height: 1.1; }
.review p { margin: 0 0 10px; max-width: 60ch; }
.score { display: flex; flex-wrap: wrap; gap: 6px; }
.score span { font-family: var(--f-mono); font-size: .72rem; border-radius: 999px; padding: 4px 10px; background: var(--sand); }
.score span.verdict { background: var(--matcha); color: var(--night); font-weight: 500; }
.score span.verdict.out { background: var(--berry); color: var(--paper); }
.stack-lg { display: grid; gap: clamp(16px, 2vw, 24px); }
.cta-band { background: var(--wine); color: var(--cream); border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 20px; justify-items: start; }
.cta-band .display { font-size: var(--t-l); }
.machine-feature { display: grid; place-items: center; padding-block: 20px 40px; }
.callouts { display: grid; gap: 12px; }
.callouts div { border-top: 2px solid var(--wine); padding-top: 12px; }
.callouts b { display: block; font-size: 1.1rem; }
.callouts span { color: var(--ink-soft); font-size: .98rem; }

/* gentle entrance — transform only, content always visible */
.js .lift { transform: translateY(28px); transition: transform .9s var(--ease-pop); }
.js .lift.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .lift { transform: none; }
  .hand { transform: rotate(-24deg) !important; }
}

.bloom, .symbol { display: inline-block; aspect-ratio: 1; background: currentColor; -webkit-mask: var(--symbol-mask) center / contain no-repeat; mask: var(--symbol-mask) center / contain no-repeat; }

/* meet the machine */
.meet { background: var(--paper); }
.meet-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .meet-grid { grid-template-columns: 1.2fr 1fr; } }
.meet-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; background: var(--sand); }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; }
.meet-photo .bloom { position: absolute; width: 72px; right: 18px; bottom: 18px; color: var(--paper); }
.meet .display { font-size: var(--t-l); color: var(--wine); }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts-list li { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 2px; }
.facts-list b { font-size: 1.05rem; }
.facts-list span { color: var(--ink-soft); font-size: .98rem; }
.spec { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--rose); text-transform: uppercase; margin: 0; }
.dims { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; max-width: 100%; }

.goodfor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 28px; }
.goodfor .spec { margin-right: 4px; }
.gf { border: 0; background: var(--paper); border-radius: 999px; padding: .45em .95em; font-family: var(--f-mono); font-size: .76rem; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.gf[aria-pressed="true"] { background: var(--sage); color: var(--paper); box-shadow: none; }
.outcomes { display: grid; gap: clamp(12px, 1.6vw, 20px); }
@media (min-width: 760px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .outcomes { grid-template-columns: repeat(4, 1fr); } }
.outcome { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 2vw, 26px); display: grid; gap: 10px; align-content: start; }
.outcome .bloom { width: 28px; color: var(--sage); }
.outcome b { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; text-transform: uppercase; font-size: 1.7rem; line-height: .95; color: var(--wine); }
.outcome p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* official symbol used inline as a separator (replaces the old flower glyph) */
.sym { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.2em; margin-inline: .4em; background: currentColor; -webkit-mask: var(--symbol-mask) center / contain no-repeat; mask: var(--symbol-mask) center / contain no-repeat; }
.eyebrow .sym { color: var(--rose); width: 1.7em; height: 1.7em; vertical-align: -.55em; margin-inline: .5em; }

/* two paths: business enquiry vs consumer nomination */
.form-for { margin: 0; display: inline-flex; align-items: center; gap: 2px; justify-self: start; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--wine); color: var(--paper); border-radius: 999px; padding: .5em 1em .5em .4em; }
.form-for .sym { margin-inline: .2em .5em; color: var(--tan); }
.form--nominate .form-for { background: #4f6b2a; }
.form--nominate .form-for .sym { color: #d9e9b8; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-family: var(--f-body); }
.path-switch { margin: 28px 0 0; font-size: .95rem; }
.path-switch a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.enquire--nominate { background: var(--sage); color: var(--night); }
.enquire--nominate .display { color: var(--night); }
.enquire--nominate .display .u { color: var(--paper); }
.enquire--nominate .eyebrow { color: var(--wine); }
.enquire--nominate .lede { color: var(--night); }
.enquire--nominate .promise li::before { background: var(--paper); }
.paths { display: grid; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: 28px; text-decoration: none; transition: transform .25s; }
.path:hover { transform: translateY(-4px); }
.path--b2b { background: var(--rose); color: var(--paper); }
.path--nom { background: var(--sage); color: var(--night); }
.path-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.path b { font-family: var(--f-display); font-size: var(--t-l, 2rem); line-height: 1; font-weight: 700; }
.path-go { margin-top: 8px; font-weight: 700; }

/* round 2: tilted, larger wordmark and the symbol pinned top right */
.brand .wordmark { width: clamp(128px, 14vw, 172px); }
.head-end { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); }
.head-sym { display: inline-flex; color: var(--rose); transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.head-sym .bloom { width: clamp(34px, 3.2vw, 44px); }
.head-sym:hover { transform: rotate(90deg); }
.story-bloom { width: clamp(120px, 22vw, 240px); color: var(--tan); margin-top: 24px; }

.menu-top .wordmark { width: 136px; }
.foot-brand .wordmark { width: 196px; }

/* round 3 */
@media (min-width: 1024px) {
  .site-header { position: sticky; }
  .site-header .wrap { padding-right: max(var(--gutter, 56px), 76px); }
  .head-sym { position: absolute; right: clamp(14px, 1.6vw, 24px); top: 50%; translate: 0 -50%; }
  .head-sym:hover { transform: rotate(90deg); }
}
.upgrade .display.upgrade-h { font-size: var(--t-l); line-height: 1.02; max-width: 16ch; }
.upgrade-h .alt { color: var(--rose); }
.soon .pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s infinite; }
.soon-copy a:not(.btn) { color: var(--rose); font-weight: 700; }
.enquire--brands { background: var(--wine); }
.enquire--brands .display .u { color: var(--sage); }
.enquire--brands .lede { color: #f1dcd2; }
.form--brands .form-for { background: var(--night); }
