/*
 * nujai-creative.com — page sections
 * The reusable pieces (nav, buttons, labels, section head, steps, cards, tags, tabs, the blue
 * card, the case list, footer) come from the design system: styles.css → components.css.
 * This file only holds what is specific to the pages.
 * Home: v2026-12 (direction D, 2026-11-24). Alpha OS, contact: built on v2026-11, they still
 *   carry their own v2026-11 sections and a few compatibility rules (end of the home part).
 * Reduced motion: base.css stops every animation and transition; the demo script shows each
 * tab's end state.
 */

/* ── Home · a grey band that spans the window while its content stays in the column ── */
.grey-band { background: var(--wash); box-shadow: 0 0 0 100vmax var(--wash); clip-path: inset(0 -100vmax); }

/* ── Home · the dot field behind the hero (.top, with its wave): it fades out downwards across
      the top of section 01, which is white for that reason, and stays faint behind the nav.
      Two masks, kept where both are opaque: the oval of .top and a vertical fade. ── */
body[data-page="home"] .top { height: 924px;
  -webkit-mask-image: radial-gradient(ellipse 66% 85% at 50% 36%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%), linear-gradient(to bottom, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 70px, #000 190px, #000 484px, transparent 884px);
          mask-image: radial-gradient(ellipse 66% 85% at 50% 36%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%), linear-gradient(to bottom, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 70px, #000 190px, #000 484px, transparent 884px);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 900px) {
  body[data-page="home"] .top { height: 760px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%), linear-gradient(to bottom, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 90px, #000 200px, #000 400px, transparent 720px);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%), linear-gradient(to bottom, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 90px, #000 200px, #000 400px, transparent 720px); }
}

/* the hero without buttons: section 01 comes up closer */
.hero-home { padding-bottom: 8px; }
.hero-home .hero-sub { margin-bottom: 0; }

/* ── Home · 01 how it works: .head comes from the design system, the diagram is below. An exception to the
      grey bands: its grey rises from transparent at the top to the full grey at the bottom.
      The gradient is painted as a border image pushed out to the window's edges (ink only, so
      no sideways scroll), the column keeps its width. ── */
.grey-rise { border-image: linear-gradient(to bottom, rgba(246,246,244,0) 0%, var(--wash) 70%) fill 0 / 0 / 0 100vmax; }

/* The diagram: three columns, a label over each, work flowing left to right (v2026-11 drawing,
   v2026-12 look: Open Sans labels with an ink number, white boxes with hairlines at 4px, the
   core as the gradient card, results as white boxes with a blue arrow). */
.diagram { margin: 8px 0 0; }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram .lg-n { font: 600 11.5px var(--font-label); letter-spacing: var(--tracking-label); fill: var(--ink); }
.diagram .lg-t { font: var(--weight-label) 11.5px var(--font-label); letter-spacing: var(--tracking-label); fill: var(--muted); text-transform: uppercase; }
.diagram .box { fill: #fff; stroke: var(--line); }
.diagram .t1 { font: 500 18px var(--font-heading); letter-spacing: -.01em; fill: var(--ink); }
.diagram .t2 { font: 400 13.5px var(--font-body); fill: var(--muted); }
.diagram .wire { fill: none; stroke: var(--blue-line); stroke-width: 1.2; }
.diagram .flow { fill: none; stroke: var(--blue-deep); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 9 200; stroke-dashoffset: 9; animation: flow 2.6s linear infinite; }
.diagram .flow.out { animation-delay: 1.3s; }
.diagram .flow.d1 { animation-delay: .35s; } .diagram .flow.d2 { animation-delay: .7s; }
.diagram .flow.out.d1 { animation-delay: 1.65s; } .diagram .flow.out.d2 { animation-delay: 2s; }
@keyframes flow { to { stroke-dashoffset: -100; } }
.diagram .head-arrow { fill: none; stroke: var(--blue-deep); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.diagram .core-t { font: 500 20px var(--font-heading); letter-spacing: -.01em; fill: #fff; }
.diagram .row { fill: rgba(255,255,255,.12); }
.diagram .row-t { font: 500 14.5px var(--font-heading); fill: #fff; }
.diagram .row-s { font: 400 12.5px var(--font-body); fill: rgba(255,255,255,.78); }
.diagram .live { fill: #fff; animation: live 1.8s var(--ease) infinite; }
@keyframes live { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.diagram .pill { fill: #fff; stroke: var(--line); }
.diagram .out-arrow { fill: none; stroke: var(--blue-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diagram .out-t { font: 400 14.5px var(--font-heading); fill: var(--ink); }

/* phone version: the same idea, top to bottom */
.diagram-m { display: none; max-width: 360px; margin: 0 auto; text-align: left; }
.diagram-m .lg { font: var(--weight-label) 11.5px var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.diagram-m .lg i { font-style: normal; font-weight: 600; color: var(--ink); margin-right: 10px; }
.diagram-m .in, .diagram-m .o { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; }
.diagram-m .in b { display: block; font: 500 17px var(--font-heading); }
.diagram-m .in span { font-size: 13px; color: var(--muted); }
.diagram-m .in + .in, .diagram-m .o + .o { margin-top: 8px; }
.diagram-m .wire-v { width: 1.2px; height: 64px; background: var(--blue-line); margin: 16px auto; position: relative; }
/* the same travelling mark as on desktop, top to bottom; the second link starts half a beat later */
.diagram-m .wire-v::before { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 10px; border-radius: 2px; background: var(--blue-deep); animation: drop 1.8s linear infinite; }
.diagram-m .wire-v.late::before { animation-delay: .9s; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(54px); opacity: 0; } }
.diagram-m .core-m { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 18px 16px 12px; box-shadow: var(--shadow-blue-card); }
.diagram-m .core-m > b { display: block; font: 500 19px var(--font-heading); margin-bottom: 12px; }
.diagram-m .core-m div { display: flex; align-items: center; flex-wrap: wrap; background: rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 9px 12px; margin-bottom: 6px; font-size: 12.5px; color: rgba(255,255,255,.8); }
.diagram-m .core-m div svg { flex: none; margin-right: 10px; }
.diagram-m .logo-disc { flex: none; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.diagram-m .logo-disc img { display: block; }
.diagram-m .core-m div b { font: 500 14.5px var(--font-heading); color: #fff; margin-right: 8px; }
.diagram-m .o { font: 400 14.5px var(--font-heading); }
.diagram-m .o::before { content: "→"; color: var(--blue-deep); margin-right: 10px; }
@media (max-width: 900px) {
  .diagram { display: none; }
  .diagram-m { display: block; }
}
@media (prefers-reduced-motion: reduce) { .diagram .flow, .diagram-m .wire-v::before { display: none; } }

/* ── Home · 02 use cases: three tabs, one request each, the result built on screen.
      v2026-12: hairline windows at 4px, flat blue for the send and act buttons, no dots. ── */
.demo { max-width: none; }
.demo .tabs { margin-bottom: 18px; }

.prompt { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 16px 16px 16px 24px; }
.prompt p { flex: 1; font: 400 19px/1.45 var(--font-heading); letter-spacing: -.01em; min-height: 1.45em; }
.prompt .rest { visibility: hidden; }
.prompt .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue-deep); vertical-align: -3px; margin: 0 1px 0 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt .send { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #dfe3ee; color: #fff; display: grid; place-items: center; font-size: 20px; transition: background .2s var(--ease), transform .08s var(--ease); }
.prompt .send.ready { background: var(--blue-deep); }
.prompt .send.sent { transform: scale(.92); }

/* the window where the work appears: the thread on the left, the result on the right */
.stage { margin-top: 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; }
.stage-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--wash); border-bottom: 1px solid var(--line); }
.stage-top i { width: 9px; height: 9px; border-radius: 50%; background: #d9d8d3; }
.stage-top > span { margin-left: 10px; font: 400 13px var(--font-body); color: var(--muted); }
.stage-top .hint { margin-left: auto; font: var(--weight-label) 10.5px var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-style: normal; color: var(--muted); }
.stage-top .hint b { font-weight: 500; }
.stage-top .hint .h2 { display: none; color: var(--blue-deep); font-weight: 600; }
.held .stage-top .hint .h1 { display: none; }
.held .stage-top .hint .h2 { display: inline; }
.held .prompt .caret { animation-play-state: paused; }
.held .stage { border-color: var(--blue-line); }
.demo .prompt, .demo .stage { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.split { display: grid; grid-template-columns: 300px 1fr; height: 400px; }
.thread { border-right: 1px solid var(--line); padding: 24px 22px; }
.thread .lbl { font: var(--weight-label) var(--text-label) var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.thread ol { list-style: none; padding: 0; }
.thread li { position: relative; padding: 0 0 18px 30px; font-size: 14.5px; line-height: 1.45; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.thread li.in { opacity: 1; transform: none; }
.thread li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-deep); color: #fff; font: 700 10px/18px var(--font-heading); text-align: center; }
.thread li.done { color: var(--ink); }

.result { position: relative; overflow: hidden; background: var(--wash); }
.scene { position: absolute; inset: 0; padding: 26px; display: none; place-items: center; }
.scene.on { display: grid; }
.b { opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.b.in { opacity: 1; transform: none; }
/* without the script, the first use case shows complete */
.demo:not(.is-live) .b { opacity: 1; transform: none; }
.sk { display: block; height: 7px; border-radius: 4px; background: #e9e8e4; }
.sk + .sk { margin-top: 7px; }
.badge { position: absolute; right: 18px; top: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-full); padding: 7px 14px 7px 8px; font: 500 13px var(--font-heading); box-shadow: 0 10px 24px -14px rgba(26,26,26,.3); }
.badge::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-deep); color: #fff; font: 700 10px/18px var(--font-heading); text-align: center; }
.act { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 500 14px var(--font-heading); background: var(--blue-deep); border-radius: var(--radius-full); padding: 11px 20px; }

/* scene 1 · the newsletter being laid out */
.nl { width: 310px; overflow: hidden; }
.nl-head { height: 42px; display: grid; place-items: center; border-bottom: 1px solid var(--line); font: 600 11px var(--font-heading); letter-spacing: .22em; text-transform: uppercase; }
.nl-hero { height: 104px; position: relative; overflow: hidden; background: linear-gradient(160deg, #e6ecff 0%, #b9caff 100%); }
.nl-hero::before { content: ""; position: absolute; left: 50%; bottom: -46px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; background: rgba(255,255,255,.75); }
.nl-body { padding: 18px 22px 22px; }
.nl-body h5 { font: 700 17px/1.2 var(--font-heading); letter-spacing: -.02em; margin-bottom: 12px; }
.nl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.nl-pair i { display: block; height: 46px; border-radius: 4px; background: linear-gradient(160deg, #eef1f8, #dfe4f1); }
.nl-btn { display: inline-block; background: var(--ink); color: #fff; font: 600 11px var(--font-heading); border-radius: var(--radius-full); padding: 7px 14px; }

/* scene 2 · the listing arriving on the agency's website */
.browser { width: 100%; max-width: 560px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser-bar em { flex: 1; font: 500 12px var(--font-heading); font-style: normal; color: var(--muted); background: var(--wash); border-radius: var(--radius-full); padding: 5px 12px; }
.browser-body { padding: 18px; }
.browser-body h5 { font: 700 16px var(--font-heading); letter-spacing: -.02em; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lcard .ph { height: 86px; border-radius: 4px; background: linear-gradient(160deg, #eeede9, #dedcd6); margin-bottom: 10px; }
.lcard b { display: block; font: 600 12.5px/1.3 var(--font-heading); margin-bottom: 4px; }
.lcard small { display: block; font-size: 11px; color: var(--muted); }
.lcard.new { position: relative; outline: 1.5px dashed #b9caff; outline-offset: 6px; border-radius: 4px; }
.lcard.new.landed { outline: 1.5px solid var(--blue-deep); transition: outline-color .4s var(--ease); }
.lcard.new .ph { position: relative; overflow: hidden; background: linear-gradient(180deg, #cfe0ff 0%, #e9f0ff 55%, #5b8cff 55%, #3556d8 100%); }
.lcard.new .ph::after { content: ""; position: absolute; right: 18%; top: 16%; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.92); }   /* sky, sun, sea: a stand-in until the real photo */
.lcard .tagnew { position: absolute; left: 6px; top: 6px; z-index: 1; background: var(--blue-deep); color: #fff; font: 600 10px var(--font-heading); letter-spacing: .06em; border-radius: var(--radius-full); padding: 3px 8px; }

/* scene 3 · the invoice and its email draft */
.inv { width: 100%; max-width: 560px; display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: start; }
.job { grid-column: 1 / -1; justify-self: start; display: flex; gap: 8px; }
.job span { font: 500 12px var(--font-heading); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-full); padding: 5px 12px; }
.sheet { padding: 16px 14px 18px; }
.sheet h5 { font: 700 13px var(--font-heading); letter-spacing: .14em; margin-bottom: 14px; }
.sheet .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.sheet .row .sk { flex: 1; margin: 0; }
.sheet .row .sk.s { flex: 0 0 26px; }
.sheet .total { border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 9px; display: flex; justify-content: space-between; align-items: center; font: 700 12px var(--font-heading); }
.sheet .total i { width: 44px; height: 9px; border-radius: 4px; background: var(--ink); }
.draft { overflow: hidden; }
.draft-top { background: var(--dark); color: #fff; font: 600 12.5px var(--font-heading); padding: 9px 14px; }
.draft dl { margin: 0; }
.draft dl div { display: flex; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.draft dt { color: var(--muted); flex: 0 0 52px; }
.draft dd { margin: 0; font-weight: 600; font-family: var(--font-heading); }
.draft .txt { padding: 14px; }
.draft .foot-row { display: flex; align-items: center; gap: 10px; padding: 0 14px 14px; }
.draft .att { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--font-heading); background: var(--blue-wash); border-radius: var(--radius-md); padding: 6px 10px; }
.draft .att::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: var(--blue-deep); }

/* ── Home · 03 Alpha OS: a head-like row on the grey, the buttons under the intro ── */
.os-call { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }   /* the title block level with the paragraph */
.os-call h2 { font: var(--weight-light) var(--text-h2)/var(--leading-tight) var(--font-heading); letter-spacing: var(--tracking-h2); margin-top: 18px; max-width: 20ch; }
.os-call p:not(.eyebrow) { font-size: var(--text-intro); color: var(--muted); max-width: 44ch; margin-bottom: 28px; }

/* ── Home · 04 who is behind this, and 05 what I do: a light title beside an image ── */
.me { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.me img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); background: var(--wash); }
.me h2, .berg h2 { font: var(--weight-light) var(--text-h2)/var(--leading-tight) var(--font-heading); letter-spacing: var(--tracking-h2); margin: 18px 0 24px; max-width: 20ch; }
.me p:not(.eyebrow), .berg p:not(.eyebrow) { font-size: 17px; line-height: 1.7; max-width: 52ch; margin-bottom: 16px; }
.me p.q, .berg p.q { color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 20px; margin-top: 24px; }
.me .sig { margin-top: 28px; font: 500 17px var(--font-heading); }
.me .sig small { display: block; font: 400 14px var(--font-body); color: var(--muted); margin-top: 2px; }

/* the website is the tip of the iceberg */
.berg { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.berg figure { margin: 0; }
.berg svg { width: 100%; height: auto; display: block; overflow: visible; }
.berg .sea { fill: var(--blue-wash); }
.berg .waterline { stroke: var(--blue); stroke-width: 1.2; stroke-dasharray: 2 7; stroke-linecap: round; }
.berg .tip { fill: #fff; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.berg .mass { fill: url(#bergfill); stroke: var(--blue-deep); stroke-width: 1.2; stroke-linejoin: round; }
.berg .cut { stroke: rgba(255,255,255,.45); stroke-width: 1; }
.berg .lead { stroke: rgba(26,26,26,.22); stroke-width: 1; }
.berg .lt { font: 400 17px var(--font-heading); letter-spacing: -.01em; fill: var(--ink); }
.berg .ls { font: 400 13px var(--font-body); fill: var(--muted); }
.berg .wl { font: var(--weight-label) 10.5px var(--font-label); letter-spacing: var(--tracking-label); fill: var(--muted); text-transform: uppercase; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.ways-foot { color: var(--muted); margin-top: 28px; font-size: 15px; }

/* ── Home · 06 work: .cases and .case come from the design system ── */
.case .see .arr { display: inline-block; transition: transform var(--transition-slow); }
.case .see:hover .arr { transform: translateX(4px); }

/* ── Home · 07 the free audit: the page's one gradient card (.band), a sample audit on it ── */
.audit-wrap { padding-bottom: var(--gap); }
.audit-card { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.audit-card h2 { margin-top: 18px; }
.audit-card > div > p:not(.eyebrow) { margin-bottom: 24px; }
.audit-card .ticks { margin: 0 0 32px; }
.audit-card .ticks li { font-size: 16px; color: rgba(255,255,255,.92); }
.audit-card .ticks li::before { background: #fff; color: var(--blue-deep); }
.ex { background: #fff; color: var(--ink); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 40px 70px -36px rgba(10,22,90,.6); transform: rotate(1deg); }
.ex-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--wash); border-bottom: 1px solid var(--line); font: 400 13px var(--font-body); color: var(--muted); }
.ex-top b { font: var(--weight-label) 10.5px var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--blue-deep); }
.ex-body { padding: 28px 28px 30px; }
.ex-body h4 { font: 400 22px/1.25 var(--font-heading); letter-spacing: -.015em; margin-bottom: 22px; }
.ex-body .lab { font: var(--weight-label) 10.5px var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ladder span { text-align: center; font: 500 12.5px var(--font-heading); color: var(--muted); background: var(--wash); border-radius: var(--radius-md); padding: 9px 4px; }
.ladder span.on { background: var(--blue-deep); color: #fff; }
.stops { list-style: none; padding: 0; counter-reset: st; }
.stops li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr; padding: 9px 0; border-top: 1px solid var(--line); font: 400 15px var(--font-heading); }
.stops li::before { content: counter(st); color: var(--blue-deep); }

/* Anchored sections stop a little below the window's top edge */
[id] { scroll-margin-top: 24px; }

/* ── Home · phone and tablet ── */
@media (max-width: 900px) {
  .prompt { padding: 12px 12px 12px 18px; }
  .prompt p { font-size: 16px; }
  .split { grid-template-columns: 1fr; height: auto; }
  .thread { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 18px 6px; min-height: 214px; }
  .thread li { padding-bottom: 12px; }
  .result { height: 480px; }
  .scene { padding: 56px 16px 16px; }   /* the top strip is kept free for the badge */
  .badge { right: 12px; top: 12px; font-size: 12px; }
  .scene.has-act { padding-bottom: 64px; }
  .act { right: 12px; bottom: 12px; font-size: 13px; padding: 9px 16px; }
  .nl { width: 240px; }
  .nl-hero { height: 70px; }
  .nl-body { padding: 14px 18px 18px; }
  .cards { gap: 8px; }
  .lcard .ph { height: 62px; }
  .lcard small { display: none; }
  .inv { grid-template-columns: 104px 1fr; gap: 10px; }
  .sheet { padding: 12px 10px 14px; }
  .draft dt { flex-basis: 44px; }
  .os-call { grid-template-columns: 1fr; gap: 16px; }
  .me { grid-template-columns: 1fr; gap: 32px; }
  .me img { max-width: 280px; }
  .berg { grid-template-columns: 1fr; gap: 40px; }
  .two { grid-template-columns: 1fr; margin-top: 48px; }
  .audit-card { grid-template-columns: 1fr; gap: 40px; }
  .ex { transform: none; }
  .ex-body { padding: 22px 20px 24px; }
}
@media (max-width: 760px) { .audit-card { padding: 40px 22px 22px; } }

/* Reduced motion: the hint to hold the demo goes, since the demo does not play. */
@media (prefers-reduced-motion: reduce) { .stage-top .hint { display: none; } }

/* ── Compatibility for the pages still on their v2026-11 sections (Alpha OS, contact) ──
   Their section heads put the label straight in .head (no inner <div>): keep them stacked and centred. The dot field and
   the divider under the Alpha OS hero keep their v2026-11 look. Remove when those pages move
   to v2026-12, but keep .top: the home page uses the dot field too (since 2026-11-25). */
.head:has(> .eyebrow) { display: block; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head:has(> .eyebrow) > p { max-width: none; margin-top: 18px; }
.top { position: absolute; inset: 0 0 auto 0; height: 1240px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.1px); background-size: 24px 24px; background-position: center 12px;
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 60% at 50% 42%, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); }
main > .divider { max-width: 640px; margin: 104px auto 96px; }
@media (max-width: 900px) {
  .head:has(> .eyebrow) { margin-bottom: 36px; }
  .top { height: 760px; -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 42%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%); mask-image: radial-gradient(ellipse 90% 60% at 50% 42%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%); }
  main > .divider { margin: 72px auto 64px; max-width: 240px; }
}


/* ══ Alpha OS page (Session 2, 2026-11-16), from the mock alpha-os.html and d.css rounds 9 to 12 ══ */

/* A section label with its part number in blue: "Part 1  The idea" */
.part { display: inline-flex; align-items: center; gap: 10px; }
.part i { font-style: normal; color: var(--blue-deep); }

/* ── Alpha OS · hero: the title on the left, a bubble that comes alive on the right ── */
.os-hero2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 0; }
.os-hero2 h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: 1; margin: 24px 0 28px; }
.os-hero2 .sub { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 50ch; margin-bottom: 34px; }
.os-hero2 .actions { justify-content: flex-start; }
.bot { margin: 0; text-align: center; }
.bot svg { width: 100%; max-width: 480px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.bot svg g, .bot svg rect, .bot svg ellipse { transform-box: fill-box; transform-origin: center; }

/* Resting state (also what reduced motion shows): the robot, eyes open. */
.bot-dots { opacity: 0; }
.bot svg .bot-antenna { transform-origin: 50% 100%; }   /* grows from the bubble */
.bot svg .bot-ear.l { transform-origin: 100% 50%; }
.bot svg .bot-ear.r { transform-origin: 0 50%; }

/* One 9-second loop. 0-26% a chat bubble with its three dots; 30% the eyes pop and the bubble
   squashes; it blinks twice; at 92% it folds back into a bubble. */
.bot-float { animation: bot-float 4.5s ease-in-out infinite alternate; }
.bot-shadow { animation: bot-shadow 4.5s ease-in-out infinite alternate; }
.bot-body { animation: bot-squash 9s infinite; }
.bot-dots { animation: bot-dots 9s infinite; }
.bot-dots circle { animation: bot-dot 1.1s ease-in-out infinite; }
.bot-dots circle:nth-child(2) { animation-delay: .16s; }
.bot-dots circle:nth-child(3) { animation-delay: .32s; }
.bot-eyes { animation: bot-pop 9s infinite; }
.bot-blink { animation: bot-blink 9s infinite; }
.bot-antenna { animation: bot-antenna 9s infinite; }
.bot-ear { animation: bot-ear 9s infinite; }
.bot-halo { animation: bot-halo 9s infinite; }
@keyframes bot-float { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes bot-shadow { from { transform: scaleX(.9); opacity: .22; } to { transform: scaleX(1.04); opacity: .34; } }
@keyframes bot-squash { 0%, 27% { transform: none; } 30% { transform: scale(1.07, .93); } 34% { transform: scale(.96, 1.05); } 38% { transform: scale(1.02, .98); } 42%, 90% { transform: none; } 93% { transform: scale(1.04, .96); } 97%, 100% { transform: none; } }
@keyframes bot-dots { 0%, 26% { opacity: 1; } 29%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes bot-dot { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-9px); } }
@keyframes bot-pop { 0%, 28% { transform: scale(0); } 33% { transform: scale(1.22); } 37% { transform: scale(.94); } 41%, 90% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@keyframes bot-blink { 0%, 49% { transform: scaleY(1); } 51% { transform: scaleY(.08); } 53%, 59% { transform: scaleY(1); } 61% { transform: scaleY(.08); } 63%, 100% { transform: scaleY(1); } }
@keyframes bot-antenna { 0%, 30% { transform: scaleY(0); } 36% { transform: scaleY(1.18); } 40%, 90% { transform: scaleY(1); } 94%, 100% { transform: scaleY(0); } }
@keyframes bot-ear { 0%, 31% { transform: scaleX(0); } 37% { transform: scaleX(1.25); } 41%, 90% { transform: scaleX(1); } 94%, 100% { transform: scaleX(0); } }
@keyframes bot-halo { 0%, 28% { opacity: .45; } 36%, 90% { opacity: 1; } 96%, 100% { opacity: .45; } }

/* The wave: every 7 s a ring leaves the robot across the dot field, like a stone dropped in
   water, and the dots it crosses turn faintly blue, almost nothing. Same dots, same grid as
   .top, seen through a moving ring; .top's own mask still fades it at the edges. site.js
   sets --sx/--sy. */
@property --ripple { syntax: "<length>"; inherits: false; initial-value: 0px; }
.ripple::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--blue) 1.2px, transparent 1.2px); background-size: 24px 24px; background-position: center 12px;
  -webkit-mask-image: radial-gradient(circle at var(--sx, 74%) var(--sy, 330px), transparent calc(var(--ripple) - 90px), #000 var(--ripple), transparent calc(var(--ripple) + 90px));
          mask-image: radial-gradient(circle at var(--sx, 74%) var(--sy, 330px), transparent calc(var(--ripple) - 90px), #000 var(--ripple), transparent calc(var(--ripple) + 90px));
  opacity: 0; animation: ripple 7s cubic-bezier(.35, .45, .45, 1) infinite; }
@keyframes ripple { 0% { --ripple: 80px; opacity: .3; } 60% { opacity: .18; } 100% { --ripple: 1150px; opacity: 0; } }

/* ── Alpha OS · part 1, the idea: a light beam, detached, over three pillars on blue ── */
.temple { max-width: 980px; margin: 64px auto 0; }
.beam { background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 20px 28px; text-align: center; font: 600 21px var(--font-heading); letter-spacing: -.01em; margin-bottom: 16px; }
.beam small { display: block; font: 400 14px var(--font-body); color: var(--muted); margin-top: 2px; }
.pillars { display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr; padding: 22px; border-radius: var(--radius-xl); background: var(--grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 34px 60px -34px rgba(53,86,216,.8); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; border-radius: var(--radius-lg); padding: 34px 24px 26px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); transition: transform var(--transition-slow), background var(--transition-slow), border-color var(--transition-slow); }
.pillar:hover { transform: translateY(-6px); background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.pillar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pillar .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 18px; }
.pillar .ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 8px; }
.pillar p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.84); }
.pillar .go { margin-top: auto; padding-top: 20px; font: 600 13px var(--font-heading); letter-spacing: .04em; opacity: .7; transition: opacity var(--transition-slow), transform var(--transition-slow); }
.pillar:hover .go { opacity: 1; transform: translateY(3px); }
.pillars .x { display: grid; place-items: center; font: 300 30px var(--font-heading); color: rgba(255,255,255,.7); }
.temple figcaption { text-align: center; margin-top: 20px; font: 500 15px var(--font-heading); color: var(--muted); }

/* ── Alpha OS · the pillars one by one ── */
.steps-wrap { padding-top: 104px; }
.steps3 { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--ink); }
.step3 { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.step3 .k { font: 600 12px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--blue-deep); }
.step3 h3 { font-size: 34px; font-weight: 500; letter-spacing: -.035em; margin-top: 8px; }
.step3 p { font-size: 17px; max-width: 62ch; margin-bottom: 14px; }
.step3 p:last-child { margin-bottom: 0; }
.own { background: var(--blue-wash); border-radius: var(--radius-md); padding: 20px 22px; margin-top: 6px; max-width: 62ch; }
.own b { display: block; font: 600 11px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.own p { font-size: 15.5px; margin: 0; }

/* ── Alpha OS · part 2: chat window against system, three limits, three answers ── */
.grey { margin-top: var(--gap); background: var(--wash); border-radius: var(--radius-md); padding: 72px 64px; }
.grey-head { max-width: 680px; margin-bottom: 48px; }
.grey-head h2 { font-size: var(--text-h2-side); font-weight: 500; letter-spacing: var(--tracking-h2); line-height: var(--leading-tight); margin: 16px 0; }
.grey-head p { font-size: var(--text-intro); line-height: 1.6; color: var(--muted); }
.pairs { display: grid; grid-template-columns: 1fr 48px 1fr; row-gap: 12px; align-items: stretch; }
.pairs .colhead { font: 600 12px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.pairs .colhead.new { color: var(--blue-deep); grid-column: 3; }
.limit, .answer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; }
.limit h3, .answer h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.limit h3 { color: var(--muted); }
.limit p, .answer p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.answer { border-color: #c5d3ff; box-shadow: 0 14px 30px -22px rgba(53,86,216,.55); }
.answer .k { font: 600 11px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--blue-deep); margin-bottom: 6px; }
.pairs .to { display: grid; place-items: center; color: var(--blue-deep); font: 500 20px var(--font-heading); }

/* ── Alpha OS · part 3: the vocabulary, two columns of terms ── */
.lex2 { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--ink); }
.lex2 div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.lex2 dt { font: 600 19px var(--font-heading); letter-spacing: -.015em; margin-bottom: 4px; }
.lex2 dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lex2 dd i { font-style: normal; color: var(--ink); }

/* ── Alpha OS · part 4: one drawing. Everything is in one SVG, so the strings stay tied to
      the context at any width. Two compositions: wide above 900px, tall on a phone. ── */
.pass { max-width: 1080px; margin: 0 auto; }
.pass-text { text-align: center; font-size: var(--text-intro); line-height: 1.65; max-width: 62ch; margin: 0 auto 48px; }
.p4-fig { margin: 0; }
.p4 { width: 100%; height: auto; display: block; overflow: visible; }
.p4-tall { display: none; max-width: 420px; margin: 0 auto; }
/* the phone row: input, context and output side by side, so smaller words */
.p4-tall .p4-ct { font-size: 20px; letter-spacing: .12em; }
.p4-tall .p4-cs { font-size: 12.5px; }
.p4-tall .p4-bs { font-size: 10px; }
.p4-tall .p4-bb { font-size: 14.5px; }
.p4-cap { font: 600 11.5px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; fill: var(--muted); }
.p4-leg text { font: 500 14px var(--font-heading); fill: var(--muted); }
.p4-pill { fill: #fff; stroke: var(--line); }
.p4-lg { font: 700 17px var(--font-heading); fill: #fff; }
.p4-badge { fill: var(--wash); stroke: var(--line); }   /* a logo sits on it as supplied */
.p4-mn { font: 600 17px var(--font-heading); letter-spacing: -.01em; fill: var(--ink); }
.p4-ms { font: 400 13px var(--font-body); fill: var(--muted); }
.p4-cable { fill: none; stroke: var(--blue-line); stroke-width: 1.5; }
.p4-bal line { stroke: var(--blue-line); stroke-width: 1.4; }
.p4-bal text { font: 600 16.5px var(--font-heading); }
.p4-bal.skill rect { fill: var(--blue-deep); } .p4-bal.skill text { fill: #fff; }
.p4-bal.conn rect { fill: #fff; stroke: var(--blue); stroke-width: 1.5; } .p4-bal.conn text { fill: var(--ink); }
.p4-bal.tool rect { fill: var(--blue-wash); } .p4-bal.tool text { fill: var(--blue-deep); }
.p4-ground { fill: var(--ink); }
.p4-ct { font: 600 27px var(--font-heading); letter-spacing: .15em; text-transform: uppercase; fill: #fff; }
.p4-cs { font: 500 15px var(--font-heading); fill: var(--on-dark-muted); }
.p4-box { fill: #fff; stroke: var(--line); }
.p4-bs { font: 600 11px var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; fill: var(--blue-deep); }
.p4-bb { font: 600 18px var(--font-heading); letter-spacing: -.015em; fill: var(--ink); }
.p4-arrow { fill: none; stroke: var(--blue-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p4-run { fill: var(--blue-deep); animation: p4-run 2.2s linear infinite; }
.p4-run.late { animation-delay: 1.1s; }
@keyframes p4-run { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(42px); opacity: 0; } }
/* each balloon sways on its string, around the point where it is tied to the context */
.p4-bal { animation: sway ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
/* one model at a time: it holds, then leaves to the left on a speed ramp; the sixth is the first again */
.p4-track { animation: p4-slot-w 16s infinite; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
.p4-tall .p4-track { animation-name: p4-slot-t; }
@keyframes p4-slot-w { 0%, 15% { transform: translateX(0); } 20%, 35% { transform: translateX(-300px); } 40%, 55% { transform: translateX(-600px); } 60%, 75% { transform: translateX(-900px); } 80%, 95% { transform: translateX(-1200px); } 100% { transform: translateX(-1500px); } }
@keyframes p4-slot-t { 0%, 15% { transform: translateX(0); } 20%, 35% { transform: translateX(-290px); } 40%, 55% { transform: translateX(-580px); } 60%, 75% { transform: translateX(-870px); } 80%, 95% { transform: translateX(-1160px); } 100% { transform: translateX(-1450px); } }

/* ── Alpha OS · start: coaching or installation ── */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1080px; margin: 0 auto; }
.end { margin: var(--gap) auto 144px; max-width: 1080px; }
.end .ways { margin-bottom: 40px; }
.end .way .btn { margin-top: 28px; }
.in-link { color: var(--blue-deep); font-weight: 600; }
.in-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .os-hero2 { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; text-align: center; }
  .os-hero2 .sub { font-size: 18px; margin-left: auto; margin-right: auto; }
  .os-hero2 .actions { justify-content: center; }
  .bot { order: -1; }
  .bot svg { max-width: 260px; }
  .temple { margin-top: 44px; }
  .pillars { grid-template-columns: 1fr; padding: 14px; }
  .pillars .x { height: 30px; }
  .pillar { padding: 26px 20px 22px; }
  .steps-wrap { padding-top: 64px; }
  .step3 { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .step3 h3 { font-size: 28px; }
  .grey { padding: 36px 20px; }
  .grey-head { margin-bottom: 28px; }
  .pairs { grid-template-columns: 1fr; row-gap: 8px; }
  .pairs .colhead { display: none; }
  .pairs .to { transform: rotate(90deg); height: 22px; }
  .pairs .answer { margin-bottom: 18px; }
  .lex2 { grid-template-columns: 1fr; }
  .pass-text { font-size: 17px; margin-bottom: 32px; }
  .p4-wide { display: none; }
  .p4-tall { display: block; }
  .ways { grid-template-columns: 1fr; }
  .end { margin-bottom: 88px; }
}
/* ══ Contact page (Session 2, 2026-11-16): minimal, no mock; built from the home page's
      "who is behind this" block and the design system's cards and form fields ══ */
.contact-hero { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 96px 0 0; }
.contact-hero img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); background: var(--wash); }
.contact-hero h1 { font-size: var(--text-h1); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: 1; margin: 22px 0 22px; }
.contact-hero .sub { font-size: var(--text-intro); line-height: 1.6; color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.contact-hero .actions { justify-content: flex-start; gap: 18px; }
.contact-note { font-size: var(--text-small); color: var(--muted); max-width: 30ch; line-height: 1.5; }
.contact-mail { margin-top: 26px; font-size: 16px; color: var(--muted); }
.contact-hero .sig { margin-top: 30px; font: 600 17px var(--font-heading); }
.contact-hero .sig small { display: block; font: 400 14px var(--font-body); color: var(--muted); margin-top: 2px; }

.contact-forms { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; max-width: 1080px; margin: 120px auto 144px; }
.contact-forms h2 { font-size: var(--text-h3); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 24px; }
.contact-forms .form-error { margin-top: 16px; }
.contact-forms .form-row { margin-bottom: var(--space-5); }   /* same rhythm whether the row is side by side or stacked */
.contact-forms .form-row .form-field { margin-bottom: 0; }
.form-sent h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.form-sent p { color: var(--muted); }
.card.news { background: var(--wash); border-color: transparent; }
.card.news h2 { margin: 14px 0 10px; }
.card.news > p { color: var(--muted); margin-bottom: 22px; }
.subscribe { display: flex; gap: 10px; }
.subscribe .form-input { flex: 1; min-width: 0; border-radius: var(--radius-full); padding-left: 20px; }
.subscribe .btn { flex: none; }
.card.news .fine { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.card.news .fine.form-error { color: var(--error); }

@media (max-width: 900px) {
  .contact-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .contact-hero img { max-width: 200px; }
  .contact-forms { grid-template-columns: 1fr; margin: 72px auto 88px; }
}
@media (max-width: 480px) {
  .subscribe { flex-direction: column; }
}

/* Reduced motion: base.css stops every animation, so each drawing shows its resting state;
   the small mark running along the input and output arrows is hidden rather than frozen. */
@media (prefers-reduced-motion: reduce) {
  .p4-run, .ripple::after { display: none; }
}
