/* OPQ home. Rooms in page order; the background journey between them lives in journey.js. */
/* the page colour comes from journey.js, which blends --bg, --fg, --mute and --line on <body> as you scroll */
body.journey { --bg: var(--white); --fg: var(--ink); --mute: rgba(11, 22, 21, .62); --line: rgba(11, 22, 21, .14); background: var(--bg); color: var(--fg); }
.home {
  --p-bg: var(--bg, var(--white)); --p-ink: var(--fg, var(--ink)); --p-mute: var(--mute); --p-line: var(--line);
  --p-acc: var(--rasp); --p-teal: var(--teal);
  color: var(--p-ink);
}
.home p.mono { font-size: 16px; line-height: 1.5; font-weight: 400; text-transform: none; word-spacing: normal; color: var(--p-mute); }
.dive-light { position: fixed; inset: 0 0 auto; height: 70vh; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(70% 90% at 50% -10%, rgba(210, 255, 248, .32), transparent 70%); }

.r-d { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .005em; }
.r-d i { font-style: normal; }

.mono { font-family: var(--mono); font-size: 12px; line-height: 1.15; font-weight: 500; text-transform: uppercase; word-spacing: .35em; }
.p-btn { background: var(--p-ink); color: var(--p-bg); padding: 18px 30px; font-size: 15px; }
.p-btn:hover { box-shadow: 0 12px 30px rgba(23, 19, 28, .22); }
.u-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 15px; }
.u-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.u-link:hover svg { transform: translateY(3px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Room 1: the opening ---------- */

@keyframes lnUp { to { transform: none; } }
@keyframes barIn { to { transform: scaleX(1); } }

/* ---------- Room 2: try it on ---------- */

.pill-k { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: var(--p-acc); color: #fff; }

/* step 1 and 2: name and kind of business, one calm row */

/* step 3: services, separated by type (Superside) */

 

 
 
.tc { position: relative; overflow: hidden; height: var(--h); border-radius: 20px; background: var(--st); transition: background-color .7s var(--ease-std); }

   

@keyframes tcIn { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

.care { overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 600; white-space: nowrap; }

@media (max-width: 899px) {
  
  
  
  
  
  
  
  
  
  
  .care .long { display: none; }
  
  
}
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none !important; }
}

/* ---------- Devices ---------- */

@keyframes vpRoll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-1 * var(--dist, 0px))); } }

/* ---------- Concept site (rendered at 1280 or 390 wide, then scaled) ---------- */

@keyframes csMq { to { transform: translateX(-50%); } }

/* restaurant */

@keyframes spin { to { transform: rotate(360deg); } }
/* salon */

/* school */

/* church */

/* clinic */

/* shop */

@container (max-width: 600px) {
  .cs { font-size: 15px; }
  .cs-nav { gap: 12px; padding: 18px 20px; }
  .cs-links, .cs-nav .cs-btn { display: none; }
  .cs-logo { font-size: 22px; max-width: 280px; }
  .cs-burger { display: grid; gap: 5px; margin-left: auto; }
  .cs-burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
  .cs-hero { grid-template-columns: 1fr; gap: 30px; padding: 8px 20px 52px; }
  .cs-hero h1, .cs-school .cs-hero h1, .cs-clinic .cs-hero h1 { margin-top: 18px; font-size: 50px; }
  .cs-hero p { font-size: 16px; }
  .cs-act { flex-direction: column; }
  .cs-act .cs-btn { width: 100%; }
  .cs-stamp { left: auto; right: 14px; bottom: -26px; width: 104px; height: 104px; }
  .cs-stamp b { font-size: 26px; }
  .cs-stamp text { font-size: 9px; }
  .cs-mq { padding: 12px 0; font-size: 18px; }
  .cs-sec { padding: 60px 20px; }
  .cs-sec > h2, .cs-about h2 { font-size: 36px; }
  .cs-items { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .cs-item h3 { font-size: 17px; }
  .cs-ic { min-height: 170px; padding: 20px; }
  .cs-ic h3 { font-size: 19px; }
  .cs-list div { font-size: 21px; padding: 16px 0; }
  .cs-list b { font-size: 15px; }
  .cs-about { grid-template-columns: 1fr; gap: 26px; }
  .cs-band { flex-direction: column; align-items: flex-start; margin: 0 20px 36px; padding: 34px 26px; border-radius: 26px; }
  .cs-band h2 { font-size: 38px; }
  .cs-foot { flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 20px 36px; }
  .cs-ed { padding: 6px 20px 56px; }
  .cs-ed .row { grid-template-columns: 1fr; gap: 26px; }
  .cs-ed .side, .cs-ed .side.r { text-align: center; }
  .cs-ed h1 { font-size: 40px; }
  .cs-full { height: 640px; margin: 0 12px; padding: 30px 22px; border-radius: 26px; }
  .cs-full h1 { font-size: 60px; }
  .cs-full p { font-size: 16px; }
  .cs-times { flex-direction: column; border-radius: 18px; }
  .cs-times span + span { border-left: 0; border-top: 1px solid rgba(245, 240, 229, .35); }
  .cs-appt { left: 12px; bottom: -30px; width: 230px; }
  .cs-trust { flex-wrap: wrap; gap: 10px 16px; font-size: 13px; }
  .cs-chip { display: none; }
  .cs-poster { padding: 0 16px 48px; }
  .cs-poster .row { grid-template-columns: 1fr; gap: 22px; }
  .cs-poster h1 { font-size: 52px; }
}

/* "Before": a tired old site, for Website rescue */
.old { min-height: 1400px; padding: 10px; background: #c8c8c8; color: #000; font-family: "Times New Roman", Times, serif; font-size: 16px; line-height: 1.3; }

.old h1 { color: #cc0000; font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: 46px; font-weight: 700; text-shadow: 2px 2px #ffcc00; }

.old p { margin: 0 0 12px; max-width: 760px; font-size: 18px; }

/* ---------- Service mocks on the board ---------- */
/* promo video */

 
 
@keyframes vb1 { 0% { width: 0; } 25%, 100% { width: 100%; } }
@keyframes vb2 { 0%, 25% { width: 0; } 50%, 100% { width: 100%; } }
@keyframes vb3 { 0%, 50% { width: 0; } 75%, 100% { width: 100%; } }
@keyframes vb4 { 0%, 75% { width: 0; } 100% { width: 100%; } }

   
@keyframes vs1 { 0%, 22% { opacity: 1; } 26%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes vs2 { 0%, 22% { opacity: 0; } 26%, 47% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes vs3 { 0%, 47% { opacity: 0; } 51%, 72% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes vs4 { 0%, 72% { opacity: 0; } 76%, 96% { opacity: 1; } 100% { opacity: 0; } }

@keyframes vz { 0% { transform: scale(1.18); } 26% { transform: scale(1.02); } 50% { transform: scale(1.2); } 76%, 100% { transform: scale(1.04); } }

@keyframes vw { 0%, 25% { transform: translateY(110%); } 31%, 48% { transform: none; } 53%, 100% { transform: translateY(-110%); } }

/* flyer */
.fly { display: flex; flex-direction: column; width: 300px; height: 424px; padding: 22px; border-radius: 6px; background: var(--t-acc); color: var(--t-on); font-family: var(--t-fb); transform: rotate(-3deg); box-shadow: 0 34px 50px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12); }

/* social post */

/* chat assistant */
.chat { display: flex; flex-direction: column; width: 300px; height: 420px; overflow: hidden; border-radius: 22px; background: #fff; color: #17131c; font-family: var(--t-fb); box-shadow: 0 26px 50px rgba(0, 0, 0, .14); }

.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.35; opacity: 0; animation: msgIn 9s infinite; animation-delay: calc(var(--k) * 1.15s); }
.msg.b { align-self: flex-start; border-bottom-left-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.msg.u { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--t-acc); color: var(--t-on); }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(8px); } 5%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* WhatsApp Business */
.wa { display: flex; flex-direction: column; width: 290px; height: 440px; overflow: hidden; border-radius: 26px; background: #efeae2; color: #111b21; font-family: "Inter Tight", sans-serif; box-shadow: 0 26px 50px rgba(0, 0, 0, .16); }

/* company profile and deck */
.deck { position: relative; width: 520px; height: 330px; font-family: var(--t-fb); }
.sl { position: absolute; width: 440px; height: 248px; overflow: hidden; border-radius: 8px; background: var(--t-bg); color: var(--t-ink); }
.sl.back { right: 0; top: 0; padding: 26px 28px; transform: rotate(4deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.sl.front { left: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.05fr; box-shadow: 0 34px 60px rgba(0, 0, 0, .38); }

.sl.back ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; }
.sl.back li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--t-ink) 15%, transparent); font-family: var(--t-fd); font-size: 19px; font-weight: var(--t-fw); counter-increment: s; }
.sl.back li::before { content: "0" counter(s); font-family: var(--t-fb); font-size: 11px; font-weight: 700; color: var(--t-acc); }

/* Google Business Profile */

/* automation */
.auto { position: relative; width: 960px; height: 300px; padding: 26px 30px; color: #f4f1ec; font-family: "Inter Tight", sans-serif; }

@keyframes auDot { 0% { left: 0; } 30% { left: 33.33%; } 33% { left: 33.33%; } 63% { left: 66.66%; } 66% { left: 66.66%; } 96%, 100% { left: 100%; } }

@keyframes auOn { 0%, 14% { background: var(--t-acc); color: var(--t-on); box-shadow: 0 10px 30px color-mix(in srgb, var(--t-acc) 45%, transparent); } 30%, 100% { background: rgba(244, 241, 236, .07); color: #f4f1ec; box-shadow: inset 0 0 0 1px rgba(244, 241, 236, .14); } }

/* web app */
.app { width: 460px; height: 330px; overflow: hidden; border-radius: 16px; background: #fff; color: #17131c; font-family: var(--t-fb); box-shadow: 0 26px 50px rgba(0, 0, 0, .14); }

.dots { display: flex; gap: 8px; margin-top: 8px; }
.dots i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #ccc; }

/* ---------- Room 1: the services, said out loud ---------- */

/* ---------- Room 2: the "Everything" tab ---------- */

/* ---------- Room 3: four service groups, equal bands that stack ---------- */
.r3 { padding: 40px 48px 180px; }
.r3-head { margin-bottom: 88px; }
.r3-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.r3-h .ln > span { display: block; }
.r3-head .mono { max-width: 330px; margin-top: 30px; color: var(--p-mute); }
.r3-band { position: sticky; top: calc(24px + var(--i) * 16px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; min-height: min(560px, calc(100svh - 80px)); margin-top: 24px; padding: 56px 64px; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 -18px 60px rgba(0, 70, 64, .18); }
.r3-l { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.r3-n { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: rgba(11, 22, 21, .55); }
.r3-l h3 { margin-top: 22px; }
.r3-l h3 .pill { font-size: clamp(34px, 3.8vw, 60px); padding: .16em .42em .2em; }
.r3-l p { max-width: 440px; margin-top: 30px; font-size: 18px; line-height: 1.5; opacity: .85; }
.r3-btn { margin-top: auto; }
.r3-list { grid-column: 8 / span 5; align-self: end; border-top: 1px solid rgba(11, 22, 21, .14); }
.r3-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(11, 22, 21, .14); }
.r3-list b { display: block; font-size: 20px; font-weight: 500; }
.r3-list small { display: block; margin-top: 2px; font-size: 14px; opacity: .7; }
.r3-list svg { flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.r3-list a:hover svg { transform: translate(3px, -3px); }
@media (max-width: 899px) {
  .r3 { padding: 24px 16px 110px; }
  .r3-head { margin-bottom: 48px; }
  .r3-band { position: relative; top: auto; display: block; min-height: 0; padding: 36px 24px; border-radius: 22px; }
  .r3-l p { margin-top: 20px; font-size: 16px; }
  .r3-btn { margin-top: 28px; }
  .r3-list { margin-top: 36px; }
}
.r3-h .ln { display: block; }

/* ---------- Room 4: how it works (Superside process: 56px numbers, 1.5px line that fills, 88px between steps) ---------- */
.r4 { padding: 120px 48px 180px; }
.r4-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: end; }
.r4-head > div { grid-column: 1 / span 8; }
.r4-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.r4-h .ln { display: block; }
.r4-h .ln > span { display: block; }
.r4-note { grid-column: 9 / span 4; max-width: 330px; color: var(--p-mute); }
.r4-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; margin-top: 110px; }
.r4-side { grid-column: 1 / span 5; position: sticky; top: 48px; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.r4-stage { position: relative; width: 100%; height: clamp(360px, 32vw, 460px); overflow: hidden; border-radius: 24px; background: #e8e2d8; }
.r4-v { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease-std), transform .8s var(--ease-out); }
.r4-v.on { opacity: 1; transform: none; }
.r4-steps { grid-column: 7 / span 6; position: relative; }
.r4-steps ol { margin: 0; padding: 0; list-style: none; }
.r4-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1.5px; background: var(--p-line); }
.r4-line i { display: block; width: 100%; height: 0; background: var(--p-ink); }
.r4-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 32px; padding-bottom: 88px; opacity: .42; transition: opacity .5s var(--ease-std); }
.r4-step:last-child { padding-bottom: 0; }
.r4-step.on { opacity: 1; }
.r4-step .n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border: 1.5px solid var(--p-line); border-radius: 50%; background: var(--p-bg); font-family: var(--serif); font-size: 26px; transition: border-color .4s, background-color .4s, color .4s; }
.r4-step.on .n { border-color: var(--p-ink); }
.r4-step.now .n { background: var(--p-ink); color: var(--p-bg); }
.r4-step .when { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--p-mute); }
.r4-step .when::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--p-acc); }
.r4-step h3 { margin-top: 10px; font-size: 26px; line-height: 1.15; }
.r4-step p { max-width: 460px; margin-top: 10px; font-size: 18px; line-height: 26px; color: var(--p-mute); }
.r4-mv { display: none; }

/* the five pictures */
.v-chat, .v-pick, .v-build, .v-live, .v-care { width: min(100%, 380px); border-radius: 20px; background: #fff; box-shadow: 0 24px 50px rgba(23, 19, 28, .1); font-size: 14px; }
.v-chat { overflow: hidden; }
.v-chat-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.v-chat-h b { display: block; font-size: 15px; }
.v-chat-h small { font-size: 11px; opacity: .8; }
.v-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--p-acc); color: #fff; font-family: var(--serif); font-size: 18px; }
.v-chat-b { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 18px; background: #efeae2; }
.v-chat-b p { max-width: 84%; padding: 10px 12px; border-radius: 14px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.v-chat-b .u { align-self: flex-end; border-bottom-right-radius: 4px; background: #d9fdd3; }
.v-chat-b .o { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; }
.v-chat-b .voice { display: flex; align-items: center; gap: 10px; width: 230px; }
.v-chat-b .voice i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #00a884; color: #fff; }
.v-chat-b .voice i svg { width: 16px; height: 16px; }
.v-chat-b .wave { display: flex; align-items: center; gap: 2px; flex: 1; }
.v-chat-b .wave b { width: 3px; height: var(--h); border-radius: 2px; background: #6b8f71; }
.v-chat-b .voice small { font-size: 11px; color: #667781; }
.v-pick { padding: 22px; }
.v-pick > .mono { color: var(--p-mute); }
.v-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.v-opts div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border: 1px solid var(--p-line); border-radius: 14px; font-size: 13px; font-weight: 600; text-align: center; }
.v-opts .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mist); }
.v-opts .ic svg { width: 22px; height: 22px; }
.v-opts .on { border-color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-ink); }
.v-opts .on .ic { background: var(--p-ink); color: #fff; }
.v-opts .on > i { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--p-acc); color: #fff; }
.v-opts .on > i svg { width: 13px; height: 13px; stroke-width: 2.4; }
.v-pick p { margin-top: 16px; color: var(--p-mute); line-height: 1.4; }
.v-pick p b { color: var(--p-ink); font-weight: 600; }
.v-build { padding: 22px; }
.v-bh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v-bh b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.v-bh .mono { flex: none; padding: 4px 8px; border-radius: 999px; background: #fff3cd; color: #8a6100; font-size: 10px; }
.v-build ul { margin-top: 14px; }
.v-build li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--p-line); }
.v-build li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--teal); color: var(--ink); stroke-width: 2.6; }
.v-build li.now i { width: 18px; height: 18px; border: 2px solid var(--p-line); border-top-color: var(--p-ink); border-radius: 50%; animation: spin 1s linear infinite; }
.v-build li.now { font-weight: 600; }
.v-bar { height: 6px; margin-top: 16px; overflow: hidden; border-radius: 6px; background: #f2efe9; }
.v-bar i { display: block; width: 75%; height: 100%; border-radius: 6px; background: var(--p-ink); }
.v-build > .mono { display: block; margin-top: 8px; color: var(--p-mute); font-size: 10px; }
.v-live { overflow: hidden; }
.v-url { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f2efe9; font-size: 12.5px; color: var(--p-mute); }
.v-url .dots { display: flex; gap: 5px; }
.v-url .dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8d2c8; }
.v-url > span:last-child { flex: 1; padding: 4px 10px; overflow: hidden; border-radius: 6px; background: #fff; white-space: nowrap; text-overflow: ellipsis; }
.v-big { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 34px 0 26px; font-family: var(--serif); font-size: 64px; line-height: 1; }
.v-big .live-dot { width: 14px; height: 14px; }
.v-done { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 22px; }
.v-done span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f6f4ef; font-weight: 500; }
.v-done svg { width: 18px; height: 18px; color: #16a34a; stroke-width: 2.4; }
.v-care { padding: 22px; }
.v-ch { display: flex; justify-content: space-between; align-items: center; }
.v-ch b { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.v-ch .mono { color: var(--p-mute); font-size: 10px; }
.v-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 14px; text-align: center; font-size: 12px; }
.v-cal em { padding-bottom: 4px; font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--p-mute); }
.v-cal span { position: relative; display: grid; place-items: center; aspect-ratio: 1.45; border-radius: 7px; background: var(--mist); }
.v-cal span:empty { background: transparent; }
.v-cal span.e { background: var(--teal); } .v-cal span.b { background: rgba(0, 137, 126, .22); } .v-cal span.p { background: rgba(242, 25, 94, .22); }
.v-leg { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--p-mute); }
.v-leg span { display: inline-flex; align-items: center; gap: 6px; }
.v-leg i { width: 10px; height: 10px; border-radius: 3px; }
.v-leg .e { background: var(--teal); } .v-leg .b { background: rgba(0, 137, 126, .22); } .v-leg .p { background: rgba(242, 25, 94, .22); }

@media (max-width: 899px) {
  .r4 { padding: 96px 16px 120px; }
  .r4-head > div, .r4-note { grid-column: 1 / -1; }
  .r4-body { display: block; margin-top: 64px; }
  .r4-side { position: static; margin-bottom: 0; }
  .r4-stage { display: none; }
  .r4-side .btn { display: none; }
  .r4-step { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 64px; opacity: 1; }
  .r4-step .n { width: 44px; height: 44px; font-size: 21px; }
  .r4-line { left: 21px; top: 22px; bottom: 22px; }
  .r4-step h3 { font-size: 22px; }
  .r4-step p { font-size: 16px; line-height: 24px; }
  .r4-mv { display: grid; place-items: center; margin-top: 22px; padding: 22px 12px; border-radius: 20px; background: var(--mist); }
  .r4-mv > * { width: 100%; max-width: 100%; min-width: 0; }
}

/* ---------- Room 5: LucidMindora on Active Theory's spiral (their dark stage, grain, tech mono and purple list) ---------- */
.r5 { padding: 120px 0 170px; }
.r5-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: end; padding: 0 48px; }
.r5-head > div { grid-column: 1 / span 8; }
.r5-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.r5-h .ln, .r5-h .ln > span { display: block; }
.r5-note { grid-column: 9 / span 4; max-width: 330px; color: var(--p-mute); }
.r5-scroll { position: relative; height: calc(var(--n) * 75vh + 100vh); margin-top: 80px; }
.r5-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #f4f4f4; }
.r5-gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.r5-stage .helix-grain { z-index: 1; }
.r5-tl { position: absolute; z-index: 2; top: 34px; left: 58px; display: flex; gap: 22px; font-family: var(--tech); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.r5-count { opacity: .6; }
.r5-pill { position: absolute; z-index: 2; top: 24px; right: 40px; display: flex; align-items: center; gap: 20px; padding: 13px 30px; border: 1px solid rgba(170, 214, 220, .32); border-radius: 999px; background: rgba(8, 14, 20, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 14px 40px rgba(60, 200, 190, .12); font-family: var(--tech); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.r5-pill i { width: 50px; height: 1px; background: rgba(244, 244, 244, .5); }
.r5-pill a, .r5-pill button { color: #f4f4f4; font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; transition: color .25s; }
.r5-pill a:hover, .r5-pill button:hover { color: var(--teal); }
.r5-ui { bottom: 52px; }
.r5-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 96px; padding: 0 48px; }
.r5-facts div { padding-top: 22px; border-top: 1px solid var(--line); }
.r5-facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 5vw, 80px); line-height: .9; color: var(--conn, var(--rasp)); transition: color .4s; }
.r5-facts span { display: block; max-width: 300px; margin-top: 12px; font-size: 16px; color: var(--p-mute); }
.r5.no3d .r5-scroll { height: auto; }
.r5.no3d .r5-stage { position: relative; top: auto; height: 70vh; }
@media (max-width: 899px) {
  .r5 { padding: 96px 0 110px; }
  .r5-head { padding: 0 16px; }
  .r5-head > div, .r5-note { grid-column: 1 / -1; }
  .r5-scroll { height: calc(var(--n) * 65vh + 100vh); margin-top: 56px; }
  .r5-tl { top: 18px; left: 16px; font-size: 11px; }
  .r5-tl span:first-child { display: none; }
  .r5-pill { top: 12px; right: 12px; gap: 12px; padding: 10px 18px; font-size: 11px; }
  .r5-pill i { width: 24px; }
  .r5-ui { display: none; }
  .r5-facts { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; padding: 0 16px; }
}

/* ---------- Room 6: the person (Emotion's profile: 24px serif name, 12px mono tag, 14px bio, 324 by 468 portrait) ---------- */
.r6 { padding: 140px 48px 180px; }
.r6-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: end; }
.r6-head > div { grid-column: 1 / span 8; }
.r6-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.r6-h .ln, .r6-h .ln > span { display: block; }
.r6-note { grid-column: 9 / span 4; max-width: 330px; color: var(--p-mute); }
.r6-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 64px; align-items: end; margin-top: 110px; }
.r6-profile { grid-column: 4 / span 3; }
.r6-profile .nm { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.r6-profile h3 { font-family: var(--serif); font-size: 24px; line-height: .8; }
.r6-profile .tag { font-family: var(--mono); font-size: 12px; color: var(--p-acc); text-transform: uppercase; }
.r6-profile .bio { max-width: 324px; margin-top: 24px; font-size: 14px; line-height: 1.15; font-weight: 500; }
.r6-pic { width: 100%; max-width: 324px; aspect-ratio: 324 / 468; margin-top: 20px; overflow: hidden; border-radius: 24px; background: #ddd8cf; }
.r6-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.r6-pic:hover img { transform: scale(1.04); }
.r6-profile .lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.r6-profile .lnk svg { width: 12px; height: 12px; }
.r6-fill { grid-column: 8 / span 4; }
.r6-wide { margin: 140px 0 0; }
.r6-wide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%; border-radius: 24px; transform-origin: 50% 100%; will-change: transform; }
.r6-wide figcaption { margin-top: 16px; color: var(--p-mute); }
@media (max-width: 899px) {
  .r6 { padding: 96px 16px 120px; }
  .r6-head > div, .r6-note { grid-column: 1 / -1; }
  .r6-grid { margin-top: 64px; row-gap: 56px; }
  .r6-profile, .r6-fill { grid-column: 1 / -1; }
  .r6-wide { margin-top: 88px; }
  .r6-wide img { aspect-ratio: 4 / 5; object-position: 40% 50%; }
}

/* ---------- Room 7: FAQ (Emotion: 1px rules, 10px mono number, 24px serif question, 14px answer) ---------- */
.r7 { padding: 140px 48px 180px; }
.r7-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: end; }
.r7-head > div:first-child { grid-column: 1 / span 8; }
.r7-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.r7-h .ln, .r7-h .ln > span { display: block; }
.r7-note { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.r7-note .mono { max-width: 330px; color: var(--p-mute); }
.r7-list { margin-top: 110px; }
.r7-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 12px; padding: 24px 0 32px; min-height: 112px; border-top: 1px solid var(--p-line); }
.r7-row:last-child { border-bottom: 1px solid var(--p-line); }
.r7-row small { grid-column: 1 / span 3; font-size: 12px; font-weight: 500; line-height: 1.15; transition: color .3s var(--ease-std); }
.r7-row h3 { grid-column: 4 / span 4; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.r7-row p { grid-column: 8 / span 4; font-size: 15px; line-height: 1.55; color: var(--p-mute); }
.r7-row:hover small { color: var(--p-acc); }
.r7-row.pre { opacity: 0; transform: translateY(18px); }
.r7-row { transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
@media (max-width: 899px) {
  .r7 { padding: 96px 16px 120px; }
  .r7-head > div:first-child, .r7-note { grid-column: 1 / -1; }
  .r7-list { margin-top: 64px; }
  .r7-row small, .r7-row h3, .r7-row p { grid-column: 1 / -1; }
  .r7-row h3 { font-size: 26px; }
  .r7-row p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .r7-row.pre { opacity: 1; transform: none; } }

/* ---------- Room 1: "Whatever you do" (each line: a kind of work, then what we make for it) ---------- */

/* ---------- Room 2: colour, logo and the Before switch ---------- */

/* ---------- a logo, wherever a mark goes (initials when there is none) ---------- */

/* ---------- NGO and company concept sites ---------- */

@container (max-width: 600px) {
  .cs-ngo .cs-hero h1 { font-size: 48px; }
  .cs-cause .cs-pic { margin-bottom: 64px; }
  .cs-goal { left: 12px; right: 12px; bottom: -56px; width: auto; padding: 16px 18px; }
  .cs-goal b { font-size: 24px; }
  .cs-corp { padding: 8px 20px 52px; }
  .cs-corp h1 { font-size: 44px; }
  .cs-corp .row { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .cs-stats { gap: 10px; }
  .cs-stats b { font-size: 26px; }
  .cs-stats span { font-size: 11px; }
}

/* ---------- web app extras: a donation with a goal, a consultation ---------- */

/* ---------- impact and annual report: an open spread ---------- */

/* ---------- motion graphics: the editor ---------- */

 

  
  

/* the frame: one composition that re-flows for 16:9, 1:1 and 9:16 (container units throughout) */

@keyframes moGrain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* 1:1 */

/* 9:16 */

/* ---------- "Before": what most people have now ---------- */

   

/* small screens: colour and logo stack under name and kind; the headline's longest line fits; the ring sits above the words */

/* ---------- The NGO room: two doors into the NGO page ---------- */
.rn { padding: 60px 48px 170px; }
.rn-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: end; }
.rn-head > div { grid-column: 1 / span 8; }
.rn-h { margin-top: 26px; font-size: clamp(46px, 6.4vw, 108px); }
.rn-h .ln, .rn-h .ln > span { display: block; }
.rn-note { grid-column: 9 / span 4; max-width: 330px; color: var(--p-mute); }
.rn-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; }
.rn-door { display: flex; flex-direction: column; min-height: 360px; padding: 36px; border-radius: 26px; background: var(--mist); transition: transform .6s var(--ease-out), background-color .4s var(--ease-std); }
.rn-door:hover { transform: translateY(-4px); background: #e3d8c4; }
.rn-door:hover { background: #e6efed; }
.rn-door .mono { color: var(--p-mute); }
.rn-door h3 { margin-top: 64px; font-family: var(--serif); font-size: clamp(34px, 3.3vw, 52px); font-weight: 400; line-height: .98; }
.rn-door p { max-width: 460px; margin-top: 18px; font-size: 17px; line-height: 1.45; color: var(--p-mute); }
.rn-door .u-link { align-self: flex-start; margin-top: auto; padding-top: 26px; }
.rn-all { margin-top: 44px; }
@media (max-width: 899px) {
  .rn { padding: 40px 16px 110px; }
  .rn-head > div, .rn-note { grid-column: 1 / -1; }
  .rn-doors { grid-template-columns: 1fr; margin-top: 56px; }
  .rn-door { min-height: 300px; padding: 26px; }
}

/* ---------- The Arcade teaser: one cabinet in the arcade's own colours ---------- */

@keyframes raBulb { 50% { background: #ff7a2f; } }
 

/* ---------- Room 1: the opening, on the living ocean ---------- */
.r1 { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: max(100svh, 600px); padding-top: var(--header-h); background: #0b4f4a; color: var(--white); --conn: var(--rasp-hi); }
.sea, .sea-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea { z-index: -2; object-fit: cover; max-width: none; }
.sea::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.sea::-webkit-media-controls { display: none !important; }
.sea-scrim { z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(2, 38, 36, .66) 0%, rgba(2, 38, 36, .38) 46%, rgba(2, 38, 36, .06) 100%),
  linear-gradient(180deg, rgba(2, 38, 36, .42) 0%, transparent 24%, transparent 70%, rgba(2, 38, 36, .5) 100%); }
.r1-in { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 40px; padding-block: 28px; }
.r1-h { font-size: clamp(46px, min(6.3vw, 12vh), 100px); line-height: .94; text-shadow: 0 2px 34px rgba(2, 38, 36, .35); }
.r1-h .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.r1-h .ln > span { display: block; white-space: nowrap; transform: translateY(105%); animation: lnUp 1.1s var(--ease-out) forwards; animation-delay: calc(.2s + var(--i) * .09s); }
@keyframes lnUp { to { transform: none; } }
.r1-rot { position: relative; height: 1.5em; margin-top: 26px; overflow: hidden; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, .92); opacity: 0; animation: fadeUp .9s var(--ease-out) .9s forwards; }
.r1-rot span { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s var(--ease-std); }
.r1-rot span.on { transform: none; opacity: 1; }
.r1-rot span.out { transform: translateY(-110%); opacity: 0; }
.r1-rot i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rasp-hi); box-shadow: 0 0 12px rgba(255, 46, 110, .8); }
.r1-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; opacity: 0; animation: fadeUp .9s var(--ease-out) 1.05s forwards; }
.r1-btn { padding: 18px 30px; font-size: 15px; box-shadow: 0 10px 40px rgba(0, 184, 169, .4); }
.r1 .u-link { color: var(--white); border-color: rgba(255, 255, 255, .6); font-weight: 500; }
.seal-stage.hero { position: relative; justify-self: center; width: min(28vw, 50vh, 400px); aspect-ratio: 1; }
.r1-bar { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px 0 24px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 15px; font-weight: 500; }
.r1-bar a { display: flex; align-items: baseline; gap: 10px; color: rgba(255, 255, 255, .88); opacity: 0; animation: fadeUp .8s var(--ease-out) forwards; animation-delay: calc(1.1s + var(--i) * .07s); transition: color .2s; }
.r1-bar a:hover { color: var(--white); }
.r1-bar small { font-size: 11px; letter-spacing: .08em; opacity: .6; }
@media (max-width: 760px) {
  .r1 { min-height: max(100svh, 640px); }
  .sea-scrim { background: linear-gradient(180deg, rgba(2, 38, 36, .45) 0%, rgba(2, 38, 36, .28) 40%, rgba(2, 38, 36, .62) 100%); }
  .r1-in { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-block: 8px 20px; }
  .seal-stage.hero { order: -1; width: min(52vw, 30vh); }
  .r1-h { font-size: clamp(38px, 11.4vw, 54px); }
  .r1-rot { height: 3em; margin-top: 18px; font-size: 16px; }
  .r1-rot span { white-space: normal; align-items: flex-start; }
  .r1-rot i { margin-top: .55em; }
  .r1-cta { margin-top: 26px; gap: 16px 22px; }
  .r1-bar { grid-template-columns: 1fr 1fr; row-gap: 10px; font-size: 14px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .r1-h .ln > span { transform: none; animation: none; }
  .r1-rot, .r1-cta, .r1-bar a { opacity: 1; animation: none; }
}

/* ---------- The 3D 愛 (assets/seal3d.js) ---------- */
.seal-stage.hero:not(.is-in) { opacity: 0; }
.seal-press { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; clip-path: inset(50%); }
.seal-press:focus-visible { clip-path: none; outline: 2px solid var(--rasp); outline-offset: 3px; }
.seal-glint { position: absolute; z-index: 61; pointer-events: none; border-radius: 4px; animation: glint 1.5s var(--ease-out) forwards; }
@keyframes glint { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 110, 0); } 30% { box-shadow: 0 0 22px 8px rgba(255, 46, 110, .85); } 100% { box-shadow: 0 0 40px 18px rgba(255, 46, 110, 0); } }
.seal-stage.hero.is-live canvas { filter: drop-shadow(0 0 26px rgba(255, 46, 110, .5)) drop-shadow(0 26px 34px rgba(2, 30, 30, .5)); }
@media (max-width: 760px) { .seal-stage.hero.is-live canvas { filter: drop-shadow(0 0 18px rgba(255, 46, 110, .45)); } }

/* the print "press the seal" leaves on the page (assets/press.js) */
.seal-print { position: absolute; z-index: 2; translate: -50% -50%; pointer-events: none; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 0 14px rgba(255, 46, 110, .55));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.7 1.65'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E") center / 80px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.7 1.65'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E") center / 80px;
  animation: stampIn .32s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(var(--r, 0deg)) scale(1.7); } 60% { opacity: 1; } to { transform: rotate(var(--r, 0deg)) scale(1); } }
.helix-ui li button { display: inline-flex; align-items: center; gap: 10px; } .helix-ui li button i { width: 14px; height: 1.5px; background: currentColor; opacity: .6; transition: width .3s var(--ease-out); } .helix-ui li button.on i, .helix-ui li button:hover i { width: 24px; opacity: 1; }
