@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Variable.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --ground: #0D0E12;
  --deep: #07080B;
  --surface: #16181D;
  --field: #1E1F25;
  --line: rgba(255, 255, 255, 0.1);
  --text: #EBECEF;
  --secondary: #AAAEBB;
  --tertiary: #8F94A3;
  --accent: #F2330D;
  --ember: #FF5A38;
  --rose: #FF7A93;
  --amber: #F5B83D;
  --green: #3ECF8E;
  --sky: #5AB4F5;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --wide: 1120px;
  --edge: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 90, 56, 0.35); }

.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--ground); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 8px; }

.bar { position: sticky; top: 0; z-index: 20; background: rgba(13, 14, 18, 0.78); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.links a { color: var(--secondary); text-decoration: none; transition: color 0.2s; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); }
.get { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.22); font-family: var(--mono); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color 0.2s, background 0.2s; }
.get:hover { border-color: var(--ember); background: rgba(255, 90, 56, 0.1); }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 16px; background: linear-gradient(180deg, var(--ember), var(--accent)); color: #fff; font-family: var(--mono); font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 14px 40px -12px rgba(242, 51, 13, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.2s, box-shadow 0.2s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -12px rgba(242, 51, 13, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.cta:active { transform: translateY(0); }
.quiet { display: inline-flex; align-items: center; min-height: 56px; padding: 0 8px; font-family: var(--mono); font-size: 15px; color: var(--secondary); text-decoration: none; transition: color 0.2s; }
.quiet:hover { color: var(--text); }

.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero::before { content: ""; position: absolute; inset: -64px 0 0; background: radial-gradient(60% 70% at 78% 38%, rgba(242, 51, 13, 0.22), transparent 70%), radial-gradient(40% 50% at 12% 0%, rgba(90, 180, 245, 0.08), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-family: var(--mono); font-weight: 500; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 span { color: var(--ember); display: block; }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--secondary); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

.prompt { margin-top: 40px; max-width: 560px; background: rgba(22, 24, 29, 0.86); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.prompt-text { font-family: var(--mono); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; min-height: 4.8em; }
.prompt-text span { transition: opacity 0.3s, color 0.3s; }
.prompt-text span.off { opacity: 0.22; text-decoration: line-through; }
.r-subject { color: var(--text); }
.r-style { color: var(--rose); }
.r-light { color: var(--amber); }
.r-camera { color: var(--green); }
.r-palette { color: var(--sky); }
.layers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.layer { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--text); transition: opacity 0.25s, border-color 0.25s; }
.layer::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.layer[data-role="subject"]::before { color: var(--text); }
.layer[data-role="style"]::before { color: var(--rose); }
.layer[data-role="light"]::before { color: var(--amber); }
.layer[data-role="camera"]::before { color: var(--green); }
.layer[data-role="palette"]::before { color: var(--sky); }
.layer:hover { border-color: rgba(255, 255, 255, 0.3); }
.layer[aria-pressed="false"] { opacity: 0.45; }
.layer[aria-pressed="false"]::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.params { font-family: var(--mono); font-size: 12px; color: var(--tertiary); }
.copy { height: 38px; min-width: 96px; padding: 0 16px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.copy:hover { border-color: rgba(255, 255, 255, 0.3); }
.copy.done { color: var(--green); border-color: rgba(62, 207, 142, 0.5); }
.copy:disabled { opacity: 0.4; cursor: default; }

.reel { position: relative; justify-self: center; width: min(100%, 340px, calc((100vh - 170px) * 886 / 1920)); min-width: 240px; }
.reel::before { content: ""; position: absolute; inset: 8% -18%; background: radial-gradient(closest-side, rgba(255, 90, 56, 0.35), transparent); filter: blur(30px); }
.reel video { position: relative; width: 100%; aspect-ratio: 886 / 1920; object-fit: cover; border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--deep); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.reel-toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(7, 8, 11, 0.7); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; }
.reel-toggle svg { width: 16px; height: 16px; fill: var(--text); }
.reel-toggle .i-play { display: none; }
.reel-toggle[aria-pressed="true"] .i-play { display: block; }
.reel-toggle[aria-pressed="true"] .i-pause { display: none; }

section { padding: clamp(56px, 8vw, 104px) 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { font-family: var(--mono); font-weight: 500; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
h2 em { font-style: normal; color: var(--ember); }

.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 0.2s, opacity 0.2s; }
.arrows button:hover { border-color: rgba(255, 255, 255, 0.35); }
.arrows button:disabled { opacity: 0.3; cursor: default; }
.arrows svg { width: 16px; height: 16px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px var(--edge) 12px; scroll-padding-inline: var(--edge); scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: 0 0 clamp(220px, 62vw, 272px); scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); background: var(--deep); }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers li { padding: clamp(24px, 4vw, 44px) 0; }
.numbers li + li { padding-left: clamp(16px, 4vw, 44px); border-left: 1px solid var(--line); }
.numbers b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(40px, 8vw, 88px); line-height: 1; letter-spacing: -0.05em; }
.numbers li:nth-child(1) b { color: var(--rose); }
.numbers li:nth-child(2) b { color: var(--amber); }
.numbers li:nth-child(3) b { color: var(--sky); }
.numbers span { display: block; margin-top: 12px; font-family: var(--mono); font-size: clamp(12px, 1.4vw, 15px); color: var(--secondary); }

.band { overflow: hidden; padding: clamp(32px, 5vw, 56px) 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band-track { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.band-track img { width: clamp(120px, 16vw, 176px); aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
@keyframes drift { to { transform: translateX(calc(-50% - 7px)); } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.grid li { background: var(--ground); padding: clamp(22px, 3vw, 32px); transition: background 0.25s; }
.grid li:hover { background: var(--surface); }
.grid h3 { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.grid h3::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--tone, var(--text)); flex: none; }
.grid p { margin-top: 12px; color: var(--secondary); font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.facts li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts svg { width: 20px; height: 20px; margin-top: 3px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.facts b { display: block; font-family: var(--mono); font-weight: 500; font-size: 17px; }
.facts span { display: block; margin-top: 4px; color: var(--secondary); font-size: 16px; }
.body { color: var(--secondary); max-width: 32em; margin-top: 20px; }
.body + .body { margin-top: 14px; }
.text-link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.text-link:hover { text-decoration-color: var(--ember); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.card h3 { font-family: var(--mono); font-weight: 500; font-size: 20px; }
.card p { margin-top: 12px; color: var(--secondary); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--mono); font-weight: 500; font-size: clamp(16px, 1.8vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 24px; max-width: 44em; color: var(--secondary); }
.faq details > div p + p { margin-top: 12px; }

.close { text-align: center; padding-bottom: clamp(72px, 10vw, 128px); }
.close img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 24px 60px -20px rgba(242, 51, 13, 0.6); }
.close h2 { max-width: 16em; margin: 0 auto; }
.close h2 em { display: block; }
.close .actions { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--tertiary); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer nav a { color: var(--secondary); text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer p { max-width: 44em; }
footer p + p { margin-top: 8px; }

.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.doc h1 { font-family: var(--mono); font-weight: 500; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -0.035em; }
.stamp { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--tertiary); }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 128px); overflow-y: auto; font-size: 14px; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 1px solid var(--line); color: var(--tertiary); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); border-left-color: var(--ember); }
.prose { margin-top: 36px; }
.prose h2 { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose p { color: #C9CCD6; }
.prose p + p, .prose ul + p, .prose p + ul, .prose .table + p { margin-top: 14px; }
.prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--ember); }
.prose ul li { position: relative; padding-left: 20px; color: #C9CCD6; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.68em; width: 6px; height: 6px; border-radius: 1.5px; background: var(--ember); }
.table { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--tertiary); background: var(--surface); }
.table td { color: #C9CCD6; }
.table td:first-child { color: var(--text); }

.reach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.reach a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.reach a:hover { border-color: rgba(255, 90, 56, 0.6); transform: translateY(-2px); }
.reach b { display: block; font-family: var(--mono); font-weight: 500; font-size: 18px; }
.reach span { display: block; margin-top: 6px; color: var(--secondary); font-size: 15px; overflow-wrap: anywhere; }
.doc .faq { margin-top: 20px; }
.doc .faq a { color: var(--text); text-underline-offset: 3px; }

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.lost b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(72px, 18vw, 160px); line-height: 1; letter-spacing: -0.06em; color: var(--ember); }
.lost p { margin: 16px 0 32px; color: var(--secondary); }

.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .links { display: none; }
  .get { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .doc .wrap { grid-template-columns: minmax(0, 720px); }
  .toc { display: none; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 60px); }
  .reel { width: min(100%, 300px); margin-top: 8px; }
  .split { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .grid { grid-template-columns: 1fr; border-radius: 20px; }
  .cta { width: 100%; }
  .actions .quiet { min-height: 44px; }
  .arrows { display: none; }
  .reach { grid-template-columns: 1fr; }
  .table table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tr { display: block; padding: 16px; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { display: block; padding: 0; border: 0; }
  .table td + td { margin-top: 10px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; color: var(--tertiary); margin-bottom: 2px; }
  .prompt { padding: 16px; }
}
@media (hover: none) { .arrows { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  .cta, .reach a { transition: none; }
}
