/* Hallmark · shape: Field Guide · genre: editorial · theme: Garden (deal manual) · job: hire · draw: manual
 * hero: Stage · nav: edge-aligned wordmark, three links, one text action · footer: statement, Say hello over links and colophon · imagery: the live koi pond, embedded; no photographs · signature: the pond, live in the hero
 * axes: light/roman-serif/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: V, the order is a portfolio's own; the ruled work index and the ink statement carry the variety, not a new shape */
/* Hallmark · motion: one settle on entry plus the live pond, requested; the theme's state-only motion is extended by the prompt */
/* Hallmark · dropped three href="#" project links, four "Read" links, the empty card media, the "Available" chip, the logo glyph, and the source-path footer · none led anywhere, stated a checkable fact, or belonged to a visitor */
/* Hallmark · reworded the footer credit to "© 2026 Budd." · the old line leaked a server path and used a middle dot; the GitHub link points at the live profile, since the source repo itself is private */
/* Hallmark · finish-review: subagent · 3 findings · 3 resolved · gap: none */

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 4.5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;

  --color-paper: oklch(95.8% 0.024 90); --color-paper-2: oklch(92.6% 0.030 90); --color-paper-3: oklch(89% 0.034 90);
  --color-ink: oklch(23% 0.050 152); --color-ink-2: oklch(33% 0.048 150); --color-muted: oklch(46% 0.034 142);
  --color-rule: oklch(83% 0.024 112); --color-rule-2: oklch(68% 0.042 138);
  --color-accent: oklch(46% 0.135 142); --color-accent-hover: oklch(40% 0.130 142); --color-accent-2: oklch(86% 0.075 128); --color-accent-ink: oklch(97% 0.015 95);
  --color-focus: oklch(46% 0.135 142); --tint-moss: oklch(46% 0.135 142 / 0.11); --tint-clay: oklch(54% 0.140 46 / 0.10);
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);

  --font-display: "Vollkorn", ui-serif, Georgia, serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Newsreader", ui-serif, Georgia, serif;
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 600;

  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --nav-h: 72px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--color-accent);
}
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  letter-spacing: var(--tracking-display);
  line-height: 1.05;
  overflow-wrap: break-word;
  min-width: 0;
}
h1 { max-width: 20ch; font-size: var(--text-display); line-height: 1.04; }
h2 { max-width: 30ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { max-width: 52ch; font-size: var(--text-lead); line-height: 1.45; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
iframe { border: 0; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
main:focus { outline: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Skip link */
.skip {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  z-index: var(--z-modal);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(calc(-100% - var(--space-xl)));
  transition: transform var(--dur-short) var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* Header and nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  height: var(--nav-h);
  background: var(--color-paper);
  border-bottom: var(--rule-hair) solid transparent;
  transition: border-color var(--dur-short) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--color-rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: 100%; }
.wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--display-weight);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  text-decoration: none;
}
.wordmark:hover { color: var(--color-accent); }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); }
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-out);
}
.nav__links a:hover { color: var(--color-accent); }
.nav__links .nav__action { text-decoration: underline; text-decoration-color: var(--color-muted); }
.nav__links .nav__action:hover { text-decoration-color: var(--color-accent); }

.nav__mobile { display: none; }
.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  list-style: none;
  cursor: pointer;
}
.nav__menu::-webkit-details-marker { display: none; }
.nav__menu:hover { background: var(--tint-moss); }
.hamburger {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-out);
}
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-micro) var(--ease-out);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav__mobile[open] .hamburger { background: transparent; }
.nav__mobile[open] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav__mobile[open] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--gutter) var(--space-lg);
  border-bottom: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper);
}
.nav__mobile-panel a {
  display: block;
  padding-block: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-lg);
  font-weight: 500;
  text-decoration: none;
}
.nav__mobile-panel a:last-child { text-decoration: underline; text-decoration-color: var(--color-muted); }
.nav__mobile-panel a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

/* Hero */
.hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding-block: 0 var(--space-lg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xl);
  align-items: center;
}
.hero__text { min-width: 0; }
.hero__text h1 { margin-bottom: var(--space-lg); }
.hero__text .lead { margin-bottom: var(--space-xl); color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn--quiet { background: transparent; border-color: var(--color-muted); color: var(--color-ink); }
.btn--quiet:hover { background: var(--tint-moss); border-color: var(--color-accent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.pond { min-width: 0; margin: 0; }
.pond__frame {
  position: relative;
  height: clamp(420px, 65svh, 720px);
  overflow: hidden;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-ink);
}
.pond__frame iframe, .pond__frame img { width: 100%; height: 100%; }
.pond__frame img { object-fit: cover; }
.pond__frame:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pond figcaption {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-family: var(--font-outlier);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.pond__caption-still { display: none; }
html:not(.js) .pond__frame iframe { display: none; }
html:not(.js) .pond__caption-live { display: none; }
html:not(.js) .pond__caption-still { display: inline; }

/* Work */
.section { padding-block: var(--space-3xl); }
.section__lead { max-width: 60ch; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.work__head { grid-column: 1 / span 7; min-width: 0; margin-bottom: var(--space-xl); }
.work__list { grid-column: 1 / -1; min-width: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.work__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.work__row-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); min-width: 0; }
.work__row h3 { font-size: var(--text-title); }
.work__row h3 a { text-decoration: underline; text-decoration-color: var(--color-muted); }
.work__row h3 a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.work__meta { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; line-height: 1.4; white-space: nowrap; }
.work__desc { max-width: 65ch; color: var(--color-ink-2); }

/* Experiments */
.experiments__head { margin-bottom: var(--space-xl); }
.experiments__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.exp { min-width: 0; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.exp__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.exp__head h3 { font-size: var(--text-title); }
.exp__tag { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.exp p { max-width: 55ch; margin-top: var(--space-xs); color: var(--color-ink-2); }

/* Bands */
.band { padding-block: var(--space-3xl); }
.band--ink { background: var(--color-ink); color: var(--color-paper); }
.band--moss { background: var(--tint-moss); color: var(--color-ink); }
.band--ink ::selection { background: var(--color-accent); color: var(--color-accent-ink); }

/* About */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.about__title { grid-column: 1 / span 8; color: var(--color-paper); font-size: var(--text-display-s); }
.about__copy { grid-column: 1 / span 10; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.about__copy p { color: var(--color-paper); line-height: 1.65; }

/* Footer */
.site-footer { padding-block: var(--space-2xl); }
.footer { display: flex; flex-direction: column; gap: var(--space-xl); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.footer__title { grid-column: 1 / span 5; font-size: var(--text-section); }
.footer__contact { grid-column: 7 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.footer__line { max-width: 32ch; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }
.footer__email { font-size: var(--text-xl); font-weight: 500; line-height: 1.2; text-decoration: underline; text-decoration-color: var(--color-muted); }
.footer__email:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.footer__closing { color: var(--color-muted); font-size: var(--text-md); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.footer__wordmark { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); text-decoration: none; }
.footer__wordmark:hover { color: var(--color-accent); }
.footer__links { display: flex; gap: var(--space-lg); }
.footer__links a { font-size: var(--text-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-muted); }
.footer__links a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.footer__copy { color: var(--color-muted); font-size: var(--text-sm); }

/* One reveal, visible without script */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__mobile { display: block; }
  .hero { min-height: auto; padding-block: var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__text { max-width: 40rem; }
  .pond__frame { height: auto; aspect-ratio: 4 / 3; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .work__head, .work__list { grid-column: 1 / -1; }
  .work__head { margin-bottom: var(--space-xl); }
  .work__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); align-items: start; }
  .experiments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__title, .about__copy { grid-column: 1 / -1; }
  .about__copy { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .footer__title, .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; }
  .experiments__grid { grid-template-columns: minmax(0, 1fr); }
  .about__copy { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .pond__caption-live { display: none; }
  .pond__caption-still { display: inline; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
