/* ==========================================================================
   MARGIN. — Hidden systems. Real opportunities.
   Layout concept: an analog research dossier pinned to a dark desk —
   asymmetric editorial grid, hairline rules, paper fragments, ink notes.
   ========================================================================== */

:root {
  /* palette */
  --obsidian: #0B0A09;
  --charcoal: #171512;
  --charcoal-2: #1E1B17;
  --ivory: #E8DDC8;
  --ivory-soft: rgba(232, 221, 200, .82);
  --bronze: #A58A65;
  --bronze-light: #C2A57C;
  --muted: #817B72;
  --muted-strong: #9D958A;
  --ink: #2A231B;
  --line: rgba(232, 221, 200, .13);
  --line-strong: rgba(232, 221, 200, .26);

  /* type */
  --f-display: "Bodoni Moda", "Bodoni 72", Didot, "Didot LT STD", "Libre Bodoni", Georgia, serif;
  --f-body: "Spectral", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3vw, 4rem);

  /* space */
  --gutter: clamp(16px, 3.4vw, 48px);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --wrap: 1320px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* safe-area band above sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--obsidian);
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .9  0 0 0 0 .85  0 0 0 0 .75  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 500; color: var(--ivory); }
:focus-visible { outline: 1.5px solid var(--bronze-light); outline-offset: 3px; }
::selection { background: var(--bronze); color: var(--obsidian); }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--obsidian); padding: 10px 16px; font-family: var(--f-mono); font-size: .8rem; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.mono { font-family: var(--f-mono); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.hand { font-family: var(--f-hand); font-weight: 500; letter-spacing: .01em; }
.eyebrow { color: var(--bronze); margin-bottom: 1.1rem; }
.dot { color: var(--bronze); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em; border: 0; cursor: pointer;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05em 1.75em; border-radius: 2px; text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn--ivory { background: var(--ivory); color: var(--obsidian); box-shadow: inset 0 0 0 1px rgba(11,10,9,.15), 0 10px 30px -18px rgba(232,221,200,.5); }
.btn--ivory:hover { background: #F2E8D4; transform: translateY(-1px); }
.btn--ivory:hover span[aria-hidden] { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed; transform: none; box-shadow: none;
  background: transparent; color: var(--muted-strong); outline: 1px dashed var(--line-strong); outline-offset: -1px;
}
.link-quiet {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--ivory-soft); padding-block: .4em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.link-quiet:hover { color: var(--ivory); background-size: 40% 1px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 10, 9, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { font-family: var(--f-display); font-weight: 600; font-size: 1.65rem; letter-spacing: .05em; text-decoration: none; }
.nav { margin-left: clamp(1rem, 6vw, 7rem); }
.nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav a { position: relative; font-size: .98rem; font-weight: 400; text-decoration: none; color: var(--ivory-soft); padding-block: .5rem; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-note { margin-left: auto; font-size: 1.55rem; color: var(--ivory-soft); transform: rotate(-3deg); white-space: nowrap; }
.header-cta {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line-strong); padding: .6em 1em; border-radius: 2px; transition: border-color .3s, background-color .3s;
}
.header-cta:hover { border-color: var(--bronze); background: rgba(165,138,101,.1); }
.menu-toggle { display: none; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--obsidian);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) max(24px, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu ol { counter-reset: m; display: grid; gap: .4rem; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-menu a { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; font-family: var(--f-display); font-size: 2.1rem; text-decoration: none; }
.mobile-menu a::before { content: counter(m, upper-roman) "."; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--bronze); min-width: 2.4rem; }
.mobile-menu__note { font-size: 1.6rem; color: var(--muted-strong); transform: rotate(-3deg); }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(60% 70% at 72% 40%, rgba(232,221,200,.05), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 5vw, 4.5rem); }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 1.55rem; color: var(--muted-strong); text-transform: uppercase; letter-spacing: .06em; transform: rotate(-1.5deg); transform-origin: left; margin-bottom: .2rem; }
.hero-title { display: grid; }
.wordmark {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(3.6rem, 1.2rem + 7.2vw, 8.8rem);
  line-height: .9; letter-spacing: .005em; color: var(--ivory); margin-left: -.04em;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
}
.wordmark-underline { width: min(92%, 34rem); height: 18px; color: var(--ivory-soft); margin: .35rem 0 1.2rem;
  stroke-dasharray: 520; stroke-dashoffset: 0; }
.hero-line {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, .8rem + 1.35vw, 1.95rem);
  text-transform: uppercase; letter-spacing: .14em; line-height: 1.35; display: grid; color: var(--ivory);
}
.hero-line em { font-style: italic; color: var(--bronze-light); letter-spacing: .1em; }
.hero-lede { max-width: 33rem; margin-top: 1.6rem; color: var(--ivory-soft); font-size: clamp(1.02rem, .95rem + .25vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.1rem; }
.hero-meta { margin-top: 2.4rem; color: var(--muted); font-size: .66rem; }

/* collage */
.collage { position: relative; min-width: 0; aspect-ratio: 74 / 62; max-width: 100%; }
.piece { position: absolute; margin: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--r, 0deg)); transition: transform .9s var(--ease); will-change: transform; }
.piece img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.piece--city     { left: 3%;  top: 6%;  width: 32%; --r: -2.5deg; z-index: 2; }
.piece--notebook { left: 47%; top: 0;   width: 28%; --r: 5deg;    z-index: 3; }
.piece--bust     { left: 79%; top: 25%; width: 21%; --r: 0deg;    z-index: 2; border: 1px solid var(--line-strong); padding: 5px; background: var(--charcoal); }
.piece--bust img { filter: grayscale(1) contrast(1.05); }
.piece--bust figcaption { position: absolute; right: calc(100% + 10px); bottom: 6px; color: var(--muted-strong); font-size: .6rem; line-height: 1.7; text-align: right; }
.piece--liberty  { left: 32%; top: 53%; width: 31%; --r: -4deg;   z-index: 4; }
.piece--chess    { left: 0;   top: 59%; width: 29%; --r: 0deg;    z-index: 5; }
.piece--quote {
  left: 64%; top: 70%; width: 36%; z-index: 5; padding: 1.2rem 1.4rem 1.1rem; --r: -1deg;
  background: url("assets/img/scrap-dark.svg") center / 100% 100% no-repeat;
  font-family: var(--f-mono); font-size: clamp(.72rem, .55rem + .45vw, .92rem); line-height: 1.6; color: var(--ivory);
}
.piece--quote p { margin-bottom: .6rem; }
.piece--quote span { color: var(--muted-strong); font-size: .62rem; }
.quote-star { position: absolute; right: 1rem; bottom: .8rem; width: 22px; height: 22px; color: var(--ivory-soft); }

.note { position: absolute; z-index: 6; color: var(--ivory); font-size: clamp(1rem, .7rem + .75vw, 1.45rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; }
.note-arrow { position: absolute; width: 34px; height: 46px; color: var(--ivory-soft); }
.note--city  { left: 13%; top: 0; transform: rotate(-6deg); }
.note--city .note-arrow { left: 30%; top: 100%; transform: rotate(-24deg) scale(.8); }
.note--plain { left: 19%; top: 42%; transform: rotate(-12deg); text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.note--plain .note-arrow--curl { width: 56px; height: 44px; left: -42%; top: -30%; transform: scaleX(-1) rotate(10deg); }
.note--more  { left: 78%; top: 3%; transform: rotate(-4deg); }
.note--crown { left: 63%; top: 57%; transform: rotate(5deg); font-size: clamp(.95rem, .7rem + .6vw, 1.25rem); color: var(--bronze-light); }
.circle-note {
  position: absolute; z-index: 6; left: 31%; top: 18%; width: 21%; aspect-ratio: 220 / 200;
  display: grid; place-content: center; text-align: center; line-height: 1.05;
  font-size: clamp(1rem, .6rem + .95vw, 1.6rem); text-transform: uppercase; letter-spacing: .06em; transform: rotate(-8deg);
}
.circle-note span { text-shadow: 0 1px 10px rgba(0,0,0,.95); }
.circle-note__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ivory); stroke-dasharray: 700; stroke-dashoffset: 0; }

/* ---------- rubrics ---------- */
.rubrics { border-bottom: 1px solid var(--line); background: var(--charcoal); }
.rubrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1600px; margin-inline: auto; }
.rubric {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: .5rem;
  padding: 2.2rem clamp(1rem, 1.8vw, 2rem); border-left: 1px solid var(--line); min-height: 15rem; overflow: hidden;
  transition: background-color .5s var(--ease);
}
.rubric:first-child { border-left: 0; }
.rubric:hover { background: var(--charcoal-2); }
.rubric-text { min-width: 0; position: relative; z-index: 1; }
.rubric-num { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--bronze); line-height: 1; margin-bottom: .55rem; }
.rubric h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); font-weight: 400; }
.rubric-arrow { width: 44px; height: 14px; color: var(--ivory-soft); margin: .8rem 0 .7rem; transition: transform .5s var(--ease); }
.rubric:hover .rubric-arrow { transform: translateX(8px); }
.rubric-desc { font-size: .92rem; line-height: 1.5; color: var(--ivory-soft); }
.rubric-tag { margin-top: .9rem; font-size: .6rem; color: var(--muted-strong); line-height: 1.6; }
.rubric-art { width: 100%; opacity: .85; transition: transform .8s var(--ease), opacity .5s; }
.rubric:hover .rubric-art { transform: scale(1.04) rotate(-1deg); opacity: 1; }
.rubric-figure { min-width: 0; }
.rubric-figure figcaption { font-size: .95rem; line-height: 1.1; color: var(--bronze-light); text-align: center; transform: rotate(-3deg); margin-top: -.2rem; }
.rubric-figure small { display: block; font-size: .8rem; color: var(--muted-strong); }

/* ---------- rules ---------- */
.rules { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.rules-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; padding-block: var(--section); }
.rules-bust { align-self: stretch; position: relative; min-height: 22rem; }
.rules-bust img {
  position: absolute; inset: auto 0 -2rem; width: 100%; height: 110%; object-fit: contain; object-position: bottom;
  filter: grayscale(1) brightness(.9) contrast(1.1);
  -webkit-mask-image: linear-gradient(to top, transparent, #000 35%, #000 70%, transparent);
          mask-image: linear-gradient(to top, transparent, #000 35%, #000 70%, transparent);
}
.rules-intro h2 { font-size: var(--step-3); font-weight: 400; }
.rules-lede { margin-top: 1.3rem; color: var(--ivory-soft); max-width: 30rem; }
.labels { margin-top: 1.8rem; display: grid; gap: .8rem; font-size: .92rem; color: var(--ivory-soft); }
.labels li { display: flex; align-items: center; gap: .9rem; }
.label {
  display: inline-block; flex: none; min-width: 6.8rem; text-align: center;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; padding: .45em .7em; border: 1px solid;
}
.label--fact { color: var(--ivory); border-color: var(--ivory-soft); }
.label--est  { color: var(--bronze-light); border-color: var(--bronze); }
.label--hyp  { color: var(--muted-strong); border-color: var(--muted); border-style: dashed; }
.label--draft { min-width: 0; color: var(--bronze-light); border-color: var(--bronze); transform: rotate(-2deg); margin-right: .6rem; }
.rules-list { display: grid; }
.rules-list li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.rules-list li:last-child { border-bottom: 1px solid var(--line); }
.rules-num { font-family: var(--f-display); font-style: italic; color: var(--bronze); font-size: 1.4rem; line-height: 1.2; }
.rules-list h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .35rem; }
.rules-list p { color: var(--ivory-soft); font-size: .97rem; line-height: 1.55; }

/* ---------- product ---------- */
.product { padding-block: var(--section); border-bottom: 1px solid var(--line); background:
  radial-gradient(50% 60% at 22% 45%, rgba(165,138,101,.08), transparent 70%); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.section-head .eyebrow { margin: 0; }
.section-kicker { font-family: var(--f-display); font-size: var(--step-2); }
.section-kicker em { color: var(--bronze-light); }
.product-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.product-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; position: sticky; top: calc(var(--header-h) + 2rem); }
.cover { position: relative; transform: rotate(-2deg); transition: transform .8s var(--ease); max-width: 26rem; }
.cover:hover { transform: rotate(-.5deg) translateY(-4px); }
.cover img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.cover-title { position: absolute; left: 20%; top: 6%; color: var(--ink); transform: rotate(-3deg); display: grid; }
.cover-title__main { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.6rem); line-height: .86; font-weight: 600; text-transform: uppercase; }
.cover-title__vol { font-size: clamp(1.2rem, .9rem + 1vw, 1.7rem); margin-top: .6rem; border-top: 1.5px solid currentColor; width: max-content; padding-top: .1rem; }
.stamp {
  position: absolute; right: -6%; top: 50%; transform: rotate(9deg);
  color: #E8DDC8; background: rgba(11,10,9,.82); border: 2px solid var(--bronze); outline: 1px solid var(--bronze); outline-offset: 3px;
  padding: .55em 1em; font-size: .72rem; font-weight: 500; letter-spacing: .22em;
}
.stamp.is-live { color: var(--obsidian); background: var(--ivory); border-color: var(--obsidian); outline-color: var(--ivory); }
.cover-notes { display: grid; gap: .55rem; font-size: 1.25rem; color: var(--ivory-soft); border-left: 1px solid var(--line); padding-left: 1rem; }
.cover-notes li::before { content: "— "; color: var(--bronze); }

.product-body { min-width: 0; }
.product-title { font-size: var(--step-4); font-weight: 500; }
.product-title span { display: block; font-style: italic; font-weight: 400; color: var(--bronze-light); font-size: .55em; margin-top: .3rem; }
.product-sub { margin-top: 1.4rem; font-size: 1.15rem; color: var(--ivory-soft); max-width: 36rem; }
.contents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 2.4rem 0 0; }
.contents div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contents dt { color: var(--bronze); font-size: .66rem; margin-bottom: .35rem; }
.contents dd { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--ivory-soft); }
.product-not { margin-top: 1.6rem; padding: 1rem 1.2rem; border-left: 2px solid var(--bronze); background: rgba(232,221,200,.03); font-size: .97rem; color: var(--ivory-soft); }
.buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.price { display: grid; gap: .3rem; }
.price-amount { font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-weight: 500; font-variant-numeric: lining-nums; }
.price-note { color: var(--muted-strong); font-size: .6rem; }
.buy-actions { display: grid; gap: .8rem; justify-items: start; }
.btn--buy { min-width: 15rem; justify-content: center; }
.buy-status { font-size: .92rem; color: var(--muted-strong); max-width: 26rem; line-height: 1.5; }
.buy-follow { font-size: .92rem; color: var(--ivory-soft); }
.buy-follow a { color: var(--bronze-light); }
.facts { display: grid; margin: 2.2rem 0 0; font-size: .64rem; }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ivory-soft); text-transform: none; letter-spacing: .04em; font-size: .78rem; }
.facts a { color: var(--ivory); text-underline-offset: 3px; text-decoration-color: var(--bronze); }

/* ---------- journal ---------- */
.journal { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.journal-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.journal-head h2 { font-size: var(--step-4); font-weight: 400; }
.journal-note { color: var(--muted-strong); font-size: .95rem; border-left: 1px solid var(--line-strong); padding-left: 1.2rem; }
.journal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 0 clamp(2rem, 4vw, 4rem); }
.entry { position: relative; border-top: 1px solid var(--line); padding-block: 1.8rem; }
.entry--lead { grid-row: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.entry-media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--charcoal); }
.entry-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) contrast(1.05); transform: scale(1.12); transition: transform 1.2s var(--ease), filter .8s; }
.entry--lead:hover .entry-media img { transform: scale(1.18); filter: grayscale(.2) contrast(1.05); }
.entry-body { min-width: 0; }
.entry-cat { color: var(--bronze); font-size: .62rem; margin-bottom: .9rem; }
.entry h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-weight: 400; }
.entry--lead h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); }
.entry-dek { margin-top: .9rem; color: var(--ivory-soft); font-size: .98rem; line-height: 1.6; max-width: 34rem; }
.entry-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0; margin-top: 1.3rem; color: var(--muted); font-size: .6rem; }

/* ---------- about ---------- */
.about { padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); }
.about-text h2 { font-size: var(--step-3); font-weight: 400; margin-bottom: 1.6rem; }
.about-text p:not(.eyebrow):not(.about-sign) { color: var(--ivory-soft); max-width: 36rem; margin-bottom: 1.1rem; }
.about-sign { font-size: 1.7rem; color: var(--bronze-light); transform: rotate(-2deg); margin-top: 1.6rem; }
.method { counter-reset: none; display: grid; }
.method li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.method-step { font-family: var(--f-mono); font-size: .72rem; color: var(--bronze); padding-top: .35rem; letter-spacing: .1em; }
.method h3 { font-size: 1.3rem; font-weight: 500; }
.method p { color: var(--ivory-soft); font-size: .95rem; margin-top: .2rem; }
.about-art { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.about-art img { width: min(60%, 16rem); }
.about-art figcaption { font-size: 1.35rem; line-height: 1.1; color: var(--muted-strong); transform: rotate(-5deg); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--charcoal); padding-block: clamp(3rem, 6vw, 5rem) calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-mark { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: .03em; }
.footer-claim { font-size: 1.5rem; color: var(--ivory-soft); margin-top: .5rem; }
.footer-philo { margin-top: 1.2rem; max-width: 26rem; color: var(--muted-strong); font-size: .9rem; line-height: 1.55; }
.footer-h { color: var(--bronze); font-size: .62rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: var(--ivory-soft); font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 4px; }
.footer-pending { color: var(--muted); font-size: .88rem; font-style: italic; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .6rem; }
.to-top { text-decoration: none; color: var(--ivory-soft); }
.to-top:hover { color: var(--ivory); }

/* ---------- legal page ---------- */
.legal { padding-block: clamp(3rem, 6vw, 5.5rem); max-width: 52rem; }
.legal h1 { font-size: var(--step-4); font-weight: 400; }
.legal h2 { font-size: var(--step-2); font-weight: 500; margin-bottom: 1rem; }
.legal section { padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.legal section p { color: var(--ivory-soft); margin-bottom: 1rem; max-width: 42rem; }
.legal a { color: var(--bronze-light); text-underline-offset: 3px; }
.legal-draft { margin-top: 1rem; color: var(--bronze-light); font-size: .64rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-toc a { color: var(--ivory-soft); }
.legal-id { display: grid; margin: 0; }
.legal-id div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.legal-id dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-strong); }
.legal-id dd { margin: 0; color: var(--ivory-soft); }
.legal-list { display: grid; gap: .7rem; margin-bottom: 1rem; color: var(--ivory-soft); list-style: disc; padding-left: 1.2rem; }
.legal-back { margin-left: auto; display: inline-block !important; }
.notfound { min-height: 70vh; display: grid; align-content: center; gap: 1.4rem; padding-block: 4rem; }
.notfound h1 { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 600; line-height: .9; }
.notfound p { color: var(--ivory-soft); max-width: 30rem; }
.notfound .hand { font-size: 1.7rem; color: var(--bronze-light); transform: rotate(-2deg); }

/* ---------- cursor (desktop, fine pointers only) ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(232,221,200,.55); border-radius: 50%;
  pointer-events: none; z-index: 95; opacity: 0; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(165,138,101,.12); border-color: var(--bronze); }
.cursor.is-hidden { opacity: 0; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
@keyframes draw-ring { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }

.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .54s; }
.wordmark-underline { animation: draw 1.4s .55s var(--ease) both; }
.collage .piece { animation: settle 1.1s var(--ease) both; }
.piece--city { animation-delay: .15s !important; } .piece--notebook { animation-delay: .3s !important; }
.piece--bust { animation-delay: .45s !important; } .piece--liberty { animation-delay: .55s !important; }
.piece--chess { animation-delay: .65s !important; } .piece--quote { animation-delay: .75s !important; }
.collage .note, .collage .circle-note { animation: rise .9s 1s var(--ease) both; }
.circle-note__ring { animation: draw-ring 1.6s 1.1s var(--ease) both; }

.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .piece { --px: 0px !important; --py: 0px !important; }
  .cursor { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-note { display: none; }
  .header-cta { margin-left: auto; }
  .rubrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rubric:nth-child(3) { border-left: 0; }
  .rubric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rules-grid { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); }
  .rules-list { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .wordmark { font-size: clamp(3.6rem, 1rem + 12vw, 8.8rem); }
  .nav, .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .8rem; margin-left: auto; background: none; border: 0; color: var(--ivory); cursor: pointer;
    font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: .8rem 0 .8rem .8rem; min-height: 44px;
  }
  .menu-toggle__bars { display: grid; gap: 6px; width: 24px; }
  .menu-toggle__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-open { overflow: hidden; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .collage { aspect-ratio: 74 / 64; margin-top: 1rem; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-visual { position: static; max-width: 34rem; }
  .journal-head { grid-template-columns: minmax(0, 1fr); }
  .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .entry--lead { grid-row: auto; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.4rem; }
  .hero-eyebrow { font-size: 1.25rem; }
  .hero-line { letter-spacing: .1em; }
  .collage { aspect-ratio: 1 / 1.12; }
  .piece--city     { left: 0;   top: 7%;  width: 47%; }
  .piece--notebook { left: 53%; top: 2%;  width: 44%; }
  .piece--bust, .piece--liberty, .note--more, .note--crown, .note--plain { display: none; }
  .piece--chess    { left: 0;   top: 55%; width: 44%; }
  .piece--quote    { left: 40%; top: 66%; width: 60%; padding: 1rem 1.1rem; }
  .circle-note     { left: 33%; top: 36%; width: 34%; }
  .note--city      { left: 4%; top: 0; }
  .note--city .note-arrow { display: none; }

  .rubrics-grid { grid-template-columns: minmax(0, 1fr); }
  .rubric { border-left: 0; border-top: 1px solid var(--line); min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 8.5rem); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .rubric:first-child { border-top: 0; }
  .rules-grid { grid-template-columns: minmax(0, 1fr); }
  .rules-bust { display: none; }
  .labels li { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .product-visual { grid-template-columns: minmax(0, 1fr); }
  .cover-notes { display: none; }
  .stamp { right: 2%; }
  .contents { grid-template-columns: minmax(0, 1fr); }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .btn--buy { width: 100%; }
  .entry--lead { grid-template-columns: minmax(0, 1fr); }
  .entry-media { aspect-ratio: 16 / 10; }
  .facts div { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
