/* ==========================================================================
   OMO visual system — shared by ooooomo.com and popcafe.ooooomo.com
   ========================================================================== */

@font-face {
  font-family: 'Funnel Display';
  src: url('/studio/fonts/FunnelDisplay.woff') format('woff');
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: 'Funnel Sans';
  src: url('/studio/fonts/FunnelSans.woff') format('woff');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #161618;
  --paper: #edece7;
  --bone: #f6f5f1;
  --mute-dark: rgba(246, 245, 241, 0.56);
  --mute-light: rgba(10, 10, 11, 0.56);
  --line-light: rgba(10, 10, 11, 0.12);
  --line-dark: rgba(246, 245, 241, 0.14);

  /* Pop colours, taken from the colour version of the OMO logo. */
  --pink: #ef197c;
  --rose: #fb63da;
  --blue: #9cd7ff;
  --lime: #a2d159;
  --sun: #fbb040;
  --cream: #fffdde;

  --display: 'Funnel Display', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Funnel Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --radius: clamp(20px, 2.4vw, 34px);
  --header-h: 76px;

  /* Theme: night by default; html[data-theme='day'] switches every surface. */
  --bg: #0e0e0f;          /* page */
  --bg-2: #18181a;        /* raised surfaces: cards, footer */
  --fg: #f1efe9;          /* text and marks */
  --fg-mute: rgba(241, 239, 233, .56);
  --line: rgba(241, 239, 233, .14);
  --room: #0a0a0b;        /* light-room wall before the scene draws */
  --glass: rgba(255, 255, 255, .075);
  --glass-hover: rgba(255, 255, 255, .14);
  --glass-edge: rgba(255, 255, 255, .16);
  --glass-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6);
  --dot: #4aa8ff;         /* the glass fingertip colour of the current theme */
  --lid: #050506;         /* the home blink: what you see with your eyes shut */

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme='day'] {
  --bg: #edece7;
  --bg-2: #f6f5f1;
  --fg: #1b1a18;          /* near-black, a touch warm, so it sits on paper and khaki */
  --fg-mute: rgba(27, 26, 24, .56);
  --line: rgba(27, 26, 24, .12);
  --room: #6e6b66;          /* the day room is a warm mid-tone in shade */
  --glass: rgba(255, 253, 248, .38);
  --glass-hover: rgba(255, 253, 248, .62);
  --glass-edge: rgba(255, 255, 255, .55);
  --glass-shadow: 0 10px 30px -16px rgba(60, 50, 35, .35);
  --dot: #3f9fe8;
  --lid: #1c1b19;         /* even by day, a blink goes dark */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  transition: background-color .8s var(--ease-out), color .8s var(--ease-out);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink); color: var(--bone); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--gutter); top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--bone); color: var(--ink);
  font: 600 14px/1 var(--display); transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand-link { display: block; width: 74px; padding: 8px 0; }
.brand-link svg { width: 100%; height: auto; }
/* On the home hero the giant wordmark is the logo; the small one waits. */
[data-page='home'] .brand-link { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
html:not(.is-scrolled) [data-page='home'] .brand-link { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.header-right { display: flex; align-items: center; gap: 6px; }
.primary-nav { display: flex; align-items: center; gap: 2px; margin-right: 10px; }
.primary-nav a {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px 12px; font: 500 15px/1 var(--display); letter-spacing: -0.005em;
}
.primary-nav a[aria-current='page']::before {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: currentColor;
}

/* Rolling label: the word slides up and its twin arrives from below. */
.roll { display: inline-block; overflow: hidden; height: 1em; line-height: 1; vertical-align: top; }
.roll > span {
  display: block; text-shadow: 0 1.15em 0 currentColor;
  transition: transform .55s var(--ease-out);
}
a:hover .roll > span, a:focus-visible .roll > span, button:hover .roll > span { transform: translateY(-1.15em); }

.icon-button {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: transform .5s var(--spring), background-color .3s;
}
.icon-button::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid currentColor; opacity: .32; transition: opacity .3s, transform .5s var(--spring);
}
.icon-button:hover::after { opacity: .9; transform: scale(1.06); }
.icon-button:active { transform: scale(.92); }

/* Sound: a closed-eye line that opens into a moving wave. */
.sound-glyph { width: 20px; height: 12px; overflow: hidden; }
.sound-glyph svg { width: 40px; max-width: none; height: 12px; overflow: visible; }
.sound-glyph .wave { transform-origin: 50% 50%; transform: scaleY(0.04); transition: transform .6s var(--spring); }
.sound-glyph path { animation: wave-run 2.4s linear infinite; animation-play-state: paused; }
[aria-pressed='true'] .sound-glyph .wave { transform: scaleY(1); }
[aria-pressed='true'] .sound-glyph path { animation-play-state: running; }
@keyframes wave-run { to { transform: translateX(-20px); } }

/* Menu: two pupils that cross into an × when open. */
.menu-button { display: none; }
.menu-glyph { position: relative; width: 18px; height: 18px; }
.menu-glyph i {
  position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 6px; background: currentColor;
  transition: transform .5s var(--spring), width .4s var(--ease-out), margin .4s var(--ease-out), height .4s var(--ease-out);
}
.menu-glyph i:first-child { transform: translateX(-5px); }
.menu-glyph i:last-child { transform: translateX(5px); }
[aria-expanded='true'] .menu-glyph i { width: 20px; height: 2px; margin: -1px 0 0 -10px; }
[aria-expanded='true'] .menu-glyph i:first-child { transform: rotate(45deg); }
[aria-expanded='true'] .menu-glyph i:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0 round 0 0 40px 40px);
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0 round 0); visibility: visible; transition: clip-path .7s var(--ease-in-out); }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a {
  display: block; overflow: hidden;
  font: 600 clamp(44px, 14vw, 72px)/1.02 var(--display); letter-spacing: -0.045em;
}
.mobile-menu nav a > span { display: block; transform: translateY(105%); transition: transform .8s var(--ease-out); }
.mobile-menu.is-open nav a > span { transform: none; }
.mobile-menu.is-open nav a:nth-child(2) > span { transition-delay: .06s; }
.mobile-menu.is-open nav a:nth-child(3) > span { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(4) > span { transition-delay: .18s; }
.mobile-menu .menu-foot { display: flex; justify-content: space-between; margin-top: 40px; color: var(--mute-dark); font-size: 15px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
main { position: relative; z-index: 1; display: block; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.paper { background: var(--bg); color: var(--fg); transition: background-color .8s var(--ease-out), color .8s var(--ease-out); }
.dark { background: var(--room); color: #f1efe9; }

.display-xl { font: 600 clamp(64px, 15.5vw, 260px)/0.86 var(--display); letter-spacing: -0.06em; }
.display-l { font: 600 clamp(48px, 8.4vw, 140px)/0.9 var(--display); letter-spacing: -0.05em; }
.display-m { font: 600 clamp(34px, 4.6vw, 72px)/0.95 var(--display); letter-spacing: -0.04em; }
.title-s { font: 600 clamp(22px, 2vw, 30px)/1.05 var(--display); letter-spacing: -0.025em; }
.lede { font: 400 clamp(17px, 1.35vw, 21px)/1.4 var(--text); letter-spacing: -0.005em; }
.muted { opacity: .58; }

/* Mask reveals (Mala-style): lines rise out of their own clip. */
[data-reveal] { --reveal-delay: 0s; }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal-line > span { display: inline-block; transform: translateY(105%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); transition-delay: var(--reveal-delay); }
.is-revealed .reveal-line > span { transform: none; }
[data-reveal='fade'] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--reveal-delay); }
[data-reveal='fade'].is-revealed { opacity: 1; transform: none; }
/* Rounded clip that opens like an eye. */
[data-reveal='clip'] { clip-path: inset(18% 22% 18% 22% round 999px); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--reveal-delay); }
[data-reveal='clip'].is-revealed { clip-path: inset(0 0 0 0 round var(--radius)); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-shell { position: relative; height: 100svh; }
.hero {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink);
  transform-origin: 50% 0;
}
.hero[data-material='ink'] { background: var(--paper); }
.stage { position: absolute; inset: 0; }
.stage .brand-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .stage[data-cursor='none'] { cursor: none; } }
.stage-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--bone);
  opacity: 1; transition: opacity .6s;
}
.stage-fallback svg { width: min(72vw, 1100px); height: auto; }
.hero[data-material='ink'] .stage-fallback { color: var(--ink); }
.stage[data-scene-state='ready'] .stage-fallback { opacity: 0; pointer-events: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 2;
  width: 26px; height: 40px; margin-left: -13px; border-radius: 99px;
  color: var(--bone); mix-blend-mode: difference;
}
.scroll-cue::before { content: ''; position: absolute; inset: 0; border: 1.5px solid currentColor; border-radius: inherit; opacity: .55; }
.scroll-cue i {
  position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 6px;
  background: currentColor; animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { 0%, 12% { transform: translateY(0); } 50%, 62% { transform: translateY(12px); } 100% { transform: translateY(0); } }

/* --------------------------------------------------------------------------
   Sections that slide over the hero
   -------------------------------------------------------------------------- */
.sheet {
  position: relative; z-index: 2;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(var(--radius) * -1);
}
.section { padding-block: clamp(80px, 11vw, 170px) clamp(60px, 8vw, 120px); }
.section--flush { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 60px); }
.section-head .count { font: 500 15px/1 var(--display); opacity: .5; }

/* --------------------------------------------------------------------------
   Product card — a 3D collage that opens up on hover
   -------------------------------------------------------------------------- */
.product-card {
  --rx: 0deg; --ry: 0deg; --lift: 0; --mx: 50%; --my: 50%;
  position: relative; display: block; border-radius: var(--radius);
  isolation: isolate;
  perspective: 1400px;
}
.card-surface {
  position: relative; height: clamp(440px, 76vh, 820px); border-radius: inherit; overflow: hidden;
  background:
    radial-gradient(120% 90% at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 55%),
    linear-gradient(160deg, #e9dcff 0%, #f6d7ef 48%, #d6e9ff 100%);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(calc(1 - var(--lift) * 0.012));
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.product-card.is-tracking .card-surface { transition: transform .25s var(--ease-out); }
.collage { position: absolute; inset: 0; transform-style: preserve-3d; }
.collage > * {
  position: absolute; transform: translate3d(0, 0, calc(var(--z, 0px) * var(--lift))) rotate(calc(var(--r, 0deg) * var(--lift)));
  transition: transform 1s var(--spring);
}
.collage .grid-sheet {
  inset: 9% 7%; border-radius: calc(var(--radius) * .7);
  background-image: linear-gradient(rgba(10,10,11,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,11,.07) 1px, transparent 1px);
  background-size: 28px 28px; --z: -40px;
}
.collage .app-icon {
  width: clamp(150px, 21vw, 300px); aspect-ratio: 1; right: 14%; top: 18%;
  border-radius: 23%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(60, 30, 90, .45);
  image-rendering: pixelated; --z: 120px; --r: -6deg;
}
.collage .app-icon img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.collage .wordmark {
  left: 8%; top: 16%; width: clamp(220px, 34vw, 520px); aspect-ratio: 1204 / 724;
  background: var(--ink);
  -webkit-mask: url('/studio/product/pop-cafe-mark.png') center / contain no-repeat;
  mask: url('/studio/product/pop-cafe-mark.png') center / contain no-repeat;
  --z: 60px; --r: 3deg;
}
.collage .sticker { width: clamp(40px, 5vw, 78px); color: var(--sun); --z: 180px; }
.collage .sticker svg { width: 100%; height: auto; overflow: visible; }
.collage .sticker path { stroke: var(--ink); stroke-width: 3px; }
.collage .s1 { left: 47%; top: 12%; color: var(--sun); --r: 40deg; }
.collage .s2 { right: 9%; bottom: 22%; color: var(--lime); --z: 220px; --r: -50deg; width: clamp(30px, 3.4vw, 54px); }
.collage .s3 { left: 12%; bottom: 20%; color: #fff; --z: 140px; --r: 70deg; width: clamp(24px, 2.6vw, 40px); }
.collage .pill { border-radius: 999px; }
.collage .p1 { left: 36%; bottom: 14%; width: clamp(90px, 11vw, 170px); height: clamp(36px, 4.4vw, 66px); background: var(--rose); --z: 90px; --r: -12deg; }
.collage .p2 { left: 58%; bottom: 30%; width: clamp(30px, 3.6vw, 56px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); --z: 160px; }
.collage .p3 { left: 22%; top: 58%; width: clamp(40px, 5vw, 76px); height: clamp(64px, 8vw, 120px); background: var(--lime); border-radius: 999px; --z: 70px; --r: 22deg; }
.card-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.6vw, 38px); color: var(--ink);
  transform: translateZ(80px);
}
.card-meta h3 { font: 600 clamp(34px, 4.2vw, 64px)/0.92 var(--display); letter-spacing: -0.045em; }
.card-meta p { margin-top: 10px; font-size: clamp(15px, 1.15vw, 18px); opacity: .7; }
.round-arrow {
  flex: none; display: grid; place-items: center; width: clamp(52px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--bone); transition: transform .6s var(--spring);
}
.round-arrow svg { width: 38%; height: auto; transition: transform .6s var(--spring); }
.product-card:hover .round-arrow { transform: scale(1.08); }
.product-card:hover .round-arrow svg { transform: rotate(45deg); }

/* Empty product slot: a pair of eyes peeking out. */
/* More to come: no box, just a pair of OMO eyes watching from the space
   under the last card. */
.next-slot {
  position: relative; display: grid; place-items: center; height: clamp(180px, 26vh, 280px);
  margin-top: clamp(16px, 2vw, 28px); color: var(--fg);
}
.peek { display: flex; gap: 10px; }
.peek .eye {
  position: relative; width: 44px; height: 32px; border-radius: 16px; background: var(--fg);
  animation: peek-blink 5.5s infinite;
}
.peek .eye:last-child { width: 24px; border-radius: 12px; }
.peek .eye i { position: absolute; top: 9px; left: 50%; width: 10px; height: 14px; margin-left: -5px; border-radius: 6px; background: var(--bg); transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .25s var(--ease-out); }
.peek .eye:last-child i { width: 6px; margin-left: -3px; }
@keyframes peek-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }

/* --------------------------------------------------------------------------
   Team — two palindromes
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); }
.member {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(300px, 44vw, 620px); padding: clamp(22px, 2.6vw, 38px);
  border-radius: var(--radius); background: var(--bg-2); overflow: hidden;
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
}
.member:hover { background: var(--fg); color: var(--bg); }
.member .role { display: flex; justify-content: space-between; font: 500 clamp(15px, 1.2vw, 18px)/1 var(--display); }
.member .role span:last-child { opacity: .45; }
.palindrome {
  display: flex; justify-content: center; align-items: baseline;
  font: 600 clamp(96px, 19vw, 320px)/0.8 var(--display); letter-spacing: -0.05em;
  padding-bottom: .06em;
}
.palindrome i { display: inline-block; font-style: normal; transition: transform .9s var(--spring); }
/* The outer letters swap places — and the word reads exactly the same. */
.member:hover .palindrome i:first-child { transform: translateX(var(--swap, 1.3em)) translateY(-0.18em) rotate(360deg); }
.member:hover .palindrome i:last-child { transform: translateX(calc(var(--swap, 1.3em) * -1)) translateY(0.18em) rotate(-360deg); }

/* --------------------------------------------------------------------------
   Footer — big address with the five o's watching you
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Footer — the floor at the end of the page. The OK light falls on it, the
   wordmark is drawn huge and cropped by the edge, and the film plays once.
   -------------------------------------------------------------------------- */
.site-footer {
  --floor: #0b0b0c; --floor-light: rgba(255, 252, 244, .11);
  --gw: min(100vw, 1440px);
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  background: var(--floor); color: var(--fg);
  /* Exactly one screen: copy starts well clear of the header, the wordmark
     and the base sit on the bottom edge, and the space between gives. */
  min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + clamp(28px, 8svh, 140px)) 0 0;
  transition: background-color .8s var(--ease-out), color .8s var(--ease-out);
}
.site-footer > .footer-top { margin-bottom: clamp(24px, 5svh, 72px); }
/* By day the floor is in shade — a torch only reads where it is a little dark —
   and the page steps down into it through a soft gradient. */
html[data-theme='day'] .site-footer {
  --floor: #bfbcb4; --floor-light: rgba(255, 253, 247, .85);
  background: linear-gradient(var(--bg), var(--floor) clamp(160px, 22vw, 320px));
}
/* Film grain, the same as in the rooms. */
.site-footer::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(32px, 6vw, 96px);
}
.footer-links { display: grid; gap: 6px; justify-items: end; padding-bottom: 8px; }
.footer-links a { display: inline-flex; align-items: baseline; gap: 6px; font: 500 clamp(17px, 1.3vw, 20px)/1.2 var(--display); letter-spacing: -0.01em; }
.footer-links a i { font-style: normal; opacity: .5; font-size: .85em; }
.footer-hello .footer-mail { font-size: min(clamp(36px, 6.2vw, 104px), 10svh); }
/* A flashlight on the floor. The beam lights the floor itself (a warm pool
   with a hot core) and the giant wordmark pressed into it: outside the beam
   the letters all but vanish; inside they shine. Beam and spot are drawn
   once and only ever moved (transform), so the torch costs nothing to sweep. */
.footer-beam {
  position: absolute; left: 0; top: 0; z-index: 1; width: 400px; height: 400px; pointer-events: none;
  transform-origin: 50% 50%; will-change: transform;
  background:
    radial-gradient(circle closest-side, var(--beam-core) 0, transparent 13%),
    radial-gradient(circle closest-side, var(--beam) 0, transparent 43%),
    radial-gradient(circle closest-side, var(--beam-wide) 0, transparent 100%);
}
.site-footer { --beam-core: rgba(255, 248, 232, .13); --beam: rgba(255, 246, 228, .10); --beam-wide: rgba(255, 244, 224, .04); }
html[data-theme='day'] .site-footer { --beam-core: rgba(255, 253, 246, .62); --beam: rgba(255, 252, 244, .36); --beam-wide: rgba(255, 252, 244, .14); }
.footer-giant {
  position: relative; z-index: 2; margin-top: auto;
  /* On short windows less of the letters rises above the edge, so the footer
     never outgrows one screen. */
  height: min(calc(var(--gw) * 0.25), 30svh); overflow: hidden;
}
.footer-giant-mark { display: block; width: var(--gw); margin: 0 auto; padding: 0 var(--gutter); }
.footer-giant-mark svg { width: 100%; height: auto; display: block; }
/* Unlit: a hair away from the floor. */
.footer-giant-mark--dim { color: color-mix(in srgb, var(--fg) 4%, var(--floor)); }
html[data-theme='day'] .footer-giant-mark--dim { color: color-mix(in srgb, var(--fg) 7%, var(--floor)); }
/* Lit: a round spot (soft edge, static mask) that moves with the beam; the
   lit copy inside moves the opposite way, so it stays on top of the dim one. */
.footer-spot {
  --spot: clamp(300px, 44vw, 720px);
  position: absolute; left: 0; top: 0; width: var(--spot); height: var(--spot); overflow: hidden;
  pointer-events: none; will-change: transform;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0, rgba(0, 0, 0, .9) 26%, rgba(0, 0, 0, .35) 59%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 0, rgba(0, 0, 0, .9) 26%, rgba(0, 0, 0, .35) 59%, transparent 100%);
}
.footer-spot-inner { position: absolute; left: 0; top: 0; width: 100vw; will-change: transform; }
.footer-giant-mark--lit { color: var(--giant-lit, #fbf6ea); }
html[data-theme='day'] .footer-giant-mark--lit { --giant-lit: #ffffff; }
.footer-base {
  position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px;
  padding-top: 18px; padding-bottom: calc(22px + env(safe-area-inset-bottom));
  font: 500 13px/1 var(--display); color: var(--fg-mute);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; grid-auto-flow: column; justify-content: start; gap: 18px; }
}
.footer-mail {
  display: inline-block; font: 600 clamp(40px, 9.2vw, 168px)/0.9 var(--display); letter-spacing: -0.055em;
  white-space: nowrap;
}
.footer-mail .eye-o { position: relative; display: inline-block; }
.footer-mail .eye-o b {
  position: absolute; left: 50%; top: 58%; width: 0.15em; height: 0.2em; margin: -0.1em 0 0 -0.075em;
  border-radius: 1em; background: currentColor;
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform .18s linear;
}
.footer-mail:hover { color: var(--fg); }
.footer-mail .mail-at { opacity: .4; transition: opacity .4s; }
.footer-mail:hover .mail-at { opacity: 1; }
.footer-actions { display: flex; align-items: center; gap: 6px; margin-top: clamp(22px, 3vw, 40px); }
.pill-button {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px;
  font: 500 15px/1 var(--display); border: 1px solid currentColor; transition: background-color .3s, color .3s, transform .5s var(--spring);
}
.pill-button:hover { background: var(--bone); color: var(--ink); }
.pill-button:active { transform: scale(.95); }
.pill-button svg { width: 16px; height: 16px; }
.pill-button[data-copied='true'] { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* --------------------------------------------------------------------------
   Page scaffolds
   -------------------------------------------------------------------------- */
.page-top { padding-top: calc(var(--header-h) + clamp(48px, 9vw, 140px)); }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }

/* Contact */
.contact-stage { position: relative; height: 100svh; min-height: 560px; background: var(--room); color: var(--fg); overflow: hidden; }
.contact-copy {
  position: absolute; left: 0; right: 0; bottom: calc(clamp(32px, 8svh, 96px) + env(safe-area-inset-bottom)); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3.2svh, 32px); text-align: center;
  pointer-events: none;
}
.contact-copy > * { pointer-events: auto; }
/* Sized by width and by height, so short windows keep room for the light. */
.contact-copy .footer-mail { font-size: min(clamp(34px, 6.6vw, 112px), 11svh); }
.contact-copy .footer-actions { margin-top: 0; }

/* Pop Cafe (inside OMO) */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.feature {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: clamp(280px, 30vw, 420px); padding: clamp(20px, 2.2vw, 32px); border-radius: var(--radius);
  background: var(--bg-2); color: var(--fg); overflow: hidden;
}
.feature h3, .feature .feature-title { font: 600 clamp(28px, 2.6vw, 40px)/0.95 var(--display); letter-spacing: -0.035em; }
.feature p { margin-top: 8px; opacity: .6; }
.diagram { position: relative; height: clamp(120px, 12vw, 170px); }
.diagram i { position: absolute; display: block; border-radius: 14px; transition: transform .9s var(--spring); }
.diagram-layers i { width: 44%; aspect-ratio: 1.3; left: 28%; top: 10%; }
.diagram-layers i:nth-child(1) { background: var(--blue); transform: translate(-22%, 14%) rotate(-8deg); }
.diagram-layers i:nth-child(2) { background: var(--rose); transform: translate(0, 4%) rotate(2deg); }
.diagram-layers i:nth-child(3) { background: var(--fg); transform: translate(22%, -6%) rotate(9deg); }
.feature:hover .diagram-layers i:nth-child(1) { transform: translate(-58%, 22%) rotate(-14deg); }
.feature:hover .diagram-layers i:nth-child(3) { transform: translate(58%, -14%) rotate(15deg); }
.diagram-motion i { width: 22%; aspect-ratio: 1; border-radius: 50%; top: 32%; background: var(--fg); }
.diagram-motion i:nth-child(1) { left: 6%; opacity: .18; }
.diagram-motion i:nth-child(2) { left: 30%; opacity: .45; }
.diagram-motion i:nth-child(3) { left: 54%; background: var(--lime); }
.feature:hover .diagram-motion i:nth-child(3) { transform: translateX(70%) scale(1.1); }
.feature:hover .diagram-motion i:nth-child(2) { transform: translateX(40%); }
.diagram-export i { inset: 10% 30%; border-radius: 22px; background: var(--fg); }
.diagram-export b {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--sun); transition: transform .9s var(--spring);
}
.feature:hover .diagram-export b { transform: translate(90%, -80%) scale(1.25); }
.utility-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.feature-row + .utility-links { margin-top: clamp(28px, 4vw, 56px); }
.page-intro .lede { max-width: 22ch; }

/* Preview-only material switch (not part of the production build). */
.review-switch {
  position: fixed; left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(20, 20, 22, .72); color: var(--bone);
  font: 500 12px/1 var(--display); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.review-switch button { padding: 8px 12px; border-radius: 999px; opacity: .6; }
.review-switch button[aria-pressed='true'] { background: var(--bone); color: var(--ink); opacity: 1; }

/* Editorial (legacy notes/learn pages keep working under the new chrome) */
.legacy { background: var(--bg); color: var(--fg); padding-top: var(--header-h); min-height: 100svh; }

/* --------------------------------------------------------------------------
   Overlay + intro
   -------------------------------------------------------------------------- */
.studio-overlay { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; }
.studio-overlay[hidden] { display: none; }
.studio-overlay[data-mode='flat'] { background: var(--ink); }

.intro {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  background: var(--ink); color: var(--bone);
}
.intro[data-phase='dive'] { background: transparent; }
.intro[data-phase='done'] { display: none; }
.intro-mark { width: min(34vw, 300px); }
.intro-mark svg { width: 100%; height: auto; }
.intro[data-phase='dive'] .intro-mark { visibility: hidden; }
html.is-intro { overflow: hidden; }
html.is-intro body { overflow: hidden; }
html.no-js .intro, html.reduced .intro { display: none; }

/* Page content gently settles while the eyelids open. */
.page-enter main { animation: page-settle 1.1s var(--ease-out) both; }
@keyframes page-settle { from { transform: scale(1.035); filter: blur(6px); } to { transform: none; filter: none; } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .primary-nav { display: none; }
  .menu-button { display: grid; }
  .team-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .card-surface { height: clamp(480px, 82svh, 720px); }
  .collage .wordmark { left: 7%; top: 9%; width: 70%; }
  .collage .app-icon { right: 8%; top: auto; bottom: 26%; width: 46%; }
  .collage .p1 { left: 8%; bottom: 30%; }
  .collage .s1 { left: auto; right: 12%; top: 40%; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand-link { width: 64px; }
  .footer-mail, .contact-copy .footer-mail { font-size: 9.4vw; letter-spacing: -0.05em; }
  .card-meta { flex-direction: row; align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal-line > span, [data-reveal='fade'] { transform: none !important; opacity: 1 !important; }
  [data-reveal='clip'] { clip-path: none !important; }
}

/* --------------------------------------------------------------------------
   Direction A — the OK ring as a portal (scroll-driven)
   -------------------------------------------------------------------------- */
.portal-shell { position: relative; height: 320svh; background: var(--paper); }
.portal-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.portal-stage .brand-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .portal-stage { cursor: none; } }
.portal-stage .stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bone); }
.portal-stage .stage-fallback svg { width: min(70vw, 900px); }
.portal-stage[data-scene-state='ready'] .stage-fallback { display: none; }
.portal-shell + .sheet { margin-top: 0; }

/* ==========================================================================
   Direction D — the shape of light
   ========================================================================== */
.light-shell { position: relative; height: 200svh; background: var(--room); }
.light-shell.journey { height: auto; }
.light-stage { position: sticky; top: 0; z-index: 2; height: 100svh; overflow: hidden; background: var(--room); }
/* Once the room draws itself, the stage is transparent: the clear window
   shows the next section, which waits right behind it. */
.light-stage[data-scene-state='ready'] { background: transparent; }
.light-shell:has(.light-stage[data-scene-state='ready']) { background: transparent; }
.light-stage .light-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.light-stage .stage-fallback { color: var(--bone); }
.light-stage .stage-fallback svg { width: min(52vw, 620px); transform: translateY(-9vh); }
.light-stage[data-scene-state='ready'] .stage-fallback { opacity: 0; pointer-events: none; }
.light-shell .scroll-cue { position: fixed; }
html.is-scrolled .light-shell .scroll-cue { opacity: 0; transition: opacity .4s; }

/* Opening: the OK hand draws itself where the window is, then the sun rises behind it. */
.intro[data-kind='light'] { display: block; background: #0a0a0b; color: #fff; transition: background-color 1.5s var(--ease-in-out); }
.intro[data-kind='light'] .intro-mark { position: absolute; transition: opacity 1s var(--ease-in-out) .15s, filter 1s var(--ease-in-out) .15s; }
.intro[data-kind='light'] .intro-mark svg { width: 100%; height: 100%; display: block; }
/* The light comes on in one frame: backdrop and film go at once. */
.intro[data-kind='light'][data-phase='light'] { background-color: transparent; transition: none; pointer-events: none; }
.intro[data-kind='light'][data-phase='light'] .intro-mark { opacity: 0; transition: none; }

/* Page wipes: the next page waits in this layer while an aperture opens onto it. */
.page-incoming {
  position: fixed; inset: 0; z-index: 50; overflow: hidden;
  background: var(--bg); color: var(--fg);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  will-change: mask-image, transform;
}
.page-incoming > main { min-height: 100svh; }
.wipe-rim {
  position: fixed; inset: 0; z-index: 51; pointer-events: none;
  --rim: rgba(255, 248, 236, .6);
  mix-blend-mode: screen; opacity: 0;
}
main { transition: none; }

/* Card micro-feedback: a rolling title, an arrow that slides in, sparkles that flutter off. */
.card-meta h2, .card-meta h3 { display: flex; align-items: center; white-space: nowrap; }
.title-arrow {
  display: inline-grid; place-items: center; width: 0; overflow: hidden; opacity: 0;
  transition: width .55s var(--spring), opacity .3s, margin .55s var(--spring);
}
.title-arrow svg { width: .62em; height: .62em; flex: none; }
.product-card:hover .title-arrow, .product-card:focus-visible .title-arrow { width: .78em; opacity: 1; margin-right: .08em; }
.ch { display: inline-block; height: 1em; overflow: hidden; line-height: 1; vertical-align: top; }
.ch i { display: block; font-style: normal; transition: transform .55s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 28ms); }
.product-card:hover .ch i, .product-card:focus-visible .ch i { transform: translateY(-100%); }
.flutter { position: absolute; z-index: 6; pointer-events: none; overflow: visible; }
.flutter path { stroke: var(--ink); stroke-width: 3px; }

@media (prefers-reduced-motion: reduce) {
  .ch i, .title-arrow { transition: none; }
}
.intro[data-kind='light'][data-phase='done'] { display: none; }
.intro[data-kind='light'][data-palette='paper'] { background-color: #2f2d2a; }
.intro[data-kind='light'][data-palette='paper'][data-phase='light'] { background-color: transparent; }
.light-stage--fill { position: absolute; inset: 0; height: auto; }
.contact-stage--light { background: var(--room); color: var(--fg); }
.contact-stage--light .stage-fallback { color: #fff; }
.contact-stage--light .stage-fallback svg { width: min(46vw, 560px); transform: translateY(-22vh); }

/* Header tone follows what is underneath it (difference blending fails on mid-greys). */
html[data-header] .site-header { mix-blend-mode: normal; transition: color .45s var(--ease-out); }
html[data-header='dark'] .site-header { color: #f1efe9; }
html[data-header='light'] .site-header { color: #1b1a18; }


/* ==========================================================================
   Controls — editorial, not app-like: the wordmark and links stand free on
   the page, icon buttons are thin rings, nothing floats on a capsule.
   ========================================================================== */
html[data-header='dark'] { --hdr-fg: #f1efe9; }
html[data-header='light'] { --hdr-fg: #1b1a18; }
.site-header { color: var(--hdr-fg, #f1efe9); mix-blend-mode: normal; transition: color .45s var(--ease-out); }
/* The header shows whichever mark the page is not already showing:
   the wordmark over the OK window, the OK hand over the wordmark window. */
.brand-link { position: relative; width: 76px; height: 44px; padding: 0; }
.brand-link .brand-mark {
  position: absolute; left: 0; top: 50%; display: block;
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out), filter .55s;
}
.brand-link .brand-mark--word { width: 76px; transform: translateY(-50%); }
.brand-link .brand-mark--ok { width: 58px; opacity: 0; transform: translateY(-10%) rotate(-12deg); filter: blur(3px); }
body[data-brand='ok'] .brand-link .brand-mark--word { opacity: 0; transform: translateY(-90%); filter: blur(3px); }
body[data-brand='ok'] .brand-link .brand-mark--ok { opacity: 1; transform: translateY(-50%); filter: none; }
.brand-link svg { width: 100%; height: auto; display: block; }
.dock-sep { display: none; }

/* Day / night: one monochrome disc. Night is a crescent; by day the shadow slides off and the disc is whole. */
.theme-glyph { position: relative; width: 14px; height: 14px; transition: transform .9s var(--ease-in-out); }
.theme-glyph i {
  position: absolute; inset: 0; border-radius: 50%; background: currentColor;
  -webkit-mask: radial-gradient(circle, transparent 5.6px, #000 6.1px) -22px -28px / 64px 64px no-repeat;
  mask: radial-gradient(circle, transparent 5.6px, #000 6.1px) -22px -28px / 64px 64px no-repeat;
  transition: -webkit-mask-position .9s var(--ease-in-out), mask-position .9s var(--ease-in-out), transform .9s var(--ease-in-out);
}
.theme-glyph::after {
  /* a thin halo that only shows by day */
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed currentColor;
  opacity: 0; transform: scale(.6) rotate(0deg); transition: opacity .6s, transform .9s var(--ease-in-out);
}
html[data-theme='day'] .theme-glyph { transform: rotate(180deg); }
html[data-theme='day'] .theme-glyph i { -webkit-mask-position: -6px -44px; mask-position: -6px -44px; transform: scale(.72); }
html[data-theme='day'] .theme-glyph::after { opacity: .55; transform: scale(1) rotate(90deg); }
.theme-toggle:hover .theme-glyph i { transform: scale(1.08); }
html[data-theme='day'] .theme-toggle:hover .theme-glyph i { transform: scale(.8); }

/* Round actions: a thin ring with an icon; the label slides out on hover. */
.ring-button {
  position: relative; display: inline-flex; align-items: center; height: 52px; border-radius: 999px;
  color: inherit; font: 500 15px/1 var(--display); letter-spacing: -0.01em;
}
.ring-button .ring {
  position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  transition: transform .6s var(--spring), background-color .35s, color .35s;
}
.ring-button .ring::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid currentColor; opacity: .35;
  transition: opacity .3s, transform .6s var(--spring);
}
.ring-button .ring svg { width: 18px; height: 18px; transition: transform .6s var(--spring); }
.ring-button .label {
  display: inline-block; overflow: hidden; max-width: 0; opacity: 0; white-space: nowrap;
  transition: max-width .6s var(--ease-out), opacity .35s, margin .6s var(--ease-out);
}
.ring-button:hover .ring, .ring-button:focus-visible .ring { background: var(--fg); color: var(--bg); }
.ring-button:hover .ring::after { opacity: 0; transform: scale(1.12); }
.ring-button:hover .ring svg { transform: rotate(-12deg); }
.ring-button:hover .label, .ring-button:focus-visible .label { max-width: 9em; opacity: 1; margin: 0 6px 0 14px; }
.ring-button:active .ring { transform: scale(.92); }
.ring-button[data-copied='true'] .ring { background: var(--lime); color: #1b1a18; }
.ring-button[data-copied='true'] .label { max-width: 9em; opacity: 1; margin: 0 6px 0 14px; }
.ring-row { display: flex; align-items: center; gap: 6px; }

/* Text links with an arrow, for secondary destinations. */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font: 500 16px/1 var(--display); letter-spacing: -0.01em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.arrow-link svg { width: 14px; height: 14px; transition: transform .6s var(--spring); }
.arrow-link:hover { background-size: 100% 1px; }
.arrow-link:hover svg { transform: translate(2px, -2px); }

/* Menu: solid page tone, opened by a soft aperture from the button. */
@property --menu-r { syntax: '<length>'; inherits: false; initial-value: 0px; }
.mobile-menu {
  background: var(--bg); color: var(--fg);
  clip-path: none;
  --menu-r: 0px;
  -webkit-mask: radial-gradient(circle at var(--menu-x, calc(100% - 40px)) var(--menu-y, 38px), #000 calc(var(--menu-r) - 90px), transparent var(--menu-r));
  mask: radial-gradient(circle at var(--menu-x, calc(100% - 40px)) var(--menu-y, 38px), #000 calc(var(--menu-r) - 90px), transparent var(--menu-r));
  transition: --menu-r .8s var(--ease-in-out), visibility 0s .8s;
}
.mobile-menu.is-open { --menu-r: var(--menu-R, 260vmax); clip-path: none; transition: --menu-r .9s var(--ease-in-out); }
.mobile-menu .menu-foot { color: var(--fg-mute); }
/* Leaving through the menu: the chosen item stays, the rest step back, nothing
   slides; the menu just closes into its button over the page already there. */
.mobile-menu.is-leaving nav a > span { transform: none !important; transition: none !important; }
.mobile-menu.is-leaving nav a, .mobile-menu.is-leaving .menu-foot { transition: opacity .3s var(--ease-out); }
.mobile-menu.is-leaving nav a:not(.is-chosen), .mobile-menu.is-leaving .menu-foot { opacity: .16; }
html.reveal-instant [data-reveal], html.reveal-instant [data-reveal] * { transition: none !important; }
/* After a page change, nothing under a resting mouse reacts until it moves. */
html.hover-lock main, html.hover-lock .site-footer { pointer-events: none; }

/* Theme change: the new theme opens from the toggle as a soft ring (keyframes are injected per change). */
@property --vt-r { syntax: '<length>'; inherits: false; initial-value: 0px; }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }
/* Rooms are photographic: type over them is drawn in light, day or night. */
.contact-stage, .contact-stage--light { color: #fbfaf6; }

/* Without view transitions, surfaces ease to the new theme together. */
html.theme-easing body, html.theme-easing .paper, html.theme-easing .site-footer, html.theme-easing .member,
html.theme-easing .feature, html.theme-easing .mobile-menu, html.theme-easing .site-header, html.theme-easing .contact-stage {
  transition: background-color 1.1s var(--ease-in-out), color 1.1s var(--ease-in-out) !important;
}
/* Home journey: a blink. The room's lids close to a line, then part on the
   next section, which waits pinned behind them (studio.mjs). Without
   JavaScript, or with reduced motion, it simply follows the room. */
.journey > .light-stage { position: sticky; top: 0; z-index: 1; }
.journey-run { display: none; }
html.has-journey .journey-next { position: sticky; top: 0; z-index: 2; margin-top: -100svh; min-height: 100svh; visibility: hidden; }
html.has-journey .journey-next.is-shown { visibility: visible; }
html.has-journey .journey-run { display: block; height: 190svh; }
/* The lids: drawn once as SVG (crisp almond edge, soft inner shadow) and
   then only moved with transforms. */
.journey-lids { display: none; }
html.has-journey .journey-lids {
  display: block; position: sticky; top: 0; z-index: 3; margin-top: -100svh; height: 100svh;
  overflow: hidden; pointer-events: none; visibility: hidden; contain: strict;
}
.lid { position: absolute; left: -10vw; top: 0; display: block; color: var(--lid); will-change: transform; }
.lid svg { display: block; max-width: none; overflow: visible; }
.lid--top { transform: translate3d(0, -200vh, 0); }
.lid--bottom { transform: translate3d(0, 200vh, 0); }

/* Breathing room: generous space between sections. */
.section { padding-block: clamp(110px, 13vw, 210px) clamp(80px, 10vw, 150px); }
.section-head { margin-bottom: clamp(36px, 5vw, 76px); }

/* Contact: the copy waits until the camera has settled. */
.contact-copy[data-settle] { opacity: 0; transform: translateY(26px); transition: opacity 1.3s var(--ease-out), transform 1.6s var(--ease-out); }
.contact-copy[data-settle].is-settled { opacity: 1; transform: none; }
html.no-js .contact-copy[data-settle], html.reduced .contact-copy[data-settle] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Cursor (studio/cursor.mjs). The system cursor is hidden only where ours
   runs: a real mouse, with JavaScript.
   -------------------------------------------------------------------------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none;
  color: #fff; mix-blend-mode: difference; will-change: transform;
}
.cursor.is-easing { transition: transform .18s var(--ease-out); }
.cursor-mark { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .25s, transform .3s var(--spring); }
.cursor.is-on .cursor-mark { opacity: 1; }
.cursor.is-out .cursor-mark { opacity: 0; }
.cursor.is-down .cursor-mark { transform: scale(.78); transition-duration: .25s, .12s; }
.cursor-dot, .cursor-ring, .cursor-arrow, .cursor-spark { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.cursor svg { max-width: none; }
.cursor-dot, .cursor-ring {
  display: block; border-radius: 50%;
  transition: width .32s var(--ease-out), height .32s var(--ease-out), opacity .2s;
}
.cursor-dot { width: 8px; height: 8px; background: currentColor; }
.cursor-ring { width: 10px; height: 10px; border: 1.5px solid currentColor; opacity: 0; }
.cursor-arrow { width: 22px; height: 22px; opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-45deg); transition: opacity .2s, transform .35s var(--ease-out); }
.cursor-spark { width: 26px; height: 26px; opacity: 0; transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)); transition: opacity .2s; overflow: visible; }
.cursor-spark path { fill: var(--sun, #ffc928); stroke: var(--ink, #111); stroke-width: 3px; }
/* Over links: a ring. */
.cursor[data-kind='link'] .cursor-dot { width: 4px; height: 4px; }
.cursor[data-kind='link'] .cursor-ring { width: 42px; height: 42px; opacity: 1; }
/* Over round buttons: the ring takes the button's size. */
.cursor[data-kind='snap'] .cursor-dot { width: 0; height: 0; opacity: 0; }
.cursor[data-kind='snap'] .cursor-ring { width: var(--snap, 52px); height: var(--snap, 52px); opacity: 1; }
/* Over a card that opens a page: a large inverted lens with an arrow. */
.cursor[data-kind='open'] .cursor-dot { width: 96px; height: 96px; }
.cursor[data-kind='open'] .cursor-arrow { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
/* Light rooms (home, Contact): the marble is the cursor; this only marks the exact point. */
.cursor[data-kind='marble'] .cursor-dot { width: 4px; height: 4px; }
/* Pop Cafe: the sparkle, in its own colours. */
.cursor[data-kind='spark'] { mix-blend-mode: normal; }
.cursor[data-kind='spark'] .cursor-dot { width: 0; height: 0; opacity: 0; }
.cursor[data-kind='spark'] .cursor-spark { opacity: 1; }

/* ==========================================================================
   /system/ — the OMO visual system, shown with its own parts.
   (Kept in this stylesheet so the page also works after an in-site page
   change, which only swaps <main>.)
   ========================================================================== */
.sys .page-intro { align-items: flex-end; }
.sys .page-intro .lede { max-width: 30ch; color: var(--fg-mute); }
.sys-meta { display: flex; gap: 18px; margin-top: 18px; font: 500 13px/1 var(--display); color: var(--fg-mute); }

.sys-section { padding-block: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line); }
.sys-head { display: grid; grid-template-columns: minmax(64px, 140px) 1fr; gap: 12px clamp(16px, 3vw, 48px); margin-bottom: clamp(32px, 4.4vw, 64px); }
.sys-head .n { font: 500 15px/1.2 var(--display); color: var(--fg-mute); padding-top: .5em; font-variant-numeric: tabular-nums; }
.sys-head h2 { font: 600 clamp(34px, 4.6vw, 72px)/0.95 var(--display); letter-spacing: -0.04em; }
.sys-head p { grid-column: 2; max-width: 46ch; color: var(--fg-mute); font: 400 clamp(16px, 1.2vw, 19px)/1.5 var(--text); }
@media (max-width: 760px) { .sys-head { grid-template-columns: 1fr; } .sys-head p { grid-column: 1; } }

.sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.sys-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sys-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sys-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sys-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sys-grid--3, .sys-grid--4 { grid-template-columns: 1fr; } }
.sys-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.sys-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 220px; padding: clamp(18px, 2vw, 28px); border-radius: var(--radius); background: var(--bg-2); overflow: hidden;
}
.sys-card h3 { font: 600 clamp(22px, 2vw, 30px)/1.05 var(--display); letter-spacing: -0.025em; }
.sys-card p { color: var(--fg-mute); font: 400 15px/1.5 var(--text); max-width: 40ch; }
.sys-card .k { font: 500 12px/1 var(--display); letter-spacing: .02em; color: var(--fg-mute); text-transform: uppercase; }
.sys-card .k + * { margin-top: 10px; }
.sys code, .sys .mono { font: 500 12.5px/1.45 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0; }
.sys-card code { color: var(--fg); }

/* Colour */
.theme-panel { border-radius: var(--radius); padding: clamp(18px, 2vw, 28px); display: grid; gap: 18px; }
.theme-panel.is-night { background: #0e0e0f; color: #f1efe9; --m: rgba(241, 239, 233, .56); --l: rgba(241, 239, 233, .14); }
.theme-panel.is-day { background: #edece7; color: #1b1a18; --m: rgba(27, 26, 24, .56); --l: rgba(27, 26, 24, .12); }
.theme-panel header { display: flex; justify-content: space-between; align-items: baseline; font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.theme-panel header span { font: 500 13px/1 var(--display); color: var(--m); letter-spacing: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.swatch { display: grid; gap: 8px; font: 500 12px/1.3 var(--display); }
.swatch i { display: block; height: 64px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--l); }
.swatch b { font-weight: 600; font-size: 13px; }
.swatch span { color: var(--m); font-variant-numeric: tabular-nums; }
.clash { margin-top: 10px; }
.clash .swatch i { height: 44px; }

/* Type */
.type-row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 12px 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.type-row .spec { color: var(--fg-mute); font: 500 12.5px/1.5 var(--display); }
.type-row .spec b { display: block; color: var(--fg); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.type-row .sample { overflow: hidden; white-space: nowrap; text-overflow: clip; }
@media (max-width: 760px) { .type-row { grid-template-columns: 1fr; } }
.faces { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-bottom: 28px; }
.face { padding: 24px; border-radius: var(--radius); background: var(--bg-2); display: grid; gap: 24px; }
.face .big { font: 600 clamp(64px, 7vw, 110px)/0.9 var(--display); letter-spacing: -0.05em; }
.face .big.text { font-family: var(--text); font-weight: 500; letter-spacing: -0.03em; }
.face .big-icon { width: clamp(64px, 7vw, 110px); height: auto; aspect-ratio: 1; border-radius: 23%; image-rendering: pixelated; }

/* Space */
.space-row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.space-row .bar { height: 14px; border-radius: 7px; background: var(--fg); opacity: .85; }
.space-row .spec { font: 500 12.5px/1.5 var(--display); color: var(--fg-mute); }
.space-row .spec b { display: block; color: var(--fg); font-size: 14px; font-weight: 600; }

/* Marks */
.mark-tile { min-height: 260px; display: grid; grid-template-rows: 1fr auto; }
.mark-tile .art { display: grid; place-items: center; color: var(--fg); }
.mark-tile .art svg { width: min(70%, 220px); height: auto; }
.mark-tile .art.ok svg { width: min(56%, 170px); }
.mark-tile .art.spark svg { width: 72px; }
.mark-tile .art.spark path { fill: var(--sun); stroke: #111; stroke-width: 3px; }

/* Rooms */
.room-demo-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--room); }
.room-demo-wrap > .room-demo { position: absolute; inset: 0; }
.room-demo .light-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.room-demo .stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.room-demo[data-scene-state='ready'] .stage-fallback { opacity: 0; }
.room-demo-wrap .caption { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #f1efe9; font: 500 13px/1.3 var(--display); pointer-events: none; }
.params { width: 100%; border-collapse: collapse; font: 500 13px/1.4 var(--display); font-variant-numeric: tabular-nums; }
.params th, .params td { text-align: left; padding: 10px 8px 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.params th { color: var(--fg-mute); font-weight: 500; }
.params td i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.behaviours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; margin-top: 10px; }

/* Motion */
.ease-card svg { width: 100%; height: 90px; overflow: visible; }
.ease-card path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ease-card .dot { width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.ease-track { position: relative; height: 14px; }
.ease-track .dot { position: absolute; left: 0; top: 0; }
.ease-card:hover .ease-track .dot { left: calc(100% - 14px); }
.ring-demo { cursor: pointer; min-height: 280px; background: #0e0e0f; color: #f1efe9; }
html[data-theme='day'] .ring-demo { background: #1b1a18; }
.ring-demo .layer { position: absolute; inset: 0; display: grid; place-items: center; background: #edece7; color: #1b1a18; font: 600 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: -0.03em; -webkit-mask-image: linear-gradient(transparent, transparent); mask-image: linear-gradient(transparent, transparent); }
.ring-demo .hint { position: relative; z-index: 1; }
.blink-demo { cursor: pointer; min-height: 280px; background: #0e0e0f; color: #f1efe9; }
.blink-demo .scene, .blink-demo .next { position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: -0.03em; }
.blink-demo .scene { background: radial-gradient(60% 70% at 50% 40%, #6f6f72, #0e0e0f); }
.blink-demo .next { background: #edece7; color: #1b1a18; visibility: hidden; }
.blink-demo .lidd { position: absolute; left: 0; right: 0; height: 75%; z-index: 2; background: #050506; transition: transform .55s var(--ease-in-out); }
.blink-demo .lidd.t { top: 0; transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 30% 30%; }
.blink-demo .lidd.b { bottom: 0; transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.blink-demo.is-shut .lidd { transform: none; }
.blink-demo.is-next .next { visibility: visible; }
.blink-demo .hint { position: relative; z-index: 3; mix-blend-mode: difference; color: #fff; }
.motion-tokens td:first-child { white-space: nowrap; }

/* Cursor */
.cursor-tile { min-height: 180px; justify-content: flex-end; }
.cursor-tile.dark { background: #0e0e0f; color: #f1efe9; }
.cursor-tile.dark p { color: rgba(241, 239, 233, .56); }
.cursor-tile .target { position: absolute; inset: 0; }
.cursor-tile .pinkish { background: linear-gradient(135deg, #ead8ff, #ffd6ec 60%, #d9e6ff); color: #1b1a18; }
.cursor-tile .pinkish p { color: rgba(27, 26, 24, .6); }

/* Components */
.comp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sys .demo-mail .footer-mail { font-size: clamp(28px, 3.6vw, 52px); }

/* Sound */
.sound-tile { cursor: pointer; min-height: 180px; }
.sound-tile .play { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--spring); }
.sound-tile .play svg { width: 14px; height: 14px; }
.sound-tile:hover .play { background: var(--fg); color: var(--bg); }
.sound-tile:active .play { transform: scale(.9); }

/* Voice */
.voice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.voice .do s { color: var(--fg-mute); text-decoration-thickness: 1px; }
.voice .do strong { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; display: block; margin-bottom: 4px; }

/* Files */
.files td:first-child { white-space: nowrap; }

/* ==========================================================================
   Notes — writing, and the Learn series. Typographic: the light lives on the
   home page; here it is the reading that matters.
   ========================================================================== */
[lang|='zh'] { font-family: var(--text), 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; }
.notes-group { padding-top: clamp(40px, 6vw, 96px); }
.notes-group > header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 500 13px/1.3 var(--display); color: var(--fg-mute); }
.notes-group > header b { color: var(--fg); font-weight: 600; }
.note-row {
  display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto; gap: 10px clamp(16px, 3vw, 40px); align-items: baseline;
  padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.note-row .meta { font: 500 13px/1.5 var(--display); color: var(--fg-mute); }
.note-row .t { font: 600 clamp(28px, 3.6vw, 56px)/1.02 var(--display); letter-spacing: -0.035em; transition: transform .6s var(--ease-out); }
.note-row .t[lang|='zh'] { letter-spacing: 0; font-weight: 600; line-height: 1.15; }
.note-row .d { grid-column: 2; max-width: 52ch; color: var(--fg-mute); font: 400 16px/1.55 var(--text); }
.note-row .go { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--display); color: var(--fg-mute); white-space: nowrap; }
.note-row .go svg { width: 16px; height: 16px; transition: transform .5s var(--spring); }
@media (hover: hover) { .note-row:hover .t { transform: translateX(10px); } .note-row:hover .go svg { transform: translate(3px, -3px); } }
.note-row.is-soon { opacity: .42; }
@media (max-width: 760px) { .note-row { grid-template-columns: 1fr; } .note-row .d { grid-column: 1; } .note-row .go { display: none; } }

.back-link { display: inline-flex; margin-bottom: clamp(28px, 4vw, 56px); }
.back-link:hover svg { transform: translateX(-3px); }
.article-head { padding-bottom: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.article-head .kicker { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 24px; font: 500 13px/1 var(--display); color: var(--fg-mute); }
.article-head h1 { font: 600 clamp(44px, 7vw, 120px)/0.95 var(--display); letter-spacing: -0.045em; max-width: 14ch; }
.article-head h1[lang|='zh'] { letter-spacing: 0; line-height: 1.12; max-width: 11em; font-size: clamp(40px, 6vw, 96px); }
.article-head .deck { margin-top: 26px; max-width: 42ch; color: var(--fg-mute); font: 400 clamp(17px, 1.35vw, 21px)/1.55 var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font: 500 13px/1 var(--display); color: var(--fg-mute); }
.article-layout { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 680px); gap: clamp(32px, 7vw, 140px); padding-top: clamp(40px, 5vw, 80px); }
.article-rail { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; font: 500 14px/1.35 var(--display); }
.article-rail > p, .rail-note > span { display: block; margin-bottom: 14px; font: 500 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-mute); }
.article-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article-rail a { display: grid; grid-template-columns: 30px 1fr; color: var(--fg-mute); text-decoration: none; transition: color .3s; }
.article-rail a span { font-variant-numeric: tabular-nums; }
.article-rail a.is-active, .article-rail a:hover { color: var(--fg); }
.rail-note { margin-top: 44px; color: var(--fg-mute); font: 400 14px/1.6 var(--text); }
.prose { font: 400 18px/1.8 var(--text); }
.prose > * + *, .prose section > * + * { margin-top: 1.1em; }
.prose p { color: color-mix(in srgb, var(--fg) 86%, transparent); }
.prose .lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.6; color: var(--fg); }
.prose section { margin-top: clamp(52px, 5vw, 84px); scroll-margin-top: calc(var(--header-h) + 28px); }
.prose .no { font: 500 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-mute); }
.prose h2 { margin-top: 12px; font: 600 clamp(28px, 3vw, 44px)/1.08 var(--display); letter-spacing: -0.03em; }
.prose h2[lang|='zh'], .prose [lang|='zh'] h2 { letter-spacing: 0; line-height: 1.3; }
.prose blockquote { margin: clamp(44px, 4vw, 68px) 0; padding-left: 24px; border-left: 2px solid var(--fg); font: 600 clamp(24px, 2.6vw, 38px)/1.2 var(--display); letter-spacing: -0.02em; color: var(--fg); }
.prose ul { padding-left: 1.1em; }
.prose strong { color: var(--fg); font-weight: 600; }
.callout, .formula { padding: 22px 24px; border-radius: 18px; }
.callout { background: var(--bg-2); }
.formula { border: 1px solid var(--line); }
.callout .label, .formula .label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-mute); }
.callout .label i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.callout.is-watch .label i { background: var(--sun); }
.callout.is-try .label i { background: var(--lime); }
.callout p, .formula small { margin: 0; font: 400 16px/1.65 var(--text); }
.formula .f { margin: 6px 0 10px; font: 500 clamp(22px, 2.4vw, 34px)/1.3 var(--display); letter-spacing: -0.01em; color: var(--fg); }
.formula small { display: block; color: var(--fg-mute); font-size: 14px; }
.callout details summary { margin-top: 14px; cursor: pointer; list-style: none; font: 500 13px/1 var(--display); }
.callout details summary::-webkit-details-marker { display: none; }
.callout details summary::after { content: '  ↓'; }
.callout details[open] summary::after { content: '  ↑'; }
.callout details p { margin-top: 10px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li > span { font: 500 13px/1.85 var(--display); color: var(--fg-mute); }
.checklist li p { margin: 0; }
.next-note { display: grid; gap: 10px; margin-top: clamp(56px, 6vw, 96px); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.next-note .label { font: 500 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-mute); }
.next-note strong { font: 600 clamp(26px, 3vw, 44px)/1.08 var(--display); letter-spacing: -0.03em; color: var(--fg); }
.next-note strong[lang|='zh'] { letter-spacing: 0; }
@media (hover: hover) { .next-note:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-rail { position: static; }
  .rail-note { display: none; }
}

/* ==========================================================================
   Pop Cafe hero — the cup room (on OMO's Pop Cafe page and on
   popcafe.ooooomo.com): stained-glass light, the wordmark and one line.
   ========================================================================== */
.pop-wordmark {
  display: block; height: min(clamp(64px, 9vw, 128px), 13svh); aspect-ratio: 1204 / 724; background: currentColor;
  -webkit-mask: url('/studio/product/pop-cafe-mark.png') center / contain no-repeat;
  mask: url('/studio/product/pop-cafe-mark.png') center / contain no-repeat;
}
.room-line { font: 500 clamp(17px, 1.4vw, 21px)/1.3 var(--display); letter-spacing: -0.01em; opacity: .82; }
.room-hero .contact-copy { gap: clamp(12px, 2.4svh, 24px); }

/* --------------------------------------------------------------------------
   Product page (OMO ▸ Pop Cafe): plain and quick — what it is, a real render,
   where to go next. No room, no shader.
   -------------------------------------------------------------------------- */
.pp-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 6vw, 110px);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 110px)); padding-bottom: clamp(56px, 7vw, 110px);
}
.pp-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font: 500 15px/1 var(--display); color: var(--fg-mute); }
.pp-eyebrow img { width: 40px; height: 40px; border-radius: 11px; }
.pp-copy .lede { max-width: 36ch; margin-top: 22px; color: var(--fg-mute); }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.pp-primary { height: 52px; padding: 0 22px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pp-primary:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.pp-price { font: 500 14px/1.3 var(--display); color: var(--fg-mute); }
.pp-film { margin: 0; justify-self: center; width: min(100%, 380px); }
.pp-film video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: #03040a; box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .8); }
.pp-film figcaption { margin-top: 12px; font: 500 13px/1.3 var(--display); color: var(--fg-mute); }
.pp-section { padding-bottom: clamp(56px, 8vw, 120px); }
.pp-section .section-head { align-items: flex-end; }
.pp-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(12px, 1.6vw, 22px); }
.pp-work { display: block; }
.pp-work-media { display: block; overflow: hidden; border-radius: clamp(16px, 1.8vw, 24px); background: var(--bg-2); }
.pp-work-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pp-work:hover .pp-work-media img { transform: scale(1.03); }
.pp-work-meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px 0; font: 500 14px/1.2 var(--display); }
.pp-work-meta span { color: var(--fg-mute); }
.pp-links { margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 860px) {
  .pp-hero { grid-template-columns: 1fr; }
  .pp-works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .pp-work-meta { flex-direction: column; gap: 4px; font-size: 12px; }
}
