/* noteframe landing, v2 (draft, not live). A black page where the looks are the only colour: a full-bleed field of looks you can drag,
   the headline underneath, a quiet menu. Layered on landing.css: everything below the hero keeps its markup and scripts. */
:root {
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] {
  --paper: #000; --paper-2: #0c0c0d; --ink: #f3f3f2; --ink-2: #a6a6a4; --ink-3: #6c6c6a;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .24); --night: #000;
}
:root[data-theme="dark"] .ascii { background: #070707; }
:root[data-theme="dark"] .btn:hover { background: #fff; }

/* ───────── menu: serif wordmark, quiet links, pills ───────── */
.nav { background: transparent; border-bottom-color: transparent; transition: background .3s, border-color .3s; }
:root[data-theme="dark"] .nav { background: transparent; }
:root[data-theme="dark"] .nav.is-scrolled { background: rgba(0, 0, 0, .62); border-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { :root[data-theme="dark"] .nav.is-scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); } }
.nav-in { max-width: 1280px; height: 60px; gap: 26px; }
.brand { gap: 10px; }
.brand-word { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -.025em; }
.brand-prod { font-size: 12px; letter-spacing: .02em; }
.nav-links { gap: 22px; font-size: 13.5px; font-weight: 500; margin-left: 8px; }
.nav-act { gap: 8px; font-size: 13px; }
.nav-act .btn-sm, .nav-act .nav-acc, .nav-act .theme { height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.nav-act .btn-sm, .nav-act .nav-acc { background: #1d1d1e; color: #f3f3f2; box-shadow: none; }
.nav-act .btn-sm:hover, .nav-act .nav-acc:hover { background: #2c2c2e; color: #fff; }
.nav-act .theme { flex: none; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
:root:not([data-theme="dark"]) .nav-act .btn-sm, :root:not([data-theme="dark"]) .nav-act .nav-acc { background: #1f2ca8; color: #fff; }
.nav-act .nav-cr { color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.nav-burger { display: none; width: 34px; height: 34px; margin-left: -8px; border-radius: 8px; position: relative; }
.nav-burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-burger span:nth-child(1) { top: 13px; } .nav-burger span:nth-child(2) { top: 20px; }
.nav.is-open .nav-burger span:nth-child(1) { top: 16px; transform: rotate(45deg); } .nav.is-open .nav-burger span:nth-child(2) { top: 16px; transform: rotate(-45deg); }
@media (max-width: 959px) {
  .nav-burger { display: block; }
  .nav-in { gap: 12px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--pad) 18px; background: rgba(0, 0, 0, .92); border-bottom: 1px solid var(--line); font-size: 17px; }
  :root:not([data-theme="dark"]) .nav-links { background: rgba(229, 232, 237, .97); }
  .nav.is-open .nav-links { display: flex; animation: menuIn .28s var(--ease); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-act .theme .theme-tx { display: none; }
  .nav-act .theme { width: 32px; min-width: 32px; padding: 0; justify-content: center; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }

/* ───────── hero: a field of looks you can move ───────── */
.hero2 { position: relative; isolation: isolate; min-height: max(620px, 100svh); margin-top: -60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); align-items: end; gap: clamp(20px, 4vw, 64px); padding: 120px var(--pad) clamp(26px, 5vh, 54px); overflow: hidden; max-width: none; }
.stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; touch-action: pan-y; contain: layout paint; }
.hero2::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--paper) 18%, color-mix(in srgb, var(--paper) 88%, transparent) 46%, transparent); }
.hero2-copy, .hero2-side { position: relative; z-index: 2; pointer-events: none; }
.hero2-copy a, .hero2-side a, .hero2-side p { pointer-events: auto; }
.hero2-new { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 13px 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 82%, transparent); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 500; transition: color .2s, box-shadow .2s; }
.hero2-new:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.hero2-h { margin: 0; font-size: clamp(2.9rem, 6.4vw, 6.4rem); font-weight: 600; line-height: .94; letter-spacing: -.05em; }
.hero2-side { padding-bottom: .5rem; }
.hero2-side .lede { max-width: 38ch; font-size: clamp(15px, 1.15vw, 17px); }
.hero2-side .hero-cta { gap: 10px; margin-top: 20px; }
.hero2-side .hero-fine { margin-top: 18px; font-size: 12.5px; max-width: 42ch; }
.btn-pill { height: 38px; padding: 0 17px; border-radius: 999px; font-size: 14px; font-weight: 600; gap: 8px; }
:root[data-theme="dark"] .btn-pill:not(.btn-quiet) { background: #f3f3f2; color: #000; }
.btn-quiet, :root[data-theme="dark"] .btn-quiet { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover, :root[data-theme="dark"] .btn-quiet:hover { background: rgba(255, 255, 255, .13); }
:root:not([data-theme="dark"]) .btn-quiet { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }

.stage { cursor: grab; outline-offset: -4px; }
.stage.is-drag { cursor: grabbing; }
.stage.is-drag * { user-select: none; -webkit-user-select: none; }
.stage::before, .stage::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 7vw, 120px); z-index: 2; pointer-events: none; }
.stage::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.stage::after { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
.lane { position: absolute; left: 0; top: 0; display: flex; width: max-content; will-change: transform; opacity: 0; transition: opacity 1.1s var(--ease) var(--d, 0s); }
.stage.is-in .lane { opacity: 1; }
.card { position: relative; flex: none; margin: 0; }
.card-media { position: relative; border-radius: 8px; overflow: hidden; background: #111; outline: 1px solid rgba(255, 255, 255, .07); outline-offset: -1px; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card-media img { opacity: 0; transition: opacity .5s; }
.card-media img[src] { opacity: 1; }
.card-media video { opacity: 0; transition: opacity .3s; }
.card-media video.is-ready { opacity: 1; }
.card figcaption { display: grid; gap: 1px; margin-top: 7px; font: 500 11px/1.25 var(--mono); letter-spacing: 0; white-space: nowrap; overflow: hidden; }
.card figcaption b { color: var(--ink); font-weight: 500; }
.card figcaption span { color: var(--ink-3); }
.card .use { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; padding: 7px 12px; border-radius: 999px; background: #f3f3f2; color: #000; font: 600 12px/1 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.card.is-playing .use { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .card:hover .card-media { outline-color: rgba(255, 255, 255, .28); } }
.stage-hint { position: absolute; left: var(--pad); top: 84px; z-index: 3; font: 400 11px/1.3 var(--mono); color: var(--ink-3); transition: opacity .6s; pointer-events: none; }
.stage-hint.is-off { opacity: 0; }
@media (max-width: 959px) {
  .hero2 { grid-template-columns: 1fr; align-items: end; gap: 22px; padding-top: 100px; }
  .hero2-side .hero-fine { display: none; }
  .stage-hint { top: 70px; }
}
@media (max-width: 560px) { .hero2-h { font-size: clamp(2.7rem, 14vw, 4rem); } .hero2::after { height: 70%; } }

/* ───────── motion: things arrive as you reach them ───────── */
.js .rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .85s var(--ease) var(--d, 0s), transform .85s var(--ease) var(--d, 0s); }
.js .rv-lite { transform: translate3d(0, 18px, 0); }
.js .rv.rv-in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .split .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform .9s var(--ease) var(--d, 0s); }
.js .split.rv-in .w > span { transform: none; }
.js .split.rv { opacity: 1; transform: none; filter: none; }
@supports (animation-timeline: view()) {
  .js .ascii-fig .win { animation: winIn linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  @keyframes winIn { from { transform: translateY(64px) scale(.93); opacity: .25; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .js .ascii-fig .win { animation: none; }
}

@media (max-width: 560px) {
  .brand-word { font-size: 22px; }
  .nav-in { gap: 8px; }
  .nav-act { gap: 6px; }
  .nav-act .theme { display: none; }
  .nav-act .btn-sm, .nav-act .nav-acc { padding: 0 11px; font-size: 12.5px; }
}

/* ───────── studio screenshot section ───────── */
.shot { max-width: none; margin: 0; padding: clamp(64px, 11vw, 150px) var(--pad) clamp(56px, 9vw, 120px); display: grid; justify-items: center; gap: clamp(32px, 5vw, 64px); }
.shot-head { text-align: center; max-width: 760px; }
.shot h2 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; color: var(--ink); }
.shot-lede { max-width: 50ch; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }
.shot-act { display: flex; justify-content: center; margin-top: 26px; }
.shot .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.shot-fig { margin: 0; width: min(1240px, 100%); }
.shot-win { border-radius: 14px; overflow: hidden; background: #0a0a0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 120px -40px rgba(0, 0, 0, .9); }
.shot-win img { display: block; width: 100%; height: auto; }
/* smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
/* all looks: three rows, then "Show more" */
#nf-looks.is-clipped > .tile.is-extra { display: none; }
#nf-looks + .more-row { display: flex; justify-content: center; margin-top: 34px; }
#nf-looks + .more-row[hidden] { display: none; }
#nf-looks + .more-row .btn { height: 46px; padding: 0 22px; }
/* paint less while it is off screen (sections below the fold are laid out when they come near) */
.card { contain: layout paint style; }

/* ── Made With AI (11 Nov 2026): the gallery's "See the prompt" and the prompt window ── */
.grid-made .tile figcaption { flex-wrap: wrap; row-gap: 2px; }
.grid-made .tile figcaption .k { margin-left: 0; width: 100%; color: var(--ink-2); }
.made-pr { font: 600 12.5px/1.2 var(--sans, inherit); color: var(--ink); background: none; border: 0; padding: 4px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.made-pr:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
#nf-made.is-clipped > .tile.is-extra { display: none; }
#nf-made + .more-row { display: flex; justify-content: center; margin-top: 34px; }
#nf-made + .more-row[hidden] { display: none; }
#nf-made + .more-row .btn { height: 46px; padding: 0 22px; }
.made-dlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(10, 14, 40, .35); overflow: auto; overscroll-behavior: contain; }
.made-dlg::backdrop { background: rgba(10, 14, 40, .55); }
.made-dlg-in { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px; }
.made-dlg-pic { aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: var(--night); }
.made-dlg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.made-dlg-by { margin: 4px 0 6px; font-size: 12.5px; color: var(--ink-2); }
.made-dlg h3 { margin: 0 0 18px; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.made-dlg-k { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.made-dlg-prompt { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.made-dlg-act { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .made-dlg-in { grid-template-columns: 1fr; padding: 16px; gap: 16px; } .made-dlg-pic { width: 46%; margin: 0 auto; } .made-dlg h3 { font-size: 22px; } }
:root[data-theme="dark"] .made-dlg { background: #12162e; color: #e8eaf6; }
:root[data-theme="dark"] .made-pr, :root[data-theme="dark"] .made-dlg-k, :root[data-theme="dark"] .made-dlg-by { color: #c4c9f0; }
