/* Arakh by ETG lander. Base reset (scoped to this full-page template). */
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html,body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}


/* Layout: one long scroll story. Paper and ink sections alternate like the two halves of the split A; the story pins and plays as you scroll; the build list runs sideways. Single committed brand look in any host theme. */
:root {
  color-scheme: light;
  --paper: #F7F4FC;
  --paper-2: #EEE7FA;
  --ink: #17121F;
  --ink-2: #221B2E;
  --ink-line: #352B47;
  --purple: #4A1D8F;
  --violet: #7B3FE4;
  --lav: #B79AF5;
  --lav-soft: #CDBDF4;
  --muted-paper: #5E5670;
  --muted-ink: #A99FBC;
  --white: #FFFFFF;
  --font-display: "Archivo", "Physis", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
* { box-sizing: border-box; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.in {
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: lowercase; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 700 1rem var(--font-body); padding: 14px 22px; border-radius: 999px; border: 2px solid currentColor;
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn.line { background: transparent; }
.btn:focus-visible, .copy:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, nav a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* Progress + header */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; background: var(--violet); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-2); }
header.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--purple); }
.brand .w { display: grid; line-height: 1; gap: 4px; }
.brand b { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; letter-spacing: 0.12em; font-size: 1.15rem; }
.brand small { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.3em; font-size: 0.58rem; color: var(--ink); }
header nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.95rem; }
header nav a { text-decoration: none; color: var(--muted-paper); }
header nav a:hover { color: var(--ink); }
header nav .btn { padding: 9px 18px; font-size: 0.9rem; color: var(--white); }
@media (max-width: 760px) { header nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 24px; padding-block: 64px 56px; }
.hero .hero-copy { display: grid; gap: 26px; min-width: 0; position: relative; z-index: 2; }
.hero h1 {
  font-stretch: 125%; font-weight: 900; line-height: 0.92; letter-spacing: -0.02em;
  font-size: clamp(2.7rem, 7.6vw, 6.4rem); text-transform: uppercase;
}
.hero h1 .v { color: var(--purple); display: inline-block; }
.hero h1 .soft { font-stretch: 100%; font-weight: 400; text-transform: none; font-style: italic; letter-spacing: -0.01em; }
.hero .lede { font-size: 1.2rem; max-width: 44ch; color: var(--muted-paper); }
.hero .lede b { color: var(--ink); font-weight: 600; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .ctas .line { color: var(--ink); }
.big-mark { position: relative; justify-self: end; width: min(100%, 420px); aspect-ratio: 1; max-width: 100%; }
.big-mark svg { width: 100%; height: 100%; overflow: visible; }
.big-mark .seam { position: absolute; left: 50%; top: -8%; bottom: -8%; width: 2px; background: repeating-linear-gradient(var(--violet) 0 8px, transparent 8px 16px); transform: translateX(-50%); opacity: .5; }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted-paper); }
.scroll-cue i { display: block; width: 56px; height: 2px; background: var(--ink); transform-origin: 0 50%; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleX(.3); } 50% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } }

/* Ticker */
.ticker { background: var(--purple); color: var(--white); overflow: hidden; border-block: 2px solid var(--ink); }
.ticker .row { display: flex; gap: 48px; width: max-content; padding-block: 16px; animation: tick 38s linear infinite; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.ticker .row span::after { content: "/"; margin-left: 48px; color: var(--lav); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .row { animation: none; flex-wrap: wrap; width: auto; padding-inline: 20px; } }

/* Manifesto */
.manifesto { background: var(--ink); color: var(--white); }
.manifesto .in { padding-block: 120px; display: grid; gap: 36px; }
.manifesto .tag { color: var(--lav); }
.manifesto .say { font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.15; letter-spacing: -0.015em; max-width: 26ch; }
.manifesto .say em { font-style: normal; color: var(--lav); }
.manifesto .sign { display: flex; align-items: center; gap: 14px; color: var(--muted-ink); font-size: 0.95rem; }
.manifesto .sign b { color: var(--white); }

/* Story */
.story { background: var(--ink); color: var(--white); border-top: 1px solid var(--ink-line); }
.story .in { padding-block: 96px; }
.story-head { display: grid; gap: 12px; margin-bottom: 48px; }
.story-head .tag { color: var(--lav); }
.story-head h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 0.95; }
.story-head h2 span { color: var(--lav); }
.chapters { display: grid; gap: 72px; }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chapter .txt { display: grid; gap: 14px; min-width: 0; }
.chapter .when { font-family: var(--font-mono); font-size: 0.8rem; color: var(--lav); }
.chapter h3 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.05; letter-spacing: -0.015em; }
.chapter p { color: var(--muted-ink); max-width: 46ch; font-size: 1.08rem; }
.chat { display: grid; gap: 12px; min-width: 0; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.chat .bar { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-ink); padding-bottom: 6px; border-bottom: 1px solid var(--ink-line); }
.chat .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-line); display: block; }
.bubble { max-width: 92%; padding: 12px 16px; border-radius: 16px; font-size: 0.98rem; line-height: 1.45; }
.bubble.you { justify-self: end; background: var(--purple); color: var(--white); border-bottom-right-radius: 4px; }
.bubble.you::before { content: "zeek"; display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--lav-soft); margin-bottom: 4px; }
.bubble.built { justify-self: start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.built::before { content: "built"; display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--purple); margin-bottom: 4px; }
.bubble.built ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.bubble.built li { padding-left: 18px; position: relative; }
.bubble.built li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 5px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }
.caret { display: inline-block; width: 8px; height: 1em; background: var(--lav-soft); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.dots { display: none; gap: 8px; margin-top: 28px; }
.dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--ink-line); display: block; transition: background .3s; }
.dots i.on { background: var(--lav); }
/* pinned mode (desktop, motion allowed) */
.story.pinmode .chapters { position: relative; height: min(60vh, 520px); }
.story.pinmode .chapter { position: absolute; inset: 0; }
.story.pinmode .dots { display: flex; }

/* Build: sideways track */
.build { background: var(--purple); color: var(--white); overflow: hidden; }
.build .in.head { padding-block: 96px 40px; display: grid; gap: 12px; }
.build .tag { color: var(--lav-soft); }
.build h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 0.95; max-width: 16ch; }
.track-wrap { overflow-x: auto; padding-bottom: 96px; scrollbar-width: none; }
.track-wrap::-webkit-scrollbar { display: none; }
.track { display: flex; gap: 20px; width: max-content; padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.panel { width: min(78vw, 400px); min-height: 380px; border-radius: 22px; background: var(--white); color: var(--ink); padding: 30px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.panel .k { font-family: var(--font-mono); font-size: 0.78rem; color: var(--purple); }
.panel h3 { font-stretch: 112%; font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.panel p { color: var(--muted-paper); font-size: 1.02rem; }
.panel .say { font-family: var(--font-mono); font-size: 0.82rem; background: var(--paper-2); border-radius: 10px; padding: 12px 14px; color: var(--ink); }
.panel.next { background: transparent; color: var(--white); border: 2px dashed var(--lav); }
.panel.next .k, .panel.next p { color: var(--lav-soft); }
.panel.next .say { background: rgba(255,255,255,.08); color: var(--white); }
.build.hmode .track-wrap { overflow: visible; }

/* Work */
.work { background: var(--paper); }
.work .in { padding-block: 120px; display: grid; gap: 96px; }
.work-head { display: grid; gap: 12px; }
.work-head .tag { color: var(--purple); }
.work-head h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 0.95; }
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.case.flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.case.flip .frame-col { order: 2; }
.frame-col { position: relative; min-width: 0; }
.frame { border-radius: 14px; overflow: hidden; background: var(--white); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--purple); }
.frame .chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.frame .chrome i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
.frame .chrome span { margin-left: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.screen { display: grid; grid-template-columns: 26% minmax(0, 1fr); aspect-ratio: 16 / 10; background: var(--ink); max-width: 100%; }
.screen .side { background: var(--ink-2); padding: 14px 12px; display: grid; gap: 10px; align-content: start; }
.screen .side i { height: 7px; border-radius: 4px; background: var(--ink-line); display: block; }
.screen .side i.on { background: var(--lav); width: 80%; }
.screen .main { padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.screen .main b { font-family: var(--font-display); color: var(--white); font-size: 0.95rem; font-weight: 800; }
.screen .r { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 6px; background: var(--ink-2); color: var(--white); font-size: 0.72rem; }
.screen .r em { font-style: normal; font-family: var(--font-mono); color: var(--lav); }
.soon-sticker { position: absolute; right: -10px; top: -14px; transform: rotate(4deg); background: var(--lav); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; padding: 6px 12px; border-radius: 6px; border: 2px solid var(--ink); }
.case .txt { display: grid; gap: 16px; min-width: 0; }
.case .who { font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple); }
.case h3 { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; }
.case p { color: var(--muted-paper); }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.ba div { padding: 14px 16px; display: grid; gap: 4px; font-size: 0.95rem; }
.ba .b { background: var(--paper-2); }
.ba .a { background: var(--white); }
.ba span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--purple); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--font-mono); font-size: 0.74rem; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--ink); }

/* Real talk */
.talk { background: var(--paper-2); }
.talk .in { padding-block: 112px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.talk-head { display: grid; gap: 12px; align-content: start; }
.talk-head .tag { color: var(--purple); }
.talk-head h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 0.95; }
.talk-head p { color: var(--muted-paper); }
.qa { display: grid; gap: 0; border-top: 2px solid var(--ink); }
details { border-bottom: 2px solid var(--ink); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.45rem); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--purple); flex: none; }
details[open] summary::after { content: "−"; }
summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
details p { padding: 0 4px 24px; color: var(--muted-paper); max-width: 60ch; }

/* By ETG: literal split */
.byetg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.byetg > div { padding-block: 96px; display: grid; gap: 14px; align-content: center; }
.byetg .front { background: var(--white); color: var(--ink); padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px)); padding-right: 48px; }
.byetg .back { background: var(--ink); color: var(--white); padding-left: 48px; padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px)); }
.byetg .tag { color: var(--purple); }
.byetg .back .tag { color: var(--lav); }
.byetg h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 0.95; }
.byetg p { max-width: 40ch; color: var(--muted-paper); }
.byetg .back p { color: var(--muted-ink); }
.byetg a { font-weight: 700; }
.byetg .centerline { grid-column: 1 / -1; background: var(--purple); color: var(--white); text-align: center; padding: 22px 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.35rem); }

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact .in { padding-block: 120px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; }
.contact .left { display: grid; gap: 20px; align-content: start; }
.contact .tag { color: var(--lav); }
.contact h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 0.92; }
.contact h2 span { color: var(--lav); }
.contact .left p { color: var(--muted-ink); max-width: 42ch; }
.phone { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone strong { font-family: var(--font-mono); font-size: 1.4rem; user-select: all; font-variant-numeric: tabular-nums; }
.copy { font: 600 0.85rem var(--font-body); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--lav); background: transparent; color: var(--white); cursor: pointer; }
form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 28px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--lav-soft); }
input, textarea, select { font: 500 1rem var(--font-body); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ink-line); background: var(--ink); color: var(--white); width: 100%; color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #7D7392; }
textarea { min-height: 120px; resize: vertical; }
.foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .btn.solid { background: var(--lav); border-color: var(--lav); color: var(--ink); }
.msg { font-size: 0.95rem; background: var(--purple); color: var(--white); padding: 10px 14px; border-radius: 10px; }

footer { background: var(--ink); color: var(--muted-ink); border-top: 1px solid var(--ink-line); }
footer .in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 0.88rem; }
footer .brand { color: var(--lav); }
footer .brand small { color: var(--muted-ink); }

/* Responsive */
@media (max-width: 920px) {
  .hero .in { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; }
  .big-mark { justify-self: start; width: min(60vw, 260px); order: -1; }
  .chapter, .case, .case.flip, .talk .in, .contact .in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case.flip .frame-col { order: 0; }
  .byetg { grid-template-columns: minmax(0, 1fr); }
  .byetg .front, .byetg .back { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-block: 64px; }
  .manifesto .in, .work .in, .contact .in { padding-block: 80px; }
  .story .in { padding-block: 72px; }
  .chapters { gap: 64px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .ba { grid-template-columns: minmax(0, 1fr); }
  .frame { box-shadow: 6px 6px 0 var(--purple); }
  .soon-sticker { right: 6px; }
}

/* ===== Demo-data mock screens (recreated interfaces, scale with their frame) ===== */
.demo-note { color: var(--muted-paper); max-width: 60ch; }
.stack { position: relative; padding-bottom: 16%; }
.frame.sec { position: absolute; width: 50%; right: -5%; bottom: 0; box-shadow: 8px 8px 0 var(--lav); }
.case.flip .frame.sec { right: auto; left: -5%; }
.mock { container-type: inline-size; position: relative; aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; }
.app { position: absolute; inset: 0; font-size: 1.42cqw; line-height: 1.35; display: grid; grid-template-columns: 14em minmax(0, 1fr); font-family: "Figtree", system-ui, sans-serif; text-align: left; }
.app * { box-sizing: border-box; }
.app p { margin: 0; }
.app.nosb { grid-template-columns: minmax(0, 1fr); }
.app .sb { padding: 1.4em 1em; display: flex; flex-direction: column; gap: .3em; overflow: hidden; }
.app .nv { display: flex; align-items: center; gap: .7em; padding: .5em .7em; border-radius: .5em; font-size: .92em; font-weight: 600; white-space: nowrap; }
.app .nv .ic { width: .95em; height: .95em; border: .12em solid currentColor; border-radius: .25em; display: block; flex: none; opacity: .75; }
.app .grp { font-size: .72em; opacity: .55; padding: .7em .7em .1em; }
.app .cnt { padding: 1.5em 2em; overflow: hidden; display: grid; gap: 1em; align-content: start; min-width: 0; }
.app .row-x { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
.app .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.app .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.app .split2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: .9em; }
.app .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9em; }
.app .mut { color: #6B7585; }
.app .tr { display: grid; align-items: center; gap: .8em; padding: .6em .4em; border-bottom: .08em solid rgba(0,0,0,.07); font-size: .82em; min-width: 0; }
.app .tr > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app .tr small { display: block; }
.app .th { font-weight: 600; border-radius: .5em; border-bottom: 0; }
.app .c4 { grid-template-columns: 2.2fr 1.2fr .8fr .7fr; }
.app .c5 { grid-template-columns: 2.4fr 1fr 1.3fr .7fr 1fr; }
.app .c4e { grid-template-columns: 1.4fr 1.4fr 1.1fr 1.2fr; }
.app .c3m { grid-template-columns: 1.3fr 2.6fr .6fr; }
.app .tbl { display: grid; gap: .1em; }

/* Seven Solutions */
.ss .sb { background: #0E1116; color: #E8ECF2; }
.ss .nv.on { background: #1D232D; }
.ss .bcount { margin-left: auto; background: #2453D6; color: #fff; font-size: .7em; padding: .05em .45em; border-radius: .3em; }
.ss .cnt { background: #F3F6FA; color: #10141A; }
.ss-logo { display: grid; gap: .05em; margin-bottom: 1em; color: #fff; font-family: Georgia, "Times New Roman", serif; }
.ss-logo .l1 { font-size: 1.3em; letter-spacing: -.03em; white-space: nowrap; }
.ss-logo .l1 i { font-style: italic; font-size: 1.6em; line-height: 0; vertical-align: -.12em; margin: 0 .02em; }
.ss-logo small { font-family: "Figtree", sans-serif; font-size: .5em; letter-spacing: .3em; font-weight: 700; padding-left: 5.2em; }
.ss-logo em { font-style: normal; font-family: "Figtree", sans-serif; color: #6D93F5; font-size: .75em; margin-top: .5em; }
.ss .h1, .ssl .h1, .ep .h1 { font-size: 1.9em; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ss .sub { color: #5B6575; font-size: .9em; }
.ss .card { background: #fff; border: .08em solid #E2E7EE; border-radius: .9em; padding: .9em 1em; }
.ss .th { background: #F3F6FA; color: #5B6575; }
.ss .stat { display: grid; gap: .2em; }
.ss .stat .k { font-size: .8em; color: #4B5565; font-weight: 600; }
.ss .stat .v { font-size: 1.9em; font-weight: 700; line-height: 1.1; }
.ss .stat .s { font-size: .72em; color: #6B7585; }
.ss .stat.blue { background: #2453D6; border-color: #2453D6; color: #fff; }
.ss .stat.blue .k, .ss .stat.blue .s { color: #DCE5FF; }
.ss .srch { height: 2.3em; border: .08em solid #E2E7EE; background: #fff; border-radius: .6em; width: 46%; display: flex; align-items: center; padding: 0 .9em; color: #8A93A3; font-size: .82em; }
.ss .dark-b { background: #10141A; color: #fff; padding: .55em 1em; border-radius: .55em; font-weight: 600; font-size: .85em; white-space: nowrap; }
.ss .ghost-b2 { font-weight: 600; font-size: .9em; }
.ss .av { width: 2.2em; height: 2.2em; border-radius: .5em; background: #10141A; color: #fff; display: grid; place-items: center; font-size: .78em; font-weight: 700; flex: none; }
.ss .av.lt { background: #E6EEFD; color: #2453D6; }
.ss .nm { display: flex; gap: .7em; align-items: center; min-width: 0; }
.ss .nm b { display: block; font-weight: 700; }
.ss .nm small { color: #6B7585; font-size: .88em; }
.pl { display: inline-flex; align-items: center; gap: .35em; padding: .18em .55em; border-radius: .4em; font-size: .85em; font-weight: 700; white-space: nowrap; }
.pl::before { content: ""; width: .42em; height: .42em; border-radius: .1em; background: currentColor; }
.pl.g { background: #E5F5EA; color: #1E7B45; }
.pl.a { background: #FCEFD8; color: #94570A; }
.pl.b { background: #E6EEFD; color: #2453D6; }
.pl.r { background: #FDE8E8; color: #B42318; }
.pl.n { background: #EEF1F5; color: #4B5565; }
.ss .btn-s { padding: .4em .8em; border-radius: .5em; background: #EEF1F5; font-weight: 600; justify-self: end; }
.ss .agent { position: absolute; right: 0; top: 34%; background: #5B3FE4; color: #fff; font-size: .82em; font-weight: 600; padding: .45em .9em; border-radius: 2em 0 0 2em; }
.ss .decide { background: #FBEBD3; border-radius: .7em; padding: .7em .8em; font-size: .78em; font-weight: 700; display: grid; gap: .5em; margin-top: .6em; color: #10141A; }
.ss .decide span { background: #fff; border: .08em solid #E2D2B8; border-radius: .4em; padding: .2em .6em; justify-self: start; font-weight: 600; }
.ss .tabs { display: flex; gap: 1.4em; font-size: .85em; color: #4B5565; font-weight: 600; }
.ss .tabs .on { background: #fff; padding: .1em .6em; border-radius: .4em; color: #10141A; box-shadow: 0 0 0 .08em #E2E7EE; }
.chk { display: flex; gap: .7em; align-items: center; font-size: .92em; }
.chk i { width: 1.3em; height: 1.3em; border: .1em solid #C9D0DA; border-radius: .3em; display: grid; place-items: center; flex: none; }
.chk i.on { background: #10141A; border-color: #10141A; }
.chk i.on::after { content: ""; width: .55em; height: .3em; border-left: .13em solid #fff; border-bottom: .13em solid #fff; transform: rotate(-45deg) translate(.04em, -.06em); }
.chk a { color: #2453D6; }

/* Seven Solutions sign-in */
.ssl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; color: #10141A; }
.ssl .lf { padding: 2.2em 2.6em; display: grid; gap: .7em; align-content: center; }
.ssl .ss-logo { color: #10141A; margin-bottom: .4em; }
.ssl .mut { color: #6B7585; font-size: .85em; }
.ssl .seg { display: grid; grid-template-columns: 1fr 1fr; background: #EEF1F5; border-radius: .6em; padding: .25em; font-size: .85em; text-align: center; }
.ssl .seg span { padding: .4em; border-radius: .45em; }
.ssl .seg .on { background: #fff; font-weight: 700; }
.ssl .inp { height: 2.6em; border: .08em solid #D9DFE7; border-radius: .6em; background: #EEF3FD; display: flex; align-items: center; padding: 0 .9em; font-size: .85em; }
.ssl .blk { background: #0E1116; color: #fff; border-radius: .6em; text-align: center; padding: .7em; font-weight: 700; font-size: .9em; }
.ssl .rt { margin: 1em; border-radius: 1.6em; background: #0E1116; display: grid; place-items: center; position: relative; }
.ssl .arch { width: 52%; aspect-ratio: 3 / 4; border-radius: 50% 50% 1.2em 1.2em / 38% 38% 1.2em 1.2em; background: linear-gradient(#212A38, #0E1116); border: .08em solid #2B3442; display: grid; place-items: center; color: #fff; font-family: Georgia, serif; font-style: italic; font-size: 7em; line-height: 1; }
.ssl .cap { position: absolute; left: 1.4em; bottom: 1.2em; color: #fff; font-size: .85em; font-weight: 600; }
.ssl .cap small { display: block; color: #9AA4B4; font-weight: 400; }

/* ETG Business Manager */
.eb .sb { background: #0A0A0A; color: #EDEAE3; }
.eb .nv.on { background: #1C1B19; box-shadow: inset .2em 0 #E8C21F; }
.eb .ycount { margin-left: auto; background: #E8C21F; color: #000; font-size: .72em; padding: 0 .45em; font-weight: 700; }
.eb .cnt { background: #F4F1EA; color: #151412; }
.etg-logo { color: #fff; margin-bottom: 1em; display: grid; }
.etg-logo b { font-family: var(--font-display); font-weight: 900; font-size: 3em; line-height: .9; letter-spacing: -.05em; }
.etg-logo small { font-size: .55em; font-weight: 700; margin-top: .3em; }
.etg-logo em { font-style: normal; font-size: .6em; letter-spacing: .22em; color: #BDB8AE; margin-top: .9em; }
.eb .h1 { font-size: 1.9em; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.eb .sub2 { color: #5C5850; font-size: .85em; }
.eb .ghost-b { border: .1em solid #151412; padding: .35em .8em; font-weight: 700; font-size: .85em; white-space: nowrap; }
.eb .card { background: #FBFAF7; border: .08em solid #E1DCD1; padding: .9em 1.1em; display: grid; gap: .45em; align-content: start; min-width: 0; }
.eb .th { background: #EFEBE2; color: #5C5850; text-transform: uppercase; letter-spacing: .1em; font-size: .68em; border-radius: 0; }
.eb .lab { font-size: .68em; letter-spacing: .14em; font-weight: 700; display: flex; gap: .5em; align-items: center; text-transform: uppercase; }
.eb .lab::before { content: ""; width: .6em; height: .6em; background: #E8C21F; flex: none; }
.eb .big { font-size: 2.1em; font-weight: 800; line-height: 1.1; }
.eb .ln { font-size: .78em; line-height: 1.5; }
.eb .ln .badge { margin-left: .3em; }
.eb .due { font-style: normal; color: #A3331F; font-weight: 600; }
.eb .pr { display: grid; grid-template-columns: 1.2fr .4fr 1fr; font-size: .8em; padding: .25em 0; border-bottom: .08em solid #E8E3D9; }
.eb .pr span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.eb .mut { color: #6E6A61; font-size: .9em; }
.badge { font-size: .7em; letter-spacing: .08em; font-weight: 700; padding: .2em .5em; text-transform: uppercase; white-space: nowrap; }
.badge.g { background: #E6F2E6; color: #2C6B35; }
.badge.y { background: #FBF0C9; color: #8A6A00; }
.badge.bl { background: #E7EDF7; color: #2D4E80; }
.badge.p { background: #EEE7F8; color: #5A3D8F; }
.badge.n { background: #ECE8DF; color: #4C4A44; }
.u { text-decoration: underline; text-decoration-color: #E8C21F; text-decoration-thickness: .12em; text-underline-offset: .2em; }
.eb .prg { display: flex; align-items: center; gap: .5em; }
.eb .bar { height: .35em; background: #DCD7CC; width: 6em; display: inline-block; position: relative; flex: none; }
.eb .bar i { position: absolute; inset: 0 auto 0 0; background: #151412; }

/* ETG client portal */
.ep { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: #F2F5FA; color: #14233A; }
.ep-head { background: #16263F; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 1em 12%; font-size: .9em; }
.ep-logo b { font-family: var(--font-display); font-weight: 900; font-size: 1.9em; letter-spacing: -.05em; }
.ep-logo small { font-size: .5em; letter-spacing: .15em; font-weight: 700; display: inline-block; line-height: 1.1; margin-left: .5em; vertical-align: .5em; }
.ep-body { padding: 1.4em 12%; display: grid; gap: .8em; align-content: start; }
.ep .card { background: #fff; border: .08em solid #DDE4EE; border-radius: .9em; padding: .9em 1.1em; display: grid; gap: .4em; font-size: .9em; }
.ep .attn { background: #E8EEF7; }
.ep .b { background: #1F3D66; color: #fff; padding: .5em 1em; border-radius: .4em; font-weight: 600; font-size: .85em; justify-self: start; }
.ep .mut { color: #56657A; font-size: .9em; }

/* Gallery */
.work .gal-head.in { display: grid; gap: 10px; padding-block: 0 32px; }
.gal-head .tag { color: var(--purple); }
.gal-head h3 { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; }
.gal-wrap { overflow-x: auto; padding-bottom: 120px; scrollbar-width: none; }
.gal-wrap::-webkit-scrollbar { display: none; }
.gal { display: flex; gap: 28px; width: max-content; padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.gfig { margin: 0; width: min(80vw, 620px); display: grid; gap: 14px; }
.gfig figcaption { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted-paper); }
.gfig .frame { box-shadow: 8px 8px 0 var(--purple); }
.work.gmode .gal-wrap { overflow: visible; }
.case .does { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.case .does li { padding-left: 22px; position: relative; color: var(--ink); font-size: 1rem; }
.case .does li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }
@media (max-width: 920px) {
  .stack { padding-bottom: 0; display: grid; gap: 0; }
  .frame.sec, .case.flip .frame.sec { position: relative; width: 78%; right: auto; left: auto; margin: -10% -2% 0 auto; }
}

/* ===== v3 additions ===== */
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* Hero builder */
.hero .in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); }
.builder { position: relative; display: grid; gap: 14px; min-width: 0; }
.bg-mark { position: absolute; right: -6%; top: -10%; width: 80%; aspect-ratio: 1; opacity: .13; pointer-events: none; }
.bg-mark svg { width: 100%; height: 100%; overflow: visible; }
.prompt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; background: var(--ink); color: var(--white); border-radius: 18px; padding: 16px 18px; box-shadow: 0 22px 40px -24px rgba(23, 18, 31, .6); }
.prompt .pw { font-family: var(--font-mono); font-size: .7rem; color: var(--lav); padding-top: 4px; }
.prompt p { font-size: 1rem; line-height: 1.45; min-height: 2.9em; }
.prompt .send { width: 30px; height: 30px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-size: .9rem; }
.mini { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); background: var(--white); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 10px 10px 0 var(--purple); }
.mini-sb { background: var(--ink); padding: 16px 12px; display: grid; gap: 10px; align-content: start; }
.mini-logo { width: 26px; height: 26px; border-radius: 6px; background: var(--violet); display: block; margin-bottom: 8px; }
.mini-sb i { height: 6px; border-radius: 3px; background: var(--ink-line); display: block; }
.mini-sb i.on { background: var(--lav); }
.mini-main { padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.mini-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.mini-av { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--purple); display: grid; place-items: center; font-size: .8rem; }
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mc { background: var(--paper); border-radius: 10px; padding: 10px; display: grid; gap: 2px; min-width: 0; }
.mc small { font-size: .7rem; color: var(--muted-paper); }
.mc b { font-family: var(--font-display); font-size: 1.15rem; }
.mini-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--paper-2); font-size: .85rem; }
.mini-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { font-style: normal; font-family: var(--font-mono); font-size: .68rem; padding: 2px 8px; border-radius: 999px; flex: none; display: inline-block; }
.st.ok { background: #E5F5EA; color: #1E7B45; }
.st.new { background: var(--paper-2); color: var(--purple); }
.builder-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.builder-foot .tag { color: var(--muted-paper); }
.replay { font: 600 .85rem var(--font-body); background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--ink); }
.replay:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* Live demos */
.case.case2 { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.case-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.switch button { font: 700 .95rem var(--font-body); padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.switch button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; color: var(--purple); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #1E9E5A; box-shadow: 0 0 0 4px rgba(30, 158, 90, .18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(30, 158, 90, .05); } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
.frame.big { box-shadow: 12px 12px 0 var(--purple); }
.frame-body { position: relative; }
.swipe-hint { display: none; color: var(--muted-paper); }
.app button { font: inherit; color: inherit; }
.app button.nv { background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.app button.nv:hover { background: rgba(255, 255, 255, .06); }
.app .nv.off { opacity: .5; }
.app button:focus-visible { outline: .15em solid #9B7BF0; outline-offset: .1em; }
.app .view { display: grid; gap: 1em; align-content: start; min-width: 0; }
.app .c5m { grid-template-columns: 1.3fr 1.4fr 1.3fr .8fr 1.3fr; }
.ss .lnk { color: #2453D6; }
.ss .nm > b { font-weight: 700; }
.ep .acts { display: flex; gap: .6em; flex-wrap: wrap; }
.ep button.b { border: 0; cursor: pointer; }
.ep .b.alt { background: #fff; color: #1F3D66; box-shadow: inset 0 0 0 .1em #1F3D66; }
.ep .b:disabled { opacity: .55; cursor: default; }
.ep .pl { justify-self: start; }
.ep .thread { display: grid; gap: .4em; font-size: .92em; }
.ep .thread .me { justify-self: end; background: #1F3D66; color: #fff; padding: .4em .8em; border-radius: .8em .8em .2em .8em; }
.ep .thread .z { justify-self: start; background: #E8EEF7; padding: .4em .8em; border-radius: .8em .8em .8em .2em; }
.ss button.chk { background: none; border: 0; cursor: pointer; text-align: left; padding: 0; }
.ss button.chk:hover { color: #2453D6; }
.ssl button.blk { border: 0; cursor: pointer; width: 100%; font-weight: 700; color: #fff; }
.ssl button.blk:hover { background: #2453D6; }

/* Story on phones: swipe cards */
@media (max-width: 920px) {
  .chapters { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .chapters::-webkit-scrollbar { display: none; }
  .chapter { flex: 0 0 86%; scroll-snap-align: center; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: 22px; }
  .chapter .chat { background: var(--ink); }
  .dots { display: flex; }
  .story-head::after { content: "swipe through the story →"; font-family: var(--font-mono); font-size: .75rem; color: var(--muted-ink); }
  .track-wrap { scroll-snap-type: x mandatory; }
  .panel { scroll-snap-align: start; }
  .case-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .live { margin-left: 0; width: 100%; }
}
@media (max-width: 760px) {
  .frame-body { overflow-x: auto; }
  .frame.big .mock { width: 760px; max-width: none; }
  .swipe-hint { display: block; }
  .frame.big { box-shadow: 6px 6px 0 var(--purple); }
}
.build.hmode .track-wrap { scroll-snap-type: none; }

/* Contact steps */
.contact form.steps { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.stepbar { display: flex; gap: 6px; }
.stepbar i { flex: 1; height: 4px; border-radius: 2px; background: var(--ink-line); transition: background .3s; }
.stepbar i.on { background: var(--lav); }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.step legend { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; padding: 0; margin-bottom: 4px; }
.step .hint { font-family: var(--font-mono); font-size: .75rem; color: var(--muted-ink); }
.taps { display: flex; flex-wrap: wrap; gap: 10px; }
.tap { font: 600 1rem var(--font-body); padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ink-line); background: var(--ink); color: var(--white); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tap:hover { border-color: var(--lav); }
.tap[aria-pressed="true"] { background: var(--lav); color: var(--ink); border-color: var(--lav); }
.tap:focus-visible, .back:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.step .nav { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.back { background: none; border: 0; color: var(--lav-soft); font: 600 1rem var(--font-body); cursor: pointer; margin-right: auto; padding: 8px 0; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.contact .btn.solid { background: var(--lav); border-color: var(--lav); color: var(--ink); }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* Sticky mobile CTA */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { display: flex; position: fixed; z-index: 65; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; align-items: center; gap: 12px; background: var(--purple); color: var(--white); padding: 14px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55); transition: transform .35s ease, opacity .35s ease; }
  .mcta small { font-weight: 500; color: var(--lav-soft); font-size: .8rem; }
  .mcta.away { transform: translateY(150%); opacity: 0; pointer-events: none; }
  footer .in { padding-bottom: 96px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mcta { transition: none; } }

/* Founder */
.founder { background: var(--white); }
.founder .in { padding-block: 120px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.photos { position: relative; padding: 0 12% 14% 0; min-width: 0; }
.portrait { margin: 0; border-radius: 24px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--purple); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1205; object-fit: cover; }
.polaroid { position: absolute; right: 0; bottom: 0; width: 44%; margin: 0; background: var(--white); padding: 10px 10px 12px; border: 2px solid var(--ink); border-radius: 6px; transform: rotate(5deg); box-shadow: 0 18px 30px -16px rgba(23,18,31,.45); display: grid; gap: 8px; }
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-paper); text-align: center; }
.note { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.note .tag { color: var(--purple); }
.note h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .92; }
.note p { font-size: 1.12rem; color: var(--muted-paper); max-width: 52ch; }
.sig { display: grid; gap: 2px; margin-top: 4px; }
.sig-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; font-style: italic; color: var(--ink); }
.sig .tag { color: var(--muted-paper); }
.manifesto .sign img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lav); }
@media (max-width: 920px) {
  .founder .in { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 80px; }
  .photos { max-width: 420px; }
}

/* ===== Phone pass (v1.2) ===== */
@media (max-width: 920px) {
  .hero .in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 36px 56px; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .hero .lede { font-size: 1.08rem; }
  .bg-mark { width: 60%; right: -4%; top: -14%; }
}
@media (max-width: 760px) {
  .scroll-cue { display: none; }
  .hero .ctas { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero .ctas .btn { justify-content: center; }
  .prompt p { font-size: .95rem; min-height: 4.3em; }
  .mini { grid-template-columns: 48px minmax(0, 1fr); }
  .mini-main { padding: 12px; }
  .mc { padding: 8px; }

  /* Demo screens become real phone layouts: menu turns into a tab row, content reflows */
  .frame-body { overflow-x: visible; }
  .frame.big .mock { width: 100%; max-width: 100%; aspect-ratio: auto; container-type: normal; }
  .frame.big .app { position: relative; inset: auto; font-size: 11.5px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .frame.big .app .sb { flex-direction: row; align-items: center; gap: .5em; padding: .8em; overflow-x: auto; scrollbar-width: none; }
  .frame.big .app .sb::-webkit-scrollbar { display: none; }
  .frame.big .app .sb .etg-logo, .frame.big .app .sb .ss-logo, .frame.big .app .sb .grp, .frame.big .app .sb .nv.off { display: none; }
  .frame.big .app .sb .nv { width: auto; flex: none; padding: .65em 1.1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 1em; margin-top: 0 !important; }
  .frame.big .app .sb .nv .ic { display: none; }
  .frame.big .eb .nv.on { box-shadow: none; background: #E8C21F; color: #0A0A0A; border-color: #E8C21F; }
  .frame.big .ss .nv.on { background: #2453D6; border-color: #2453D6; color: #fff; }
  .frame.big .app .cnt { padding: 1.2em; gap: .9em; }
  .frame.big .app .view { gap: .9em; }
  .frame.big .app .h1 { font-size: 1.7em; }
  .frame.big .app .g3, .frame.big .app .split2, .frame.big .app .two { grid-template-columns: minmax(0, 1fr); }
  .frame.big .app .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame.big .app .row-x { flex-wrap: wrap; }
  .frame.big .app .srch { width: 100%; }
  .frame.big .app .tabs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .frame.big .app .tbl { overflow-x: auto; scrollbar-width: thin; }
  .frame.big .app .tbl .tr { min-width: 34em; }
  .frame.big .app .tbl > b { display: block; padding-bottom: .4em; }
  .frame.big .app .ln { font-size: .9em; }
  .frame.big .ss .agent { display: none; }
  .frame.big .ep-head { padding: 1em 1.2em; }
  .frame.big .ep-body { padding: 1.2em; }
  .frame.big .ep .b { padding: .75em 1.1em; font-size: .95em; }
  .frame.big .ssl { grid-template-columns: minmax(0, 1fr); }
  .frame.big .ssl .lf { padding: 1.6em 1.4em; }
  .frame.big .ssl .rt { display: none; }
  .frame.big .ssl .blk { padding: .9em; }
  .frame.big .chk { font-size: 1em; padding: .2em 0; }
  .switch button { flex: 1 1 0; padding: 12px 10px; }
  .frame.big { box-shadow: 6px 6px 0 var(--purple); }
  .portrait img, .polaroid img { content-visibility: visible; }
}
