/* Minimal: warm white, near-black text, one accent. */
:root {
  --bg: #fbfaf7;
  --ink: #181816;
  --muted: #73726c;
  --line: #e6e3db;
  --accent: #e2572b;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1040px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.08em; }
.dot { color: var(--accent); }
.muted { color: var(--muted); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* Nav */
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: inherit; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a.link { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--ink); }
.nav a.link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 420px) { .brand { font-size: 16px; } .nav ul { gap: 14px; } .nav a.link { font-size: 14px; } }

/* Headings */
h1 { font-weight: 600; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.035em; margin: 0; }
h2 { font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
.page-head { padding: 56px 0 56px; }
.page-head p { font-size: 19px; color: var(--muted); max-width: 50ch; margin: 16px 0 0; }
@media (max-width: 600px) { .page-head { padding: 32px 0 40px; } }

/* Text links with arrows */
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tl { font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.tl:hover { border-color: var(--accent); }
.tl .arr { display: inline-block; transition: transform .2s; }
.tl:hover .arr { transform: translateX(3px); }

/* Footer */
.foot { margin-top: 112px; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot .frow { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.foot .fine { margin-top: 56px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .foot { margin-top: 72px; padding-top: 40px; } }

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