:root {
  --paper: #f5efe3;
  --paper-2: #ece4d3;
  --ink: #23271f;
  --soft: #4e5248;
  --muted: #8b8676;
  --line: #d9cfba;
  --sage: #5f7556;
  --rust: #b1553a;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --sans: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.7;
  background-color: var(--paper);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
em { font-style: italic; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px clamp(20px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; font-weight: 400; }
.brand em { color: var(--sage); }
nav { display: flex; gap: 28px; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
nav a { text-decoration: none; color: var(--soft); background: linear-gradient(var(--rust), var(--rust)) 0 100% / 0 1px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
nav a:hover { background-size: 100% 1px; color: var(--ink); }

/* Shared */
.note { font-family: var(--hand); font-size: 22px; line-height: 1.1; color: var(--rust); }
.section-no { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--muted); margin: 0 0 6px; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.01em; }
.print { background: #fffdf8; padding: 12px 12px 44px; box-shadow: 0 1px 2px rgba(40,30,10,.12), 0 14px 30px -12px rgba(40,30,10,.28); position: relative; }
.print .note { position: absolute; left: 16px; bottom: 9px; }
.tilt-left { transform: rotate(-1.6deg); }
.tilt-right { transform: rotate(1.4deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.kicker { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.02em; }
.hero h1 em { color: var(--sage); }
.lede { margin-top: 26px; max-width: 30em; font-size: 20px; color: var(--soft); }
.arrow-link { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: var(--rust); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.arrow-link span { display: inline-block; transition: transform .2s; }
.arrow-link:hover span { transform: translateX(4px); }
.hero-photo { transform: rotate(1.2deg); }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Story */
.story { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 64px); display: grid; grid-template-columns: 260px 1fr 300px; gap: clamp(28px, 4vw, 56px); align-items: start; border-top: 1px solid var(--line); }
.story-body p { color: var(--soft); }
.drop { font-size: 23px; line-height: 1.6; color: var(--ink) !important; }
.drop::first-letter { float: left; font-size: 4.1em; line-height: .82; padding: 6px 10px 0 0; color: var(--sage); font-weight: 400; }
.signature { margin-top: 28px; font-family: var(--hand); font-size: 30px; color: var(--ink) !important; line-height: 1; }
.signature span { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.story-photo { margin: 24px 0 0; }

/* Work */
.work { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 64px); }
.work-head, .work-grid { max-width: 1180px; margin: 0 auto; }
.work-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 48px; align-items: center; }
.tally { position: relative; }
.tally-num { display: block; font-size: clamp(120px, 15vw, 190px); line-height: .85; font-weight: 300; color: var(--sage); letter-spacing: -.04em; }
.tally-note { display: inline-block; margin-top: 10px; transform: rotate(-3deg); }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-list li { display: flex; gap: 18px; align-items: baseline; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.work-list li:first-child { padding-top: 0; }
.tick { flex: none; width: 18px; height: 12px; border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: rotate(-45deg) translateY(-6px); }

/* Tracing */
.tracing { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 64px); }
.tracing-photo { margin: 0 0 56px; position: relative; }
.tracing-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; filter: saturate(.85) sepia(.12); }
.tracing-photo .note { position: absolute; right: 18px; bottom: 12px; color: #fff8ec; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.tracing-inner { max-width: 1180px; margin: 0 auto; }
.trace-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.icon { width: 56px; height: 56px; fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.trace h3 { font-size: 26px; margin-bottom: 8px; }
.trace p { color: var(--soft); font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px clamp(20px, 5vw, 64px) 36px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; margin-bottom: 26px; }
.foot-name { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0; }
.foot-name em { color: var(--sage); }
.foot-meta { margin: 0; }
.credits-h { font-weight: 500; color: var(--soft); margin-bottom: 6px; }
.credits ul { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.8; }
.credits a { color: var(--soft); }

@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story-photo { max-width: 420px; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .trace-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  nav { gap: 20px; }
  .tracing-photo img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
