/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-wide: 1240px;
  --gutter: clamp(var(--space-4), 4vw, var(--space-12));

  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

:root,
[data-theme='light'] {
  --color-bg: #f2f1ec;
  --color-surface: #f8f7f3;
  --color-surface-2: #fdfdfb;
  --color-surface-offset: #e9e8e2;
  --color-divider: #dddbd4;
  --color-border: #c9c7bf;
  --color-text: #1c1d1b;
  --color-text-muted: #5c5e59;
  --color-text-faint: #8f908a;
  --color-text-inverse: #f8f7f3;
  --color-primary: #b33a1a;
  --color-primary-hover: #8f2c12;
  --color-primary-highlight: #f0dcd2;
  --fig-bg: #ffffff;
  --fig-dark: #161716;
  --img-filter: none;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-lg: 0 24px 64px oklch(0.2 0.01 80 / 0.18);
}

[data-theme='dark'] {
  --color-bg: #121413;
  --color-surface: #181a19;
  --color-surface-2: #1e2120;
  --color-surface-offset: #232625;
  --color-divider: #262928;
  --color-border: #363a38;
  --color-text: #dcdbd5;
  --color-text-muted: #9b9d97;
  --color-text-faint: #6b6e69;
  --color-text-inverse: #121413;
  --color-primary: #f07f5a;
  --color-primary-hover: #f59c7e;
  --color-primary-highlight: #3a2620;
  --fig-bg: #e8e7e2;
  --fig-dark: #0c0d0c;
  --img-filter: brightness(0.94);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 24px 64px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #121413;
    --color-surface: #181a19;
    --color-surface-2: #1e2120;
    --color-surface-offset: #232625;
    --color-divider: #262928;
    --color-border: #363a38;
    --color-text: #dcdbd5;
    --color-text-muted: #9b9d97;
    --color-text-faint: #6b6e69;
    --color-text-inverse: #121413;
    --color-primary: #f07f5a;
    --color-primary-hover: #f59c7e;
    --color-primary-highlight: #3a2620;
    --fig-bg: #e8e7e2;
    --fig-dark: #0c0d0c;
    --img-filter: brightness(0.94);
  }
}

/* ---------- Base additions ---------- */
html { scroll-padding-top: var(--space-20); }
body { font-feature-settings: 'ss01', 'tnum' 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--color-primary); }
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: var(--space-4); top: -100px;
  background: var(--color-text); color: var(--color-bg);
  padding: var(--space-2) var(--space-4); z-index: 100;
}
.skip:focus { top: var(--space-4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-divider);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 4rem;
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--color-text);
}
.brand svg { width: 32px; height: 32px; flex: none; }
.brand-name { font-weight: 600; font-size: var(--text-sm); letter-spacing: -0.01em; white-space: nowrap; }
.brand-role { display: block; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 400; letter-spacing: 0.02em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--space-1); list-style: none; }
.nav a {
  display: block; padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm); text-decoration: none; color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}
.nav a:hover, .nav a[aria-current='true'] { color: var(--color-text); background: var(--color-surface-offset); }
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text);
}
.theme-toggle:hover { border-color: var(--color-text); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) clamp(var(--space-12), 7vw, var(--space-24)); }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6); align-items: end;
}
.hero-text { grid-column: 1 / span 7; }
.hero-figure { grid-column: 8 / -1; }
.eyebrow { color: var(--color-primary); margin-bottom: var(--space-5); display: flex; gap: var(--space-3); align-items: center; }
.eyebrow::before { content: ''; width: var(--space-8); height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600; letter-spacing: -0.035em; line-height: 0.98;
}
.hero-role {
  margin-top: var(--space-5);
  font-size: var(--text-lg); color: var(--color-text-muted); font-weight: 400; letter-spacing: -0.01em;
}
.hero-lead { margin-top: var(--space-6); max-width: 58ch; }
.hero-note { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm); font-weight: 500; text-decoration: none;
  border: 1px solid var(--color-text); border-radius: var(--radius-sm);
}
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--color-text-inverse); }
.btn-ghost:hover { background: var(--color-text); color: var(--color-bg); }

/* Title block (used in hero + each sheet) */
.titleblock {
  display: grid; grid-template-columns: max-content 1fr;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.titleblock dt, .titleblock dd {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.titleblock dt {
  font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-text-muted); border-right: 1px solid var(--color-divider);
  display: flex; align-items: center;
}
.titleblock dt:nth-last-of-type(1), .titleblock dd:last-of-type { border-bottom: 0; }

/* Sheet frame around hero image */
.frame {
  position: relative; background: var(--fig-bg);
  border: 1px solid var(--color-border);
}
.frame::before, .frame::after {
  content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--color-primary); border-style: solid;
}
.frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-figure .frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; filter: var(--img-filter); }
.hero-figure .titleblock { border-top: 0; }

/* ---------- Register (project index) ---------- */
.section { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding-bottom: var(--space-4); margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-text);
}
.section-head h2 { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; }
.section-head p { color: var(--color-text-muted); }
.register { font-size: var(--text-sm); }
.register th {
  text-align: left; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border);
}
.register td { padding: var(--space-4) var(--space-3); border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.register td:first-child, .register th:first-child { padding-left: 0; }
.register .no { font-family: var(--font-mono); color: var(--color-primary); width: 4rem; }
.register a { font-weight: 500; text-decoration: none; font-size: var(--text-base); }
.register a:hover { text-decoration: underline; }
.register .group td {
  padding-top: var(--space-8); font-family: var(--font-mono); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted);
  border-bottom-color: var(--color-border);
}
.register .muted { color: var(--color-text-muted); }

/* ---------- Sheets (projects) ---------- */
.sheet { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); border-top: 1px solid var(--color-border); }
.sheet-head {
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  margin-bottom: var(--space-8); color: var(--color-text-muted);
}
.sheet-head .sheet-no { color: var(--color-primary); }
.sheet-intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-8) var(--space-6);
  margin-bottom: var(--space-10);
}
.sheet-text { grid-column: 1 / span 7; }
.sheet-aside { grid-column: 9 / -1; align-self: start; }
.sheet h2 {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.04; margin-bottom: var(--space-6);
}
.sheet .kicker { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.sheet h3 {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-text-muted); margin: var(--space-8) 0 var(--space-3);
}
.sheet p + p { margin-top: var(--space-4); }
.lead { font-size: var(--text-lg); line-height: 1.45; letter-spacing: -0.01em; max-width: 46ch; }
.ticks { list-style: none; display: grid; gap: var(--space-2); }
.ticks li { position: relative; padding-left: var(--space-6); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.8em; width: var(--space-3); height: 1px; background: var(--color-primary);
}
.req { list-style: none; counter-reset: req; display: grid; gap: 0; border-top: 1px solid var(--color-divider); }
.req li { counter-increment: req; display: grid; grid-template-columns: var(--space-10) 1fr; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); }
.req li::before { content: 'R' counter(req, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-primary); padding-top: 0.2em; }
.note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}
.fig { grid-column: span var(--span, 6); margin: 0; min-width: 0; }
.fig-link {
  display: block; position: relative; height: var(--h, 22rem);
  background: var(--fig-bg); border: 1px solid var(--color-divider); overflow: hidden;
  cursor: zoom-in;
}
.fig.dark .fig-link { background: var(--fig-dark); }
.fig-link img {
  width: 100%; height: 100%; object-fit: contain; filter: var(--img-filter);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fig.pad .fig-link img { padding: var(--space-4); }
.fig.photo .fig-link img { object-fit: cover; filter: none; }
.fig-link:hover img { transform: scale(1.02); }
.fig-link:focus-visible { outline-offset: 2px; }
.tag {
  position: absolute; top: var(--space-3); left: var(--space-3);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--color-text); color: var(--color-bg); padding: var(--space-1) var(--space-2);
}
.fig figcaption {
  display: flex; gap: var(--space-3); padding-top: var(--space-2);
  font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.45;
}
.fig figcaption b { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; color: var(--color-primary); white-space: nowrap; padding-top: 0.15em; }

/* Process step label */
.step { position: absolute; bottom: var(--space-3); left: var(--space-3); font-family: var(--font-mono); font-size: var(--text-xs); background: var(--color-bg); color: var(--color-text); padding: var(--space-1) var(--space-2); border: 1px solid var(--color-border); }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
.video-card { margin: 0; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--fig-dark); border: 1px solid var(--color-divider);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity var(--transition-interactive); }
.video:hover img { opacity: 1; }
.video .play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-primary); color: #fff;
  box-shadow: var(--shadow-sm);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { padding-top: var(--space-3); font-size: var(--text-sm); }
.video-card figcaption strong { display: block; font-weight: 500; color: var(--color-text); }
.video-card figcaption span { color: var(--color-text-muted); }
.video-card figcaption a { font-size: var(--text-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-primary); display: inline-block; margin-top: var(--space-2); }

/* ---------- Documentation list ---------- */
.doc-types { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--color-divider); }
.doc-types li { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); display: flex; gap: var(--space-3); }
.doc-types li span { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-primary); padding-top: 0.15em; }

/* ---------- Divider band between industrial and furniture ---------- */
.band { border-top: 1px solid var(--color-text); padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-4); }
.band-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); align-items: end; }
.band h2 { grid-column: 1 / span 7; font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.band p { grid-column: 8 / -1; color: var(--color-text-muted); }
.band .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }

/* ---------- Capabilities ---------- */
.spec { border-top: 1px solid var(--color-divider); }
.spec-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6);
  padding-block: var(--space-5); border-bottom: 1px solid var(--color-divider);
}
.spec-row h3 { grid-column: 1 / span 4; font-size: var(--text-base); font-weight: 600; }
.spec-row h3 small { display: block; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 400; margin-top: var(--space-1); }
.spec-row ul { grid-column: 5 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.spec-row li { font-size: var(--text-sm); padding: var(--space-1) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); }
.spec-row p { grid-column: 5 / -1; font-size: var(--text-sm); }
.working-style { margin-top: var(--space-16); }
.working-style-intro { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-6); margin-bottom: var(--space-8); }
.working-style-intro h3 { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; }
.working-style-intro p { color: var(--color-text-muted); max-width: 64ch; }
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.strengths li { border-top: 2px solid var(--color-primary); padding-top: var(--space-4); }
.strengths .mono { display: block; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.strengths h4 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-3); }
.strengths p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-10) var(--space-6); }
.about-intro { grid-column: 1 / span 5; }
.about-intro p + p { margin-top: var(--space-4); }
.about-cols { grid-column: 7 / -1; display: grid; gap: var(--space-10); }
.timeline { list-style: none; border-top: 1px solid var(--color-divider); }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider); }
.timeline time, .timeline .when { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); padding-top: 0.2em; }
.timeline strong { display: block; font-weight: 500; }
.timeline span { color: var(--color-text-muted); font-size: var(--text-sm); }
.about-cols h3 { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: var(--space-3); }

/* ---------- Contact ---------- */
.contact { background: var(--color-text); color: var(--color-bg); }
.contact a:hover { color: inherit; text-decoration: underline; }
[data-theme='dark'] .contact, :root:not([data-theme]) .contact { }
.contact .section-head { border-bottom-color: color-mix(in oklab, var(--color-bg) 40%, transparent); }
.contact .section-head p { color: color-mix(in oklab, var(--color-bg) 70%, var(--color-text)); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
.contact-main { grid-column: 1 / span 7; }
.contact-mail { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; }
.contact-phone { display: inline-block; margin-top: var(--space-4); font-size: var(--text-lg); text-decoration: none; }
.contact-list { grid-column: 9 / -1; list-style: none; border-top: 1px solid color-mix(in oklab, var(--color-bg) 30%, transparent); }
.contact-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid color-mix(in oklab, var(--color-bg) 30%, transparent); font-size: var(--text-sm); }
.contact-list .k { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; padding-top: 0.15em; }
.contact-list a { text-align: right; }
.contact .btn { border-color: var(--color-bg); color: var(--color-bg); }
.contact .btn:hover { background: var(--color-bg); color: var(--color-text); }
.contact .btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
[data-theme='dark'] .contact .btn-primary { color: #121413; }
.contact .btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--color-text-inverse); }

.site-footer { background: var(--color-text); color: color-mix(in oklab, var(--color-bg) 70%, var(--color-text)); border-top: 1px solid color-mix(in oklab, var(--color-bg) 20%, transparent); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-6); font-size: var(--text-xs); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent; color: #f2f1ec;
  max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh;
}
.lightbox::backdrop { background: oklch(0.12 0.005 150 / 0.92); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: var(--space-4); gap: var(--space-3); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.lightbox-bar .mono { opacity: 0.8; }
.lightbox-ctrls { display: flex; gap: var(--space-2); }
.lightbox-original { display: inline-flex; align-items: center; padding-inline: var(--space-2); font-size: var(--text-xs); }
html.viewer-open { overflow: hidden; }
.lightbox button {
  color: #f2f1ec; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 0.25); border-radius: var(--radius-sm);
}
.lightbox button:hover { border-color: #fff; }
.lightbox-stage { position: relative; min-height: 0; }
.lightbox-stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; }
.lightbox-stage img.is-photo { background: transparent; }
.lightbox-cap { font-size: var(--text-sm); text-align: center; max-width: 80ch; margin-inline: auto; opacity: 0.9; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  html { scroll-padding-top: calc(var(--space-24) + var(--space-4)); }
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; }
  .theme-toggle { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); width: calc(100% + 2 * var(--gutter)); border-top: 1px solid var(--color-divider); }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { flex-wrap: nowrap; padding-block: var(--space-1); }
  .nav a { white-space: nowrap; padding-inline: var(--space-2); }
  .hero-text, .hero-figure { grid-column: 1 / -1; }
  .hero-figure { max-width: 640px; }
  .sheet-text { grid-column: 1 / -1; }
  .sheet-aside { grid-column: 1 / -1; max-width: 560px; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-intro, .about-cols { grid-column: 1 / -1; }
  .contact-main, .contact-list { grid-column: 1 / -1; }
  .band h2, .band p { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .working-style-intro, .strengths { grid-template-columns: 1fr; }
  .working-style-intro { gap: var(--space-4); }
  .strengths .mono { margin-bottom: var(--space-3); }
  .gallery { grid-template-columns: 1fr; }
  .gallery.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig { grid-column: 1 / -1; }
  .gallery.two-up .fig { grid-column: span 1; }
  .fig-link { height: auto; aspect-ratio: var(--m-ar, 4 / 3); }
  .gallery.two-up .fig-link { aspect-ratio: 3 / 4; }
  .spec-row h3, .spec-row ul, .spec-row p { grid-column: 1 / -1; }
  .spec-row { gap: var(--space-3); }
  .doc-types { grid-template-columns: 1fr; }
  .register .hide-sm { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: var(--space-1); }
  .brand-role { display: none; }
}
@media (max-width: 520px) {
  .videos { grid-template-columns: 1fr; }
}
