/* ---------- Origin: the sticky stage that carries world → idea → design → creation → experience ---------- */
.origin { position: relative; height: 360vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(120% 80% at 50% 120%, #0b1a33 0%, #05070b 60%); }
.earth-canvas, .horizon-essential, .lightline { position: absolute; inset: 0; width: 100%; height: 100%; }
.earth-canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.earth-canvas.ready { opacity: 1; }
[data-mode="essential"] .earth-canvas { display: none; }
[data-mode="immersive"] .horizon-essential.hidden { display: none; }
.lightline { pointer-events: none; overflow: visible; }
.lightline path { fill: none; stroke: var(--white); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(106, 174, 255, .9)) drop-shadow(0 0 18px rgba(106, 174, 255, .45)); opacity: 0; }

.hero-copy { position: absolute; left: 0; right: 0; top: clamp(96px, 16vh, 180px); display: grid; gap: 22px; z-index: 3; will-change: opacity, transform; }
.hero-copy h1 { max-width: 13ch; }
.firstlight { position: absolute; right: var(--pad); bottom: 22px; z-index: 3; max-width: 46ch; text-align: right; margin: 0; }
.firstlight b { color: var(--white); font-weight: 600; }
.firstlight button { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--silver); }
.scroll-hint { position: absolute; left: var(--pad); bottom: 22px; z-index: 3; text-decoration: none; }
.scroll-hint:hover { color: var(--white); }

.seq { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; opacity: 0; pointer-events: none; counter-reset: s; }
.seq li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; opacity: .35; transition: opacity .4s; max-width: 30ch; }
.seq li::before { counter-increment: s; content: counter(s); grid-row: span 2; font-size: 13px; font-variation-settings: "wdth" 80; color: var(--silver); border: 1px solid var(--line-strong); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; }
.seq li b { font-weight: 500; font-variation-settings: "wdth" 115; font-size: 19px; }
.seq li span { font-size: 14px; color: var(--silver); }
.seq li.on { opacity: 1; }
.seq li.on::before { border-color: var(--atmos); color: var(--white); background: var(--atmos-soft); }

.phone-stage { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.mini-phone { width: var(--pw, 260px); height: var(--ph, 540px); border-radius: var(--pr, 40px); background: linear-gradient(160deg, #1d2430, #0c0f15 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .55); padding: 10px; opacity: 0; transform: translateY(10px); }
.mini-screen { --screen-pad: clamp(8px, calc(var(--pw, 260px) * .075), 16px); width: 100%; height: 100%; border-radius: calc(var(--pr, 40px) - 9px); background: #0d1118; overflow: hidden; position: relative; padding: clamp(16px, calc(var(--pw, 260px) * .19), 46px) var(--screen-pad) var(--screen-pad); display: grid; grid-template-rows: max-content minmax(0, 1fr); gap: clamp(6px, calc(var(--pw, 260px) * .054), 12px); }
.ms-idea { font-size: clamp(10px, calc(var(--pw, 260px) * .069), 15px); line-height: 1.4; min-height: 3em; overflow-wrap: anywhere; color: var(--white); font-variation-settings: "wdth" 95; }
.ms-caret::after { content: ""; display: inline-block; width: 2px; height: 1em; vertical-align: -2px; margin-left: 2px; background: var(--atmos); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ms-ui { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-height: 0; gap: clamp(4px, calc(var(--pw, 260px) * .045), 10px); }
.ms-ui > *, .ms-hero i, .ms-grid i { transition: background .6s, border-color .6s, opacity .6s, transform .6s var(--ease); }
.ms-bar { height: clamp(5px, calc(var(--pw, 260px) * .045), 10px); border-radius: 3px; border: 1px dashed rgba(238, 243, 250, .35); opacity: 0; }
.ms-hero { display: grid; gap: clamp(3px, calc(var(--pw, 260px) * .027), 6px); opacity: 0; }
.ms-hero i { display: block; height: clamp(6px, calc(var(--pw, 260px) * .064), 14px); border-radius: 3px; border: 1px dashed rgba(238, 243, 250, .35); }
.ms-hero i:nth-child(1) { width: 80%; height: clamp(10px, calc(var(--pw, 260px) * .1), 22px); } .ms-hero i:nth-child(2) { width: 60%; } .ms-hero i:nth-child(3) { width: 40%; }
.ms-grid { display: grid; grid-template: repeat(2, minmax(0, 1fr)) / 1fr 1fr; gap: clamp(4px, calc(var(--pw, 260px) * .036), 8px); opacity: 0; }
.ms-grid i { display: block; width: 100%; aspect-ratio: 1; max-height: 100%; min-height: 0; border-radius: 8px; border: 1px dashed rgba(238, 243, 250, .35); }
.ms-btn { opacity: 0; min-height: 40px; border-radius: 999px; border: 1px dashed rgba(238, 243, 250, .35); background: transparent; font-size: clamp(10px, calc(var(--pw, 260px) * .064), 14px); font-weight: 600; }
.mini-screen.s-design .ms-bar, .mini-screen.s-design .ms-hero, .mini-screen.s-design .ms-grid, .mini-screen.s-design .ms-btn { opacity: 1; }
.mini-screen.s-create { background: linear-gradient(180deg, #f4efe7, #e9e1d4); color: #241812; }
.mini-screen.s-create .ms-idea { color: #241812; }
.mini-screen.s-create .ms-bar { border: 0; background: #241812; width: 40%; }
.mini-screen.s-create .ms-hero i { border: 0; background: #422e24; } .mini-screen.s-create .ms-hero i:nth-child(n+2) { background: #8b6c58; }
.mini-screen.s-create .ms-grid i { border: 0; background: linear-gradient(160deg, #ddcdba, #c7b39c); }
.mini-screen.s-create .ms-grid i:nth-child(2), .mini-screen.s-create .ms-grid i:nth-child(3) { background: linear-gradient(160deg, #8b6c58, #5b4334); }
.mini-screen.s-create .ms-btn { border: 0; background: #241812; color: #f5efe6; }
.mini-screen.s-live .ms-btn { pointer-events: auto; cursor: pointer; }
.mini-screen.s-live .ms-btn.done { background: #2f6b4f; }
.phone-stage.live { pointer-events: auto; }
.phone-stage.live .mini-phone { pointer-events: auto; }

@media (max-width: 760px) {
  .origin { height: 330vh; }
  .hero-copy { top: 92px; gap: 16px; }
  .firstlight { left: var(--pad); right: var(--pad); text-align: left; bottom: 64px; }
  .seq { top: auto; bottom: 18px; transform: none; grid-auto-flow: column; gap: 6px; left: var(--pad); right: var(--pad); }
  .seq li { grid-template-columns: 1fr; max-width: none; justify-items: center; text-align: center; }
  .seq li::before { grid-row: auto; margin-bottom: 4px; }
  .seq li span { display: none; }
  .seq li b { font-size: 12px; font-variation-settings: "wdth" 80; }
  .scroll-hint { bottom: 22px; }
}

/* Essential horizon */
.horizon-essential .atmo { fill: url(#atmoGrad); }

/* ---------- Work scenes ---------- */
.scene { padding-block: clamp(32px, 5vw, 72px); position: relative; overflow-x: clip; }
#work > .wrap .section-head { margin-bottom: 0; }
body.in-origin .dna-fab { display: none; }
.scene-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.scene-grid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.scene-grid--flip .phones { order: 2; }
.scene-copy { display: grid; gap: 16px; align-content: start; }
.scene-title { font-size: var(--step-3); font-weight: 300; font-variation-settings: "wdth" 118; letter-spacing: -.02em; }
.scene-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.annots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15.5px; color: #d6dde8; }
.swatches { display: inline-flex; gap: 4px; vertical-align: middle; margin: 0 6px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.annots .note { display: block; margin-top: 4px; }
.case { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case summary { cursor: pointer; padding: 14px 0; font-weight: 550; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.case summary::-webkit-details-marker { display: none; }
.case summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--silver); }
.case[open] summary::after { content: "–"; }
.case-body { padding-bottom: 16px; }
.case-body h4 { font-size: 14px; font-weight: 600; color: var(--white); margin: 14px 0 4px; }
.case-body p { color: #c9d1dc; font-size: 15.5px; margin: 0; }

.scene--elvare { background: linear-gradient(180deg, transparent, rgba(66, 46, 36, .22) 40%, transparent); }
.shots { margin: 0; display: grid; justify-items: center; }
.shots-stage { position: relative; width: 100%; display: grid; justify-items: center; padding-right: 7%; }
.monitor-screen { width: 100%; aspect-ratio: 1363 / 904; border-radius: 14px; border: 10px solid #151a22; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; position: relative; background: #1a120e; }
.monitor-screen img, .phone-inset img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s; }
.monitor-stand { width: 22%; height: 46px; background: linear-gradient(180deg, #1a2029, #0e1218); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.phone-inset { position: absolute; right: 0; bottom: 20px; width: 22%; aspect-ratio: 398 / 860; border-radius: 22px; border: 6px solid #0e1218; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); background: #1a120e; }
.shots--dark .monitor-screen, .shots--dark .phone-inset { background: #0f1115; }
.shot-switch { margin-top: 14px; }
.shots figcaption { margin-top: 12px; text-align: center; max-width: 60ch; }
.shots.swapping img { opacity: .2; }
.public-shot { margin: 6px 0 0; display: grid; gap: 8px; }
.public-shot img { width: 100%; height: auto; border-radius: 10px; border: 6px solid #151a22; background: #1a120e; }
.gallery { display: grid; gap: 12px; margin-top: 6px; max-width: 100%; overflow: hidden; }
.gallery-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; overscroll-behavior-x: contain; }
.gallery-track figure { margin: 0; flex: 0 0 150px; scroll-snap-align: start; display: grid; gap: 6px; }
.gallery-track img { width: 150px; height: 325px; object-fit: cover; object-position: top; border-radius: 16px; border: 4px solid #0e1218; background: #1a120e; }
.gallery-track figcaption { font-size: 12.5px; color: var(--silver); font-variation-settings: "wdth" 85; }

.phones { margin: 0; --h: clamp(380px, 46vw, 560px); display: grid; gap: 14px; }
.phones-stage { position: relative; height: var(--h); perspective: 1400px; }
.phones figcaption { text-align: center; }
.phone { --pw: calc(var(--h) * 0.86 * 9 / 19.5); position: absolute; top: 0; width: var(--pw); height: calc(var(--h) * 0.86); border-radius: calc(var(--pw) * 0.15); padding: calc(var(--pw) * 0.035); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .8s var(--ease); }
.phone.p1 { left: calc(50% - var(--pw) * 1.18); transform: rotateY(18deg) rotateZ(-4deg) translateY(24px); }
.phone.p2 { left: calc(50% - var(--pw) / 2); z-index: 2; transform: translateZ(60px); }
.phone.p3 { left: calc(50% + var(--pw) * 0.18); transform: rotateY(-18deg) rotateZ(4deg) translateY(24px); }
.phones:hover .p1 { transform: rotateY(10deg) rotateZ(-2deg) translateY(12px) translateX(-10px); }
.phones:hover .p3 { transform: rotateY(-10deg) rotateZ(2deg) translateY(12px) translateX(10px); }
@media (max-width: 600px) { .phones { --h: clamp(330px, 92vw, 420px); } }
.ph-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--pw) * 0.12); display: block; }
.phone { background: linear-gradient(160deg, #2a2522, #0e0c0b) !important; }
.ph-screen { height: 100%; border-radius: 27px; background: #f5efe6; color: #241812; padding: 30px 12px 0; display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 8px; font-family: "Iowan Old Style", Palatino, Georgia, serif; position: relative; overflow: hidden; }
.ph-screen b { font-weight: 400; font-size: clamp(14px, 1.7vw, 20px); }
.ph-screen i { display: block; height: 46px; border-radius: 10px; background: linear-gradient(150deg, #ddcdba, #cdb9a2); }
.ph-screen i.short { height: 26px; width: 70%; background: #e8ddd0; }
.ph-screen nav { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 4px 14px; background: #fbf7f1; border-top: 1px solid #ddcdba; font: 600 clamp(7px, .8vw, 9.5px)/1 var(--font); text-align: center; color: #8b6c58; }
.ph-screen nav .on { color: #241812; }

.scene--rotalyt { background: linear-gradient(180deg, transparent, #0d1016 30%, #0d1016 70%, transparent); }
.rot-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; margin-bottom: 28px; }
.scene--rotalyt .shots { max-width: 980px; margin: 0 auto 36px; }
.rot-head > div:first-child { display: grid; gap: 12px; max-width: 560px; }
.instruments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.instrument { background: #12161d; padding: 26px; display: grid; gap: 8px; align-content: start; }
.instrument h4 { font-size: 22px; font-weight: 450; font-variation-settings: "wdth" 110; }
.instrument p { margin: 0; color: var(--silver); font-size: 15px; }
.ins-dial { width: 64px; height: 64px; color: #c3ccd8; margin-bottom: 6px; }
.ins-link { font-weight: 550; font-size: 15px; margin-top: 6px; }
/* Dowse: an instrument rack — near-black, orange for actions, lime for live readings (taken from the app itself). */
.scene--dowse { --dowse-orange: #ff5c1f; --dowse-lime: #c6f432; background: linear-gradient(180deg, transparent, rgba(255, 92, 31, .06) 45%, transparent); }
.duo { margin: 0; display: grid; gap: 14px; justify-items: center; }
.duo-stage { display: flex; gap: clamp(14px, 3vw, 28px); justify-content: center; align-items: flex-start; width: 100%; }
.duo-phone { width: min(44%, 250px); aspect-ratio: 480 / 1068; border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #262626, #0b0b0b); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07); }
.duo-phone + .duo-phone { margin-top: 48px; }
.duo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; display: block; background: #111; }
.duo figcaption { text-align: center; max-width: 520px; }
.rack { list-style: none; counter-reset: tool; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; overflow: hidden; }
.rack li { counter-increment: tool; background: #141414; padding: 14px 14px 16px; display: grid; gap: 4px; align-content: start; }
.rack li::before { content: counter(tool, decimal-leading-zero); color: var(--dowse-orange); font-size: 12.5px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.rack b { font-weight: 600; font-size: 16px; }
.rack span { color: #b9b9b9; font-size: 14px; }
.scene--dowse .case[open] summary { color: var(--dowse-lime); }
@media (max-width: 480px) { .rack { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .scene-grid, .scene-grid--flip { grid-template-columns: 1fr; }
  .scene-grid--flip .phones { order: 0; }
  .instruments { grid-template-columns: 1fr; }
}

/* Design DNA marks */
.dna-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dna-row .note { width: 100%; }
.dna-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--line-strong); background: transparent; cursor: pointer; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.dna-chip[aria-pressed="true"] { border-style: solid; border-color: var(--atmos); background: var(--atmos-soft); }
.dna-chip svg { width: 12px; height: 12px; }
.scene--rotalyt .dna-row { margin-top: 18px; }
.dna-fab[hidden] { display: none; }
.dna-fab { position: fixed; left: 18px; bottom: 18px; z-index: 40; min-height: 46px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--atmos); background: rgba(5, 7, 11, .9); display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 550; font-size: 14px; }
.dna-fab-count { width: 30px; height: 30px; border-radius: 50%; background: var(--atmos); color: var(--obsidian); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 760px) { .dna-fab { left: auto; right: 14px; bottom: 14px; padding: 0 8px; } .dna-fab > span:last-child { display: none; } }
.dna-dialog { width: min(640px, 94vw); max-height: 88vh; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--graphite); color: var(--white); padding: 0; }
.dna-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.dna-inner { padding: 24px; display: grid; gap: 16px; }
.dna-helix { width: 100%; height: auto; }
.dna-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dna-list li { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 14px; }
.dna-list button { border: 0; background: transparent; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; color: var(--silver); }
.dna-list button:hover { background: rgba(255, 255, 255, .08); color: var(--white); }

/* ---------- Behind the product ---------- */
#behind, main { overflow-x: clip; }
.behind-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro stage" "layers stage"; gap: 20px clamp(28px, 5vw, 80px); align-items: center; }
.behind-intro { grid-area: intro; align-self: end; display: grid; gap: 20px; justify-items: start; }
.layer-list { grid-area: layers; align-self: start; list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; width: 100%; }
.layer-list li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .3s; color: var(--silver); }
.layer-list li b { font-weight: 550; color: #d6dde8; }
.layer-list li.on b { color: var(--atmos); }
.layer-list li.on { color: var(--white); }
.exploded { --layer-step: 60px; grid-area: stage; position: relative; height: clamp(420px, 46vw, 560px); perspective: 1600px; display: grid; place-items: center; }
.ex-layer { position: absolute; width: min(250px, 58vw); aspect-ratio: 9 / 18; border-radius: 32px; border: 1px solid rgba(106, 174, 255, .45); background: linear-gradient(160deg, rgba(17, 21, 28, .92), rgba(11, 26, 51, .92)); color: var(--atmos); display: grid; place-items: center; transform: rotateX(56deg) rotateZ(-34deg) translateZ(0); transition: transform .9s var(--ease), opacity .5s, border-color .3s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.ex-layer svg { width: 74%; }
.ex-layer span { position: absolute; left: 100%; top: 50%; margin-left: 18px; white-space: nowrap; font-size: 13px; color: var(--silver); opacity: 0; transition: opacity .4s; font-variation-settings: "wdth" 80; }
.ex-layer.l0 { background: linear-gradient(160deg, #1a2433, #0d1624); }
.exploded.open .ex-layer span { opacity: 1; }
.exploded.open .ex-layer { transform: rotateX(56deg) rotateZ(-34deg) translateZ(calc(var(--layer-step) * var(--layer-offset))); }
.ex-layer.l0 { --layer-offset: -2.5; }
.ex-layer.l1 { --layer-offset: -1.5; }
.ex-layer.l2 { --layer-offset: -.5; }
.ex-layer.l3 { --layer-offset: .5; }
.ex-layer.l4 { --layer-offset: 1.5; }
.ex-layer.l5 { --layer-offset: 2.5; }
.ex-layer.hl { border-color: var(--white); }
@media (max-width: 860px) {
  .behind-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "stage" "layers"; }
  .layer-list li { grid-template-columns: 1fr; gap: 2px; }
  .exploded { --layer-step: clamp(26px, 8vw, 42px); height: clamp(310px, 94vw, 412px); }
  .ex-layer { width: min(168px, 43vw); }
  .ex-layer span { display: none; }
}

/* ---------- Demos ---------- */
.demo-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.demo-tabs button { min-height: 46px; padding: 0 16px; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-weight: 550; color: var(--silver); font-size: 15.5px; }
.demo-tabs button[aria-selected="true"] { color: var(--white); border-color: var(--atmos); }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.demo[hidden] { display: none; }
.demo .panel { padding: 22px; display: grid; gap: 14px; }
.demo .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.demo .scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.demo table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.demo th, .demo td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.demo td.num, .demo th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo td .input { min-height: 38px; padding: 6px 8px; font-size: 15px; }
.shift-label { display: none; }
@media (min-width: 861px) {
  .shift-schedule { min-width: 560px; }
  .shift-schedule input[type="date"] { min-width: 140px; }
  .shift-schedule input[type="time"] { min-width: 104px; }
  .shift-schedule input[type="number"] { min-width: 70px; }
}
.demo .result { font-size: clamp(34px, 5vw, 56px); font-weight: 300; font-variation-settings: "wdth" 115; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.demo .kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 15px; }
.demo .kv span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--atmos); border-radius: 99px; }
.bar.over i { background: var(--danger); }
.icon-btn { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--silver); }
.icon-btn:hover { color: var(--white); border-color: var(--line-strong); }
.ritual-step { display: grid; gap: 10px; }
.ritual-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ritual-steps li { display: flex; gap: 10px; align-items: center; color: var(--silver); }
.ritual-steps li.done { color: var(--ok); }
.ritual-steps li.now { color: var(--white); font-weight: 550; }
.ring { width: 160px; height: 160px; }
@media (max-width: 860px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .shift-schedule, .shift-schedule tbody { display: block; }
  .shift-schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .shift-schedule tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .shift-schedule tr:first-child { border-top: 1px solid var(--line); }
  .shift-schedule td { display: grid; align-content: start; gap: 4px; padding: 0; border: 0; }
  .shift-schedule td.num { text-align: start; align-content: center; }
  .shift-schedule td:first-child, .shift-schedule td:last-child { grid-column: 1 / -1; }
  .shift-schedule td:last-child { justify-items: end; }
  .shift-schedule .shift-label { display: inline; color: var(--silver); font-size: var(--step--1); }
  .shift-schedule td .input { min-height: 44px; font-size: 16px; }
  .shift-schedule .icon-btn { width: auto; min-height: 44px; padding-inline: 12px; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.service h3 { font-size: 24px; font-weight: 400; font-variation-settings: "wdth" 112; }
.service ul { margin: 0; padding-left: 18px; color: #c9d1dc; display: grid; gap: 3px; font-size: 15.5px; }
.service .proof { font-size: 14px; color: var(--silver); }
.service .proof a { color: var(--white); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-copy { display: grid; gap: 4px; }
.about-copy h2 { margin-bottom: 8px; }
.two-worlds { margin: 0; position: relative; aspect-ratio: 1; }
.tw-svg { width: 100%; height: 100%; }
.tw-physical { color: var(--silver); }
.tw-digital { color: var(--atmos); }
.tw-label { fill: var(--silver); font: 500 11px var(--font); font-variation-settings: "wdth" 75; }
.monogram-badge { position: absolute; right: 6%; bottom: 10%; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: var(--obsidian); }
.monogram-badge img { width: 38px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .two-worlds { max-width: 420px; } }

/* ---------- Next ---------- */
.next-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.next-actions { display: grid; gap: 16px; justify-items: start; }
.contact-box { font-size: 15px; color: var(--silver); }
.contact-box a { color: var(--white); }
@media (max-width: 760px) { .next-grid { grid-template-columns: 1fr; } }
