:root {
  --ink: #161310;
  --muted: #6d655c;
  --paper: #f4efe6;
  --paper-2: #e9e2d4;
  --line: rgba(22, 19, 16, 0.14);
  --bronze: #8d5a38;
  --night: #0e0c0b;
  --cream: #f7f2ea;
  --header: 74px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: #e4c7a4; color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 12px;
}
.skip:focus { top: 12px; }

.progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 100%;
  z-index: 60; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0; background: var(--bronze);
  transform-origin: left center;
}

.grain {
  position: fixed; inset: -20%; z-index: 55; pointer-events: none;
  opacity: 0.14; mix-blend-mode: multiply;
  background-image: url("noise.png");
  background-size: 180px 180px;
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header); padding: 0 28px;
  color: white;
  background: linear-gradient(to bottom, rgba(8, 7, 6, 0.55), transparent);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-solid {
  color: var(--ink);
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none; letter-spacing: 0.14em;
}
.brand b { font-family: var(--serif); font-weight: 560; font-size: 22px; letter-spacing: 0.08em; }
.brand small { font-size: 11px; letter-spacing: 0.22em; opacity: 0.8; }
.desktop-nav { display: flex; gap: 26px; }
.desktop-nav a, .header-mail {
  text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.header-mail {
  border: 1px solid currentColor; padding: 8px 14px; border-radius: 999px;
}
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0;
}
.menu-toggle span {
  display: block; height: 1px; margin: 7px 8px; background: currentColor;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 39; background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: 32px; transform: translateY(-102%); transition: transform 0.5s ease;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(40px, 10vw, 72px);
  text-decoration: none; line-height: 0.95; font-weight: 500;
}

section, .manifesto, .reel, .craft, .about, .contact { scroll-margin-top: 84px; }
.hero {
  position: relative; min-height: 100vh; color: white; background: var(--night);
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-media {
  position: absolute; inset: -14% 0 -8%;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8, 7, 6, 0.78) 0%, rgba(8, 7, 6, 0.15) 42%, rgba(8, 7, 6, 0.25) 100%);
}
.hero-copy {
  position: relative; z-index: 1; width: min(1400px, calc(100% - 56px));
  margin: 0 auto 64px; display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 40px;
  align-items: end;
}
.kicker {
  margin: 0 0 18px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 520; letter-spacing: -0.045em;
  font-size: clamp(64px, 9.4vw, 148px); line-height: 0.86;
}
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; font-weight: 460; }
.hero-lead { margin: 0 0 22px; max-width: 34ch; font-size: 18px; color: rgba(255,255,255,0.86); }
.hero-side { padding-bottom: 10px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 4px;
}
.scroll-hint {
  position: absolute; right: 28px; bottom: 28px; z-index: 1;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75;
}

.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 38s linear infinite;
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; padding: 14px 0;
}
.marquee i { font-style: normal; color: var(--bronze); padding: 0 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.manifesto {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px;
  width: min(1400px, calc(100% - 56px)); margin: 0 auto; padding: 110px 0 80px;
}
.idx {
  margin: 0 0 16px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.manifesto h2 {
  margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02;
}
.sense { list-style: none; margin: 0; padding: 12px 0 0; }
.sense li {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); line-height: 1.05;
  color: rgba(22, 19, 16, 0.22); transition: color 0.4s ease;
}
.sense li.is-on { color: var(--ink); font-style: italic; }

.reel { position: relative; background: var(--night); color: white; }
.reel-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.reel-head {
  width: min(1400px, calc(100% - 56px)); margin: 0 auto 22px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.reel-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 520; font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em; line-height: 0.9;
}
.reel-head p { margin: 0; max-width: 32ch; color: rgba(255,255,255,0.72); font-size: 15px; }
.reel-track { display: flex; gap: 16px; padding: 0 4vw 0 6vw; will-change: transform; }
.reel-card {
  position: relative; flex: 0 0 min(68vw, 760px); height: min(72vh, 760px);
  color: white; text-decoration: none; overflow: hidden; background: #1a1816;
}
.reel-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease;
}
.reel-card:hover img { transform: scale(1.06); }
.reel-card span {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.reel-card strong {
  font-family: var(--serif); font-weight: 520; font-size: clamp(32px, 3vw, 48px); letter-spacing: -0.03em;
}
.reel-card em { font-style: normal; letter-spacing: 0.18em; font-size: 12px; }
.reel.is-native .reel-sticky { position: relative; height: auto; padding: 72px 0 48px; }
.reel.is-native .reel-track {
  overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important;
  padding-bottom: 18px;
}
.reel.is-native .reel-card { scroll-snap-align: start; flex-basis: 84vw; height: 68vh; }

.chapter { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0 30px; }
.chapter-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end;
  margin-bottom: 22px;
}
.chapter-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 520; letter-spacing: -0.04em;
  font-size: clamp(48px, 6vw, 92px); line-height: 0.88;
}
.chapter-head p { margin: 0; max-width: 36ch; color: var(--muted); }
.chapter-head .idx { max-width: none; }
.ghost {
  border: 0; background: transparent; cursor: pointer; padding: 0 0 8px;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px;
  border-bottom: 1px solid var(--ink);
}
.mosaic {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(240px, 34vh);
  gap: 12px;
}
.mosaic.a .tile:nth-child(1) { grid-row: span 2; }
.mosaic.a .tile:nth-child(2) { grid-column: span 2; }
.mosaic.b .tile:nth-child(1) { grid-column: span 2; }
.mosaic.b .tile:nth-child(4) { grid-column: span 2; }
.mosaic.c .tile:nth-child(3) { grid-row: span 2; }
.tile { position: relative; margin: 0; overflow: hidden; background: #ddd6c8; min-height: 220px; }
.tile button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.tile .frame { position: absolute; inset: 0; overflow: hidden; }
.tile img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.08);
  transition: transform 1.2s ease;
}
.tile:hover img { transform: scale(1); }
.tile figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  color: white; font-size: 13px; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(8px); transition: 0.35s ease;
  text-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }
.corners {
  position: absolute; inset: 10px; pointer-events: none; opacity: 0; transition: opacity 0.35s;
}
.tile:hover .corners { opacity: 1; }
.corners i {
  position: absolute; width: 14px; height: 14px; border: 1px solid white;
}
.corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.bleed { position: relative; height: 100vh; min-height: 560px; color: white; overflow: hidden; background: var(--night); }
.bleed-media { position: absolute; inset: -12% 0; }
.bleed-media img { width: 100%; height: 100%; object-fit: cover; }
.bleed-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.2));
}
.bleed-copy {
  position: absolute; left: 28px; right: 28px; bottom: 40px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.bleed-copy p {
  margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 60px);
  line-height: 0.95; letter-spacing: -0.03em; max-width: 16ch;
}
.bleed-copy span { letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; }

.craft { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 40px; }
.craft h2 {
  margin: 0 0 10px; font-family: var(--serif); font-weight: 520;
  font-size: clamp(46px, 6vw, 84px); letter-spacing: -0.04em; line-height: 0.9;
}
.craft-row {
  display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 18px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.craft-row:last-child { border-bottom: 1px solid var(--line); }
.craft-row b { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--bronze); }
.craft-row h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: clamp(28px, 3vw, 42px); }
.craft-row p { margin: 0; color: var(--muted); }

.about {
  display: grid; grid-template-columns: 0.9fr 1.1fr 0.9fr; min-height: 88vh; margin-top: 80px;
  background: var(--paper);
}
.portrait { margin: 0; background: #111; min-height: 520px; position: relative; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait.light { background: var(--paper-2); }
.portrait figcaption {
  position: absolute; left: 16px; bottom: 14px; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 12px; color: white;
}
.portrait.light figcaption { color: var(--ink); }
.about-copy { padding: 72px 36px; display: flex; flex-direction: column; justify-content: center; }
.about-copy h2 {
  margin: 0 0 18px; font-family: var(--serif); font-weight: 520;
  font-size: clamp(40px, 4vw, 64px); letter-spacing: -0.04em; line-height: 0.92;
}
.about-copy p { margin: 0 0 14px; color: #3c3833; }
.sig { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 22px; }

.contact {
  background: var(--night); color: var(--paper); padding: 120px 28px 80px;
}
.contact-inner { width: min(1100px, 100%); margin: 0 auto; }
.contact .kicker { color: rgba(247, 242, 234, 0.62); }
.contact h2 {
  margin: 0 0 28px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 7vw, 104px); letter-spacing: -0.045em; line-height: 0.9;
}
.mail {
  display: inline-block; font-size: clamp(22px, 3vw, 36px); text-decoration: none;
  border-bottom: 1px solid rgba(247, 242, 234, 0.4); padding-bottom: 4px;
}
.contact-links { display: flex; gap: 22px; margin-top: 28px; }
.contact-links a { letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }

.site-footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 28px 28px; background: var(--night); color: rgba(247,242,234,0.7);
  font-size: 13px; letter-spacing: 0.08em;
}
.site-footer a { color: inherit; }

.cursor {
  position: fixed; z-index: 70; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; border: 1px solid white; mix-blend-mode: difference;
  pointer-events: none; transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease;
}
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; letter-spacing: 0.16em; font-weight: 500; opacity: 0;
}
.cursor.is-view b { opacity: 1; }
body.no-cursor, body.no-cursor * { cursor: auto !important; }

.archive, .lightbox {
  position: fixed; inset: 0; z-index: 65; background: rgba(14, 12, 11, 0.94);
  color: var(--paper);
}
.archive[hidden], .lightbox[hidden] { display: none !important; }
.archive { overflow: auto; background: var(--paper); color: var(--ink); }
.archive-bar, .lightbox-bar {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: rgba(244, 239, 230, 0.92); backdrop-filter: blur(10px);
}
.lightbox-bar { position: absolute; left: 0; right: 0; background: transparent; color: white; }
.archive-bar h2, .lightbox-bar p { margin: 0; font-family: var(--serif); font-weight: 520; }
.archive-grid { columns: 3 280px; column-gap: 10px; padding: 8px 18px 40px; }
.archive-grid button {
  width: 100%; margin: 0 0 10px; padding: 0; border: 0; background: transparent; cursor: pointer;
  break-inside: avoid;
}
.archive-grid img { width: 100%; height: auto; }
.lightbox {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox img {
  width: min(1500px, calc(100vw - 160px));
  height: calc(100vh - 160px);
  object-fit: contain; margin: 0;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.25); color: white; cursor: pointer; z-index: 2;
}
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.icon-btn {
  border: 0; background: transparent; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 12px; cursor: pointer; padding: 8px;
}
.lightbox-foot {
  position: absolute; left: 80px; right: 80px; bottom: 18px;
  text-align: center; color: rgba(255,255,255,0.82);
}

.pre {
  position: fixed; inset: 0; z-index: 80; background: var(--night); color: var(--paper);
  display: grid; place-items: center; transition: opacity 0.6s ease, visibility 0.6s;
}
.pre.is-done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre b { font-family: var(--serif); font-weight: 500; font-size: 64px; letter-spacing: 0.12em; }
.pre-bar { width: 160px; height: 1px; margin: 16px auto 0; background: rgba(255,255,255,0.2); }
.pre-bar span { display: block; height: 100%; width: 0; background: white; }

.js .rise { opacity: 0; transform: translateY(28px); animation: rise 0.9s ease forwards; }
.js .rise.d2 { animation-delay: 0.12s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .desktop-nav, .header-mail, .scroll-hint, .cursor { display: none; }
  .menu-toggle { display: block; }
  .hero-copy, .manifesto, .chapter-head, .about, .craft-row { grid-template-columns: 1fr; }
  .hero-copy { margin-bottom: 48px; }
  .mosaic, .mosaic.a .tile, .mosaic.b .tile, .mosaic.c .tile {
    grid-template-columns: 1fr; grid-auto-rows: 68vw;
  }
  .mosaic .tile { grid-column: auto !important; grid-row: auto !important; }
  .archive-grid { columns: 2 140px; }
  .chapter-head { gap: 10px; }
  .about { grid-template-columns: 1fr; }
  .portrait { min-height: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  .js .rise { opacity: 1; transform: none; }
  .grain { display: none; }
  html { scroll-behavior: auto; }
}
