:root {
  --ink: #2e1414; --cream: #f5f2e5; --paper: #fffdf2; --accent: #f58a4b;
  --line: rgba(46,20,20,.16);
  --serif: "Newsreader", Georgia, serif; --display: "Sora", sans-serif; --body: "Instrument Sans", sans-serif; --mono: "DM Mono", monospace;
  --gutter: clamp(16px, 2.4vw, 36px);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.mono, .label { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.arrow { width: .95em; height: .95em; display: inline-block; vertical-align: -.1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
#site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); color: var(--paper); transition: background .35s, color .35s, padding .35s; }
#site-header.solid, #site-header.open, .plain-top #site-header { background: var(--paper); color: var(--ink); padding-block: 14px; }
.wordmark { font: 600 20px/1 var(--display); letter-spacing: -.02em; }
#nav { display: flex; gap: 32px; font-size: 15px; }
#nav a { position: relative; padding: 4px 0; }
#nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
#nav a:hover::after, #nav a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 500 15px var(--body); padding: 8px 0; cursor: pointer; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; }
.hero.short { height: 62svh; min-height: 420px; }
.hero:has(.hero-media) { isolation: isolate; }
.hero:has(.hero-media)::after { background: linear-gradient(180deg, rgba(30,24,20,.42), rgba(30,24,20,0) 26%, rgba(30,24,20,.12) 52%, rgba(30,24,20,.68)); }
.hero img, .hero video { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; transform: scale(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,12,10,.55), rgba(30,12,10,.04) 30%, rgba(30,12,10,.1) 55%, rgba(30,12,10,.6)); }
.hero-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(32px, 6vh, 64px); max-width: 1100px; }
.hero:has(.hero-bottom) .hero-text { padding-bottom: 104px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 104px); }
h1 em { font: italic 400 1.04em/1 var(--serif); letter-spacing: -.02em; }
.hero .mono { margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 36px; margin-top: 30px; padding: 15px 22px; border-radius: 40px; background: var(--paper); color: var(--ink); font-size: 15px; transition: transform .25s; }
.pill:hover { transform: translateY(-3px); }
.pill span { font-size: 19px; line-height: 1; }
.hero-bottom { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,253,242,.4); padding-top: 18px; font-size: 14px; }

/* Rise */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.rise.in { opacity: 1; transform: none; }

/* About */
.about { padding: clamp(80px, 13vw, 180px) var(--gutter); }
.statement { font: 500 clamp(30px, 5vw, 72px)/1.14 var(--display); letter-spacing: -.02em; max-width: 19em; }
.statement span { transition: opacity .2s; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); margin-top: clamp(64px, 9vw, 130px); align-items: end; }
.heritage-panel { background: var(--ink); color: var(--paper); border-radius: 10px; padding: clamp(24px, 3vw, 42px); min-height: clamp(380px, 38vw, 540px); display: flex; flex-direction: column; justify-content: space-between; }
.heritage-year { font: 400 clamp(100px, 13vw, 190px)/1 var(--serif); letter-spacing: -.04em; }
.heritage-caption { border-top: 1px solid rgba(255,253,242,.28); padding-top: 20px; font-size: 15px; }
.heritage-caption strong { font: 400 22px/1.4 var(--serif); }
.image-note { padding: 14px var(--gutter) 0; font-size: 13px; opacity: .72; }
.image-note.flush { padding: 0; }
.steps-section { padding: clamp(72px, 9vw, 130px) var(--gutter); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 34px; }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.steps h3 { font-size: clamp(23px, 2.2vw, 31px); margin: clamp(26px, 4vw, 54px) 0 12px; }
.steps p { max-width: 21em; }
.about-grid p + p { margin-top: 1em; }
.about-copy { max-width: 34em; }
.story-flow { max-width: 36em; margin: clamp(48px, 7vw, 100px) 0 0 auto; font-size: 19px; }
.story-flow p + p { margin-top: 1em; }
.text-link { display: inline-block; margin-top: 28px; background: var(--accent); padding: 12px 18px; border-radius: 5px; transition: background .25s; }
.text-link:hover { background: #ffa36d; }

/* Pinned collections */
.collections-head { text-align: center; padding: 20px var(--gutter) 56px; }
.collections-head h2 { font-size: clamp(38px, 6vw, 84px); text-transform: uppercase; margin-top: 8px; letter-spacing: 0; }
.stage-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stage-media { position: absolute; inset: 0; background: var(--ink); overflow: hidden; color: var(--paper); will-change: clip-path; }
.stage-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s; }
.stage-layer.on { opacity: 1; }
.stage-shade { position: absolute; inset: 0; background: rgba(30,24,20,.3); }
.stage-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); opacity: 0; }
.stage-col { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; border-left: 1px solid rgba(255,253,242,.24); color: var(--paper); }
.stage-col:first-child { border-left: 0; }
.stage-col h3 { font-size: clamp(22px, 2.5vw, 40px); text-transform: uppercase; letter-spacing: .01em; }
.stage-col .mono { margin-top: 6px; font-size: 11px; }
.stage-col .blurb { max-width: 19em; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: 14px; line-height: 1.4; transition: max-height .45s, margin-top .45s, opacity .35s; }
.stage-col.on .blurb { max-height: 8em; margin-top: 14px; opacity: 1; }
.stage-col i { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 18px; border: 1px solid rgba(255,253,242,.45); border-radius: 4px; transition: background .25s, color .25s; }
.stage-col:hover i, .stage-col:focus-visible i { background: var(--paper); color: var(--ink); }

/* Principles */
.principles { background: var(--cream); padding: clamp(80px, 11vw, 160px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.sticky-copy { position: sticky; top: 110px; align-self: start; }
.sticky-copy h2 { font-size: clamp(32px, 4.2vw, 62px); max-width: 11em; }
.cards { display: grid; gap: 10px; max-width: 460px; justify-self: end; width: 100%; }
.card { padding: 24px; min-height: 190px; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; }
.card .mono { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.card strong { font: 500 clamp(28px, 3.3vw, 44px)/1.1 var(--display); letter-spacing: -.02em; }
.card p:last-child { margin-top: 8px; }
.card:nth-child(1) { background: var(--paper); } .card:nth-child(2) { background: #fde6da; } .card:nth-child(3) { background: #ffc2a2; }
.card:nth-child(4) { background: #fb9e68; } .card:nth-child(5) { background: var(--accent); } .card:nth-child(6) { background: #ee7430; }

/* Inner pages */
.plain-top main { padding-top: 110px; }
.page-head { padding: clamp(32px, 6vw, 76px) var(--gutter) 40px; }
.page-head h1 { font-size: clamp(42px, 7vw, 100px); }
.page-head p { max-width: 36em; margin-top: 18px; }
.prose { padding: clamp(64px, 9vw, 130px) var(--gutter); display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gutter); border-bottom: 1px solid var(--line); }
.prose h2 { font-size: clamp(30px, 4vw, 56px); }
.prose p { max-width: 36em; font-size: 19px; }
.prose p + p { margin-top: 1em; }
.draft-note { display: none; }
.draft .draft-note { display: block; font: 500 13px/1.45 var(--mono); background: #fde6da; padding: 12px 14px; border-radius: 5px; margin-top: 20px; max-width: 46em; }

/* Catalogue */
.tools { position: sticky; top: 56px; z-index: 5; background: var(--paper); padding: 12px var(--gutter); border-block: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#filters { display: flex; flex-wrap: wrap; gap: 6px; }
#filters button { font: 500 14px var(--body); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 15px; min-height: 40px; cursor: pointer; transition: background .2s; }
#filters button:hover { background: var(--cream); }
#filters button[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tools select, .tools input, form input, form textarea { font: 400 16px var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 9px 11px; min-height: 40px; }
.tools input { flex: 1 1 180px; }
#count { margin-left: auto; }
#catalogue-list { padding: 0 var(--gutter) 90px; }
.group { font-size: clamp(32px, 4.8vw, 66px); text-transform: uppercase; letter-spacing: .01em; padding: 62px 0 18px; }
.row { display: grid; grid-template-columns: 3fr 1.2fr 1fr .5fr 90px; gap: 14px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); transition: padding .25s, background .25s; }
.row:hover { background: var(--cream); padding-inline: 12px; }
.row strong { font: 500 18px/1.25 var(--display); letter-spacing: -.01em; }
.row .mono { text-align: right; }
.empty { padding: 60px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gutter); padding: 20px var(--gutter) 110px; }
#contact-details p { font: 500 clamp(20px, 2.2vw, 30px)/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 18px; overflow-wrap: anywhere; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 15px; }
form textarea { min-height: 150px; resize: vertical; }
form button { justify-self: start; font: 500 15px var(--body); color: var(--ink); background: var(--accent); border: 0; border-radius: 5px; padding: 14px 22px; cursor: pointer; }
#form-status { min-height: 1.5em; }

/* Footer */
#site-footer { position: relative; color: var(--paper); background: var(--ink); overflow: hidden; }
.bleed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#site-footer::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(30,12,10,.5); }
.footer-inner { position: relative; z-index: 2; padding: clamp(48px, 7vw, 100px) var(--gutter) 28px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--paper); color: var(--ink); border-radius: 10px; padding: clamp(22px, 3.5vw, 44px); font: 500 clamp(24px, 3.7vw, 54px)/1.12 var(--display); letter-spacing: -.02em; }
.cta-card i { flex: none; display: grid; place-items: center; width: clamp(48px, 6vw, 84px); aspect-ratio: 1; background: var(--accent); border-radius: 6px; font-size: 18px; transition: transform .3s; }
.cta-card:hover i { transform: translate(3px, -3px); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(56px, 8vw, 110px); }
.footer-cols h2 { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-cols p { margin-bottom: 6px; overflow-wrap: anywhere; }
.footer-cols a:hover { text-decoration: underline; }
.legal { margin-top: 60px; font-size: 14px; opacity: .85; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 28px; font: 500 28px/1.3 var(--display); }
  .open #nav { display: flex; }
  .about-grid, .principles, .prose, .contact-grid, .steps { grid-template-columns: 1fr; }
  .sticky-copy { position: static; margin-bottom: 24px; }
  .cards { max-width: none; }
  .stage-cols { grid-template-columns: 1fr; grid-auto-rows: min-content; align-content: center; }
  .stage-col { align-items: flex-start; text-align: left; padding: 18px var(--gutter); border-left: 0; border-top: 1px solid rgba(255,253,242,.24); opacity: .6; transition: opacity .3s; }
  .stage-col:first-child { border-top: 0; }
  .stage-col.on { opacity: 1; }
  .stage-col h3 { font-size: 28px; }
  .stage-col i { display: none; }
  .tools { position: static; }
  #count { margin-left: 0; width: 100%; }
  .row { grid-template-columns: 1fr auto; gap: 3px 12px; }
  .row strong { grid-column: 1 / -1; }
  .row span:nth-of-type(n) { font-size: 14px; }
  .row span:nth-of-type(1) { grid-column: 1; }
  .row span:nth-of-type(2) { grid-column: 1; }
  .row span:nth-of-type(3) { grid-column: 2; grid-row: 2; text-align: right; }
  .row .mono { grid-column: 2; grid-row: 3; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .stage-layer, .stage-col .blurb, .card { transition: none; }
}
