/* ==========================================================================
   Evenframe stylesheet
   One accent. Hairlines. Left-aligned. No gradients, no glows.
   ========================================================================== */

:root {
  /* Surfaces, darkest to lightest */
  --bg: #0A0A0B;
  --surface: #111113;
  --surface-2: #17171A;
  --surface-3: #26262B;

  /* Lines */
  --border: #1F1F23;
  --border-strong: #34343A;
  --border-control: #6F6F78;   /* form fields: 3:1 against the surface */

  /* Text */
  --text: #F5F5F2;
  --text-muted: #A1A1A6;
  --text-faint: #8B8B92;

  /* Lime: buttons, one highlight per section, focus rings */
  --accent: #C4F82A;
  --accent-ink: #0A0A0B;
  --accent-line: #C4F82A;      /* accent used as a line or text colour */
  --focus: #C4F82A;

  /* Status (always paired with an icon and words) */
  --error: #FF7B72;
  --success: #6EDC9A;

  --header-bg: rgba(10, 10, 11, 0.94);
  --header-bg-blur: rgba(10, 10, 11, 0.82);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Old names, kept so existing rules keep working */
  --muted: var(--text-muted);
  --on-accent: var(--accent-ink);

  /* Concept mockup palette (overridden per concept) */
  --ms-bg: #0A0A0B; --ms-surface: #111113; --ms-text: #F5F5F2; --ms-muted: #A1A1A6;
  --ms-border: #1F1F23; --ms-accent: #C4F82A; --ms-ink: #0A0A0B;

  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(1rem, 2.5vw, 2rem);
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 48px; --space-5: 80px; --space-6: 120px;
  --section: 48px;
  --label: 14px;
  --label-sm: 12px;
  --radius: 4px;
  --radius-sm: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-line); }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 0.75rem; color: var(--on-accent); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + (var(--pad) * 2));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.grid > * { grid-column: 1 / -1; min-width: 0; }

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--border);
}

/* ---------- Type helpers ---------- */

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent-line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text);
}

.muted { color: var(--muted); }

.numeral {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
@media (hover: hover) { .btn:hover { color: var(--bg); background: var(--text); } }

.btn--accent {
  background: var(--accent);
  border-color: var(--accent-line);
  color: var(--on-accent);
}
/* The small surprise: an offset shadow when you hover the main CTA. */
@media (hover: hover) {
  .btn--accent:hover {
    background: var(--accent);
    color: var(--on-accent);
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 0 var(--text);
  }
}
.btn--accent:active { transform: translate(0, 0); box-shadow: 0 0 0 0 var(--text); }

.btn--sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn[disabled],
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

.btn__arrow { transition: transform 0.2s var(--ease); }
@media (hover: hover) { .btn:hover .btn__arrow { transform: translateX(3px); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--muted);
}
.link-arrow:hover { text-decoration-color: var(--accent-line); }

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.text-button:hover { color: var(--accent-line); text-decoration-color: var(--accent-line); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--header-bg-blur);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
.site-header.is-scrolled,
.site-header--static { border-bottom-color: var(--muted); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  min-height: 44px;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
.wordmark:hover { color: var(--text); }
.wordmark__dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.15rem;
  margin-top: 0.55rem;
  background: var(--accent);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  cursor: pointer;
}
.nav__toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav__toggle-bars::before { top: 1px; }
.nav__toggle-bars::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { top: 5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { top: 5px; transform: rotate(-45deg); }

.no-js .nav__toggle { display: none; }

.nav__menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.js .nav__menu {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem var(--pad) 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.js .nav__menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.nav__links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}
.nav__links li { border-bottom: 1px solid var(--border); }
.nav__links a:hover { color: var(--accent-line); }

.nav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu,
  .js .nav__menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 0;
    background: none;
    border: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .nav__links { flex-direction: row; gap: 1.75rem; }
  .nav__links li { border: 0; }
  .nav__links a { min-height: 44px; font-size: 1rem; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3.5rem, 10vw, 7.5rem);
  padding-bottom: var(--section);
}

.hero__title {
  max-width: 13ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.underlined {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underlined__line {
  position: absolute;
  left: -3%;
  bottom: -0.16em;
  width: 106%;
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
}

.hero__body {
  max-width: 34rem;
}
.hero__body .lead { margin-bottom: 1.25rem; }
.hero__fixed {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
}

.hero__cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}
.cta-scribble {
  width: 64px;
  height: 44px;
  flex: none;
  margin-left: -0.75rem;
  margin-top: -1.5rem;
  overflow: visible;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.availability__dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (min-width: 900px) {
  .hero__label { grid-column: 1 / 6; }
  .hero__title { grid-column: 1 / 9; max-width: none; }
  .hero__body { grid-column: 8 / 13; grid-row: 3; align-self: start; margin-top: -0.5rem; }
  .cta-scribble { margin-left: -1rem; }
}

/* ---------- Section heads ---------- */

.section-head {
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  row-gap: 1.25rem;
}
.section-head h2 { max-width: 16ch; }
.section-head__aside {
  max-width: 28rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section-head .label { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1 / 8; }
  .section-head__aside { grid-column: 9 / 13; align-self: end; }
}

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3.5rem, 8vw, 5rem);
}

.project { position: relative; min-width: 0; }

.project__meta {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.project__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
}
.project__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.project__sector { width: 100%; margin: 0; font-size: 0.875rem; color: var(--muted); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.chips li {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.project__brief { max-width: 34rem; margin: 0 0 1.1rem; color: var(--muted); font-size: 1rem; }
.project__brief b { color: var(--text); font-weight: 500; }
.project .tag { position: absolute; top: 0.6rem; right: 0.75rem; z-index: 2; }

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5.5rem var(--gap);
  }
  .project--1 { grid-column: 1 / 8; }
  .project--2 { grid-column: 9 / 13; margin-top: 9rem; }
  .project--3 { grid-column: 2 / 7; }
  .project--4 { grid-column: 7 / 13; margin-top: 6rem; }
}

/* Browser frame */
.frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
@media (hover: hover) { .project:hover .frame { transform: translateY(-4px); border-color: var(--border-strong); } }

.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.frame__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  opacity: 0.6;
}
.frame__url {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mockup screens: real copy, scaled with the frame width */
.frame__screen { container-type: inline-size; background: var(--ms-bg); }
.ms {
  display: flex;
  flex-direction: column;
  gap: 3.2cqw;
  aspect-ratio: 16 / 10;
  padding: 3.5cqw 4.5cqw 4cqw;
  overflow: hidden;
  font-size: 5.5px;
  font-size: 1.65cqw;
  line-height: 1.35;
  color: var(--ms-text);
  text-align: left;
}
.ms__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding-bottom: 2.4cqw;
  border-bottom: 1px solid var(--ms-border);
}
.ms__logo { font-family: var(--font-head); font-weight: 700; font-size: 1.35em; letter-spacing: -0.03em; }
.ms__links { display: flex; gap: 2.6cqw; color: var(--ms-muted); white-space: nowrap; }
.ms__eyebrow { margin: 0 0 0.8em; font-family: var(--font-mono); font-size: 0.85em; color: var(--ms-muted); }
.ms__h {
  margin: 0 0 0.55em;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 3.1em;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.ms__h--s { font-size: 2.4em; }
.ms__p { margin: 0 0 1.1em; color: var(--ms-muted); max-width: 30em; }
.ms__btn {
  display: inline-block;
  padding: 0.75em 1.3em;
  background: var(--ms-accent);
  color: var(--ms-ink);
  font-family: var(--font-head);
  font-weight: 500;
  border-radius: 1px;
  white-space: nowrap;
}
.ms__cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: 4.5cqw; align-items: center; }
.ms__card { padding: 1em 1.1em; border: 1px solid var(--ms-border); background: var(--ms-surface); }
.ms__card b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.15em; }
.ms__card span { display: block; color: var(--ms-muted); }
.ms__price { margin-top: 0.7em; display: flex; justify-content: space-between; align-items: center; }
.ms__price i { font-style: normal; font-family: var(--font-head); font-weight: 700; }
.ms__tiles { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; }
.ms__add { padding: 0.3em 0.8em; border: 1px solid var(--ms-muted); font-size: 0.9em; }
.ms__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4cqw;
  padding-top: 2.2cqw;
  border-top: 1px solid var(--ms-border);
  color: var(--ms-muted);
}
.ms__strip b { color: var(--ms-text); font-weight: 500; }
.ms__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; }
.ms__slot { padding: 0.55em 0; border: 1px solid var(--ms-border); text-align: center; }
.ms__slot--on { background: var(--ms-accent); border-color: var(--accent-line); color: var(--ms-ink); font-weight: 500; }
.ms__slot--off { color: var(--ms-muted); text-decoration: line-through; }
.ms__day { margin: 0 0 0.5em; font-family: var(--font-mono); font-size: 0.85em; color: var(--ms-muted); }
.ms__input { display: flex; border: 1px solid var(--ms-muted); max-width: 26em; }
.ms__input span { flex: 1; padding: 0.7em 0.9em; color: var(--ms-muted); }
.ms__input .ms__btn { border-radius: 0; }
.ms__input .ms__btn, .ms__card .ms__btn { color: var(--ms-ink); background: var(--ms-accent); }
.ms__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5em;
  padding: 0.8em 0;
  border-bottom: 1px solid var(--ms-border);
}
.ms__row:first-child { border-top: 1px solid var(--ms-border); }
.ms__row span:last-child { color: var(--ms-muted); white-space: nowrap; }
.ms__map { position: relative; border: 1px solid var(--ms-border); background: var(--ms-surface); min-height: 12cqw; }
.ms__map::before, .ms__map::after { content: ""; position: absolute; background: var(--ms-border); }
.ms__map::before { left: 0; right: 0; top: 55%; height: 1px; }
.ms__map::after { top: 0; bottom: 0; left: 38%; width: 1px; }
.ms__pin { position: absolute; left: 38%; top: 55%; width: 1em; height: 1em; margin: -0.5em 0 0 -0.5em; background: var(--ms-accent); }
.ms__map small { position: absolute; left: 0.9em; bottom: 0.7em; color: var(--ms-muted); }

/* Handwritten annotation next to project 02 */
.annotation {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  grid-column: 2;
  margin-top: 1.25rem;
  max-width: 100%;
  color: var(--accent-line);
}
.annotation__arrow { width: 56px; height: 46px; flex: none; }
.annotation__text {
  max-width: 13rem;
  margin: 1.25rem 0 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
  transform: rotate(-3deg);
  transform-origin: left top;
}

/* ---------- Services ---------- */

.services-list { list-style: none; border-bottom: 1px solid var(--border); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
}

.service__head { display: flex; align-items: flex-start; gap: 1.25rem; }
.service__title { padding-top: 0.35rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }

.service__body p { color: var(--muted); max-width: 38rem; }
.service__body p strong { color: var(--text); font-weight: 500; }

.deliverables {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.deliverables li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.deliverables li::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-line);
}

@media (min-width: 900px) {
  .service { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .service__head { grid-column: 1 / 5; flex-direction: column; gap: 1rem; }
  .service__title { padding-top: 0; }
  .service__body { grid-column: 5 / 11; }
  .deliverables { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; }
  .deliverables li { align-items: flex-start; }
}

/* ---------- Process ---------- */

.process-grid { row-gap: 3rem; }

.process__intro h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.process__intro p { color: var(--muted); max-width: 26rem; }

.timeline {
  list-style: none;
  position: relative;
  border-left: 1px solid var(--border);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding: 0 0 clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.6rem;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--accent);
}

.step__num {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--text);
}
.step__name {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.25rem;
}
.step__when {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.step__outcome {
  font-size: 1rem;
  max-width: 32rem;
}
.step__outcome b { color: var(--accent-line); font-weight: 500; }

@media (min-width: 640px) {
  .step { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .step__num { grid-row: span 3; min-width: 1.6ch; }
}

@media (min-width: 900px) {
  .process__intro { grid-column: 1 / 5; align-self: start; position: sticky; top: 7rem; }
  .timeline { grid-column: 6 / 13; }
}

/* ---------- Contact ---------- */

.contact-grid { row-gap: 3.5rem; }

.contact__intro h2 { max-width: 11ch; margin-bottom: 1.5rem; }
.contact__intro > p { color: var(--muted); max-width: 26rem; }

.next-steps {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  counter-reset: next;
}
.next-steps li {
  counter-increment: next;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.next-steps li::before {
  content: "0" counter(next);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-line);
  padding-top: 0.2rem;
}
.next-steps strong { font-weight: 500; }
.next-steps span { color: var(--muted); }

.contact__direct {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact__direct p { margin: 0 0 0.25rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.contact__direct a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .contact__intro { grid-column: 1 / 6; }
  .contact__form-wrap { grid-column: 7 / 13; }
  /* Off-axis: the direct email card nudges out past the column. */
  .contact__direct { margin-left: 2.5rem; transform: rotate(-1.5deg); }
}

/* ---------- Forms ---------- */

.form { display: grid; gap: 0; }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1rem; }
@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  min-width: 0;
}

.field label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
}
.field label .optional {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--muted); opacity: 0.8; }
.input:hover { border-color: var(--text-faint); }
.input:focus { border-color: var(--accent-line); }
.input:focus-visible { outline: 1px solid var(--accent); outline-offset: 0; }

textarea.input { min-height: 150px; resize: vertical; }

select.input {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238B8B92' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
select.input option { background: var(--surface); color: var(--text); }

.field__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.field__error {
  display: none;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}
.field__error:not(:empty) { display: flex; gap: 0.55rem; }
.field__error:not(:empty)::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  background: var(--accent);
}

.field.is-invalid .input {
  border-color: var(--text);
  box-shadow: inset 3px 0 0 var(--accent);
}

.field.is-valid .input { border-color: var(--border-control); }

.form-msg {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
}
.form-msg[hidden] { display: none; }
.form-msg a { color: var(--accent-line); }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.form__fineprint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 22rem;
}

.form-success {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success__title {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.form-success p { color: var(--muted); }
.form-success .text-button { margin-top: 0.5rem; }

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(4rem, 10vw, 7rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
}

.footer__mark {
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.5rem, 15vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--text);
}
.footer__mark span { color: var(--accent-line); }

.footer__cols { row-gap: 2.5rem; padding-bottom: 3rem; }
.footer__col h2 {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.footer__col ul { list-style: none; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
}
.footer__blurb { color: var(--muted); max-width: 22rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.signoff { color: var(--text); }
.signoff em { font-style: normal; color: var(--accent-line); }

@media (min-width: 640px) {
  .footer__cols .footer__col { grid-column: span 6; }
  .footer__cols .footer__col--about { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer__cols .footer__col--about { grid-column: 1 / 6; }
  .footer__cols .footer__col { grid-column: span 2; }
  .footer__cols .footer__col:nth-child(2) { grid-column: 7 / 9; }
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hand-drawn strokes draw themselves in */
.draw path {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  transition: stroke-dashoffset 1.1s var(--ease) 0.35s;
}
.no-js .draw path,
.draw.is-drawn path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .draw path { stroke-dashoffset: 0; }
  .btn--accent:hover { transform: none; }
  .project:hover .frame { transform: none; }
}

/* ---------- Redesign additions ---------- */

.hero__visual { margin: clamp(3.5rem, 8vw, 5.5rem) 0 0; min-width: 0; }
.hero__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
@media (min-width: 900px) {
  .hero__visual { grid-column: 2 / 13; grid-row: 4; }
}
.footer__facts { margin: 1rem 0 0; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 900px) {
  .footer__cols .footer__col:nth-child(2) { grid-column: 7 / 9; }
  .footer__cols .footer__col:nth-child(3) { grid-column: 9 / 11; }
  .footer__cols .footer__col:nth-child(4) { grid-column: 11 / 13; }
}

.hero__visual .ms { aspect-ratio: 2.1 / 1; font-size: 1.3cqw; }
.work-grid .ms { font-size: 1.85cqw; }
@media (max-width: 899px) {
  .hero__visual .ms { aspect-ratio: 16 / 10; font-size: 1.9cqw; }
}
.ms__tiles { align-items: start; }
.ms__tiles .ms__card { padding-bottom: 1.3em; }

/* ---------- Tighter, fuller layout ---------- */

:root { --section: clamp(3.25rem, 6vw, 5rem); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero__title { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.hero__visual { margin-top: clamp(2rem, 4vw, 3rem); }
.work-grid .ms { justify-content: space-between; }

.process__need { margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.process__need h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.process__need ul { list-style: none; }
.process__need li { display: grid; gap: 0.1rem; padding: 0.7rem 0; border-top: 1px solid var(--border); font-size: 0.875rem; }
.process__need li span:first-child { font-family: var(--font-head); font-weight: 500; }
.process__need li span:last-child { color: var(--muted); }

.service { padding-block: clamp(1.75rem, 3.5vw, 2.5rem); }
.step { padding-bottom: clamp(2rem, 4vw, 2.75rem); }

@media (min-width: 900px) {
  .hero__label { grid-column: 1 / -1; grid-row: 1; }
  .hero__title { grid-column: 1 / 9; grid-row: 2; margin: 0; }
  .hero__body { grid-column: 9 / 13; grid-row: 2; align-self: end; margin: 0; max-width: none; }
  .hero__body .lead { font-size: 1.05rem; }
  .hero__visual { grid-column: 1 / -1; grid-row: 4; }

  .work-grid { gap: 3rem var(--gap); }
  .project--1 { grid-column: 1 / 8; margin-top: 0; }
  .project--2 { grid-column: 8 / 13; margin-top: 0; }
  .project--3 { grid-column: 1 / 6; margin-top: 0; }
  .project--4 { grid-column: 6 / 13; margin-top: 0; }
  .project--1 .ms, .project--4 .ms { aspect-ratio: 16 / 9.3; }
  .project--2 .ms, .project--3 .ms { aspect-ratio: 6 / 4.75; }

  .service__head { grid-column: 1 / 5; grid-row: 1; align-self: start; }
  .service__body {
    grid-column: 5 / 13;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gap);
    align-content: start;
  }
  .service__body p { grid-column: 1; max-width: none; }
  .deliverables { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; grid-template-columns: minmax(0, 1fr); align-self: start; }

  .process__intro { grid-column: 1 / 5; }
}

@media (min-width: 900px) {
  .footer__cols .footer__col.footer__col--about { grid-column: 1 / 7; }
  .footer__blurb { max-width: 30rem; }
}
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__mark { font-size: clamp(3.5rem, 13vw, 9rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.footer__cols { padding-bottom: 2rem; }
@media (max-width: 899px) {
  .project--2 .ms { aspect-ratio: 6 / 5; }
}

/* ---------- Concept badges, preview card, about ---------- */

.tag--concept { background: var(--accent); border-color: var(--accent-line); color: var(--on-accent); font-weight: 500; }
.project .project__badge { position: static; display: inline-block; margin: 0 0 0.75rem; }

.preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-top: 0.6rem;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.25em;
}
.preview-link:hover { color: var(--accent-line); text-decoration-color: var(--accent-line); }

.preview-card {
  position: absolute;
  z-index: 60;
  width: min(300px, calc(100vw - 16px));
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  pointer-events: none;
}
.preview-card[hidden] { display: none; }
.preview-card .tag { margin-bottom: 0.75rem; }
.preview-card strong { display: block; margin-bottom: 0.35rem; font-family: var(--font-head); font-weight: 500; font-size: 1rem; }
.preview-card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.preview-card__go { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-line); }

/* About */
.about-grid { row-gap: 2.5rem; align-items: start; }
.about__name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.25rem; font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; }
.about__role { margin: 0 0 1.25rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.about__bio { max-width: 36rem; font-size: 1.1rem; line-height: 1.55; }
.about__bio .tag { margin-left: 0.4rem; vertical-align: middle; }
.about__points { list-style: none; margin-top: 2rem; border-top: 1px solid var(--border); }
.about__points li { display: grid; gap: 0.25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.about__points li span:first-child { font-family: var(--font-head); font-weight: 500; }
.about__points li span:last-child { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 640px) {
  .about__points li { grid-template-columns: 11rem minmax(0, 1fr); }
}

/* ---------- Effects ---------- */

.hero__head { position: relative; grid-column: 1 / -1; min-width: 0; }
.hero__waves { position: absolute; left: 0; top: -1.25rem; width: 100%; height: calc(100% + 2.5rem); pointer-events: none; z-index: 0; }
.hero__head .hero__title { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .hero__head { grid-column: 1 / 9; grid-row: 2; }
  .hero__head .hero__title { margin: 0; }
}

.smoky__word { display: inline-block; white-space: nowrap; }
.smoky__char { display: inline-block; animation: smoky-in 0.6s var(--ease) backwards; }
.serif .smoky__char { font-style: inherit; }
@keyframes smoky-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(0.18em) scale(1.06); }
  60% { opacity: 0.85; }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.divider-squares {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: calc(var(--max) + (var(--pad) * 2));
  margin-inline: auto;
  padding: 18px var(--pad);
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.divider-squares span { flex: none; width: 6px; height: 6px; background: var(--border); }
@media (prefers-reduced-motion: reduce) {
  .smoky__char { animation: none; }
  .divider-squares span.is-blink { animation: none; }
}

/* Spam trap: invisible to people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 900px) {
  .footer__cols .footer__col:nth-child(2) { grid-column: 8 / 10; }
  .footer__cols .footer__col:nth-child(3) { grid-column: 10 / 13; }
}

.contact__direct .contact__direct-text { margin: 0; max-width: 20rem; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; line-height: 1.35; color: var(--text); }

/* ==========================================================================
   Content pass: first-person copy, FAQ, privacy page, fifth concept
   ========================================================================== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hero__title { font-size: clamp(2.25rem, 6.2vw, 4.75rem); line-height: 1.06; max-width: none; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.hero__body { max-width: 36rem; }
.hero__body .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-bottom: 1rem; }
.hero__fixed { margin: 0 0 1.25rem; }

.hero__facts { margin-top: 2rem; min-width: 0; }
.hero__facts dl { margin: 0; border-top: 1px solid var(--border); }
.hero__facts dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.hero__facts dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); padding-top: 0.2rem; }
.hero__facts dd { margin: 0; font-family: var(--font-head); font-weight: 500; }
.hero__facts .availability { margin-top: 1rem; }

@media (min-width: 900px) {
  .hero__head { grid-column: 1 / 12; grid-row: 2; }
  .hero__body { grid-column: 1 / 7; grid-row: 3; margin: 0; align-self: start; padding-top: 1.5rem; }
  .hero__facts { grid-column: 8 / 13; grid-row: 3; margin-top: 1.5rem; align-self: start; }
  .hero__visual { grid-column: 1 / -1; grid-row: 4; }
}

/* ---------- Section heads ---------- */
.section-head h2 { max-width: 20ch; }
.process__intro h2, .faq__intro h2 { max-width: none; line-height: 1.12; margin-bottom: 1.25rem; }
.contact__intro h2 { max-width: 15ch; }

/* ---------- Work: fifth concept and the note ---------- */
.ms__btn--ghost { background: transparent; color: var(--ms-text); border: 1px solid var(--ms-muted); margin-left: 0.5em; }
.ms__field { display: block; margin: 0.6em 0; padding: 0.55em 0.7em; border: 1px solid var(--ms-border); background: var(--ms-bg); color: var(--ms-muted); }
.ms__strip--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.work-note { align-self: start; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.work-note h3 { margin-bottom: 0.9rem; font-size: 1.25rem; }
.work-note p { color: var(--muted); font-size: 1rem; }
.work-note p:last-child { margin-bottom: 0; color: var(--text); }

@media (min-width: 900px) {
  .project--5 { grid-column: 1 / 8; margin-top: 0; }
  .project--5 .ms { aspect-ratio: 16 / 9.3; }
  .work-note { grid-column: 9 / 13; margin-top: 3.5rem; }
}

/* ---------- Services (no numerals, no price lines) ---------- */
.service__head { align-self: start; }
.service__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Process ---------- */
.step__outcome { max-width: 34rem; }
.about__bio p { margin: 0 0 1rem; max-width: 38rem; font-size: 1.05rem; line-height: 1.6; }
.about__bio p:last-child { margin-bottom: 0; }
.about__points { margin-top: 1.75rem; }

/* ---------- FAQ ---------- */
.faq-grid { row-gap: 2rem; align-items: start; }
.faq__intro p { color: var(--muted); max-width: 22rem; }
.faq__list { border-top: 1px solid var(--border); min-width: 0; }
.faq__list details { border-bottom: 1px solid var(--border); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--accent-line);
}
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list summary:hover { color: var(--accent-line); }
.faq__list details > div { padding: 0 0 1.25rem; max-width: 40rem; }
.faq__list details p { margin: 0 0 0.8rem; color: var(--muted); }
.faq__list details p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .faq__intro { grid-column: 1 / 5; }
  .faq__list { grid-column: 6 / 13; }
}

/* ---------- Contact ---------- */
.contact__direct .contact__direct-note { margin: 0.5rem 0 0; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.contact__direct .contact__direct-text { max-width: none; }
.contact__direct-text a { text-decoration-color: var(--accent-line); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.form__fineprint a { color: var(--text); }

/* ---------- Footer ---------- */
.footer__cols .footer__col--about { max-width: none; }
.footer__facts a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-family: var(--font-head); font-weight: 500; font-size: 1rem; overflow-wrap: anywhere; }
.footer__col h2 { font-family: var(--font-mono); }
.signoff { color: var(--muted); }
.signoff a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.site-footer--slim { padding-top: 2rem; border-top: 1px solid var(--border); }

/* ---------- Header: six links need a bit less gap on mid widths ---------- */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav__links { gap: 1rem; }
  .nav__menu, .js .nav__menu { gap: 1.25rem; }
}

/* ---------- Legal page ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal .grid { row-gap: 2rem; }
.legal__head h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.legal__updated { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.legal__body { max-width: 42rem; min-width: 0; }
.legal__body h2 { margin: 2.25rem 0 0.75rem; font-size: 1.35rem; letter-spacing: -0.01em; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body .lead { color: var(--text); }
.legal__body ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.legal__body li { margin-bottom: 0.4rem; }
.legal__body a { color: var(--text); text-decoration-color: var(--accent-line); }
@media (min-width: 900px) {
  .legal__head { grid-column: 1 / 5; }
  .legal__body { grid-column: 6 / 13; }
}

.hero__label span + span::before { content: "/"; margin-right: 0.75rem; color: var(--muted); }

.form__privacy { display: inline-flex; align-items: center; min-height: 44px; }
.tag { font-size: 0.75rem; }
.chips li { font-size: 0.75rem; }
.frame__url { font-size: 0.75rem; }

.legal__mail { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 500; }

/* ==========================================================================
   System pass: tokens, light scheme, paper section, states, texture
   ========================================================================== */

/* ---------- Spacing ---------- */
@media (min-width: 900px) { :root { --section: var(--space-5); } }
.hero { padding-top: var(--space-4); }
@media (min-width: 900px) { .hero { padding-top: var(--space-5); } }

/* ---------- Concept palettes (used by the mockups and the demo pages) ---------- */
.hero__visual, .project--1 { --ms-bg: #F4EDE4; --ms-surface: #EADFD1; --ms-text: #2A1F17; --ms-muted: #6B5A4C; --ms-border: #D9CBB9; --ms-accent: #A5551E; --ms-ink: #FFFFFF; }
.project--2 { --ms-bg: #F3F8F7; --ms-surface: #E4EFED; --ms-text: #12322D; --ms-muted: #4F6F69; --ms-border: #CFE0DD; --ms-accent: #1F7A6B; --ms-ink: #FFFFFF; }
.project--3 { --ms-bg: #10131F; --ms-surface: #181C2C; --ms-text: #EEF0FA; --ms-muted: #A3A9C2; --ms-border: #272C42; --ms-accent: #8FA6FF; --ms-ink: #10131F; }
.project--4 { --ms-bg: #F8F5F1; --ms-surface: #EEE8E0; --ms-text: #2B2623; --ms-muted: #675D55; --ms-border: #DDD3C8; --ms-accent: #B4492E; --ms-ink: #FFFFFF; }
.project--5 { --ms-bg: #16171B; --ms-surface: #1F2026; --ms-text: #F4F4F1; --ms-muted: #A8A8B0; --ms-border: #2C2D35; --ms-accent: #FFC845; --ms-ink: #16171B; }

/* ---------- Type: labels, body copy ---------- */
.label { font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; }
.tag, .chips li, .hero__facts dt, .step__when, .project__sector, .contact__direct p:first-child { font-size: var(--label-sm); letter-spacing: 0.06em; }
.hero__fixed { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; color: var(--text); }
.about__name { font-family: var(--font-head); }
.contact__direct .contact__direct-text { font-family: var(--font-head); }

/* ---------- Buttons: 16px text, 44px minimum ---------- */
.btn, .btn--sm { font-size: 1rem; min-height: 44px; }
.btn--sm { padding: 0.5rem 1rem; }
.btn:active { transform: translateY(1px); }
.btn--accent:active { transform: translate(0, 0); }
@media (hover: hover) { .btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }
@media (hover: hover) { .btn--accent:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 3px 3px 0 0 var(--text); } }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: 0.7; transform: none; box-shadow: none; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; margin-left: 0.25rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Interaction without lime: hovers go to full-strength text ---------- */
a:hover, .text-button:hover, .preview-link:hover, .faq__list summary:hover, .nav__links a:hover, .footer__col a:hover { color: var(--text); }
.nav__links a:hover, .footer__col a:hover, .preview-link:hover, .plain-link:hover, .link-arrow:hover { text-decoration: underline; text-decoration-color: var(--text); text-underline-offset: 0.25em; }
.link-arrow:hover, .text-button:hover { text-decoration-color: var(--text); }
@media (hover: hover) { .project:hover .frame { border-color: var(--text-faint); } }

/* ---------- Lime stays on CTAs, focus rings and one highlight per section ---------- */
.wordmark__dot { background: var(--text); }
.availability__dot { background: var(--success); }
.deliverables li::before { color: var(--text-muted); }
.step::before { background: var(--text); border-color: var(--text); }
.step__outcome b { color: var(--text); font-weight: 500; }
.next-steps li::before { color: var(--text-muted); }
.faq__list summary::after { color: var(--text); }
.divider-squares span.is-blink { animation: sq-blink 3.4s ease-in-out infinite; }
@keyframes sq-blink { 0%, 100% { background: var(--border); } 45%, 55% { background: var(--text-faint); } }
.preview-card { border-color: var(--border-strong); }
.preview-card__go { color: var(--text-muted); }
.hero__label span + span::before { color: var(--text-faint); }
.underlined__line, .cta-scribble, .annotation__arrow { color: var(--accent-line); }
.annotation { color: var(--accent-line); }

/* The concept badge: paper on dark, ink on light. Loud, but not lime. */
.tag--concept { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 500; }
.project__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; margin: 0; }
.plain-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.6rem; color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 0.25em; }
.frame-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.hero__caption .link-arrow { min-height: 44px; margin-left: 0.25rem; font-family: var(--font-body); font-size: 0.9rem; }

/* ---------- Forms: visible borders, status = colour + icon + words ---------- */
.input { border-color: var(--border-control); background: var(--surface); }
.input:focus { border-color: var(--text); }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.input::placeholder { color: var(--text-faint); opacity: 1; }
.field.is-invalid .input { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field__error { color: var(--error); font-weight: 500; }
.field__error:not(:empty) { align-items: flex-start; }
.field__error:not(:empty)::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.15em;
  background: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font: 700 0.72em/1 var(--font-mono);
}
.form-msg { border-left-color: var(--error); color: var(--text); display: flex; gap: 0.7rem; align-items: flex-start; }
.form-msg[hidden] { display: none; }
.form-msg::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  margin-top: 0.1em;
  border: 1.5px solid var(--error);
  border-radius: 50%;
  color: var(--error);
  font: 700 0.8em/1 var(--font-mono);
}
.form-msg a { color: var(--text); text-decoration-color: var(--error); }
.form-success { border-color: var(--success); }
.form-success__title::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: 0.5rem; border: 1.5px solid var(--success); border-radius: 50%; color: var(--success); font-size: 0.7em; vertical-align: middle; }
.form__privacy { margin-right: 1rem; }
.form__privacy + .form__privacy { margin-right: 0; }

/* ---------- Focus ring on every interactive thing ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .frame-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Texture: fine grain on the hero, paper section and footer ---------- */
.hero, .site-footer, .section--paper { position: relative; isolation: isolate; }
.hero::before, .site-footer::before, .section--paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.06;
  pointer-events: none;
}
.hero__waves { color: var(--text-muted); }

/* ---------- Paper section (inverse tone, for rhythm) ---------- */
.section--paper {
  --bg: #F5F5F2; --surface: #ECECE6; --surface-2: #E4E4DD; --surface-3: #D9D9D1;
  --border: #D5D5CD; --border-strong: #B7B7AE; --border-control: #7A7A72;
  --text: #0A0A0B; --text-muted: #4A4A50; --text-faint: #5E5E64;
  --accent-line: #0A0A0B; --focus: #0A0A0B;
  --muted: var(--text-muted);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--bg);
  color: var(--text);
  border-top-color: var(--border);
}
.section--paper::before { opacity: 0.09; }
@media (min-width: 900px) { .section--paper { padding-block: var(--space-6); } }
.section--paper .faq__note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text); font-size: 1rem; }
.section--paper .faq__note b { font-weight: 600; }

/* ---------- Sticky "Start a project" bar (small screens only) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--header-bg-blur);
  border-top: 1px solid var(--border);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .sticky-cta { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.sticky-cta[hidden] { display: none; }
body.has-sticky { padding-bottom: 5rem; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } body.has-sticky { padding-bottom: 0; } }

/* ---------- Light scheme: follows the visitor's system setting ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5F5F2; --surface: #FFFFFF; --surface-2: #ECECE6; --surface-3: #E1E1DA;
    --border: #D8D8D1; --border-strong: #B7B7AF; --border-control: #7A7A72;
    --text: #0A0A0B; --text-muted: #505056; --text-faint: #65656B;
    --accent: #C4F82A; --accent-ink: #0A0A0B; --accent-line: #4F6B00; --focus: #0A0A0B;
    --error: #B3261E; --success: #1E7A46;
    --header-bg: rgba(245, 245, 242, 0.94); --header-bg-blur: rgba(245, 245, 242, 0.84);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* In light mode the paper section flips to the dark tone, so the rhythm stays. */
  .section--paper {
    --bg: #0A0A0B; --surface: #111113; --surface-2: #17171A; --surface-3: #26262B;
    --border: #26262B; --border-strong: #34343A; --border-control: #6F6F78;
    --text: #F5F5F2; --text-muted: #A1A1A6; --text-faint: #8B8B92;
    --accent-line: #C4F82A; --focus: #C4F82A;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .section--paper::before { opacity: 0.06; }
}

/* ---------- Reduced motion: also stop the spinner and the lift ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn[aria-busy="true"]::after { animation: none; }
  .btn:active { transform: none; }
}

.signoff a + a { margin-left: 1.25rem; }
.contact__direct-text a, .legal__body a { text-decoration-color: var(--text-muted); }
.faq__list summary::after { font-size: 1.25rem; }

/* ==========================================================================
   Polish pass: transitions, nav feedback, badge room
   ========================================================================== */

:root { --badge-clear: 3.25rem; }   /* room for a host badge pinned to the bottom-right corner */

/* ---------- Nav: animated underline on desktop ---------- */
.nav__links a { transition: color 0.18s var(--ease); }
@media (min-width: 900px) {
  .nav__links a { position: relative; }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.18s var(--ease);
  }
  .nav__links a:focus-visible::after { transform: scaleX(1); }
}
@media (hover: hover) and (min-width: 900px) {
  .nav__links a:hover { text-decoration: none; }
  .nav__links a:hover::after { transform: scaleX(1); }
}

/* ---------- FAQ: soft open/close, and a plus that folds into a minus ---------- */
.faq__list summary { position: relative; }
.faq__list summary::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 2px;
  height: 14px;
  margin-top: -7px;
  background: var(--text);
  transition: transform 0.18s var(--ease);
}
.faq__list summary::after,
.faq__list details[open] summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--text);
  font-size: 0;
}
.faq__list details[open] summary::before { transform: scaleY(0); }
@supports selector(::details-content) {
  .faq__list details::details-content {
    opacity: 0;
    transition: opacity 0.18s var(--ease), content-visibility 0.18s allow-discrete;
  }
  .faq__list details[open]::details-content { opacity: 1; }
}
@supports not selector(::details-content) {
  .faq__list details[open] > div { animation: soft-in 0.18s var(--ease); }
}
@keyframes soft-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Form messages ease in instead of snapping ---------- */
.form-msg:not([hidden]) { animation: soft-in 0.18s var(--ease); }
.form-success:not([hidden]) { animation: soft-in 0.2s var(--ease); }
.field__error:not(:empty) { animation: soft-in 0.18s var(--ease); }

/* ---------- Sticky "Start a project" bar: slides and fades, with room for a corner badge ---------- */
.sticky-cta {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px) + var(--badge-clear));
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease), visibility 0s linear 0.18s;
}
.sticky-cta.is-shown { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
body.has-sticky { padding-bottom: calc(5rem + var(--badge-clear)); }
@media (min-width: 900px) { body.has-sticky { padding-bottom: 0; } }

/* ---------- Footer: keep the last line clear of a corner badge ---------- */
.site-footer { padding-bottom: calc(2rem + var(--badge-clear)); }

/* ---------- Month scramble (visual only; the real text stays in the page) ---------- */
#availability-month { position: relative; display: inline-block; }
#availability-month.is-scrambling { color: transparent; }
.scramble-fx { position: absolute; left: 0; top: 0; color: var(--text-muted); white-space: pre; pointer-events: none; }

@media (prefers-reduced-motion: reduce) { .divider-squares span.is-blink { animation: none; } }

/* ---------- Process: the rail fills as you scroll through the steps ----------
   Scroll-linked, runs on the compositor, no JavaScript and no loop. Browsers without scroll-driven
   animations (and visitors who prefer reduced motion) simply keep the plain rail. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .timeline::after {
      content: "";
      position: absolute;
      left: -1px;
      top: 0;
      bottom: 0;
      width: 1px;
      background: var(--text);
      transform: scaleY(0);
      transform-origin: top center;
      animation: rail-fill linear both;
      animation-timeline: view();
      animation-range: cover 25% cover 75%;
    }
  }
}
@keyframes rail-fill { to { transform: scaleY(1); } }

/* ---------- About: story, then two equal founder cards ---------- */
.about-grid { row-gap: 2rem; align-items: stretch; }
.about__intro { grid-column: 1 / -1; display: grid; gap: 1.5rem 2rem; min-width: 0; margin-bottom: 0.5rem; }
.about__head h2 { max-width: 14ch; margin-top: 0; }
.about__story { min-width: 0; }
.about__card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.about__tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 8rem;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.about__tile span { font-family: var(--font-head); font-weight: 700; font-size: 3rem; letter-spacing: -0.05em; color: var(--text-faint); }
/* Photo slot: the initials stay until the photo has loaded (the markup adds .has-photo on load and removes
   the img if the file is missing), so there is never a broken-image icon or an empty tile. */
.about__tile { position: relative; overflow: hidden; }
.about__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; opacity: 0; }
.about__tile.has-photo img { opacity: 1; }
.about__tile.has-photo span { visibility: hidden; }
.about__card-body { min-width: 0; }
.about__card .about__name { margin: 0 0 0.25rem; }
.about__card .about__role { margin: 0 0 1rem; }
.about__card-bio { max-width: 34rem; margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.55; }
@media (min-width: 900px) {
  .about__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap); }
  .about__card { grid-column: span 6; }
}
@media (max-width: 519px) {
  .about__card { flex-direction: column; gap: 1.25rem; }
  .about__tile { width: 6.5rem; }
}
