/* ---------- Tokens ---------- */
:root {
  --paper: #f3f5f5;      /* page, a cool drafting white */
  --sheet: #ffffff;      /* raised surfaces: tiles, dialogs */
  --ink: #1a1d21;        /* text and heavy rules */
  --graphite: #59616c;   /* secondary text, field labels */
  --rule: #c8ced3;       /* light rules inside title blocks */
  --dykem: #2346a8;      /* layout-fluid blue: links, focus, the one accent */
  --dykem-soft: #e3e8f6;
  --well: #e6eaeb;       /* behind contained renders */

  --wide: 125;
  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121519; --sheet: #1a1e24; --ink: #e7eaec; --graphite: #9aa3ad;
    --rule: #343b44; --dykem: #93a9ff; --dykem-soft: #222b45; --well: #dde2e5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121519; --sheet: #1a1e24; --ink: #e7eaec; --graphite: #9aa3ad;
  --rule: #343b44; --dykem: #93a9ff; --dykem-soft: #222b45; --well: #dde2e5;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: var(--dykem); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--dykem); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.bar-name { font-weight: 800; font-stretch: 112%; color: var(--ink); text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.bar nav a { color: var(--graphite); text-decoration: none; font-size: 0.95rem; }
.bar nav a:hover { color: var(--ink); }
.theme { background: none; border: 1px solid var(--rule); color: var(--ink); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .bar { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px; }
  .bar nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; flex-wrap: nowrap; }
  html { scroll-padding-top: 96px; }
}

/* ---------- Layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(64px, 10vw, 120px); }
.section > h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}
.sub { font-size: 1.35rem; font-stretch: 110%; margin: 56px 0 16px; }

/* ---------- Hero: laid out like a drawing sheet ---------- */
.hero { padding-top: clamp(20px, 4vw, 40px); }
.frame {
  position: relative;
  border: 1.5px solid var(--ink);
  padding: 22px;
  background: var(--paper);
}
.frame::before { content: ""; position: absolute; inset: 21px; border: 1px solid var(--ink); pointer-events: none; }
/* zone markers around the border, like the A–D / 1–8 grid on a real drawing */
.zones { position: absolute; display: flex; color: var(--graphite); font-size: 0.68rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.zones span { flex: 1; display: grid; place-items: center; }
.zones-x { left: 22px; right: 22px; top: 0; height: 22px; }
.zones-x::after { content: ""; }
.zones-x span + span { border-left: 1px solid var(--rule); }
.zones-y { top: 22px; bottom: 22px; left: 0; width: 22px; flex-direction: column; }
.zones-y span + span { border-top: 1px solid var(--rule); }
.sheet-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "name name" "kick kick" "text print";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 3.5vw, 44px) 0 0 clamp(20px, 3.5vw, 44px);
  position: relative;
}
.hero h1 {
  grid-area: name;
  font-size: clamp(3.6rem, 13.2vw, 11.5rem);
  font-weight: 850;
  font-stretch: 125%;
  letter-spacing: -0.035em;
  line-height: 0.86;
  margin-left: -0.04em;
  padding-right: clamp(20px, 3.5vw, 44px);
}
.hero-text { grid-area: text; align-self: center; padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 3.5vw, 40px); display: grid; gap: 22px; }
.lede { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.36; max-width: 28ch; font-stretch: 96%; }
.now-line { display: flex; align-items: center; gap: 14px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 750; font-stretch: 112%; line-height: 1.15; color: var(--ink); padding: 16px 18px; border: 1.5px solid var(--ink); background: var(--dykem-soft); width: fit-content; max-width: 100%; }
.now-line .dot { width: 14px; height: 14px; top: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dykem); flex: none; position: relative; top: -1px; box-shadow: 0 0 0 0 var(--dykem); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dykem) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

.printer { grid-area: print; margin: clamp(12px, 2vw, 24px) clamp(20px, 3.5vw, 44px) clamp(20px, 3.5vw, 40px) 0; align-self: end; }
.print-bed { position: relative; aspect-ratio: 966 / 615; border-bottom: 3px solid var(--ink); }
.print-bed::after { /* the build plate's front lip */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -9px; height: 6px; background: var(--rule);
}
.print-bed canvas, .print-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.print-fallback { object-fit: contain; }
.printer.live .print-fallback { display: none; }
.printer.flying canvas { animation: hover 3.2s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.printer figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 0.85rem; color: var(--graphite); font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--dykem); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

.hero-block { grid-area: block; width: auto; min-width: min(100%, 380px); justify-self: start; align-self: end; border-bottom: 0; }
.hero-block td a { color: var(--ink); }

@media (max-width: 820px) {
  .sheet-area { grid-template-columns: 1fr; grid-template-areas: "name" "kick" "print" "text"; grid-template-rows: none; padding: 20px 0 0 18px; }
  .printer { margin: 20px 18px 24px 0; }
  .hero-text { padding: 0 18px 28px 0; }
  .hero-block { border-left: 1.5px solid var(--ink); }
  .hero-block { justify-self: stretch; }
}
@media (max-width: 560px) {
  .frame { padding: 10px; }
  .frame::before { inset: 9px; }
  .zones { display: none; }
}

/* The title block: borrowed from the corner of an engineering drawing */
.block {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--ink);
  background: var(--sheet);
  font-size: 0.9rem;
}
.block th, .block td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; vertical-align: top; }
.block th { color: var(--graphite); font-weight: 500; width: 34%; white-space: nowrap; font-stretch: 92%; }
.block td { font-weight: 550; }
.block tr:first-child > * { border-top: 0; }
.block tr > :first-child { border-left: 0; }
.block tr > :last-child { border-right: 0; }
.block tr:last-child > * { border-bottom: 0; }

/* ---------- Project tiles ---------- */
.tile {
  display: flex; flex-direction: column;
  width: 100%; padding: 0; margin: 0; text-align: left;
  font: inherit; color: inherit; background: var(--sheet);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sheet); border-bottom: 1px solid var(--rule); position: relative; }
/* the whole photo always shows; a blurred copy fills the empty space around tall or wide shots */
.tile-img video.clip { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.tile-img img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.tile-img img.fill { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(18px) saturate(1.1); opacity: 0.55; }
.tile-img.contain { background: var(--well); }
.tile-img.contain img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.tile-text { padding: 14px 16px 16px; display: grid; gap: 6px; }
.tile h3 { font-size: 1.2rem; font-stretch: 108%; line-height: 1.15; }
.tile p { color: var(--graphite); font-size: 0.95rem; line-height: 1.45; }
.tile .block { border: 0; border-top: 1px solid var(--rule); font-size: 0.82rem; margin-top: auto; }
.tile .block th, .tile .block td { padding: 6px 16px; }
.tile .block th { padding-right: 8px; }

.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.featured .tile h3 { font-size: 1.45rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 960px) { .featured { grid-template-columns: 1fr 1fr; } .featured .tile:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .featured { grid-template-columns: 1fr; } }

.models {
  margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between;
}
.models p { font-size: 1.15rem; max-width: 60ch; }
.models-links { display: flex; gap: 20px; }

/* ---------- Awards ---------- */
.awards { width: 100%; border-collapse: collapse; }
.awards thead th { text-align: left; font-weight: 500; color: var(--graphite); font-size: 0.85rem; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.awards td, .awards tbody th { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.awards td:first-child { font-variant-numeric: tabular-nums; color: var(--graphite); width: 4.5em; }
.awards tbody th { font-weight: 700; font-stretch: 106%; width: 42%; }
.awards tbody th span { display: block; font-weight: 400; font-stretch: 100%; color: var(--graphite); font-size: 0.9rem; margin-top: 2px; }
.awards ul { margin: 0; padding: 0; list-style: none; }
.row-links { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.92rem; }
@media (max-width: 640px) {
  .awards thead { display: none; }
  .awards tr { display: grid; grid-template-columns: 3.5em 1fr; border-bottom: 1px solid var(--rule); padding: 14px 0; }
  .awards td, .awards tbody th { border: 0; padding: 0; width: auto; }
  .awards tr > :last-child { grid-column: 2; margin-top: 6px; }
}

.skills { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); }
.skills div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.skills dt { font-weight: 700; }
.skills dd { margin: 4px 0 0; color: var(--graphite); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 0 56px; }
.about > h2 { grid-column: 1 / -1; }
.about-block { grid-column: 1; margin-top: 28px; max-width: 34em; }
.about-photo { grid-column: 2; grid-row: 2 / span 2; }
.about-body { display: grid; align-content: start; gap: 16px; font-size: 1.2rem; line-height: 1.55; max-width: 34em; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; border: 1.5px solid var(--ink); }
.about-photo figcaption { color: var(--graphite); font-size: 0.9rem; margin-top: 8px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } .about-block, .about-photo { grid-column: 1; grid-row: auto; margin-top: 0; } }

/* ---------- Contact ---------- */
.contact-main { font-size: clamp(1.5rem, 4.6vw, 3rem); font-weight: 750; font-stretch: 112%; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-main a { color: var(--ink); text-decoration-color: var(--dykem); text-decoration-thickness: 3px; }
.contact-note { color: var(--graphite); margin-top: 16px; max-width: 60ch; }
.contact-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; font-size: 1.05rem; }

.foot { max-width: var(--max); margin: clamp(64px, 10vw, 120px) auto 0; padding: 24px var(--gutter) 40px; border-top: 1px solid var(--rule); color: var(--graphite); font-size: 0.88rem; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

/* ---------- Dialogs ---------- */
dialog { color: var(--ink); border: 0; padding: 0; }
dialog::backdrop { background: rgb(10 12 15 / 0.72); }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; padding: 0; z-index: 3; }
.close svg { width: 18px; height: 18px; }

.sheet {
  width: min(1180px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 32px);
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  overflow: auto;
}
.sheet[open] { animation: sheet-in .22s ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.sheet-head { position: sticky; top: 0; z-index: 2; background: var(--sheet); border-bottom: 1px solid var(--rule); padding: 18px 64px 16px 24px; }
.sheet-head .close { top: 50%; transform: translateY(-50%); }
.sheet-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 115%; }
.sheet-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
.viewer { padding: 20px 24px 24px; border-right: 1px solid var(--rule); min-width: 0; }
.stage { background: var(--well); display: grid; place-items: center; overflow: hidden; min-height: 240px; }
/* the stage takes each photo's or video's own shape, up to the height of the screen */
.stage img, .stage video { display: block; width: auto; height: auto; max-width: 100%; max-height: min(72vh, 760px); }
.stage video { width: 100%; }
.stage video.tall { width: auto; }
.stage img { cursor: zoom-in; }
.stage-cap { color: var(--graphite); font-size: 0.92rem; margin-top: 10px; min-height: 1.4em; }
.thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding: 3px; }
.thumbs button { flex: 0 0 auto; width: 78px; height: 60px; padding: 0; border: 1px solid var(--rule); background: var(--well); cursor: pointer; position: relative; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { outline: 2px solid var(--dykem); outline-offset: 1px; border-color: transparent; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(0 0 0 / 0.35); }
.thumbs .play svg { width: 22px; height: 22px; }
.notes { padding: 20px 24px 28px; display: grid; gap: 24px; align-content: start; }
.notes h3 { font-size: 1.05rem; font-stretch: 108%; margin-bottom: 6px; }
.notes p, .notes li { color: var(--graphite); line-height: 1.6; }
.notes ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.notes .lead { color: var(--ink); font-size: 1.1rem; line-height: 1.45; }
.links { display: grid; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 16px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--dykem); border-color: var(--dykem); }
@media (max-width: 820px) {
  .sheet { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; }
  .sheet-body { grid-template-columns: 1fr; }
  .viewer { border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px; }
  .notes { padding: 20px 16px 32px; }
  .sheet-head { padding: 14px 60px 12px 16px; }
}

.zoom { background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; display: none; place-items: center; }
.zoom[open] { display: grid; }
.zoom img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); object-fit: contain; background: var(--sheet); }

.model { width: min(1000px, calc(100vw - 32px)); height: min(720px, calc(100dvh - 32px)); max-width: none; max-height: none; background: #15181c; overflow: hidden; }
.model canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.model-status { position: absolute; inset: 0; display: grid; place-items: center; color: #d6dade; pointer-events: none; }
.model-hint { position: absolute; left: 16px; bottom: 12px; color: #8b939c; font-size: 0.85rem; pointer-events: none; }

/* ---------- Sponsors ---------- */
/* sponsor collage: two photos and two logo tiles, set like prints pinned to a board */
.sponsor-collage {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; grid-template-rows: auto auto;
  gap: 16px; align-items: center; max-width: 1100px; padding: 12px 0 24px;
}
.sc-photo { margin: 0; border: 1.5px solid var(--ink); background: var(--sheet); padding: 8px 8px 10px; box-shadow: 4px 4px 0 var(--ink); }
.sc-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sc-photo figcaption { font-size: 0.82rem; color: var(--graphite); margin-top: 6px; text-align: center; font-weight: 600; }
.sc-bambu-photo { grid-column: 1; grid-row: 1 / span 2; transform: rotate(-2.5deg); }
.sc-h2d-photo { grid-column: 3; grid-row: 1 / span 2; transform: rotate(1.5deg); z-index: 1; }
.sc-ldo-photo { grid-column: 4; grid-row: 1 / span 2; transform: rotate(-1.5deg); }
.sc-logo {
  display: grid; justify-items: center; gap: 10px; padding: 24px 16px;
  border: 1.5px solid var(--ink); background: #fff; color: #1a1d21; text-decoration: none; text-align: center;
  transition: transform .15s ease;
}
.sc-logo:hover { transform: translateY(-3px); }
.sc-bambu { grid-column: 2; grid-row: 1; grid-template-columns: auto auto; align-items: center; justify-content: center; column-gap: 12px; transform: rotate(1deg); }
.sc-ldo { grid-column: 2; grid-row: 2; transform: rotate(-1deg); }
.sc-mark { width: 46px; height: 46px; }
.sc-word { font-weight: 800; font-stretch: 108%; font-size: 1.65rem; letter-spacing: -0.01em; white-space: nowrap; }
.sc-wordmark { width: min(240px, 100%); height: auto; }
.sc-what { grid-column: 1 / -1; font-size: 0.92rem; color: #59616c; font-weight: 600; }
@media (max-width: 860px) {
  .sponsor-collage { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .sc-bambu-photo { grid-column: 1; grid-row: 1; }
  .sc-h2d-photo { grid-column: 2; grid-row: 1; }
  .sc-bambu { grid-column: 1 / -1; grid-row: 2; }
  .sc-ldo { grid-column: 1; grid-row: 3; }
  .sc-ldo-photo { grid-column: 2; grid-row: 3; }
  .sc-word { font-size: 1.4rem; }
}

/* ---------- Footnotes ---------- */
sup { font-size: 0.65em; line-height: 0; }
sup a { text-decoration: none; padding: 0 1px; }
.fn { width: 100%; }

.kicker { grid-area: kick; margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.25rem); font-stretch: 115%; font-weight: 600; color: var(--graphite); }

/* ---------- Views counter ---------- */
.reach {
  padding: clamp(48px, 8vw, 96px) 0 0;
  display: grid; grid-template-columns: auto minmax(220px, 300px); gap: 16px clamp(20px, 3vw, 40px);
  align-items: start;
}
.reach-num {
  display: block; white-space: nowrap; text-decoration: none;
  font-size: clamp(3.4rem, 11.5vw, 10rem);
  font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--dykem);
}
.reach-num:hover { text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 0.12em; }
.reach-meta { display: grid; gap: 10px; padding-bottom: 6px;
  /* line the top of "views" up with the top of the digits */
  margin-top: calc(0.088 * clamp(3.4rem, 11.5vw, 10rem) - 0.17 * clamp(1.3rem, 2.6vw, 2rem) - 1px); }
.reach-label { display: block; color: var(--ink); text-decoration: none; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; font-stretch: 112%; line-height: 1.1; }
.reach-label span { display: block; font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--graphite); margin-top: 4px; }
.reach-label:hover span { color: var(--dykem); }
.reach-followers { font-weight: 700; font-size: 1rem; }
@media (max-width: 900px) {
  .reach { grid-template-columns: 1fr; }
  .reach-meta { max-width: 340px; margin-top: 0; }
}

.contact-label { font-weight: 600; margin-top: 20px; color: var(--graphite); }
.contact-label + .contact-main { margin-top: 4px; }
.about-block td a { color: var(--ink); }

.note-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.note p + p { margin-top: 8px; }
.btn-sm { margin-top: 10px; padding: 7px 12px; font-size: 0.9rem; }

.aside-note { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 0.95rem; }
.aside-note p { color: var(--graphite); }
.aside-note img { width: 100%; max-width: 360px; border: 1px solid var(--rule); }

.reach-x { display: grid; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--graphite); text-decoration: none; font-size: 0.88rem; }
.reach-x img { width: 100%; height: auto; border-radius: 10px; }
.reach-x b { color: var(--ink); font-weight: 650; }
.reach-x:hover b { color: var(--dykem); text-decoration: underline; }
