:root {
  --ink: #101613;
  --ink-soft: #1a2420;
  --paper: #e9e2d2;
  --paper-bright: #f4efe4;
  --sage: #91a99e;
  --verdigris: #5e877c;
  --amber: #c89451;
  --line: rgba(16, 22, 19, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper-bright); background: var(--verdigris); }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 1000; padding: .8rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 4vw, 4.5rem); color: var(--paper-bright); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s, height .3s; }
.site-header.scrolled { height: 70px; background: rgba(16,22,19,.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: .8; }
.brand > span:last-child { display: grid; }
.brand strong { font: 600 1.55rem/1 var(--serif); letter-spacing: .03em; }
.brand small { margin-top: .26rem; font: 500 .58rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.brand-mark { position: relative; width: 34px; aspect-ratio: 1; display: block; border: 1px solid currentColor; border-radius: 50%; opacity: .9; }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; inset: 6px; border: 1px solid currentColor; transform: rotate(45deg); }
.brand-mark::after { inset: 12px; border-radius: 50%; transform: none; background: currentColor; }
.brand-mark i { inset: -5px 15px; border-width: 0 1px; transform: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.5rem); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.site-nav .nav-cta { padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.4); opacity: 1; }
.site-nav .nav-cta span { margin-left: .5rem; }
.menu-toggle { display: none; border: 0; color: inherit; background: none; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hero { position: relative; min-height: 780px; height: 100svh; display: grid; align-items: center; color: var(--paper-bright); background: var(--ink); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("archive-workshop-hero.webp") center / cover no-repeat; transform: scale(1.025); animation: settle 1.8s ease-out forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,12,10,.95) 0%, rgba(8,13,11,.75) 38%, rgba(8,13,11,.2) 72%, rgba(8,13,11,.42)), linear-gradient(0deg, rgba(7,12,10,.65), transparent 55%); }
.hero-grid { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 68%); }
.hero-copy { position: relative; z-index: 2; width: min(730px, 88vw); margin-left: clamp(1.25rem, 8vw, 9rem); padding-top: 5rem; }
.eyebrow, .section-label { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem; font-size: .67rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 2.5rem; height: 1px; background: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.6rem; font: 500 clamp(4.4rem, 8.5vw, 8.5rem)/.76 var(--serif); letter-spacing: -.045em; }
h1 em, h2 em { color: var(--amber); font-weight: 500; }
.hero-lede { max-width: 540px; margin-bottom: 2.25rem; color: rgba(244,239,228,.75); font: 500 clamp(1rem, 1.6vw, 1.2rem)/1.75 var(--serif); letter-spacing: .025em; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 50px; padding: 0 1.3rem; border: 1px solid transparent; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: transform .2s, color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { background: #e0b270; }
.button-dark { color: var(--paper-bright); background: var(--ink); }
.text-link { padding: .8rem 0; font-size: .69rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: .6rem; color: var(--amber); transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }
.catalog-stamp { position: absolute; right: clamp(1.5rem, 5vw, 5rem); bottom: 4rem; width: 112px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transform: rotate(8deg); }
.catalog-stamp::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(255,255,255,.25); border-radius: inherit; }
.catalog-stamp span { font: 500 2rem/1 var(--serif); }
.catalog-stamp small { margin-top: .35rem; font-size: .42rem; letter-spacing: .12em; }
.scroll-note { position: absolute; bottom: 0; left: 2rem; display: flex; align-items: center; gap: 1rem; font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: left bottom; }
.scroll-note i { display: block; width: 70px; height: 1px; background: rgba(255,255,255,.45); }

.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.manifesto { display: grid; grid-template-columns: minmax(170px, .7fr) 2fr; gap: 5vw; border-bottom: 1px solid var(--line); }
.section-label { align-self: start; color: #58625d; }
.section-label span { display: grid; place-items: center; width: 28px; aspect-ratio: 1; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: .57rem; }
.manifesto-copy { max-width: 900px; }
.kicker { margin-bottom: 1rem; color: #657069; font: italic 500 1.15rem var(--serif); }
h2 { margin-bottom: 2rem; font: 500 clamp(3.2rem, 6.7vw, 6.9rem)/.84 var(--serif); letter-spacing: -.04em; }
.manifesto-copy > p:last-child { max-width: 620px; margin-left: auto; color: #4d5751; font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.75 var(--serif); }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding-top: 0; padding-bottom: 0; background: var(--line); }
.collection-card { position: relative; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--paper-bright); overflow: hidden; }
.card-index { position: relative; z-index: 2; color: #6b746f; font-size: .58rem; font-weight: 600; letter-spacing: .16em; }
.card-copy { position: relative; z-index: 2; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.card-copy h3 { margin-bottom: .45rem; font: 600 2rem/1 var(--serif); }
.card-copy p { max-width: 320px; margin: 0; color: #657069; font: 500 .98rem/1.5 var(--serif); }
.artifact { position: absolute; inset: 15% 8% 25%; filter: drop-shadow(0 25px 22px rgba(10,15,12,.2)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.collection-card:hover .artifact { transform: translateY(-8px) rotate(1deg); }
.artifact-one span { position: absolute; inset: 20% 24%; border: 2px solid #253a33; border-radius: 46% 46% 38% 38%; background: radial-gradient(circle at 55% 30%, #a9bfaf 0 5%, transparent 6%), repeating-radial-gradient(ellipse at center, #31534a 0 12px, #213b34 13px 15px); box-shadow: inset 0 0 0 14px #182823; }
.artifact-one i, .artifact-one b { position: absolute; top: 42%; width: 24%; height: 24%; border: 8px solid #1d302a; border-radius: 50%; }
.artifact-one i { left: 5%; } .artifact-one b { right: 5%; }
.artifact-two span { position: absolute; top: 8%; bottom: 8%; left: 38%; width: 24%; border: 2px solid #5a4630; border-radius: 10px; background: linear-gradient(90deg,#3b2b20,#c89451 18%,#65452b 23%,#2c211b 52%,#b98143 80%,#382820); }
.artifact-two i { position: absolute; top: 26%; left: 12%; right: 12%; height: 14%; border: 10px double #82704e; border-radius: 50%; }
.artifact-two b { position: absolute; bottom: 12%; left: 25%; right: 25%; height: 26%; border: 2px solid #68533b; background: repeating-linear-gradient(45deg, #b29667 0 4px, #77633f 5px 7px); clip-path: polygon(15% 0,85% 0,100% 100%,0 100%); }
.artifact-three span { position: absolute; inset: 8% 12%; border: 1px solid #77684c; background: #d8caa9; transform: rotate(-5deg); box-shadow: 12px 14px 0 #b9a887, 18px 21px 0 rgba(25,30,25,.15); }
.artifact-three span::before { content: ""; position: absolute; inset: 12%; opacity: .5; background: repeating-linear-gradient(0deg, transparent 0 17px, #8f7e5e 18px 19px), radial-gradient(circle at 70% 65%, transparent 0 26px, #8f7e5e 27px 29px, transparent 30px); }
.artifact-three i { position: absolute; right: 2%; top: 0; width: 32%; aspect-ratio: 1; border: 1px solid #576e62; border-radius: 50%; box-shadow: inset 0 0 0 5px #91a99e, inset 0 0 0 7px #576e62; background: #c7d0c8; }
.artifact-three b { position: absolute; left: 0; bottom: 3%; width: 50%; height: 14%; border: 1px solid #554c3d; background: #796951; transform: rotate(8deg); }

.records { display: grid; grid-template-columns: .8fr 1.4fr; gap: 7vw; color: var(--paper-bright); background: var(--ink); }
.records .light { color: var(--sage); }
.records .light span { color: var(--ink); background: var(--amber); }
.records h2 { margin-top: 4rem; }
.record-list { border-top: 1px solid rgba(255,255,255,.2); }
.record-list a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 1.4rem; padding: 2rem .5rem; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .2s, padding .2s; }
.record-list a:hover { padding-left: 1rem; background: rgba(255,255,255,.04); }
.record-number { color: var(--amber); font: italic 500 1.1rem var(--serif); }
.record-list strong { display: block; margin-bottom: .35rem; font: 500 1.7rem var(--serif); }
.record-list small { color: rgba(244,239,228,.55); font-size: .72rem; }
.record-list b { color: var(--amber); font-weight: 400; }

.about { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 9vw; background: var(--paper-bright); }
.about-seal { display: grid; place-items: center; }
.about-seal > div { position: relative; width: min(320px, 70vw); aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--ink); border-radius: 50%; }
.about-seal > div::before, .about-seal > div::after { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--line); border-radius: 50%; }
.about-seal > div::after { inset: 25%; border-style: solid; transform: rotate(45deg); border-radius: 0; }
.about-seal span { position: relative; z-index: 2; font-size: .55rem; font-weight: 600; letter-spacing: .3em; }
.about-seal strong { position: relative; z-index: 2; font: 500 6rem/.8 var(--serif); }
.about-copy { max-width: 760px; }
.about-copy h2 { font-size: clamp(3rem, 5.8vw, 6rem); }
.about-copy > p { max-width: 620px; color: #59635d; font: 500 1.05rem/1.75 var(--serif); }
.about-copy .button { margin-top: 1rem; }

.dispatch { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 8vw; color: var(--paper-bright); background: #263e37; }
.dispatch h2 { margin-bottom: 0; }
.dispatch-copy p { max-width: 510px; margin-bottom: 2rem; color: rgba(244,239,228,.68); font: 500 1.08rem/1.7 var(--serif); }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem; padding: 3.5rem clamp(1.25rem, 5vw, 5rem); color: var(--paper-bright); background: #0b100e; border-top: 1px solid rgba(255,255,255,.1); }
footer p { margin: 0; color: rgba(244,239,228,.5); font: italic 500 1rem var(--serif); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .62rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
footer > small { grid-column: 1 / -1; padding-top: 2rem; color: rgba(244,239,228,.35); border-top: 1px solid rgba(255,255,255,.1); font-size: .54rem; letter-spacing: .05em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 10px; }
  .menu-toggle span { display: block; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 72px 0 auto; display: none; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; color: var(--paper-bright); background: rgba(16,22,19,.98); border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav .nav-cta { margin-top: .8rem; padding: 1rem; text-align: center; border: 1px solid rgba(255,255,255,.35); }
  .hero-copy { margin-left: clamp(1.25rem, 6vw, 4rem); }
  .catalog-stamp { width: 88px; bottom: 2rem; }
  .manifesto, .records, .about, .dispatch { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 520px; }
  .artifact { inset: 12% 15% 25%; }
  .about-seal { order: 2; margin-top: 2rem; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 560px) {
  .brand strong { font-size: 1.3rem; }
  .hero { min-height: 720px; }
  .hero-copy { width: auto; margin: 0 1.25rem; padding-top: 2rem; }
  h1 { font-size: clamp(3.9rem, 19vw, 5.4rem); }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,12,10,.94), rgba(8,13,11,.47)), linear-gradient(0deg, rgba(7,12,10,.7), transparent 50%); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .65rem; }
  .text-link { text-align: center; }
  .catalog-stamp, .scroll-note { display: none; }
  .section-pad { padding: 5rem 1.25rem; }
  h2 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .manifesto-copy > p:last-child { margin-left: 0; }
  .collection-grid { padding: 0; }
  .collection-card { min-height: 500px; }
  .records h2 { margin-top: 2rem; }
  .record-list a { grid-template-columns: 28px 1fr auto; gap: .7rem; padding: 1.5rem 0; }
  .record-list strong { font-size: 1.35rem; }
  .record-list small { line-height: 1.45; }
  .dispatch { gap: 2rem; }
  footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
