/* Glintmere — monochrome editorial gallery (style reference: 14islands via GradientDeck, chosen 2026-11-14) */
/* Fonts are self-hosted (latin subset from Google Fonts, SIL OFL 1.1 — licenses in /fonts). */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #070707;
  --paper: #ffffff;
  --fog: #f2f2f2;
  --stone: #8e8e94;      /* large/decorative grey: 3.3:1 on paper (AA large) */
  --graphite: #6e6e73;   /* small secondary text: 5.1:1 on paper (AA) */
  --stone-on-ink: #a2a2a9; /* grey on ink: 8:1 */
  --hairline: rgba(7, 7, 7, 0.12);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --text-caption: 12px;
  --text-body: 16px;
  --text-sub: clamp(22px, 2.2vw, 27px);
  --text-heading: clamp(44px, 6.2vw, 75px);
  --text-heading-lg: clamp(52px, 8.4vw, 100px);
  --text-display: clamp(60px, 14.2vw, 180px);

  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(72px, 10vw, 160px);
  --radius: 4px;
  --max: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.on-ink :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.serif { font-family: var(--font-serif); font-optical-sizing: auto; }
.display, .heading, .heading-lg { font-variation-settings: "opsz" 144; }
.eyebrow {
  font-size: var(--text-caption); line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--graphite);
}
.muted { color: var(--graphite); }
.grey { color: var(--stone); }

/* Links — ghost, text-only */
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  transition: color 200ms ease, opacity 200ms ease;
}
.link:hover { color: var(--graphite); }
.on-ink .link:hover { color: var(--stone-on-ink); }
.underline { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.arrow { width: 12px; height: 12px; flex: none; }

/* Nav */
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-top: 12px; padding-bottom: 12px;
}
.wordmark { font-size: 22px; letter-spacing: -0.02em; min-height: 44px; display: inline-flex; align-items: center; justify-self: start; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 42px); }
.nav .contact { justify-self: end; }

/* Hero */
.hero { padding-top: clamp(56px, 7.5vw, 108px); padding-bottom: clamp(64px, 9vw, 140px); }
.hero-intro { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 420px); gap: 24px 40px; margin-bottom: clamp(40px, 5vw, 72px); }
.hero-intro p:last-child { color: var(--ink); }
.display {
  font-size: var(--text-display); line-height: 0.86; letter-spacing: -0.045em;
  margin-left: -0.04em;
}
.display span { display: block; }

/* Section heads */
.section { padding-top: var(--section); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.heading { font-size: var(--text-heading); line-height: 1; letter-spacing: -0.04em; }

/* Work grid — always pairs */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(10px, 1.2vw, 20px); }
.card a.media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--fog); aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: opacity 250ms ease; }
.card a.media:hover img { opacity: 0.88; }
.card-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 20px; }
.card-title h3 { font-size: var(--text-sub); line-height: 1.2; letter-spacing: -0.02em; }
.card-title .kind { color: var(--graphite); }
.card p.desc { margin-top: 8px; max-width: 46ch; color: var(--graphite); }
.card .meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; border-top: 1px solid var(--hairline); padding-top: 4px; }
.card .meta .eyebrow { padding: 12px 0; }

/* Transition heading */
.transition { padding-top: var(--section); padding-bottom: var(--section); }
.heading-lg { font-size: var(--text-heading-lg); line-height: 0.9; letter-spacing: -0.04em; color: var(--stone); }
.heading-lg .ink { color: var(--ink); }

/* Studio */
.studio { background: var(--fog); padding-top: var(--section); padding-bottom: var(--section); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(10px, 1.2vw, 20px); }
.studio-lead { font-size: var(--text-sub); line-height: 1.3; letter-spacing: -0.015em; max-width: 24ch; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.facts li { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.facts .eyebrow { padding-top: 3px; }

/* Footer — ink */
.footer { background: var(--ink); color: var(--paper); padding-top: var(--section); padding-bottom: 32px; }
.footer .heading-lg { color: var(--paper); }
.footer .grey { color: var(--stone-on-ink); }
.mail { font-size: var(--text-sub); letter-spacing: -0.02em; margin-top: clamp(24px, 3vw, 40px); }
.footer-bottom { margin-top: clamp(72px, 9vw, 140px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; font-size: var(--text-caption); color: var(--stone-on-ink); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer-bottom .link { font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase; }

/* Prose (privacy) */
.prose { max-width: 680px; padding-bottom: var(--section); }
.prose h2 { font-family: var(--font-serif); font-optical-sizing: auto; font-size: var(--text-sub); letter-spacing: -0.015em; line-height: 1.2; margin: 48px 0 12px; }
.prose p, .prose li { color: #2b2b2e; line-height: 1.6; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; }
.prose li + li { margin-top: 6px; }
.prose a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.prose a:hover { color: var(--graphite); }

/* Responsive */
@media (max-width: 900px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: start; gap: 8px; }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

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

/* Roll links (motion.js) */
.roll { display: inline-flex; }
.roll .ch { display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; white-space: pre; }
.roll .in { display: flex; flex-direction: column; will-change: transform; }
.roll .in i { font-style: normal; height: 1.2em; }
.nav ul:hover .link, .footer-bottom ul:hover .link { color: var(--graphite); }
.nav ul .link:hover { color: var(--ink); }
.footer-bottom ul:hover .link { color: var(--stone-on-ink); }
.footer-bottom ul .link:hover { color: var(--paper); }
