/* A gallery wall: warm black, gilt accents, framed prints that are real engine output.
   Type: Fraunces for display, Karla for text. */
:root {
  --wall: #181614;
  --panel: #211e1b;
  --ink: #f1ebdf;
  --muted: #b3aa9b;
  --line: #3a352f;
  --gilt: #dcb56e;
  --gilt-ink: #1a1511;
  --code: #0f0e0d;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--wall); color: var(--ink); font: 18px/1.62 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gilt); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.012em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 21px; letter-spacing: 0; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .86em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--gilt); color: var(--gilt-ink); padding: 8px 14px; z-index: 10; }
.skip:focus { top: 12px; }

.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 22px; color: var(--ink); text-decoration: none; }
.wordmark b { color: var(--gilt); font-weight: 500; }
.nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
.nav a:hover { color: var(--ink); }

.eyebrow { font: 700 13px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt); margin-bottom: 22px; }
.lede { color: var(--muted); font-size: 20px; max-width: 34em; }
.section-lede { color: var(--muted); max-width: 40em; margin-top: 14px; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); margin-bottom: 26px; }
.hero h1 em { color: var(--gilt); font-style: italic; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 26px; }
.btn { display: inline-block; background: var(--gilt); color: var(--gilt-ink); font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 4px; }
.btn:hover { background: #ebc888; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-quiet:hover { background: var(--panel); border-color: var(--muted); }
.one-liner { max-width: 100%; }
.one-liner code { display: block; background: var(--code); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; color: #f3e7c9; white-space: pre-wrap; overflow-wrap: anywhere; }

.wall { position: relative; height: clamp(420px, 52vw, 640px); }
.print { position: absolute; margin: 0; background: #fbf9f4; padding: 10px; border-radius: 2px; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 2px 4px rgba(0,0,0,.4), 0 30px 60px rgba(0,0,0,.55); transition: transform .25s ease; }
.print img { width: 100%; }
.print:hover { transform: translateY(-6px) rotate(0deg); z-index: 5; }
.print-a { width: 40%; left: 0; top: 11%; transform: rotate(-5deg); }
.print-b { width: 46%; left: 27%; top: 0; z-index: 2; transform: rotate(1.2deg); }
.print-c { width: 40%; right: 0; top: 14%; transform: rotate(5deg); }

/* Bands */
.band { background: var(--panel); border-block: 1px solid var(--line); }
section { padding: 88px 0; }
section.hero { padding: 72px 0 96px; }
.layouts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.layouts li { border-top: 2px solid var(--gilt); padding-top: 16px; }
.layouts b { display: block; font-family: var(--display); font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.layouts span { color: var(--muted); font-size: 16px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ask { margin: 24px 0 0; padding: 22px 26px; border-left: 3px solid var(--gilt); background: var(--panel); font-family: var(--display); font-size: 22px; line-height: 1.4; font-style: italic; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 36px; line-height: 1; color: var(--gilt); }
.steps b { display: block; font-size: 19px; }
.steps span { color: var(--muted); }

.themes { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start; }
.themes figure { margin: 0; }
.themes a { display: block; background: #fbf9f4; padding: 7px; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.4), 0 20px 40px rgba(0,0,0,.45); transition: transform .2s ease; }
.themes a:hover { transform: translateY(-5px); }
.themes figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.themes figcaption b { display: block; font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }

.facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.facts li { color: var(--muted); }
.facts b { display: block; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 21px; margin-bottom: 4px; }

.install { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.install h3 { margin-bottom: 12px; }
pre { margin: 0; background: var(--code); border: 1px solid var(--line); border-radius: 4px; padding: 16px; color: #f3e7c9; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
pre code { font-size: 1em; }
.note { color: var(--muted); margin-top: 22px; }

.examples { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.examples li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.examples b { font-family: var(--display); font-weight: 500; font-size: 21px; }
.examples span { color: var(--muted); font-size: 16px; }
.examples .links { display: flex; gap: 18px; white-space: nowrap; font-size: 16px; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 16px; }
.foot-row { display: grid; gap: 12px; }
.foot .wordmark { font-size: 20px; }

.lost { padding: 120px 0; }
.lost h1 { font-size: clamp(36px, 6vw, 60px); margin-bottom: 18px; }

@media (max-width: 980px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 44px; }
  .layouts { grid-template-columns: repeat(2, 1fr); }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .install { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  section.hero { padding: 44px 0 64px; }
  .layouts, .facts { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .examples li { grid-template-columns: 1fr; gap: 6px; }
  .wall { height: 380px; }
  .print { padding: 6px; }
}
