:root {
  color-scheme: dark;
  --surface: #171917;
  --paper: var(--surface);
  --ink: #f0f2ee;
  --muted: #a6ada5;
  --copy: #b9c0b7;
  --nav-text: #b9c0b7;
  --line: var(--copy);
  --accent: #f06b61;
  --soft-surface: #222622;
  --media-surface: #1e221f;
  --header-bg: #1b1e1b;
  --control-bg: #ecefeb;
  --control-fg: #161916;
  --shadow: rgb(0 0 0 / 36%);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --surface: #ececea;
  --paper: var(--surface);
  --ink: #171717;
  --muted: #6e6e69;
  --copy: #555550;
  --nav-text: #50504c;
  --line: var(--copy);
  --accent: #c43d36;
  --soft-surface: #f4f4f1;
  --media-surface: #e2e2df;
  --header-bg: linear-gradient(100deg, #f3c5e4 0%, #e5d9f7 47%, #d5e6fb 100%);
  --control-bg: #171717;
  --control-fg: #ffffff;
  --shadow: rgb(0 0 0 / 8%);
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 78px; background: var(--surface); overflow-x: clip; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: clip; background: var(--surface); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }
button, a { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-footer a:focus-visible { outline-color: var(--footer-ink); }

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 10;
  height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 24px 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
}
.brand { display: block; width: fit-content; padding: 0; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.035em; text-decoration: none; transition: color .16s; }
.brand:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 12px; width: 202px; min-width: 0; }
.header-index { flex: 1; padding: 10px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 8px var(--mono); letter-spacing: .07em; text-align: center; text-decoration: none; transition: border-color .16s, background .16s, color .16s; }
.header-index:hover { border-color: var(--accent); background: var(--accent); color: var(--control-fg); }
.theme-toggle { display: flex; align-items: center; gap: 8px; padding: 7px 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .16s; }
.theme-toggle:hover { color: var(--accent); }
.theme-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--accent); }
.theme-icon svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-crumbbar { display: none; }

.app-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr) 202px; width: 100%; max-width: 100%; min-width: 0; min-height: calc(100vh - 66px); }
.left-sidebar {
  position: sticky;
  top: 66px;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 66px);
  min-width: 0;
  min-height: 540px;
  padding: 24px 20px 24px 22px;
  border-right: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}
.sidebar-nav-groups { display: grid; gap: 30px; }
.project-nav-group { display: grid; align-content: start; gap: 13px; }
.intro-label, .breadcrumb, .figure-caption, .gallery-item figcaption {
  font-family: var(--mono);
  letter-spacing: .055em;
}
.nav-section-label, .nav-category { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.project-nav { display: grid; gap: 13px; }
.project-nav a, .project-nav-placeholder { color: var(--nav-text); font-size: 14px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.project-nav a { transition: color .16s; }
.project-nav a:hover, .project-nav a[aria-current="location"] { color: var(--accent); }
.project-nav a[aria-current="location"] { font-weight: 600; }

.document { width: 100%; max-width: 1040px; min-width: 0; justify-self: center; padding: 24px clamp(28px, 4vw, 66px) 0; background: var(--surface); text-align: left; }
.home-view, .project-view { width: 100%; min-width: 0; }
[hidden] { display: none !important; }
.breadcrumb { display: flex; gap: 8px; align-items: flex-start; min-height: 18px; color: var(--muted); font-size: 8px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--ink); }
.page-intro { position: relative; isolation: isolate; display: flex; min-height: min(600px, calc(100vh - 100px)); flex-direction: column; align-items: center; justify-content: center; margin: 0 0 70px; padding: 54px 0 64px; text-align: center; scroll-margin-top: 78px; }
.page-intro::before { position: absolute; z-index: -1; inset: -58px 0 0; background: radial-gradient(ellipse at 28% 10%, rgb(142 66 61 / 15%), transparent 36%), radial-gradient(ellipse at 74% 12%, rgb(73 105 79 / 19%), transparent 37%), radial-gradient(ellipse at 53% 26%, rgb(80 108 82 / 13%), transparent 36%), linear-gradient(180deg, #222722 0%, var(--surface) 91%); filter: blur(20px); content: ""; pointer-events: none; }
:root[data-theme="light"] .page-intro::before { background: radial-gradient(ellipse at 28% 10%, rgb(245 126 199 / 48%), transparent 35%), radial-gradient(ellipse at 74% 12%, rgb(124 138 245 / 38%), transparent 37%), radial-gradient(ellipse at 53% 26%, rgb(110 212 238 / 34%), transparent 36%), linear-gradient(180deg, #f7f3fc 0%, var(--surface) 91%); }
.intro-video { display: block; width: min(264px, 55.2vw); height: min(198px, 41.4vw); aspect-ratio: 4 / 3; margin: 0 auto 34px; object-fit: cover; transform-origin: center; transition: transform 1.2s ease-in-out; }
.intro-video:hover { transform: scale(1.3); }
.intro-label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 8px; }
.email-copy { padding: 0; border: 0; background: transparent; color: inherit; font: 15px var(--sans); letter-spacing: -.025em; cursor: copy; }
.email-copy:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.copy-cursor { position: fixed; z-index: 50; top: 0; left: 0; width: 22px; height: 22px; color: var(--ink); opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.88); transition: opacity .12s ease, transform .12s ease, visibility .12s; pointer-events: none; }
.copy-cursor svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.copy-cursor.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .email-copy { cursor: none; } }
.intro-mark { display: block; flex: 0 0 10px; width: 10px; height: 10px; color: var(--accent); }
.intro-mark svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.copy-toast { position: fixed; z-index: 30; right: 20px; bottom: 20px; padding: 10px 14px; background: var(--control-bg); color: var(--control-fg); font-size: 12px; line-height: 1.3; box-shadow: 0 3px 16px var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.copy-toast.is-visible { opacity: 1; transform: translateY(0); }
.page-intro h1 { max-width: 900px; margin: 24px 0 22px; font-size: clamp(39px, 6vw, 78px); line-height: 1.06; letter-spacing: -.015em; font-weight: 400; text-wrap: balance; }
.page-intro > p { max-width: 430px; margin: 0; color: var(--copy); font-size: 15px; line-height: 1.55; letter-spacing: -.025em; }

.project-list { display: grid; gap: 108px; margin-bottom: 118px; }
.project-preview { min-width: 0; scroll-margin-top: 90px; }
.preview-media { position: relative; display: block; overflow: hidden; width: 100%; max-height: 72vh; background: var(--media-surface); }
.preview-media img { display: block; width: 100%; max-height: 72vh; object-fit: contain; }
.preview-caption { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; pointer-events: none; }
.project-detail { min-width: 0; padding-top: 0; }
.project-header { display: flex; min-height: max(75vh, calc(100vh - 225px)); min-height: max(75svh, calc(100svh - 225px)); flex-direction: column; margin: 0 0 24px; scroll-margin-top: 78px; }
.project-label { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.project-title { max-width: none; margin: 0; font-size: clamp(56px, 8vw, 112px); line-height: .98; letter-spacing: -.035em; font-weight: 400; text-align: center; overflow-wrap: anywhere; }
.project-breadcrumb { margin-top: 16px; }
.project-summary { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(180px, .9fr); align-items: start; gap: clamp(28px, 4vw, 52px); margin-top: auto; padding-top: clamp(52px, 7vh, 76px); }
.project-summary-block { min-width: 0; margin: 0; scroll-margin-top: 78px; }
.project-summary-label { margin: 0 0 16px; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.project-summary-copy { max-width: none; margin: 0; color: var(--copy); font-size: 18px; line-height: 1.5; letter-spacing: -.025em; }
.project-role-type { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.project-summary-copy.role-copy { font-size: 14px; line-height: 1.65; }
.project-deck { max-width: 580px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; letter-spacing: -.02em; }
.document-section { margin: 0 0 28px; scroll-margin-top: 78px; }
.portfolio-about { margin-top: 118px; }
.portfolio-cv { margin-top: 48px; }
.section-heading { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.section-heading h2, .section-heading h3 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.hero-frame { margin: 0; border: 1px solid var(--line); background: var(--media-surface); }
.hero-frame img { display: block; width: 100%; max-height: 72vh; object-fit: contain; object-position: center; }
.figure-caption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 1px 0; color: var(--muted); font-size: 9px; }
.overview-copy, .section-copy { max-width: 620px; margin: 11px 0 0; color: var(--copy); font-size: 14px; line-height: 1.7; }
.image-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery-item { min-width: 0; margin: 0; overflow: hidden; background: var(--media-surface); }
.gallery-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.gallery-item.wide { grid-column: 1 / -1; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.gallery-item.wide img { aspect-ratio: 1.75; }
.gallery-item.tall img { aspect-ratio: .88; }
.gallery-item figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 8px 9px; color: var(--muted); font-size: 9px; }
.process-section { margin-top: 31px; }
.more-work { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; padding: 25px 0; color: var(--muted); }
.more-work-mark { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 14px; line-height: 1; }
.more-work p { margin: 0; font-size: 12px; }

.right-sidebar { position: sticky; top: 66px; align-self: start; min-width: 0; height: calc(100vh - 66px); overflow-y: auto; padding: 24px 24px 24px 15px; border-left: 1px solid var(--line); background: var(--surface); text-align: left; }
.right-sticky { position: static; }
.toc-links { display: grid; align-content: start; gap: 30px; }
.nav-group { display: grid; justify-items: start; gap: 12px; }
.nav-category { text-align: left; text-transform: none; }
.nav-subcategories { display: grid; gap: 11px; }
.nav-subcategory { color: var(--nav-text); font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; text-decoration: none; transition: color .16s; }
.nav-subcategory:hover, .nav-subcategory[aria-current="location"] { color: var(--accent); }
.nav-subcategory[aria-current="location"] { font-weight: 600; }
.nav-scrim { display: none; }

@media (min-width: 721px) {
  .left-sidebar { transform: translateX(var(--rail-shift, 0px)); transition: transform 300ms ease-out; will-change: transform; }
}

@media (min-width: 1101px) {
  .right-sidebar { transform: translateX(var(--rail-shift, 0px)); transition: transform 300ms ease-out; will-change: transform; }
}

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 208px minmax(0, 1fr); }
  .right-sidebar { display: none; }
  .document { padding-right: clamp(26px, 5vw, 62px); padding-left: clamp(26px, 5vw, 62px); }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 110px; }
  .site-header { height: 54px; grid-template-columns: 1fr auto; padding: 0 15px; }
  .brand { font-size: 16px; }
  .header-index { font-size: 7px; }
  .header-actions { width: auto; gap: 7px; }
  .header-index { flex: 0 0 auto; padding: 9px 9px; }
  .theme-toggle { gap: 4px; padding: 6px 0; }
  .mobile-crumbbar { position: fixed; z-index: 9; inset: 54px 0 auto; height: 41px; display: flex; align-items: center; background: var(--surface); backdrop-filter: blur(12px); }
  .menu-toggle { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; border: 0; background: transparent; color: var(--nav-text); font: 8px var(--mono); letter-spacing: .06em; cursor: pointer; }
  .menu-icon { font: 12px Arial, sans-serif; }
  .mobile-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; color: var(--muted); font: 8px var(--mono); white-space: nowrap; }
  .mobile-crumb b { color: var(--line); font-weight: 400; }
  .mobile-crumb strong { overflow: hidden; color: var(--ink); font-family: var(--sans); font-weight: 500; text-overflow: ellipsis; }
  .app-shell { display: block; min-height: 100vh; padding-top: 95px; }
  .left-sidebar { position: fixed; z-index: 12; inset: 95px auto 0 0; width: min(300px, 84vw); height: calc(100dvh - 95px); min-height: 0; transform: translateX(-103%); transition: transform .22s ease; box-shadow: 14px 0 40px rgb(0 0 0 / 8%); }
  body.nav-open .left-sidebar { transform: translateX(0); }
  .nav-scrim { position: fixed; z-index: 11; inset: 95px 0 0; display: block; visibility: hidden; border: 0; background: rgb(20 20 18 / 36%); opacity: 0; transition: opacity .22s, visibility .22s; }
  body.nav-open .nav-scrim { visibility: visible; opacity: 1; }
  .document { padding: 6px 18px 0; }
  .breadcrumb { gap: 7px; font-size: 7px; }
  .page-intro { min-height: 0; justify-content: flex-start; margin: 0 0 36px; padding: 18px 0 12px; }
  .intro-video { width: min(360px, 84vw); height: auto; margin-bottom: 20px; }
  .page-intro h1 { max-width: 13ch; margin: 17px 0 13px; font-size: clamp(40px, 10.8vw, 56px); }
  .page-intro > p { max-width: 320px; font-size: 15px; }
  .project-document { margin-bottom: 64px; padding-top: 24px; scroll-margin-top: 108px; }
  .project-header { min-height: 75vh; min-height: 75svh; margin-bottom: 24px; }
  .project-summary { grid-template-columns: 1fr; gap: 22px; margin-top: auto; padding-top: clamp(36px, 6vh, 58px); }
  .project-summary-copy { font-size: 16px; }
  .project-title { font-size: clamp(38px, 10vw, 54px); }
  .project-deck { margin-top: 12px; font-size: 13px; }
  .document-section { margin-bottom: 24px; scroll-margin-top: 109px; }
  .hero-frame img { max-height: 520px; }
  .image-gallery { gap: 7px; }
  .gallery-item figcaption { padding: 7px; font-size: 6px; }
}
@media (max-width: 420px) {
  .document { padding-right: 14px; padding-left: 14px; }
  .image-gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child:nth-last-child(odd), .gallery-item.wide { grid-column: auto; }
  .gallery-item img, .gallery-item.wide img, .gallery-item.tall img { aspect-ratio: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* The footer is a full-width closing plate, independent of the reading column. */
.left-sidebar { grid-column: 1; grid-row: 1; }
.document { grid-column: 2; grid-row: 1; }
.right-sidebar { grid-column: 3; grid-row: 1; }
.site-footer {
  --footer-bg: #e60009;
  --footer-ink: #fde7bf;
  --footer-line: rgb(253 231 191 / 72%);
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin: clamp(110px, 15vh, 190px) 0 0;
  padding: 0 0 24px;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.footer-scene { position: relative; height: clamp(500px, 54vw, 840px); min-height: clamp(500px, 54vw, 840px); overflow: hidden; border-bottom: 1px solid var(--footer-line); }
.footer-printer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; color: var(--footer-ink); }
.printer-ground, .printer-etching { fill: none; stroke: currentColor; stroke-width: 1.15; opacity: .62; }
.ground-hatch { stroke-width: .75; opacity: .42; }
.printer-frame, .printer-z-axis, .printer-gantry, .printer-bed, .printer-screen, .printer-motors, .printer-carriage { fill: none; stroke: currentColor; stroke-width: 2.1; }
.frame-beam, .frame-post, .frame-base, .x-beam, .gantry-block, .screen-housing, .screen-glass, .screen-knob, .z-motor, .carriage-shell, .carriage-top, .nextruder-lower { fill: var(--footer-bg); stroke-width: 2.7; }
.frame-post-inner { stroke-width: 1.15; opacity: .8; }
.frame-hatch, .beam-hatch, .x-beam-hatch, .bed-hatch, .bed-shadow, .screen-hatch, .motor-hatch, .carriage-hatch, .nextruder-hatch { stroke-width: .8; opacity: .64; }
.extrusion-slots, .frame-fasteners, .carriage-fasteners, .screen-vents { stroke-width: 1.1; opacity: .72; }
.printer-z-axis .z-guide { stroke-width: 3.5; opacity: .8; }
.printer-z-axis .z-screw { stroke-width: 2.4; }
.printer-z-axis .z-thread { stroke-width: 1; opacity: .8; }
.printer-z-axis .z-bearing { stroke-width: 1; opacity: .5; }
.printer-gantry .belt-line { stroke-width: 1.5; }
.printer-gantry .belt-teeth { stroke-width: .75; opacity: .8; }
.idler-wheel { fill: var(--footer-bg); stroke-width: 2.5; }
.idler-center { fill: var(--footer-ink); stroke-width: 1.4; }
.bed-grid { fill: none; stroke-width: .8; opacity: .44; }
.bed-edge { fill: var(--footer-bg); stroke-width: 2.4; }
.bed-layer-line, .bed-support { stroke-width: 1.1; opacity: .72; }
.screen-ui { stroke-width: 1.7; opacity: .8; }
.screen-knob-center { fill: var(--footer-ink); stroke-width: 1; }
.motor-detail { fill: var(--footer-bg); stroke-width: 1.8; }
.motor-cross, .motor-foot { stroke-width: 1.3; }
.printer-cable { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; opacity: .68; }
.printer-cable .cable-hatch { stroke-width: 1.2; stroke-dasharray: 2 5; }
.printer-carriage { transform: translateX(-280px); transition: transform 2.2s cubic-bezier(.18,.72,.18,1) .15s; }
.extruder-fan { fill: var(--footer-bg); stroke-width: 2.2; }
.fan-ring { stroke-width: 1.15; opacity: .8; }
.fan-hub { fill: var(--footer-ink); stroke-width: 1.2; }
.fan-spokes { stroke-width: 1.3; opacity: .88; }
.carriage-seam { stroke-width: 1; }
.nozzle { fill: var(--footer-ink); stroke-width: 1.6; }
.printer-filament { stroke-width: 2.4; stroke-dasharray: 86; stroke-dashoffset: 86; transition: stroke-dashoffset .8s ease .8s; }
.extruded-word { font: 900 66px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 1px; }
.extrusion-side { fill: var(--footer-bg); stroke: var(--footer-ink); stroke-width: 2.4; paint-order: stroke fill; opacity: 0; transition: opacity .5s ease; }
.extrusion-layer-1 { transition-delay: 1.2s; }
.extrusion-layer-2 { transition-delay: 1.05s; }
.extrusion-layer-3 { transition-delay: .9s; }
.extrusion-layer-4 { transition-delay: .75s; }
.extrusion-layer-5 { transition-delay: .6s; }
.extrusion-top { fill: var(--footer-ink); stroke: var(--footer-bg); stroke-width: 1.5; paint-order: stroke fill; opacity: 0; transition: opacity .55s ease 1.35s; }
.extrusion-underline { fill: none; stroke: var(--footer-ink); stroke-width: 1; stroke-dasharray: 478; stroke-dashoffset: 478; transition: stroke-dashoffset .85s ease .82s; }
.site-footer.is-visible .printer-carriage { transform: translateX(270px); }
.site-footer.is-visible .printer-filament { stroke-dashoffset: 0; }
.site-footer.is-visible .extrusion-side, .site-footer.is-visible .extrusion-top { opacity: 1; }
.site-footer.is-visible .extrusion-underline { stroke-dashoffset: 0; }
.footer-wordmark-wrap { margin: 0; overflow: hidden; padding: clamp(24px, 4.5vw, 58px) 0 clamp(27px, 4vw, 48px); border-bottom: 1px solid var(--footer-line); }
.footer-wordmark-label { margin: 0 0 clamp(14px, 2vw, 25px) clamp(18px, 3.3vw, 48px); color: var(--footer-ink); font: 9px var(--mono); letter-spacing: .06em; opacity: .82; text-transform: uppercase; }
.footer-wordmark { display: flex; justify-content: space-between; align-items: baseline; width: 100%; color: var(--footer-ink); font-size: clamp(34px, 9.5vw, 140px); font-weight: 650; line-height: .88; letter-spacing: -.055em; text-decoration: none; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(42%); clip-path: inset(0 0 100% 0); transition: opacity .5s ease, transform .8s cubic-bezier(.2,.75,.2,1), clip-path .75s cubic-bezier(.2,.75,.2,1); }
.footer-wordmark > span { display: block; flex: 0 0 auto; }
.footer-wordmark-wrap.is-visible .footer-wordmark { opacity: 1; transform: translateY(0); clip-path: inset(0); }
.footer-meta { grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); padding-right: clamp(18px, 3.3vw, 48px); padding-left: clamp(18px, 3.3vw, 48px); }

@media (max-width: 720px) {
  .site-footer { margin: 92px 0 0; padding: 0 0 18px; }
  .footer-scene { height: 420px; min-height: 420px; }
  .footer-printer { inset: 0 auto 0; left: -22.5%; width: 145%; height: 100%; }
  .footer-wordmark { font-size: clamp(34px, 9.5vw, 140px); }
  .footer-meta { grid-template-columns: 1fr; align-items: start; gap: 15px; }
  .footer-links { justify-content: flex-start; gap: 22px; }
  .footer-credit { justify-self: start; }
  .extruded-word { font-size: 72px; }
}
@media (max-width: 420px) {
  .footer-scene { height: 390px; min-height: 390px; }
  .extruded-word { font-size: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .printer-carriage, .printer-filament, .extrusion-side, .extrusion-top, .extrusion-underline, .footer-wordmark { transition-duration: .01ms !important; }
}
