  /* ─── RESET & BASE ───────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ink:        #131110;
    --paper:      #F1EBDD;
    --paper-dim:  #E7DFCC;
    --red:        #A719BF;
    --yellow:     #E8AC1F;
    --white:      #FBF8F1;
    --line:       #131110;
    --muted:      #565048;
    --muted-2:    #8B8375;
    --font-head:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-mono:  'Space Mono', 'Courier New', monospace;
    --max-w:      1280px;
    --edge:       48px;
    --gap:        1px;
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── TYPOGRAPHY ─────────────────────────────────── */
  h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 900; line-height: 0.96; letter-spacing: 0; word-spacing: 0.14em; text-transform: uppercase; }
  h1 { font-size: clamp(3.2rem, 9vw, 8.5rem); }
  h2 { font-size: clamp(1.8rem, 4.2vw, 3.6rem); white-space: nowrap; }
  h3 { font-size: 1.4rem; word-spacing: 0.08em; }
  p  { color: var(--muted); text-wrap: pretty; }
  a  { color: inherit; text-decoration: none; }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
  }
  .index-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted-2);
    letter-spacing: 0.1em;
  }

  /* ─── LAYOUT HELPERS ─────────────────────────────── */
  .container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--edge); }
  .section    { padding: 64px 0; position: relative; }
  .section--dark { background: var(--ink); color: var(--paper); }
  .section--dark p { color: #B8AFA0; }
  .section--red { background: var(--red); color: var(--white); }
  .section-head {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: end;
    gap: 24px;
    margin-bottom: 40px;
    border-bottom: 2px solid currentColor;
    padding-bottom: 24px;
  }
  .section-head-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .section-head h2 { margin: 0; }
  /* Work: the tile grid's top border already separates the header */
  #work .section-head { border-bottom: none; padding-bottom: 0; }
  .section-head-note { font-size: 0.9rem; line-height: 1.65; text-align: right; }

  hr.rule { border: none; border-top: 1.5px solid var(--line); margin: 0; }

  /* ─── NAVIGATION ─────────────────────────────────── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 2px solid var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--edge);
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; }
  .nav-mark {
    width: 34px; height: 34px;
    background: var(--ink);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.85rem;
  }
  .nav-name { font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.01em; }
  .nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
  .nav-links a {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
  }
  .nav-links a:hover { border-color: var(--red); color: var(--red); }
  .nav-cta {
    background: var(--ink);
    color: var(--paper) !important;
    padding: 10px 18px;
    border: 2px solid var(--ink) !important;
  }
  .nav-cta:hover { background: var(--red); border-color: var(--red) !important; color: var(--white) !important; }
  .nav-download { color: var(--red) !important; display: inline-flex; align-items: center; gap: 6px; }

  /* hamburger */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--line);
    padding: 8px var(--edge) 28px;
    z-index: 99;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block; padding: 14px 0;
    font-family: var(--font-mono);
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--ink); border-top: 1.5px solid var(--line);
  }

  /* ─── HERO ───────────────────────────────────────── */
  #hero {
    padding-top: 68px;
    border-bottom: 2px solid var(--line);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 620px;
  }
  .hero-text {
    padding: 72px var(--edge) 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 2px solid var(--line);
  }
  .hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
  .hero-title { color: var(--ink); margin-bottom: 30px; }
  .hero-title .accent { color: var(--red); }
  .hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.75;
    padding-top: 24px;
    border-top: 2px solid var(--line);
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 26px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
    transition: all 0.15s;
    cursor: pointer;
  }
  .btn-primary { background: var(--ink); color: var(--paper); }
  .btn-primary:hover { background: var(--red); border-color: var(--red); color: var(--white); }
  .btn-secondary { background: transparent; color: var(--ink); }
  .btn-secondary:hover { background: var(--ink); color: var(--paper); }
  .btn-download { border-color: var(--red); color: var(--red); }
  .btn-download:hover { background: var(--red); color: var(--white); }

  .hero-stats { display: flex; gap: 0; }
  .stat { flex: 1; padding: 18px 20px 0; border-top: 2px solid var(--line); }
  .stat + .stat { border-left: 2px solid var(--line); }
  .stat-num { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; line-height: 1; }
  .stat-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }

  /* photo */
  .hero-photo {
    position: relative;
    background: var(--ink);
    overflow: hidden;
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; filter: grayscale(1) contrast(1.15) brightness(0.92); }
  .hero-photo .tint2 { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--ink) 100%); opacity: 0.65; }
  .hero-photo-placeholder {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--paper-dim); text-align: center; padding: 32px;
  }
  .hero-photo-placeholder svg { margin-bottom: 16px; opacity: 0.5; }
  .hero-photo-placeholder p { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; color: var(--paper-dim); }
  .hero-photo-tag {
    position: absolute; z-index: 2;
    left: 0; right: 0; bottom: 0;
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .hero-photo-tag strong { font-family: var(--font-head); font-weight: 800; font-size: 0.82rem; color: var(--paper); text-transform: uppercase; display: block; }
  .hero-photo-tag span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.05em; }

  /* ─── ABOUT ──────────────────────────────────────── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .about-text { padding-right: 56px; border-right: 2px solid var(--line); }
  .about-text p { margin-bottom: 22px; font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
  .about-values { padding-left: 56px; display: flex; flex-direction: column; }
  .value-list { list-style: none; margin-top: 14px; border-top: 2px solid var(--line); }
  .value-list li { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; word-spacing: 0.08em; color: var(--ink); padding: 18px 0; border-bottom: 2px solid var(--line); }

  /* sub-section heading inside a section (Expertise in About, Artifacts in Work) */
  .subhead { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: end; margin: 72px 0 0; padding-bottom: 20px; border-bottom: 2px solid var(--line); }
  .subhead { scroll-margin-top: 84px; }
  /* Artifacts: the tile grid's top border already separates the subhead */
  #artifacts.subhead { border-bottom: none; }
  .subhead h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
  .subhead p { font-size: 0.9rem; line-height: 1.65; text-align: right; }

  /* ─── EXPERTISE (tabular / poster listing) ────────── */
  .disc-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 2px solid var(--line);
    align-items: start;
  }
  .disc-title { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; word-spacing: 0.08em; }
  .disc-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.75; max-width: 620px; }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .skill-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border: 1.5px solid var(--ink);
    text-transform: uppercase;
  }

  /* ─── SELECTED WORK: tiles ─────────────────────────── */
  .tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .tile-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 32px; min-height: 400px; color: var(--ink); transition: background 0.2s, color 0.2s; }
  .tile + .tile { border-left: 2px solid var(--line); }
  .tile-meta { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
  .tile-title { text-wrap: balance; font-family: var(--font-head); font-weight: 900; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; word-spacing: 0.08em; }
  .tile-system { font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
  .tile-fig { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid currentColor; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.45; text-transform: uppercase; color: var(--ink); }
  .tile-fig-label { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted-2); }
  .tile-fig b { font-family: var(--font-head); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: 0; color: var(--red); text-transform: none; }
  .tile--compact { min-height: 0; }
  .tile--compact .tile-cta { margin-top: auto; }
  .tile-cta { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); padding-top: 16px; border-top: 2px solid currentColor; }
  .tile:hover, .tile:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
  .tile:hover .tile-system, .tile:focus-visible .tile-system { color: #B8AFA0; }
  .tile:hover .tile-fig, .tile:focus-visible .tile-fig { color: var(--paper); }
  .tile:hover .tile-fig b, .tile:focus-visible .tile-fig b { color: var(--yellow); }
  .tile:hover .tile-cta, .tile:focus-visible .tile-cta { color: var(--paper); }
  .tile:focus-visible { box-shadow: inset 0 0 0 3px var(--red); }

  /* ─── CASE STUDY PAGES ─────────────────────────────── */
  .case-page main { padding-top: 68px; }
  .nav-links a.is-current { border-color: var(--red); color: var(--red); }
  .cs-hero { padding: 48px 0 40px; border-bottom: 2px solid var(--line); }
  .cs-crumbs { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 40px; }
  .cs-crumbs a { color: var(--red); }
  .cs-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .cs-title { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; max-width: 1050px; text-wrap: balance; }
  .cs-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--line); }
  .cs-meta div { padding: 16px 20px 0 0; }
  .cs-meta div + div { padding-left: 20px; border-left: 2px solid var(--line); }
  .cs-meta dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
  .cs-meta dd { font-weight: 700; margin-top: 6px; }
  .cs-system { margin-top: 48px; max-width: 900px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--ink); }
  .cs-system span { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
  .cs-body { padding: 16px 0 64px; }
  .cs-row { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 48px; padding: 32px 0; border-bottom: 2px solid var(--line); }
  .cs-label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); padding-top: 0.3em; word-spacing: 0; white-space: normal; }
  .cs-row p, .cs-steps li { font-size: 1.05rem; line-height: 1.75; color: var(--muted); }
  .cs-steps { list-style: none; display: grid; gap: 14px; }
  .cs-steps b { color: var(--ink); }
  .cs-figs { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-bottom: 18px; }
  .cs-fig { display: flex; flex-direction: column; max-width: 240px; }
  .cs-fig-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--red); }
  .cs-fig-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; line-height: 1.4; }
  .cs-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px; margin: 40px 0 0 268px; }
  .cs-screens img { display: block; width: 100%; height: auto; }
  .cs-screens figcaption { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
  .cs-pager { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
  .cs-pager a { text-wrap: balance; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px 0; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; line-height: 1.1; color: var(--ink); }
  .cs-pager a + a { padding: 22px 0 24px 24px; border-left: 2px solid var(--line); text-align: right; }
  .cs-pager a span { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--red); }
  .cs-pager a:hover { color: var(--red); }
  .cs-more { padding: 64px 0; }
  .cs-more .section-head-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

  /* ─── ARTIFACTS ──────────────────────────────────────── */
  .artifacts-lead { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.35; color: var(--ink); max-width: 900px; margin-bottom: 48px; }
  .artifact { padding: 48px 0; border-bottom: 2px solid var(--line); }
  .artifact:first-child { padding-top: 0; }
  .artifact-head { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; }
  .artifact-kind { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); padding-top: 0.3em; }
  .artifact-kind span { color: var(--muted-2); margin-right: 8px; }
  .artifact-title { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.05; margin-bottom: 16px; }
  .artifact-head p { font-size: 0.98rem; line-height: 1.75; color: var(--muted); margin-bottom: 12px; }
  .artifact-media { margin: 32px 0 0 268px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .artifact-media figure { min-width: 0; }
  .artifact-img { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--paper-dim); }
  .artifact-detail { max-width: 560px; }
  .artifact-detail--wide { max-width: 760px; }
  .artifact-media figcaption { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; line-height: 1.6; }
  .media-link { color: var(--red); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
  .scroll-x { overflow-x: auto; background: var(--white); border: 1px solid var(--paper-dim); }
  .scroll-x:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
  .scroll-x img { display: block; height: var(--h); width: auto; max-width: none; }
  .scroll-hint { color: var(--red); margin-left: 6px; white-space: nowrap; }

  /* ─── LEARNING JOURNEY ───────────────────────────────── */
  .learn-row { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; padding: 28px 0; border-bottom: 2px solid var(--line); }
  .learn-row:first-child { padding-top: 0; }
  .learn-stage { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); padding-top: 0.3em; }
  .learn-title { font-size: 1.25rem; margin-bottom: 10px; }
  .learn-row p { font-size: 0.95rem; line-height: 1.75; color: var(--muted); }

  /* ─── CONTACT ────────────────────────────────────── */
  #contact.section--red { padding-bottom: 100px; }
  #contact .eyebrow { color: var(--ink); }
  #contact h2 { color: var(--white); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; border-top: 2px solid var(--white); }
  .contact-info { padding-right: 56px; border-right: 2px solid var(--white); padding-top: 8px; }
  .contact-info p { color: #FBD9CF; font-size: 1.05rem; margin-bottom: 36px; line-height: 1.8; }
  .contact-links { display: flex; flex-direction: column; }
  .contact-link { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 2px solid rgba(255,255,255,0.35); transition: gap 0.2s; }
  .contact-link:first-child { border-top: none; }
  .contact-link:hover { gap: 22px; }
  .contact-link-icon { width: 40px; height: 40px; background: var(--white); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-link-text { color: var(--white); font-family: var(--font-mono); font-size: 0.85rem; }
  .contact-link-text strong { display: block; color: var(--white); font-weight: 700; font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; margin-bottom: 2px; }
  .contact-form { padding-left: 56px; padding-top: 8px; }
  .form-row { margin-bottom: 24px; }
  .form-row label { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
  .form-row input, .form-row textarea {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.5);
    padding: 10px 2px; color: var(--white); font-family: var(--font-body); font-size: 0.95rem;
    outline: none; transition: border-color 0.2s;
  }
  .form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,0.55); }
  .form-row input:focus, .form-row textarea:focus { border-color: var(--white); }
  .form-row textarea { resize: vertical; min-height: 90px; }
  .form-submit {
    width: 100%; background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
    padding: 16px 30px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; margin-top: 6px; transition: all 0.15s;
  }
  .form-submit:hover { background: var(--white); color: var(--red); border-color: var(--white); }

  /* ─── SUCCESS OVERLAY ───────────────────────────── */
  .overlay-backdrop {
    position: fixed; inset: 0; background: rgba(19,17,16,0.75);
    z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .overlay-backdrop.open { opacity: 1; pointer-events: all; }
  .overlay-card {
    background: var(--paper); border: 2px solid var(--ink); padding: 52px 48px; max-width: 440px; width: 100%; text-align: center;
    transform: translateY(16px); transition: transform 0.3s ease;
  }
  .overlay-backdrop.open .overlay-card { transform: translateY(0); }
  .overlay-check { width: 64px; height: 64px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
  .overlay-card h3 { color: var(--ink); margin-bottom: 14px; font-size: 1.5rem; }
  .overlay-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 30px; }
  .overlay-close {
    display: inline-flex; align-items: center; justify-content: center; padding: 13px 32px;
    background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer; transition: all 0.15s;
  }
  .overlay-close:hover { background: var(--red); border-color: var(--red); }

  /* ─── FOOTER ─────────────────────────────────────── */
  footer { background: var(--ink); padding: 28px 0; }
  footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
  footer p { font-family: var(--font-mono); font-size: 0.72rem; color: #8B8375; letter-spacing: 0.02em; }
  footer a { color: var(--yellow); }

  /* ─── RESPONSIVE ─────────────────────────────────── */
  @media (max-width: 1000px) {
    :root { --edge: 28px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-text { border-right: none; border-bottom: 2px solid var(--line); padding: 56px 28px 44px; }
    .hero-photo { aspect-ratio: 4 / 5; }
    .about-grid { grid-template-columns: 1fr; }
    .about-text { border-right: none; border-bottom: 2px solid var(--line); padding-right: 0; padding-bottom: 40px; margin-bottom: 40px; }
    .about-values { padding-left: 0; }
    .disc-row { grid-template-columns: 1fr; gap: 10px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { border-right: none; padding-right: 0; border-bottom: 2px solid rgba(255,255,255,0.35); padding-bottom: 36px; margin-bottom: 36px; }
    .contact-form { padding-left: 0; }
    .tile-grid, .tile-grid--two { grid-template-columns: 1fr; }
    .tile { min-height: 0; }
    .tile + .tile { border-left: none; border-top: 2px solid var(--line); }
    .cs-row { grid-template-columns: 1fr; gap: 10px; }
    .cs-screens { margin-left: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .learn-row { grid-template-columns: 1fr; gap: 8px; }
    .artifact-head { grid-template-columns: 1fr; gap: 8px; }
    .artifact-media { margin-left: 0; }
    .section-head { grid-template-columns: 1fr; align-items: flex-start; }
    .section-head-note { text-align: left; }
    .subhead { grid-template-columns: 1fr; margin-top: 56px; }
    .subhead p { text-align: left; }
  }
  /* Nav links need ~640px; collapse to the hamburger menu below that */
  @media (max-width: 760px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
  }
  @media (max-width: 720px) {
    .section { padding: 40px 0; }
    .hero-stats { flex-wrap: wrap; }
    .stat { flex: 1 1 50%; }
    .stat:nth-child(2) { border-left: 2px solid var(--line); }
    .stat:nth-child(3) { border-left: none; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    :root { --edge: 20px; }
    h2 { font-size: clamp(1.4rem, 7.5vw, 2.6rem); }
    .scroll-x img { height: calc(var(--h) * 0.75); }
    .cs-meta { grid-template-columns: 1fr; }
    .cs-meta div + div { padding-left: 0; border-left: none; }
    .cs-pager { grid-template-columns: 1fr; }
    .cs-pager a + a { padding-left: 0; border-left: none; border-top: 2px solid var(--line); text-align: left; }
  }
