/* Disluke Designs
   Layout: a proof sheet. A bright light-table page where the thumbnails are the
   loudest thing on it, laid out with printer's crop marks. Only the hero headline shouts. */

:root {
  --paper: #F3F4F7;
  --surface: #FFFFFF;
  --ink: #0E1015;
  --ink-2: #4B5163;
  --line: #D8DBE3;
  --mark: #B3B8C6;
  --pop: #FFD21F;
  --hot: #F2272E;
  --outline: #0E1015;
  --on-pop: #0E1015;
  --focus: #2F6BFF;
  --shadow: 0 1px 2px rgb(14 16 21 / .06), 0 10px 28px rgb(14 16 21 / .10);

  --f-display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: .8rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-3: clamp(2.4rem, 1.5rem + 3vw, 3.8rem);
  --step-4: clamp(3.6rem, 1.3rem + 7.4vw, 7.4rem);

  --r: 14px;
  --wrap: 1200px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1116;
    --surface: #171A21;
    --ink: #F2F3F6;
    --ink-2: #A3A9B8;
    --line: #2A2F3B;
    --mark: #4A5162;
    --pop: #FFD21F;
    --hot: #FF4A50;
    --outline: #0E1015;
    --on-pop: #0E1015;
    --focus: #8CB0FF;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--pop); color: var(--on-pop);
  padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.eyebrow, .label {
  font: 500 var(--step--1)/1.2 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.4em;
  border: 2px solid var(--outline);
  border-radius: 12px;
  background: var(--pop);
  color: var(--on-pop);
  font-weight: 800; font-size: 1rem; line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--outline);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--outline); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--outline); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:active { box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { padding: .65em 1.05em; font-size: .92rem; box-shadow: 2px 2px 0 var(--outline); }
.text-btn {
  background: none; border: 0; padding: 4px 2px;
  font-weight: 700; color: var(--ink); cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 3px; text-decoration-color: var(--pop);
}
.text-btn:hover { text-decoration-color: var(--hot); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 46px; aspect-ratio: 16 / 9;
  background: var(--pop); color: var(--on-pop);
  border: 2px solid var(--outline); border-radius: 6px;
  box-shadow: 2px 2px 0 var(--outline);
  font: 400 15px/1 var(--f-display); letter-spacing: .04em;
}
.logo-word { font: 400 1.35rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.logo-word span { color: var(--ink-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: var(--surface); }
@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-title { font-size: var(--step-4); line-height: .9; }
.hero-title .line { display: block; }

/* The one loud moment: thumbnail-style lettering with a red marker circle. */
.circled {
  position: relative;
  display: inline-block;
  color: var(--pop);
  -webkit-text-stroke: .09em var(--outline);
  paint-order: stroke fill;
  text-shadow: .06em .07em 0 var(--outline);
}
.scribble {
  position: absolute;
  left: -9%; top: -16%;
  width: 118%; height: 132%;
  overflow: visible;
  pointer-events: none;
}
.scribble path {
  fill: none;
  stroke: var(--hot);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw .9s .5s cubic-bezier(.6, .1, .3, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li {
  font: 500 .76rem/1 var(--f-mono); letter-spacing: .04em;
  padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- Thumbnails ---------- */
.thumb {
  position: relative;
  display: block;
  width: 100%; max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1B1E25;
  isolation: isolate;
}
.thumb > svg, .thumb > img { width: 100%; height: 100%; object-fit: cover; }
.art .tt { font-family: var(--f-display); letter-spacing: 0; }
.ts {
  position: absolute; right: 6px; bottom: 6px; z-index: 2;
  padding: 3px 5px; border-radius: 4px;
  background: rgb(0 0 0 / .82); color: #fff;
  font: 600 12px/1 var(--f-body); letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.zone {
  position: absolute; right: 0; bottom: 0; z-index: 1;
  width: 24%; height: 22%;
  border: 2px dashed var(--hot); border-right: 0; border-bottom: 0;
  border-top-left-radius: 8px;
  background: rgb(242 39 46 / .22);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.show-zone .zone { opacity: 1; }

/* ---------- Shrink test ---------- */
.shrink { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.shrink-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.readout { font: 500 .78rem/1.2 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.stage {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.feed-item {
  width: 100%; max-width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.feed-item .thumb { transition: width .5s cubic-bezier(.2, .8, .2, 1), border-radius .5s; }
.stage[data-size="home"] .feed-item { width: 360px; }
.stage[data-size="side"] .feed-item { width: 420px; flex-direction: row; align-items: flex-start; gap: 10px; }
.stage[data-size="side"] .feed-item .thumb { width: 168px; flex: none; border-radius: 8px; }

.feed-meta { display: none; gap: 12px; min-width: 0; }
.stage[data-size="home"] .feed-meta,
.stage[data-size="side"] .feed-meta { display: flex; }
.stage[data-size="side"] .feed-avatar { display: none; }
.feed-avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--pop), var(--hot)); }
.feed-text { min-width: 0; }
.feed-title {
  font-weight: 700; font-size: .95rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-sub { font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.stage[data-size="side"] .feed-title { font-size: .85rem; }
.stage[data-size="side"] .feed-sub { font-size: .74rem; }

.ghost { display: none; width: 420px; max-width: 100%; gap: 10px; opacity: .8; }
.stage[data-size="side"] .ghost { display: flex; }
.ghost-thumb { width: 168px; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--line); flex: none; }
.ghost-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.ghost-lines i { display: block; height: 10px; border-radius: 5px; background: var(--line); }
.ghost-lines i:last-child { width: 55%; }

.shrink-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.seg button {
  border: 0; background: none; cursor: pointer;
  padding: 8px 12px; border-radius: 8px;
  font-weight: 700; font-size: .9rem; color: var(--ink-2);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--hot); }
#stage-next { margin-left: auto; }
.shrink figcaption { font-size: .9rem; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-note { color: var(--ink-2); max-width: 30em; }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .88rem; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 34px 24px;
}
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.frame {
  --m: var(--mark);
  position: relative; display: block; width: 100%;
  padding: 10px; border: 0; background: none;
  cursor: zoom-in; border-radius: 4px;
}
/* Printer's crop marks at each corner. */
.frame::before {
  --len: 16px; --w: 2px;
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) left top / var(--len) var(--w),
    linear-gradient(var(--m), var(--m)) left top / var(--w) var(--len),
    linear-gradient(var(--m), var(--m)) right top / var(--len) var(--w),
    linear-gradient(var(--m), var(--m)) right top / var(--w) var(--len),
    linear-gradient(var(--m), var(--m)) left bottom / var(--len) var(--w),
    linear-gradient(var(--m), var(--m)) left bottom / var(--w) var(--len),
    linear-gradient(var(--m), var(--m)) right bottom / var(--len) var(--w),
    linear-gradient(var(--m), var(--m)) right bottom / var(--w) var(--len);
  background-repeat: no-repeat;
}
.frame .thumb { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.frame:hover { --m: var(--hot); }
.frame:hover .thumb, .frame:focus-visible .thumb { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(0 0 0 / .25); }
.card-meta { padding-inline: 10px; display: flex; flex-direction: column; gap: 4px; }
.card-tag { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.card-title { font-size: 1.02rem; }

/* ---------- Craft rules ---------- */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.rule {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rule p { color: var(--ink-2); font-size: .95rem; }
.rule-visual {
  height: 160px; margin-bottom: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.rule-dim { font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.mini { width: 168px; }
.mini .thumb { border-radius: 8px; }
.zone-demo { width: 100%; max-width: 220px; }
.zone-demo .thumb { border-radius: 8px; }
.title-demo { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; width: 100%; max-width: 230px; }
.td-title {
  font-weight: 700; font-size: .88rem; line-height: 1.3;
  padding: 8px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
.td-text {
  margin-left: 6px;
  font: 400 2.5rem/1 var(--f-display); text-transform: uppercase;
  color: var(--pop);
  -webkit-text-stroke: .1em var(--outline); paint-order: stroke fill;
  text-shadow: .06em .07em 0 var(--outline);
  transform: rotate(-3deg);
}
.abc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 250px; }
.abc-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.abc-item .thumb { border-radius: 6px; }
.abc-item.win .thumb { outline: 3px solid var(--pop); outline-offset: 2px; }
.abc-label { font: 700 .72rem/1 var(--f-mono); color: var(--ink-2); }
.abc-item.win .abc-label { color: var(--ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 30px; } }
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.plan-featured { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--pop); }
.plan-flag {
  position: absolute; top: -14px; left: 24px;
  background: var(--pop); color: var(--on-pop);
  border: 2px solid var(--outline); border-radius: 6px;
  padding: 6px 9px;
  font: 700 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.plan-name { font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.amount { font: 400 3.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.per { color: var(--ink-2); font-weight: 600; }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 13px; height: 7px;
  border-left: 3px solid var(--hot); border-bottom: 3px solid var(--hot);
  transform: rotate(-45deg);
}
.plan-btn { width: 100%; }

/* ---------- Process ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.step-n {
  font: 400 3rem/1 var(--f-display);
  color: var(--pop);
  -webkit-text-stroke: .08em var(--outline); paint-order: stroke fill;
}
.step p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 28px 64px; align-items: start;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 100% no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Order ---------- */
.order-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px 64px; align-items: start;
}
@media (max-width: 900px) { .order-grid { grid-template-columns: minmax(0, 1fr); } }
.order-copy { display: flex; flex-direction: column; gap: 18px; }
.order-copy > p { color: var(--ink-2); font-size: 1.08rem; max-width: 32em; }
.contact { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.contact dt { font: 500 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); min-width: 60px; }
.contact dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }

.order-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--pop);
}
@media (max-width: 560px) { .order-form { grid-template-columns: minmax(0, 1fr); box-shadow: 5px 5px 0 var(--pop); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.optional { font-weight: 500; color: var(--ink-2); font-size: .8rem; margin-left: 4px; }
.field input, .field select, .field textarea, .brief textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: .7; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .brief textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink);
}
.field input:user-invalid { border-color: var(--hot); }

.brief { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.brief-head { font-weight: 800; font-size: 1.05rem; }
.brief textarea { font: 500 .86rem/1.55 var(--f-mono); resize: vertical; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brief-note { font-size: .85rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px));
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer p { color: var(--ink-2); font-size: .9rem; }
.logo-small .logo-word { font-size: 1.1rem; }
.logo-small .logo-mark { width: 38px; font-size: 12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1100px, calc(100vw - 32px), calc((100vh - 150px) * 16 / 9));
  max-width: calc(100vw - 32px);
  padding: 0; border: 0; border-radius: 18px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / .5);
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(8 9 12 / .8); }
.lb-inner { display: flex; flex-direction: column; }
.lb-thumb { border-radius: 0; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
.lb-text { min-width: 0; }
.lb-title { font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.lb-sub { font: 500 .76rem/1.4 var(--f-mono); color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.lb-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .scribble path { animation: none; stroke-dashoffset: 0; }
}
