/* ─────────────────────────────────────────────────────────────────────────
   Culled.studio site styles (same structure as Deckle's atelier.css).
   VOICE   calm, exact, for working photographers at 1am.
   IDEA    the contact sheet: dark viewing room, marked frames, a loupe.
   PICTURE the real app, large, in its own window.
   COLOUR  the app's neutral grey, its green accent, white paper sections.
   TYPE    Inter Tight for titles, Inter for text (the app's own face).
   ───────────────────────────────────────────────────────────────────────── */
/* Inter and Inter Tight, self-hosted (SIL Open Font License), latin subset, variable weight. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(fonts/inter-tight-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --room-900: #161616;   /* deepest band (final call, footer)            */
  --room-800: #1e1e1e;   /* page background                              */
  --room-700: #262626;   /* the app's default background                 */
  --room-600: #303030;   /* panels                                       */
  --line-dark:  #3a3a3a;
  --line-dark-2:#4a4a4a;
  --paper:      #f6f6f4; /* light sections                               */
  --paper-2:    #ecece8;
  --line-light: #d9d9d3;
  --ink:        #151515;
  --ink-2:      #3d3d3b;
  --ink-3:      #6b6b66;
  --on-dark:    #ececea;
  --on-dark-2:  #a9a9a4;
  --green:      #3fb68b; /* the app's accent (63/182/139)                */
  --green-hi:   #52c99d;
  --green-ink:  #06231a; /* text on the green button                     */
  --green-deep: #1f7a5a; /* green text on paper: 5.2:1                    */
  --amber:      #e8a23a; /* the app's "worth a look" warning              */
  --reject:     #e5534b;
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--on-dark); background: var(--room-800); -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 780px; }

/* ── Type ── */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; color: #fff; }
h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
.kicker { font-size: 15px; font-weight: 600; color: var(--green); margin-bottom: 14px; }
.kicker b { font-weight: 600; color: var(--on-dark-3, #8a8a8a); margin-right: 8px; font-variant-numeric: tabular-nums; }
.lede { font-size: 19px; line-height: 1.55; max-width: 640px; color: var(--on-dark); }
.muted { color: var(--on-dark-2); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-family: var(--sans); font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 13px 22px; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: var(--green-hi); }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark-2); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-small { min-height: 40px; padding: 8px 15px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.assure { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: 14px; color: var(--on-dark-2); list-style: none; }
.assure li::before { content: ''; display: inline-block; width: 10px; height: 5px; margin: 0 9px 3px 0; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ── Light sections: white paper under the viewing-room chrome ── */
.on-light { background: var(--paper); color: var(--ink-2); }
.on-light h1, .on-light h2, .on-light h3 { color: var(--ink); }
.on-light .lede { color: var(--ink-2); }
.on-light .muted { color: var(--ink-3); }
.on-light .kicker { color: var(--green-deep); }
.on-light .kicker b { color: var(--ink-3); }
.on-light .btn-ghost { color: var(--ink); border-color: var(--line-light); }
.on-light .btn-ghost:hover { border-color: var(--ink); }
.on-light .assure { color: var(--ink-3); }
.on-light .assure li::before { border-color: var(--green-deep); }
.deep { background: var(--room-900); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(30,30,30,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; position: relative; }
/* The wordmark: "Culled" large and white, ".studio" smaller and green beside it, sharing a baseline (founder, 2026-12-04). */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 900; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 900; font-size: 1em; }
.wordmark em { font-style: normal; color: inherit; }
.on-light .wordmark i { color: var(--green-deep); }
.wordmark i { font-style: normal; font-weight: 500; font-size: .5em; letter-spacing: -0.01em; margin-left: .06em; color: var(--green); }
.brand { display: flex; align-items: center; text-decoration: none; font-size: 30px; color: #fff; }
.brand .wordmark i { font-size: .52em; }
/* Huge and faint behind a section, bleeding off the bottom edge. */
.has-backdrop { position: relative; overflow: hidden; isolation: isolate; }
.backdrop { position: absolute; left: 0; right: 0; bottom: -0.26em; z-index: -1; text-align: center; font-size: 17.5vw; color: #fff; pointer-events: none; user-select: none; }
.backdrop .wordmark { letter-spacing: -0.05em; }
/* Solid letters, faded as one layer each, so the overlapping heavy letters don't show darker seams. */
.backdrop .wordmark b { opacity: .045; }
.backdrop .wordmark i { color: var(--green); opacity: .09; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--on-dark-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links .btn { color: var(--green-ink); }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform .2s, opacity .2s; }
/* Open: the three lines become a close (X). */
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-links.mobile-open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--room-800); border-bottom: 1px solid var(--line-dark); padding: 22px 32px 26px; gap: 18px; }
.nav-links.mobile-open a:not(.btn) { display: block; }

/* ── Page header, for everything that isn't the landing page ── */
.page-head { padding: 84px 0 54px; }
.page-head .lede { margin-top: 20px; }
.page-head .ctas { margin-top: 30px; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── Prose, for articles, wiki pages and legal pages ── */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 21px; margin-top: 1.6em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .5em; }
.prose li::marker { color: var(--green-deep); }
.prose a { color: var(--green-deep); text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-green { color: var(--green-ink); }
.prose blockquote { border-left: 3px solid var(--green); padding: 4px 0 4px 22px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line-light); margin: 2.4em 0; }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line-light); }
.prose figcaption, .prose img + em { display: block; font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.prose kbd, .kbd { font: 600 .82em var(--sans); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-light); border-bottom-width: 2px; background: #fff; color: var(--ink); white-space: nowrap; }
.prose code { font-size: .9em; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }

/* ── Ruled lists, in place of card grids ── */
.lines { list-style: none; border-top: 1px solid var(--line-dark); }
.lines li { padding: 15px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 16px; }
.lines b { color: #fff; font-weight: 600; }
.on-light .lines { border-top-color: var(--line-light); }
.on-light .lines li { border-bottom-color: var(--line-light); color: var(--ink-2); }
.on-light .lines b { color: var(--ink); }

/* ── Index rows: releases, articles, wiki entries ── */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 170px minmax(0,1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-dark); text-decoration: none; }
.row:last-child { border-bottom: 1px solid var(--line-dark); }
.row:hover .row-title { color: var(--green); }
.row-date { font-size: 14px; color: var(--on-dark-2); }
.row-title, .row-sub, .row-date { display: block; }
.row-title { font-family: var(--display); font-weight: 600; font-size: 21px; color: #fff; line-height: 1.3; transition: color .15s; }
.row-sub { font-size: 15px; color: var(--on-dark-2); margin-top: 6px; max-width: 70ch; }
.row-go { font-size: 14px; color: var(--green); white-space: nowrap; }
.on-light .row { border-top-color: var(--line-light); }
.on-light .row:last-child { border-bottom-color: var(--line-light); }
.on-light .row-title { color: var(--ink); }
.on-light .row:hover .row-title { color: var(--green-deep); }
.on-light .row-date, .on-light .row-sub { color: var(--ink-3); }
.on-light .row-go { color: var(--green-deep); }

/* ── FAQ ── */
details { border-top: 1px solid var(--line-dark); }
details:last-of-type { border-bottom: 1px solid var(--line-dark); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 500; color: #fff; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 15px; font-size: 26px; font-weight: 300; color: var(--green); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 22px 0; color: var(--on-dark-2); }
.on-light details { border-top-color: var(--line-light); }
.on-light details:last-of-type { border-bottom-color: var(--line-light); }
.on-light summary { color: var(--ink); }
.on-light summary::after { color: var(--green-deep); }
.on-light details p { color: var(--ink-2); }

/* A file the release build does not have yet */
.soon { font-size: 14px; color: var(--on-dark-2); border: 1px solid var(--line-dark); border-radius: 999px; padding: 9px 16px; }

/* ── Panels and screenshots ── */
.panel { background: var(--room-600); border-radius: 14px; padding: 28px; }
.on-light .panel { background: #fff; border: 1px solid var(--line-light); }
.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 24px 60px rgba(0,0,0,.45); background: var(--room-700); }
.on-light .shot { box-shadow: 0 0 0 1px var(--line-light), 0 18px 40px rgba(20,20,20,.12); }
/* The app in its own window: a title bar with the three dots, then the screenshot. */
.window { border-radius: 12px; overflow: hidden; background: var(--room-700); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #1b1b1b; border-bottom: 1px solid #2c2c2c; font-size: 12px; color: var(--on-dark-2); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.window-bar span { margin-left: 8px; }
figure.cap figcaption { font-size: 14px; color: var(--on-dark-2); margin-top: 12px; }
.on-light figure.cap figcaption { color: var(--ink-3); }

/* ── Final call to action ── */
.final { padding: 112px 0 calc(112px + 9vw); text-align: center; background: var(--room-900); }
/* The extra bottom room is for the backdrop wordmark; without it, even padding. */
.final:not(.has-backdrop) { padding-bottom: 112px; }
.final h2 { max-width: 820px; margin: 0 auto 28px; font-size: clamp(32px, 4.4vw, 52px); }
.final .ctas, .final .assure { justify-content: center; }

/* ── Footer ── */
footer { padding: 40px 0; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); background: var(--room-900); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .social { gap: 18px; align-items: center; }
footer .social a { display: inline-flex; transition: color .15s; }
footer .social a:hover { color: var(--green); }

/* ── Forms (affiliate application, checkout) ── */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { font: 16px var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-light); background: #fff; color: var(--ink); min-height: 48px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.form { display: grid; gap: 16px; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links a:not(.btn) { display: none; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row-go { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .page-head { padding: 52px 0 40px; }
  .section { padding: 56px 0; }
  .ctas .btn { width: 100%; }
  .prose { font-size: 17px; }
  .final, .final:not(.has-backdrop) { padding: 76px 0; }
  footer .wrap { flex-direction: column; justify-content: center; text-align: center; gap: 18px; }
  footer nav { justify-content: center; gap: 10px 20px; }
  .nav-links.mobile-open { padding: 20px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
