/* Briefpier — editorial marketplace UI */
:root {
  --paper: #f3efe5;
  --paper-2: #eae4d7;
  --ink: #151512;
  --muted: #625e54;
  --line: #c8c0b1;
  --line-dark: #514d45;
  --accent: #1c46e8;
  --accent-dark: #1234b9;
  --signal: #e7ff57;
  --white: #fffdf7;
  --danger: #b83422;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(21,21,18,.035) 80px);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
body.nav-open .preview-note { display: none; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }
.shell { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--ink { background: var(--ink); color: var(--paper); background-image: none; }
.section--white { background: var(--white); background-image: none; }
.rule { border-top: 1px solid var(--line); }
.mono { font-family: var(--mono); font-size: .72rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.section--ink .muted { color: #bbb5a8; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .94; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(58px, 9.2vw, 132px); max-width: 12ch; margin-bottom: 28px; }
h2 { font-size: clamp(42px, 6vw, 82px); max-width: 15ch; margin-bottom: 24px; }
h3 { font-size: clamp(30px, 3.5vw, 48px); }
h4 { font-size: 18px; line-height: 1.25; }
p { max-width: 68ch; }
.lede { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; max-width: 58ch; }
.italic { font-family: var(--serif); font-style: italic; }
.accent { color: var(--accent); }
.section--ink .accent { color: var(--signal); }

/* Preview warning */
.preview-note { display: none; background: var(--signal); border-bottom: 1px solid var(--ink); color: var(--ink); }
.preview-note.is-visible { display: block; }
.preview-note .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.preview-note p { margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; }
.preview-note a { white-space: nowrap; font-family: var(--mono); font-size: .68rem; font-weight: 600; }
.ph { background: #fff7b1; box-shadow: 0 0 0 1px #d4c74b; padding: 0 .18em; color: #2d2900; }
.ph::before { content: ""; display: none; }
[data-placeholder] .ph, .ph.ph { }
.section--ink .ph { background: var(--signal); color: var(--ink); box-shadow: none; }

/* Header */
.topline { background: var(--accent); color: var(--white); }
.topline .shell { display: flex; justify-content: center; align-items: center; min-height: 35px; padding-block: 7px; text-align: center; }
.topline p { margin: 0; font-family: var(--mono); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243,239,229,.96); border-bottom: 1px solid var(--line); }
.site-header .shell { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand svg { width: 27px; height: 32px; }
.brand-word { font-family: var(--serif); font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .87rem; font-weight: 500; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--ink); }
.mobile-nav { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 5px; }
.text-link::after { content: "↗"; font-family: var(--mono); font-size: .8em; }

/* Hero */
.hero { padding-block: clamp(54px, 7vw, 96px) clamp(60px, 8vw, 108px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(32px, 6vw, 92px); align-items: end; }
.hero h1 { margin: 0; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-copy { padding-bottom: 8px; }
.hero-copy .lede { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: #514d45; }
.hero-art { position: relative; min-height: 450px; align-self: stretch; }
.brief-card { position: absolute; width: 78%; min-height: 330px; padding: 24px; border: 1px solid var(--ink); background: var(--white); box-shadow: 9px 9px 0 var(--ink); }
.brief-card--back { top: 18px; right: -9px; transform: rotate(5deg); background: var(--accent); color: var(--white); }
.brief-card--front { left: 0; bottom: 16px; transform: rotate(-3deg); }
.brief-card__head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 14px; border-bottom: 1px solid currentColor; }
.brief-card__num { font-family: var(--mono); font-size: .72rem; }
.brief-line { height: 1px; background: var(--line); margin-block: 18px 10px; }
.brief-line--short { width: 63%; }
.brief-words { font-family: var(--serif); font-size: clamp(28px, 3.1vw, 45px); line-height: .95; letter-spacing: -.025em; margin-top: 44px; }
.brief-stamp { position: absolute; right: 20px; bottom: 20px; width: 68px; height: 68px; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-family: var(--mono); font-size: .6rem; text-align: center; line-height: 1.2; text-transform: uppercase; transform: rotate(9deg); }
.brief-card--back .brief-stamp { border-color: var(--white); color: var(--white); }
.hero-index { position: absolute; right: 0; bottom: -10px; font-family: var(--mono); font-size: .65rem; writing-mode: vertical-rl; letter-spacing: .12em; }

/* Marquee-ish categories */
.category-strip { border-block: 1px solid var(--ink); background: var(--signal); overflow: hidden; }
.category-strip .shell { display: flex; flex-wrap: wrap; gap: 0; padding-inline: 0; max-width: none; }
.category-strip a { flex: 1 0 auto; padding: 14px 28px; border-right: 1px solid var(--ink); font-family: var(--mono); font-size: .69rem; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; }
.category-strip a:hover { background: var(--ink); color: var(--signal); }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 36ch; margin-bottom: 4px; }
.section-head__aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.service-card { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); text-decoration: none; transition: background .25s; }
.service-card:hover { background: var(--white); }
.service-art { position: relative; aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--ink); }
.service-art__word { position: absolute; left: 20px; bottom: 12px; z-index: 2; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 66px); font-style: italic; line-height: .8; letter-spacing: -.06em; color: var(--white); text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.service-art__num { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--mono); font-size: .64rem; color: var(--white); }
.service-card:hover .service-art__shape { transform: rotate(8deg) scale(1.06); }
.service-art__shape { position: absolute; transition: transform .5s var(--ease); }
.shape-circle { width: 48%; aspect-ratio: 1; border: 2px solid var(--white); border-radius: 50%; right: 12%; top: 14%; }
.shape-square { width: 39%; aspect-ratio: 1; background: var(--white); left: 12%; top: 20%; transform: rotate(14deg); }
.shape-lines { width: 64%; height: 58%; top: 17%; right: 8%; background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 15px); }
.shape-arch { width: 58%; height: 72%; border: 2px solid var(--white); border-bottom: 0; border-radius: 100px 100px 0 0; left: 21%; top: 17%; }
.shape-dot { width: 58%; aspect-ratio: 1; background: var(--white); border-radius: 50%; right: 8%; top: 17%; }
.shape-dot::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); left: 33%; top: 33%; }
.art-a { background: #2947dc; }
.art-b { background: #d65332; }
.art-c { background: #1c6d59; }
.art-d { background: #762c86; }
.art-e { background: #bd3a5d; }
.art-f { background: #3e4c25; }
.art-g { background: #2c2b50; }
.art-h { background: #b06b0f; }
.art-i { background: #405a68; }
.art-j { background: #6d2222; }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 20px; }
.service-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); }
.service-title { font-size: clamp(22px, 2.1vw, 30px); line-height: 1; margin-bottom: 14px; }
.service-seller { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; }
.service-seller span:first-child { color: var(--muted); }
.price { font-family: var(--mono); font-size: .8rem; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.catalogue-note { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: .8rem; color: var(--muted); }
.filter { min-height: 38px; padding: 7px 14px; border: 1px solid var(--line-dark); background: transparent; border-radius: 100px; cursor: pointer; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.filter:hover, .filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Value / process */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.sticky-title { position: sticky; top: 116px; }
.value-list { border-top: 1px solid var(--line-dark); }
.value-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-block: 25px; border-bottom: 1px solid var(--line-dark); }
.value-item .mono { padding-top: 6px; }
.value-item h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.value-item p { margin: 0; max-width: 48ch; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); margin-top: 44px; }
.process-step { padding: 24px 20px 28px 0; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; padding-right: 0; padding-left: 20px; }
.process-step:not(:first-child) { padding-left: 20px; }
.process-step .mono { display: block; margin-bottom: 42px; color: var(--accent); }
.process-step h3 { font-size: 30px; margin-bottom: 12px; }
.process-step p { font-size: .88rem; margin: 0; color: var(--muted); }

/* Pitch band */
.pitch-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.pitch-band h2 { max-width: 12ch; margin: 0; }
.pitch-band .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Mini stats but not monument */
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.fact { padding: 20px 20px 20px 0; border-right: 1px solid var(--line); }
.fact:not(:first-child) { padding-left: 20px; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; margin-bottom: 7px; }
.fact span { font-size: .82rem; color: var(--muted); }

/* Cards and callouts */
.callout { padding: 24px; border: 1px solid var(--ink); background: var(--white); }
.callout--signal { background: var(--signal); }
.callout--ink { background: var(--ink); color: var(--paper); }
.callout h3 { font-size: 30px; margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }
.badge { display: inline-block; padding: 4px 8px; border: 1px solid currentColor; font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.badge--sample { background: var(--signal); border-color: var(--ink); color: var(--ink); }

/* Page intro */
.page-hero { padding-block: clamp(52px, 7vw, 92px) clamp(42px, 6vw, 74px); border-bottom: 1px solid var(--ink); }
.page-hero h1 { font-size: clamp(52px, 8.5vw, 112px); margin-bottom: 24px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero--compact { padding-block: clamp(34px, 4vw, 54px) clamp(30px, 4vw, 46px); }
.page-hero--compact h1 { font-size: clamp(46px, 6.5vw, 84px); max-width: 17ch; margin-bottom: 16px; }
.page-hero--compact .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 72ch; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 28px; color: var(--muted); font-family: var(--mono); font-size: .66rem; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Prose */
.prose-layout { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.prose-nav { position: sticky; top: 116px; font-size: .9rem; }
.prose-nav strong { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.prose-nav a { display: block; padding-block: 5px; color: var(--muted); text-decoration: none; }
.prose-nav a:hover { color: var(--accent); }
.prose { max-width: 75ch; }
.prose h2 { font-size: clamp(34px, 4vw, 52px); margin-top: 56px; margin-bottom: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 28px; margin-top: 32px; margin-bottom: 12px; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 24px; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose-note { padding: 18px 20px; border: 1px solid var(--ink); background: var(--signal); margin-block: 28px; }
.prose-note p:last-child { margin-bottom: 0; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.detail-art { aspect-ratio: 16/9; position: relative; overflow: hidden; border: 1px solid var(--ink); margin-bottom: 38px; }
.detail-body h2 { font-size: 44px; margin-top: 44px; }
.detail-body h3 { font-size: 28px; margin-top: 30px; }
.detail-body ul { padding-left: 20px; }
.order-panel { position: sticky; top: 110px; border: 1px solid var(--ink); background: var(--white); }
.order-panel__head { padding: 22px; border-bottom: 1px solid var(--ink); }
.order-panel__price { font-family: var(--serif); font-size: 54px; line-height: 1; }
.order-panel__price small { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; }
.order-panel__body { padding: 22px; }
.order-panel dl { margin: 0 0 20px; }
.order-panel dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.order-panel dt { color: var(--muted); }
.order-panel dd { margin: 0; text-align: right; }
.order-panel .btn { margin-top: 4px; }
.order-panel__note { margin: 16px 0 0; font-size: .72rem; color: var(--muted); }
.seller-box { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); margin-block: 26px; }
.avatar { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--serif); font-size: 23px; }
.seller-box p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }

/* Designers */
.designer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.designer-card { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 24px; text-decoration: none; background: var(--paper); }
.designer-card:hover { background: var(--white); }
.designer-card__top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 58px; }
.designer-card .avatar { width: 74px; height: 74px; font-size: 32px; background: var(--ink); }
.designer-card h3 { font-size: 34px; margin-bottom: 8px; }
.designer-card p { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.designer-card .place { display: block; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }
.profile-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.profile-hero .avatar { width: 110px; height: 110px; font-size: 45px; background: var(--ink); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(34px, 7vw, 100px); align-items: start; }
.order-form { border: 1px solid var(--ink); background: var(--white); padding: clamp(22px, 4vw, 42px); }
.field { margin-bottom: 22px; }
.field label, .fieldset-label { display: block; margin-bottom: 7px; font-weight: 600; font-size: .88rem; }
.field .hint { display: block; margin-top: 5px; color: var(--muted); font-size: .74rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-dark); border-radius: 0; background: var(--paper); color: var(--ink); padding: 11px 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { display: flex; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); margin-bottom: 8px; font-size: .86rem; }
.choice input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-status { display: none; margin-top: 18px; padding: 14px; border: 1px solid var(--ink); font-size: .85rem; }
.form-status.is-visible { display: block; }
.form-status--error { background: #ffe1d8; }
.form-status--ok { background: var(--signal); }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 22px; font-size: .9rem; }
.summary-line strong { font-family: var(--mono); }
.checkline { display: flex; gap: 10px; align-items: start; font-size: .8rem; color: var(--muted); }
.checkline input { margin-top: 3px; }
.pay-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .72rem; color: var(--muted); }
.card-marks { display: flex; gap: 5px; }
.card-mark { padding: 3px 5px; border: 1px solid var(--line-dark); font-family: var(--mono); font-size: .5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { padding: 28px; border-top: 1px solid var(--ink); }
.contact-card h3 { font-size: 32px; }
.contact-card a { font-size: 1.05rem; }
.contact-card p { color: var(--muted); }
.hours { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; font-size: .83rem; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 36px 20px 0; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { padding-top: 76px; background: var(--ink); color: var(--paper); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 40px; padding-bottom: 60px; }
.footer-brand .brand-word { font-size: 38px; }
.footer-brand p { max-width: 32ch; color: #aaa499; font-size: .84rem; margin-top: 18px; }
.footer-col h3 { font-family: var(--mono); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; margin-bottom: 16px; color: #aaa499; }
.footer-col a { display: block; font-size: .84rem; text-decoration: none; padding-block: 4px; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { padding-block: 24px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr auto; gap: 30px; font-size: .72rem; color: #aaa499; }
.footer-legal p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--line-dark); color: #aaa499; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .mobile-nav { position: fixed; inset: 111px 0 0; z-index: 99; background: var(--paper); padding: 32px var(--pad); overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a { display: flex; justify-content: space-between; padding-block: 17px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 34px; text-decoration: none; }
  .mobile-nav a::after { content: "↗"; font-family: var(--mono); font-size: 16px; }
  .mobile-nav .btn { margin-top: 28px; font-family: var(--sans); font-size: .9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; max-width: 520px; width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .detail-grid, .form-wrap { grid-template-columns: 1fr; }
  .order-panel { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { background-image: none; }
  .site-header .shell { min-height: 68px; }
  .mobile-nav { inset-block-start: 103px; }
  .brand-word { font-size: 26px; }
  .category-strip .shell { display: grid; grid-template-columns: 1fr 1fr; }
  .category-strip a { border-bottom: 1px solid var(--ink); }
  .service-grid, .designer-grid { grid-template-columns: 1fr; }
  .split, .contact-grid, .pitch-band, .footer-legal { grid-template-columns: 1fr; }
  .sticky-title { position: static; }
  .section-head { display: block; }
  .section-head__aside { align-items: flex-start; margin-top: 22px; }
  .hero h1 { font-size: clamp(54px, 17vw, 82px); }
  .hero-art { min-height: 350px; }
  .brief-card { min-height: 280px; padding: 18px; }
  .brief-words { font-size: 32px; margin-top: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:not(:first-child), .process-step:last-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step .mono { margin-bottom: 18px; }
  .fact-row { grid-template-columns: 1fr; }
  .fact, .fact:not(:first-child) { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .prose-layout { grid-template-columns: 1fr; }
  .prose-nav { position: static; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .preview-note .shell { align-items: start; }
  .preview-note .shell > a { display: none; }
  .preview-note p { font-size: .6rem; }
  .profile-hero { align-items: start; }
}
@media (max-width: 480px) {
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .topline p { font-size: .58rem; }
}
