@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --paper: #DCEBD9;
  --paper-deep: #C9DFC4;
  --ink: #1F3A2E;
  --moss: #45624A;
  --stamp: #B5502A;
  --line: #C9C2A6;

  --serif: 'Fraunces', serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(.22,.9,.32,1);
  --ease-spring: cubic-bezier(.2,1.4,.4,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain overlay — static texture, not animated, sits above everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 250;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

a { color: var(--moss); }

:focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 3px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ================= CUSTOM CURSOR ================= */
#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 400;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
#cursor-dot { width: 6px; height: 6px; background: var(--stamp); }
#cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid var(--ink);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0.6;
}
html.cursor-active, html.cursor-active * { cursor: none !important; }
#cursor-ring.hover { width: 54px; height: 54px; border-color: var(--stamp); opacity: 0.9; }

/* ================= PRELOADER ================= */
#preloader {
  position: fixed; inset: 0;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
#preloader .pl-stamp {
  width: 100px; height: 100px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.9rem;
  color: var(--ink);
  transform: scale(0.5); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  #preloader .pl-stamp { animation: pl-in 0.6s var(--ease-spring) 0.15s forwards; }
  #preloader { transition: opacity 0.5s ease, visibility 0.5s ease; }
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pl-in { to { transform: scale(1); opacity: 1; } }

/* ================= GROWTH VINE (scroll progress) ================= */
#vine-wrap {
  position: fixed; left: 14px; top: 0; bottom: 0; width: 18px;
  z-index: 90; pointer-events: none;
  display: flex; align-items: stretch;
}
#vine-wrap svg { height: 100%; width: 100%; overflow: visible; }
#vine-path { fill: none; stroke: var(--line); stroke-width: 2; }
#vine-fill { fill: none; stroke: var(--moss); stroke-width: 2; }
.vine-node {
  position: absolute; left: 5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line);
  transform: translate(-50%, -50%);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease-spring);
}
.vine-node.lit { background: var(--moss); border-color: var(--moss); transform: translate(-50%, -50%) scale(1.3); }
@media (max-width: 860px) { #vine-wrap { display: none; } }

/* ================= NAV ================= */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  max-width: 1080px; margin: 0 auto;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-nav.scrolled {
  padding: 13px 28px;
  background: rgba(220,235,217,0.88);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}
.site-nav .mark {
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.02em;
  font-size: 0.95rem; text-decoration: none; color: var(--ink);
}
.site-nav .mark span { color: var(--stamp); }
.site-nav .links { display: flex; align-items: center; gap: 22px; }
.site-nav .links a {
  font-family: var(--mono); font-size: 0.78rem; text-decoration: none;
  color: var(--moss); position: relative; padding-bottom: 3px;
  letter-spacing: 0.02em;
}
.site-nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--stamp); transition: width 0.3s var(--ease);
}
.site-nav .links a:hover::after, .site-nav .links a.active::after { width: 100%; }
.site-nav .links a.active { color: var(--ink); }
.site-nav .cta {
  font-family: var(--mono); font-size: 0.85rem;
  background: var(--ink); color: var(--paper);
  padding: 9px 18px; border-radius: 2px; text-decoration: none; border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.site-nav .cta:hover { background: var(--moss); border-color: var(--moss); }

/* ================= HERO ================= */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center; padding: 40px 0 60px; overflow: hidden;
}
.leaf {
  position: absolute; pointer-events: none; opacity: 0.35; z-index: 0;
  fill: var(--moss);
}
@media (prefers-reduced-motion: no-preference) {
  .leaf { animation: leaf-fall 14s linear infinite; }
  .leaf.l2 { animation-duration: 18s; animation-delay: -4s; }
  .leaf.l3 { animation-duration: 11s; animation-delay: -8s; }
  .leaf.l4 { animation-duration: 20s; animation-delay: -2s; }
}
@keyframes leaf-fall {
  0%   { transform: translate(0, -60px) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.35; }
  92%  { opacity: 0.35; }
  100% { transform: translate(30px, 420px) rotate(340deg); opacity: 0; }
}
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1.12;
  margin: 0 0 20px; color: var(--ink);
}
.hero p.lede { font-size: 1.08rem; color: #3d4d40; max-width: 46ch; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--mono); font-size: 0.88rem; padding: 12px 22px; border-radius: 2px;
  text-decoration: none; display: inline-block; border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--moss); border-color: var(--moss); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(31,58,46,0.06); }

/* ================= PASSPORT CARD ================= */
.passport-wrap { position: relative; z-index: 1; perspective: 900px; }
.passport {
  position: relative; background: var(--paper-deep); border: 1.5px dashed var(--ink);
  border-radius: 4px; padding: 26px 26px 22px;
  box-shadow: 6px 6px 0 rgba(31,58,46,0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.passport-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--moss); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px;
}
.passport-body { display: flex; gap: 20px; align-items: center; }
.passport-fields { flex: 1; font-family: var(--mono); font-size: 0.86rem; }
.passport-fields div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.passport-fields .label { color: var(--moss); }
.passport-fields .value { font-weight: 700; }

.rings-wrap { flex-shrink: 0; }
.rings-wrap svg circle { fill: none; stroke: var(--ink); }

.stamp-mark {
  position: absolute; top: 38%; right: 22px;
  font-family: var(--mono); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.12em;
  color: var(--stamp); border: 3px solid var(--stamp); border-radius: 50%;
  padding: 10px 4px; width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transform: rotate(-13deg) scale(1); opacity: 0.92; mix-blend-mode: multiply;
}
.passport-foot {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.78rem; color: var(--moss);
}

@media (prefers-reduced-motion: no-preference) {
  .stamp-mark { animation: stamp-down 0.5s var(--ease-spring) 0.5s both; }
  .rings-wrap svg circle { animation: ring-draw 0.9s ease-out forwards; }
  .rings-wrap svg circle:nth-child(1) { animation-delay: 0.2s; }
  .rings-wrap svg circle:nth-child(2) { animation-delay: 0.38s; }
  .rings-wrap svg circle:nth-child(3) { animation-delay: 0.56s; }
  .rings-wrap svg circle:nth-child(4) { animation-delay: 0.74s; }
}
@keyframes stamp-down {
  0% { opacity: 0; transform: rotate(-13deg) scale(2.2); }
  60% { opacity: 0.95; transform: rotate(-13deg) scale(0.92); }
  100% { opacity: 0.92; transform: rotate(-13deg) scale(1); }
}
@keyframes ring-draw { to { stroke-dashoffset: 0; } }

/* ================= TICKER ================= */
.ticker-wrap {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
  padding: 12px 0 12px 52px;
}
.ticker-track {
  display: flex; width: max-content;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--moss); white-space: nowrap;
}
.ticker-track span { padding: 0 28px; }
.ticker-track span::after { content: "•"; margin-left: 28px; color: var(--stamp); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 32s linear infinite; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= MARGIN NOTE ================= */
.margin-note {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 50px 0; border-top: 1px solid var(--line);
}
.margin-note .tag {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stamp); writing-mode: vertical-rl; text-orientation: mixed;
}
.margin-note p { max-width: 62ch; font-size: 1.02rem; }
.margin-note p + p { margin-top: 12px; }

/* ================= LEDGER SPREAD (book-flip reveal) ================= */
.ledger { padding: 20px 0 60px; border-top: 1px solid var(--line); }
.ledger > h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 30px; }
.spread {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 36px;
  background: repeating-linear-gradient(var(--paper), var(--paper) 31px, var(--line) 32px);
  background-color: var(--paper);
  border: 1px solid var(--line); border-radius: 3px; padding: 30px 0;
  perspective: 1400px;
}
.page { padding: 0 32px; transform-origin: center; }
.spine { background: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .page { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .page.left-page { transform: rotateY(18deg) translateX(-10px); }
  .page.right-page { transform: rotateY(-18deg) translateX(10px); }
  .spread.in-view .page { opacity: 1; transform: rotateY(0) translateX(0); }
}
.page h3 {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--moss); margin: 0 0 14px;
}
.page ul { list-style: none; margin: 0; padding: 0; }
.page li {
  position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 0.98rem;
  transition: color 0.2s var(--ease);
}
.page li::before {
  content: "✓"; position: absolute; left: 0; color: var(--moss); font-family: var(--mono); font-weight: 700;
}
.page li:hover {
  color: var(--stamp);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--line);
}

/* ================= AT A GLANCE (static goals) ================= */
.tally-section { padding: 50px 0; border-top: 1px solid var(--line); }
.tally-section h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 6px; }
.tally-section .muted { color: var(--moss); font-size: 0.9rem; margin-bottom: 26px; }
.tally-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink); border-radius: 3px; overflow: hidden;
}
.tally-cell { padding: 22px 18px; text-align: center; border-left: 1px dashed var(--line); }
.tally-cell:first-child { border-left: none; }
.tally-cell .num {
  font-family: var(--mono); font-weight: 700; font-size: 2rem; color: var(--ink); display: block;
  font-variant-numeric: tabular-nums;
}
.tally-cell .lbl {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss);
}

/* ================= STAMP FEATURES ================= */
.features { padding: 50px 0; border-top: 1px solid var(--line); }
.features h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 30px; }
.stamp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stamp-card { text-align: center; padding: 20px 14px; }
.stamp-badge {
  width: 78px; height: 78px; margin: 0 auto 14px;
  border: 2px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 1.6rem; position: relative;
  transition: transform 0.35s var(--ease-spring);
}
.stamp-badge::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--ink);
  border-radius: 50%; opacity: 0.5;
}
.stamp-card:nth-child(odd) .stamp-badge { transform: rotate(-4deg); }
.stamp-card:nth-child(even) .stamp-badge { transform: rotate(3deg); }
.stamp-card:hover .stamp-badge { transform: rotate(0deg) scale(1.08); }
.stamp-card h4 { font-family: var(--mono); font-size: 0.92rem; margin: 0 0 6px; }
.stamp-card p { font-size: 0.88rem; color: #3d4d40; margin: 0; }

/* ================= GALLERY ================= */
.gallery { padding: 50px 0; border-top: 1px solid var(--line); }
.gallery h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 6px; }
.gallery .muted { color: var(--moss); font-size: 0.9rem; margin-bottom: 26px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; cursor: pointer; background: var(--paper-deep);
}
.gallery-item.no-photo { cursor: default; }
.gallery-item.no-photo:hover img { transform: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--moss); text-align: center; padding: 10px;
}
.gallery-fallback .icon { font-size: 1.6rem; opacity: 0.6; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(31,58,46,0.75));
  color: var(--paper); font-family: var(--mono); font-size: 0.74rem;
  transform: translateY(100%); transition: transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-cap { transform: translateY(0); }

#lightbox {
  position: fixed; inset: 0; background: rgba(31,58,46,0.92);
  display: flex; align-items: center; justify-content: center; z-index: 300;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img { max-width: 84vw; max-height: 78vh; border: 3px solid var(--paper); border-radius: 2px;
  transform: scale(0.92); transition: transform 0.3s var(--ease-spring); }
#lightbox.open img { transform: scale(1); }
#lightbox .lb-cap { color: var(--paper); font-family: var(--mono); font-size: 0.85rem; text-align: center; margin-top: 14px; }
#lightbox .lb-close {
  position: absolute; top: 24px; right: 30px; color: var(--paper);
  font-family: var(--mono); font-size: 1.4rem; background: none; border: none; cursor: pointer;
}

/* ================= TEAM ================= */
.team { padding: 50px 0; border-top: 1px solid var(--line); }
.team h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 8px; }
.team .muted { color: var(--moss); font-size: 0.9rem; margin-bottom: 28px; }
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.crew-card {
  border: 1px solid var(--line); border-radius: 3px; padding: 16px;
  display: flex; gap: 12px; align-items: center; background: var(--paper-deep);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.crew-card:hover { transform: translateY(-3px); box-shadow: 4px 6px 0 rgba(31,58,46,0.08); }
.photo-frame {
  position: relative; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--ink); flex-shrink: 0; overflow: hidden;
}
.photo-frame .fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem; background: var(--paper);
}
.photo-frame img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block;
}
.crew-name { font-weight: 600; font-size: 0.92rem; }
.crew-role { font-family: var(--mono); font-size: 0.72rem; color: var(--moss); }

/* ================= FAQ ================= */
.faq { padding: 50px 0; border-top: 1px solid var(--line); }
.faq h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 26px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-q .plus {
  font-family: var(--mono); color: var(--stamp); transition: transform 0.3s var(--ease); font-size: 1.2rem;
}
.faq-item[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease);
}
.faq-a-inner { overflow: hidden; }
.faq-a { padding: 0 0 16px; color: #3d4d40; font-size: 0.95rem; max-width: 66ch; }
.faq-item[aria-expanded="true"] .faq-a-wrap { grid-template-rows: 1fr; }

/* ================= CTA BAND ================= */
.cta-band { padding: 60px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; margin-bottom: 12px; }
.cta-band p { color: var(--moss); font-family: var(--mono); font-size: 0.9rem; margin-bottom: 22px; }

/* ================= BACK TO TOP ================= */
#back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--paper-deep); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 1.1rem; color: var(--ink);
  cursor: pointer; text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(10px) rotate(-4deg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-spring), visibility 0.3s;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) rotate(-4deg); }
#back-to-top:hover { transform: translateY(-3px) rotate(0deg); border-color: var(--stamp); color: var(--stamp); }

/* ================= FOOTER ================= */
.site-footer { padding: 30px 28px 50px; text-align: center; font-family: var(--mono); font-size: 0.78rem; color: var(--moss); }
.site-footer a { color: var(--moss); }

/* ================= SCROLL REVEAL ================= */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in-view { opacity: 1; transform: none; }
  .reveal-stagger.in-view > * { animation: stagger-in 0.6s var(--ease) both; }
  .reveal-stagger.in-view > *:nth-child(1) { animation-delay: 0.05s; }
  .reveal-stagger.in-view > *:nth-child(2) { animation-delay: 0.12s; }
  .reveal-stagger.in-view > *:nth-child(3) { animation-delay: 0.19s; }
  .reveal-stagger.in-view > *:nth-child(4) { animation-delay: 0.26s; }
  .reveal-stagger.in-view > *:nth-child(5) { animation-delay: 0.33s; }
  .reveal-stagger.in-view > *:nth-child(6) { animation-delay: 0.4s; }
  .reveal-stagger.in-view > *:nth-child(7) { animation-delay: 0.47s; }
}
@keyframes stagger-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero h1 { font-size: 2.2rem; }
  .spread { grid-template-columns: 1fr; background: var(--paper); }
  .spine { display: none; }
  .margin-note { grid-template-columns: 1fr; }
  .margin-note .tag { writing-mode: horizontal-tb; }
  .tally-row { grid-template-columns: repeat(2, 1fr); }
  .tally-cell:nth-child(3) { border-left: none; }
  .stamp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-grid { grid-template-columns: 1fr 1fr; }
  .site-nav .links { display: none; }
  #cursor-dot, #cursor-ring { display: none; }
}
@media (max-width: 480px) {
  .crew-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}