:root {
  color-scheme: light;
  --background: #e8e4dc;
  --surface: #ded8cf;
  --text: #29282b;
  --muted: #615d59;
  --subtle: #6b6259;
  --line: #302b2229;
  --accent: #845431;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
main { overflow: clip; }
::selection { background: #845431; color: #fff8ef; }
a { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 20px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 16px; }

/* Dusk tones frame the opening; the rest of the page uses warm stone. */
.site-header, .hero {
  --background: #29262f;
  --text: #f0ece4;
  --muted: #d0c5b9;
  --accent: #d7b385;
  --line: #f0ece424;
  color: var(--text);
}
.site-header { position: sticky; top: 0; z-index: 20; background: #29262ff5; border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 78px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.personal-mark { position: relative; display: block; width: 18px; height: 18px; border: 1px solid #d7b38599; }
.personal-mark::after { content: ""; position: absolute; inset: 4px auto 4px 4px; width: 2px; background: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; transition: color 160ms; }
nav a:hover { color: var(--text); }
.header-contact { display: inline-flex; align-items: center; gap: 22px; min-height: 40px; padding: 0 16px; border: 1px solid #f0ece44d; border-radius: 2px; font-size: 12px; transition: background 160ms, border-color 160ms; white-space: nowrap; }
.header-contact:hover { background: #f0ece409; border-color: #f0ece499; }
.header-contact span { color: var(--accent); }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #614739;
  background: linear-gradient(112deg, #29262f 12%, #342a32 46%, #694640 78%, #8a613e 100%);
}
.hero-content { padding-block: 88px 92px; }
.eyebrow { font: 500 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hero-intro { display: flex; align-items: center; gap: 15px; color: var(--muted); }
.small-line { flex-shrink: 0; width: 30px; height: 1px; background: var(--accent); }
h1 { max-width: 100%; margin-top: 30px; font-size: clamp(72px, 10vw, 144px); line-height: 1; letter-spacing: -.065em; font-weight: 600; overflow-wrap: anywhere; }
.hero-description { margin-top: 34px; max-width: 38ch; color: var(--muted); font-size: clamp(20px, 2.3vw, 30px); line-height: 1.4; letter-spacing: -.025em; }

.section { padding-block: 76px 84px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; font-weight: 500; letter-spacing: -.05em; }
.muted-heading { color: #6f6660; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.portrait { margin: 0; max-width: 360px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; background: var(--surface); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; color: var(--subtle); font: 10px/1.5 var(--mono); }
.about-copy { max-width: 66ch; }
.about-copy h2 { margin-bottom: 26px; font-size: clamp(32px, 3.8vw, 48px); }
.about-copy strong { color: var(--text); font-weight: 600; }
.body-copy { color: var(--muted); font-size: 15px; line-height: 1.8; }
.body-copy + .body-copy { margin-top: 15px; }
.inline-link { display: inline-flex; align-items: center; gap: 34px; min-height: 44px; margin-top: 20px; font-size: 12px; font-weight: 500; }
.inline-link span { color: var(--accent); }
.inline-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

/* Editorial rows connect each interest to a concrete example. */
.explorations { margin-top: 40px; border-top: 1px solid var(--line); }
.exploration { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; padding-block: 38px; border-bottom: 1px solid var(--line); }
.exploration-intro .eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 9px; letter-spacing: .1em; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
.exploration h3 { max-width: 20ch; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.exploration-details .body-copy { font-size: 14px; }
.work-note { display: grid; gap: 7px; margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 12px; line-height: 1.6; }
.work-note > span { color: var(--accent); font: 9px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.off-clock { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; margin-top: 48px; padding: 30px 32px; background: #ded8cf80; }
.off-clock-intro .body-copy { max-width: 34ch; margin-top: 13px; font-size: 13px; }
.off-clock-interests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 24px 32px; margin: 0; }
.off-clock-interests dt { margin-bottom: 7px; color: var(--accent); font: 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.off-clock-interests dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.writing-layout { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.writing-layout > div { max-width: 670px; }
.writing-layout h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
.writing-layout .body-copy { max-width: 54ch; margin-top: 18px; font-size: 14px; }
.publication-status { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--muted); font-size: 11px; }
.publication-status > span { width: 4px; height: 4px; background: var(--accent); }
.contact-section { padding-bottom: 86px; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: start; }
.contact-layout h2 { font-size: clamp(36px, 4.1vw, 54px); }
.contact-copy { padding-bottom: 2px; }
.contact-copy .body-copy { font-size: 14px; }
.contact-links { display: grid; gap: 2px; max-width: 340px; margin-top: 16px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--accent); }
.contact-arrow { color: var(--accent); flex-shrink: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.footer-name { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.site-footer p { font-size: 10px; color: var(--subtle); }
.back-to-top { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: var(--muted); font-size: 10px; }
.back-to-top:hover { color: var(--text); }

/* Content is visible by default. JavaScript enables supported scroll reveals. */
.reveal-pending { opacity: 0; transform: translate3d(0, 24px, 0); }
.reveal-pending[data-reveal="right"] { transform: translate3d(24px, 0, 0); }
.reveal-ready { transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.2, .65, .25, 1) var(--reveal-delay, 0ms); }
.reveal-ready.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (min-width: 1600px) {
  .wrap { width: min(1240px, calc(100% - 144px)); }
}

@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  nav { gap: 20px; }
  .about-layout { gap: 48px; }
  .exploration { gap: 24px; }
  .off-clock { gap: 36px; padding: 28px; }
  .writing-layout { gap: 32px; }
  .contact-layout { gap: 40px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 124px; }
  .header-inner { flex-wrap: wrap; min-height: 0; gap: 0 20px; padding-block: 13px 3px; }
  .wordmark { font-size: 13px; }
  .header-contact { margin-left: auto; min-height: 38px; padding-inline: 13px; font-size: 11px; }
  nav { order: 3; flex-basis: 100%; justify-content: space-between; margin-top: 7px; gap: 12px; }
  nav a { font-size: 11px; }
  .hero-content { padding-block: 64px 70px; }
  h1 { font-size: clamp(56px, 11.5vw, 83px); }
  .hero-description { margin-top: 26px; }
  .section { padding-block: 58px 64px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: 100%; }
  .portrait img { aspect-ratio: 6 / 5; object-position: 55% 40%; }
  .about-copy h2 { margin-bottom: 20px; }
  .body-copy { font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .exploration { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .exploration h3 { max-width: 26ch; }
  .off-clock { grid-template-columns: 1fr; gap: 26px; }
  .off-clock-intro .body-copy { max-width: 48ch; }
  .writing-layout { align-items: flex-start; flex-direction: column; gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 40px); }
  .hero-intro { font-size: 9px; letter-spacing: .12em; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  h2 { font-size: 38px; }
  .about-copy { max-width: 100%; }
  .desktop-break { display: none; }
  .explorations { margin-top: 28px; }
  .exploration { padding-block: 28px; }
  .off-clock { margin-top: 32px; padding: 24px; }
  .off-clock-interests { gap: 24px; }
  h3 { font-size: 21px; }
  .contact-layout h2 { font-size: 36px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-block: 20px; }
  .site-footer p { order: 3; flex-basis: 100%; }
  [data-reveal] { --reveal-delay: 0ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending, .reveal-pending[data-reveal="right"] { opacity: 1; transform: none; }
}

@media print {
  :root { --text: #111; --muted: #444; --accent: #222; --subtle: #555; --line: #ddd; }
  body { background: #fff; color: #111; }
  .site-header, .skip-link, .back-to-top { display: none; }
  .wrap { width: 100%; }
  .hero { min-height: 0; background: none; --text: #111; --muted: #444; --accent: #222; color: #111; }
  .hero-content { padding-block: 30px; }
  .section { padding-block: 30px; }
  .reveal-pending, .reveal-pending[data-reveal="right"] { opacity: 1; transform: none; }
  .muted-heading { color: #444; }
  .portrait, .exploration, .off-clock, .writing-layout { break-inside: avoid; }
}
