/* V2: living relief. Quiet porcelain, mineral ink, and room for the work. */
:root {
  color-scheme: light;
  --paper: #fdfcfb;
  --ink: #18282e;
  --caption: #657277;
  --line: #dce2e0;
  --accent: #3c6669;
  --fog: #edf2f1;
  --page-gutter: 64px;
  --entrance-duration: 2800ms;
  --display: Georgia, "Times New Roman", serif;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; scroll-padding-bottom: 90px; -webkit-text-size-adjust: 100%; }
html[data-tour-active] { scroll-behavior: auto; }
body { position: relative; margin: 0; -webkit-font-smoothing: antialiased; isolation: isolate; -webkit-tap-highlight-color: transparent; }
#ink-wall-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
#ink-wall { position: absolute; left: 0; display: block; width: 100%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .ink-type-ready main :is(h1, h2, h3) { -webkit-text-fill-color: transparent; }
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, canvas:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--ink); background: #d5e6e3; }
.icon { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.page-width { width: min(1240px, calc(100% - 2 * max(var(--page-gutter), env(safe-area-inset-left), env(safe-area-inset-right)))); margin-inline: auto; }
.eyebrow, .experience-date, .art-category { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .055em; color: var(--caption); }
.eyebrow, .art-category { text-transform: uppercase; }
.skip-link { position: absolute; left: 24px; top: -100px; z-index: 5; padding: 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; gap: 32px; min-height: 100px; }
.wordmark { font-size: 25px; font-weight: 600; letter-spacing: -.075em; white-space: nowrap; }
.wordmark > span { color: var(--accent); }
.header-note { font-size: 11px; color: var(--caption); margin-left: 20px; }
.site-header nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: 12px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.site-header nav a:last-child { color: var(--accent); }
.site-header .icon { width: 15px; height: 15px; }
.hero { position: relative; padding-block: 10px 64px; }
/* Raking light is composited over both the wall and its cuts. Lighting only
   the background would leave pale glyph-shaped patches in the shadows. */
.hero::before { content: ""; position: absolute; z-index: 2; pointer-events: none; top: -110px; bottom: -40px; left: 0; right: 0; background: linear-gradient(125deg, #9bafb342 0%, #b8c6c829 23%, #dce3e418 25%, transparent 26.5%, transparent 48%, #a4b5b61a 49.5%, #a4b5b62e 55%, transparent 71%); mix-blend-mode: multiply; mask-image: linear-gradient(#000 72%, transparent); }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 5px 12px; }
.hero-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 28px; min-height: min(740px, calc(100svh - 190px)); }
.hero-art { min-width: 0; grid-column: 1; grid-row: 1; }
.sculpture-wrap { position: relative; width: min(100%, calc(100svh - 190px)); margin-inline: auto; }
canvas[data-ink] { display: block; width: 100%; height: auto; touch-action: pan-y pinch-zoom; cursor: crosshair; }
body[data-ink-mode="paint"] main, body[data-ink-mode="paint"] canvas[data-ink] { touch-action: pinch-zoom; user-select: none; -webkit-user-select: none; }
.sculpture { aspect-ratio: 1; }
.art-note { position: absolute; top: 8%; left: 1%; font: italic clamp(12px, 1.3vw, 17px)/1.4 var(--display); color: #708081; pointer-events: none; }
.art-caption { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; color: var(--caption); font-size: 11px; }
.art-caption .icon { width: 14px; height: 14px; }
.touch-hint { display: none; }
.hero-copy { padding-block: 35px; min-width: 0; grid-column: 2; grid-row: 1; }
.hero-copy h1 { font-family: var(--display); font-size: clamp(52px, 6.3vw, 88px); line-height: 1.04; letter-spacing: -.065em; font-weight: 400; }
em { font-weight: 400; }
.hero-copy h1 em { color: var(--accent); }
.hero-description { max-width: 390px; color: var(--caption); font-size: 15px; line-height: 1.85; margin-top: 34px; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; padding: 0 20px; background: var(--ink); color: var(--paper); border-radius: 30px; font-size: 12px; transition: background-color 160ms ease; }
.tour-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
.tour-link .icon { width: 15px; height: 15px; }
.tour-link[aria-pressed="true"] { color: var(--accent); }
.tour-link:disabled { opacity: .5; cursor: default; }
.hero-footnote { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--caption); }
.location-dot { width: 5px; height: 5px; border: 1px solid #849697; border-radius: 50%; }
#enable-tilt { display: none; }
.dock-intro { min-width: 0; flex: 1; padding: 0 9px; }
.dock-intro > p:first-child { font-size: 11px; line-height: 1.5; color: var(--ink); }
#enable-tilt { align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 22px; background: var(--fog); color: var(--ink); font-size: 11px; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease; }
#enable-tilt:active { background: var(--fog); }
#enable-tilt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#enable-tilt:disabled { color: var(--caption); cursor: default; }
#tilt-prompt { margin-top: 2px; font-size: 9px; line-height: 1.4; color: var(--caption); }
#finish-paint, #dock-tour { display: none; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 22px; background: var(--ink); color: var(--paper); font-size: 11px; white-space: nowrap; cursor: pointer; }
html[data-tour-active] #dock-tour { display: inline-flex; }
html[data-tour-active] #enable-tilt { display: none; }
body[data-ink-mode="paint"] #finish-paint { display: inline-flex; }
body[data-ink-mode="paint"] #enable-tilt { display: none; }
.primary-link:active, #dock-tour:active, #finish-paint:active { transform: scale(.97); }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-top: 35px; padding-bottom: 45px; border-top: 1px solid var(--line); gap: 40px; }
.section-heading h2 { font: 400 clamp(30px, 3.6vw, 46px)/1.12 var(--display); letter-spacing: -.045em; margin-top: 18px; }
.section-heading h2 em { color: var(--accent); }
.section-heading > p { color: var(--caption); font-size: 12px; line-height: 1.8; padding-bottom: 3px; }
.project-grid { display: grid; }
.project { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; column-gap: 80px; padding-block: 54px 65px; }
.project + .project { border-top: 1px solid var(--line); }
.project-art { position: relative; min-width: 0; padding-block: 8px 20px; }
.art-category { display: block; text-align: center; font-size: 9px; margin-bottom: 14px; }
.project-art canvas { height: clamp(210px, 24vw, 300px); }
.project-diagram { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 25px; color: #7b8c8c; font: 10px/1.5 "SFMono-Regular", Consolas, monospace; }
.project-diagram span { white-space: nowrap; }
.project-diagram i { width: 30px; height: 1px; background: var(--line); position: relative; }
.project-diagram i::after { content: ""; position: absolute; width: 3px; height: 3px; border: 1px solid #a1b0ae; background: var(--paper); border-radius: 50%; right: -2px; top: -2px; }
.project-copy { min-width: 0; padding-right: 12px; }
.project-copy h3 { font: 400 clamp(29px, 3vw, 40px)/1.14 var(--display); letter-spacing: -.04em; margin-top: 18px; }
.project-copy h3 em { color: var(--accent); }
.project-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; color: var(--caption); max-width: 430px; margin-top: 8px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 13px; }
.tags li { border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; color: var(--caption); font-size: 9px; }
.project-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; font-size: 12px; font-weight: 500; min-height: 44px; border-bottom: 1px solid #9caeac; transition: border-color 160ms ease; }
.subtle-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 11px; color: var(--caption); }
.subtle-link .icon { width: 14px; height: 14px; }
.github-note { display: flex; align-items: center; justify-content: center; gap: 20px; width: fit-content; margin: 0 auto; padding: 15px 0; font-size: 12px; line-height: 1.7; color: var(--accent); }
.work { padding-bottom: 80px; }
.about { padding-bottom: 90px; }
.about-columns { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; }
.about-story { min-width: 0; }
.about-cut { height: 200px; margin-bottom: 28px; }
.about-story > p { font-size: 15px; line-height: 1.85; color: var(--caption); max-width: 440px; }
.about-story > p + p { margin-top: 16px; }
.toolkit { font-size: 11px; line-height: 1.9; border-top: 1px solid var(--line); margin: 28px 0 0; padding-top: 22px; }
.toolkit > div { display: grid; grid-template-columns: 70px 1fr; gap: 16px; margin-bottom: 8px; }
.toolkit dt { color: var(--caption); }
.toolkit dd { margin: 0; }
.experience { padding-top: 10px; }
.experience-list { list-style: none; padding: 0; margin: 25px 0 0; }
.experience-list li { padding: 0 0 25px 22px; position: relative; border-left: 1px solid var(--line); }
.experience-list li:last-child { padding-bottom: 0; border-color: transparent; }
.experience-list li::before { content: ""; position: absolute; left: -3px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #9bafab; }
.experience-date { font-size: 9px; }
.experience-list h3 { font-size: 16px; font-weight: 500; letter-spacing: -.025em; margin-top: 8px; }
.experience-list p { font-size: 12px; line-height: 1.7; color: var(--caption); margin-top: 7px; max-width: 350px; }
.experience-list .experience-role { font-size: 10px; color: var(--accent); margin-top: 4px; }
.education { display: flex; align-items: start; gap: 14px; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); }
.education > .icon { color: var(--accent); }
.education p { font-size: 12px; margin-block: 7px 5px; }
.education div > span:last-child { font-size: 10px; color: var(--caption); }
.contact { padding-top: 35px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.contact-kicker { display: flex; justify-content: space-between; gap: 25px; }
.contact-cut { max-width: 850px; margin: 36px auto 42px; height: 220px; }
.contact-details { display: flex; justify-content: space-between; align-items: start; gap: 35px; }
.contact-details > p { font-size: 14px; line-height: 1.85; color: var(--caption); }
.contact-details > div { display: flex; flex-direction: column; align-items: end; gap: 16px; }
.email-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 48px; font-size: clamp(18px, 2.4vw, 29px); letter-spacing: -.035em; border-bottom: 1px solid var(--accent); padding-bottom: 10px; }
.email-link .icon { width: 22px; height: 22px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 28px 85px; font-size: 10px; color: var(--caption); }
.site-footer .wordmark { color: var(--ink); font-size: 20px; }
.site-footer a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.effects-dock { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); right: max(25px, env(safe-area-inset-right)); z-index: 3; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: 0 4px 24px #18282e0d; }
.effects-menu { position: relative; }
.effects-menu > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 15px; list-style: none; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--caption); font-size: 11px; cursor: pointer; user-select: none; }
.effects-menu > summary::-webkit-details-marker { display: none; }
.effects-menu > summary svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
.effects-menu > summary circle { fill: var(--paper); }
.tour-indicator { display: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.effects-menu[data-touring="true"] .tour-indicator { display: block; }
.effects-menu[open] > summary { color: var(--ink); border-color: #aaa9a1; }
.ink-controls { position: absolute; bottom: calc(100% + 12px); right: 0; width: max-content; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid #deddd7; border-radius: 40px; background: #fdfcfbf5; box-shadow: 0 6px 24px #191a1d12, inset 0 1px 0 #fff; }
:is(#touch-ink, #tilt-ink) { display: none; flex: 0 0 56px; min-height: 52px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 0; border-radius: 26px; padding: 5px 2px; color: var(--caption); background: transparent; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 140ms ease; }
#tilt-ink { flex-basis: 48px; }
:is(#touch-ink, #tilt-ink) svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
:is(#touch-ink, #tilt-ink) span { font-size: 9px; white-space: nowrap; }
:is(#touch-ink, #tilt-ink)[aria-pressed="true"] { color: var(--ink); background: #e9e8e2; box-shadow: inset 0 1px 3px #191a1d12; }
:is(#touch-ink, #tilt-ink):active { transform: scale(.95); }
#touch-instruction { display: none; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); font-size: 11px; line-height: 1.5; text-align: center; box-shadow: 0 3px 12px #191a1d08; }
#touch-instruction[data-visible="true"] { display: block; }
#auto-pour { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 234px; min-height: 56px; padding: 7px 17px 7px 8px; border: 1px solid #191a1d; border-radius: 32px; color: #fdfcfb; background: linear-gradient(150deg, #38393d, #17181b 70%); box-shadow: inset 0 1px 0 #ffffff24, 0 2px 3px #191a1d15; cursor: pointer; text-align: left; transition: transform 140ms cubic-bezier(.23,1,.32,1), box-shadow 180ms ease; }
#auto-pour:active { transform: scale(.97); }
.pour-well { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid #ffffff20; border-radius: 50%; background: #ffffff08; }
.pour-well svg { width: 33px; height: 33px; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.pour-vessel { transform-origin: 18px 18px; transition: transform 240ms cubic-bezier(.23,1,.32,1); }
.vessel-ink { fill: currentColor; stroke: none; opacity: .35; }
.pour-drop { fill: currentColor; stroke: none; opacity: 0; }
.pour-copy { display: grid; gap: 4px; flex: 1; white-space: nowrap; }
#pour-label { font-size: 12px; font-weight: 500; letter-spacing: -.01em; }
#pour-hint { font-size: 9px; color: #c2c2c0; }
.pour-action { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pour-pause { display: none; }
.pour-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #e1ddce; transform: scaleX(0); transform-origin: left; transition: transform 220ms linear; }
#auto-pour[aria-pressed="true"] .pour-vessel { transform: translate(-2px, -1px) rotate(38deg); }
#auto-pour[aria-pressed="true"] .pour-drop { animation: pouring-drop 950ms linear infinite; }
#auto-pour[aria-pressed="true"] .pour-arrow { display: none; }
#auto-pour[aria-pressed="true"] .pour-pause { display: block; }
#clear { display: grid; place-items: center; flex: 0 0 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--caption); cursor: pointer; transition: color 160ms ease, background-color 160ms ease, transform 140ms ease; }
#clear:active { transform: scale(.94); }
#clear svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ink-controls button:focus-visible { outline: 2px solid #7a8071; outline-offset: 4px; }
.ink-controls button:disabled { opacity: .5; cursor: default; }
@keyframes pouring-drop { 0% { transform: translateY(-3px); opacity: 0; } 20% { opacity: .8; } 75% { opacity: .8; } 100% { transform: translateY(4px); opacity: 0; } }

.entrance-invitation { display: none; }
/* The GPU moves the carving without shifting its measured DOM geometry.
   Native content waits until the solo e starts settling into the hero. */
@media (prefers-reduced-motion: no-preference) {
  html[data-entrance="pending"] :is(.site-header, .hero-meta, .art-note, .art-caption, .hero-copy h1, .hero-description, .hero-links, .effects-dock, #ink-wall-layer, main > section:not(.hero), .site-footer) { opacity: 0; }
  html[data-entrance="pending"] .hero::before { opacity: .5; }
  html[data-entrance="playing"] :is(.site-header, .hero-meta) { animation: entrance-frame var(--entrance-duration) both; }
  html[data-entrance="playing"] .hero::before { animation: entrance-light var(--entrance-duration) both; }
  html[data-entrance="playing"] :is(.art-note, .art-caption) { animation: entrance-note var(--entrance-duration) both; }
  html[data-entrance="playing"] .hero-description { animation: entrance-copy var(--entrance-duration) both; }
  html[data-entrance="playing"] :is(main > section:not(.hero), .site-footer) { animation: entrance-frame var(--entrance-duration) both; }
  html[data-entrance="playing"] :is(.hero-links, .effects-dock) { animation: entrance-controls var(--entrance-duration) both; }
  html[data-entrance="playing"] .entrance-invitation { position: fixed; z-index: 2; inset: auto 24px max(40px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; animation: entrance-invitation var(--entrance-duration) both; }
  .entrance-invitation > span:first-child { font: 400 12px/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
  .entrance-invitation > span:not(:first-child) { font-size: 10px; color: var(--caption); }
}
@keyframes entrance-frame { 0%, 58% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes entrance-light { 0% { opacity: .5; } 34%, 100% { opacity: 1; } }
@keyframes entrance-note { 0%, 68% { opacity: 0; transform: translateY(8px); } 94%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes entrance-copy { 0%, 64% { opacity: 0; transform: translateY(12px); } 96%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes entrance-controls { 0%, 72% { opacity: 0; } 100% { opacity: 1; } }
@keyframes entrance-invitation { 0%, 10% { opacity: 0; } 28%, 42% { opacity: .8; } 58%, 100% { opacity: 0; } }
@media (max-width: 700px) { :root { --entrance-duration: 2600ms; } }

@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover, .subtle-link:hover, .tour-link:hover { color: var(--accent); }
  .text-link:hover { border-color: var(--ink); }
  .primary-link:hover { background: var(--accent); }
  .effects-menu > summary:hover { color: var(--ink); border-color: #9caeac; }
  #auto-pour:hover { box-shadow: inset 0 1px 0 #ffffff38, 0 3px 9px #191a1d28; }
  #auto-pour:not([aria-pressed="true"]):hover .pour-vessel { transform: rotate(12deg); }
  #clear:hover { color: var(--ink); background: var(--fog); }
}
@media (pointer: coarse) {
  .desktop-hint { display: none; }
  .touch-hint { display: inline; }
}
@media (any-pointer: coarse) {
  :is(#touch-ink, #tilt-ink) { display: flex; }
}
@media (max-width: 1100px) {
  :root { --page-gutter: 40px; }
  .project, .about-columns { gap: 50px; }
  .hero-layout { min-height: min(620px, calc(100svh - 190px)); }
  .header-note { margin-left: 0; }
  .hero-copy h1 { font-size: clamp(48px, 6.3vw, 68px); }
}
@media (max-width: 800px) {
  :root { --page-gutter: 28px; }
  .header-note { display: none; }
  .project, .about-columns { gap: 32px; }
  .hero-layout { gap: 24px; }
  .hero-copy h1 { font-size: 50px; }
  .hero-links { gap: 10px 15px; }
  .primary-link { gap: 16px; padding-inline: 16px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 24px; }
  html { scroll-padding-top: 24px; }
  .site-header { min-height: 76px; gap: 12px; padding-top: env(safe-area-inset-top); }
  .wordmark { font-size: 23px; }
  .site-header nav { gap: 18px; font-size: 11px; }
  .site-header nav a { gap: 4px; }
  .hero { padding-top: 10px; padding-bottom: 44px; }
  .hero::before { top: -86px; background: linear-gradient(125deg, #9bafb33b, #b8c6c829 19%, transparent 20.5%, transparent 43%, #a4b5b621 44.5%, #a4b5b62b 50%, transparent 68%); }
  .hero-meta { padding-bottom: 4px; }
  .hero-meta .eyebrow { font-size: 9px; }
  .hero-meta .hero-footnote { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 22px; min-height: 0; }
  .hero-copy, .hero-art { grid-column: auto; grid-row: auto; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(40px, 11vw, 62px); letter-spacing: -.06em; }
  .hero-description { font-size: 15px; line-height: 1.7; margin-top: 18px; max-width: 410px; }
  .hero-links { gap: 10px 22px; margin-top: 22px; }
  .hero-art { display: flex; flex-direction: column; }
  .sculpture-wrap { width: min(100%, 250px, 32svh); margin-inline: auto; }
  .art-note { font-size: 12px; top: 13%; left: max(-16%, calc((100% - 100vw) / 2 + var(--page-gutter))); }
  .art-caption { margin-top: 3px; font-size: 10px; white-space: nowrap; }
  .section-heading { padding-top: 24px; padding-bottom: 28px; gap: 20px; align-items: start; }
  .section-heading h2 { font-size: 33px; margin-top: 13px; }
  .section-heading > p { font-size: 11px; line-height: 1.7; max-width: 135px; padding-top: 5px; }
  .section-heading > p br { display: none; }
  .project { grid-template-columns: 1fr; gap: 25px; padding-block: 16px 38px; }
  .project + .project { padding-top: 30px; }
  .project-art { padding-block: 0; }
  .art-category { text-align: left; margin-bottom: 6px; font-size: 9px; }
  .project-art canvas { height: clamp(80px, 26vw, 120px); }
  .project-diagram { margin-top: 12px; font-size: 9px; gap: 9px; }
  .project-diagram i { width: 25px; }
  .project-copy { padding: 0; }
  .project-copy h3 { font-size: 32px; margin-top: 13px; }
  .project-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; max-width: 100%; }
  .tags { margin-block: 17px 8px; }
  .tags li { font-size: 10px; }
  .text-link { font-size: 12px; }
  .github-note { font-size: 11px; gap: 12px; margin-top: 5px; }
  .work { padding-bottom: 40px; }
  .about { padding-bottom: 45px; }
  .about-columns { grid-template-columns: 1fr; gap: 36px; }
  .about-cut { height: 100px; margin-bottom: 23px; }
  .about-story > p { font-size: 15px; line-height: 1.75; }
  .toolkit { margin-top: 24px; padding-top: 20px; font-size: 11px; }
  .toolkit > div { grid-template-columns: 65px 1fr; gap: 10px; }
  .experience { padding-top: 0; }
  .experience-date { font-size: 10px; }
  .experience-list h3 { font-size: 18px; }
  .experience-list p { font-size: 14px; max-width: 100%; }
  .experience-list .experience-role { font-size: 11px; }
  .education p { font-size: 13px; }
  .education div > span:last-child { font-size: 11px; }
  .contact { padding-top: 25px; padding-bottom: 38px; }
  .contact-kicker { gap: 12px; flex-wrap: wrap; }
  .contact-cut { height: 110px; margin-block: 24px 27px; }
  .contact-details { display: block; }
  .contact-details > p { font-size: 14px; }
  .contact-details > div { align-items: start; margin-top: 22px; gap: 12px; }
  .email-link { font-size: clamp(18px, 5.3vw, 24px); gap: 15px; max-width: 100%; overflow-wrap: anywhere; }
  .site-footer { flex-wrap: wrap; gap: 5px 15px; padding-block: 20px calc(80px + env(safe-area-inset-bottom)); }
  .site-footer > span { order: 3; width: 100%; }
  .site-footer .wordmark { font-size: 20px; }
  .ink-controls { width: min(370px, calc(100vw - max(12px, env(safe-area-inset-right)) - 12px)); gap: 4px; }
  :is(#touch-ink, #tilt-ink) { display: flex; }
  #auto-pour { flex: 1; min-width: 0; width: auto; min-height: 52px; gap: 8px; padding: 6px 10px 6px 6px; }
  .pour-well { flex-basis: 32px; height: 32px; }
  .pour-well svg { width: 28px; height: 28px; }
  #pour-label { font-size: 11px; }
  .pour-action { display: none; }
  #clear { flex-basis: 44px; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .sculpture-wrap { width: min(210px, 25svh); }
  .hero-layout { gap: 16px; }
  .hero-description { font-size: 14px; line-height: 1.65; margin-top: 14px; }
  .hero-links { margin-top: 16px; }
  .art-note { left: max(-27%, calc((100% - 100vw) / 2 + var(--page-gutter))); }
}
@media (max-width: 359px) {
  :root { --page-gutter: 20px; }
  .site-header nav { gap: 13px; font-size: 11px; }
  .site-header nav .icon { display: none; }
  .wordmark { font-size: 21px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-links { gap: 12px; }
  .primary-link { font-size: 11px; }
  .tour-link { font-size: 11px; }
  .section-heading { gap: 15px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > p { max-width: 105px; font-size: 10px; }
  #touch-ink { flex-basis: 52px; }
  .pour-well { display: none; }
}
@media (max-width: 700px), (pointer: coarse) {
  .effects-dock { bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; right: auto; transform: translateX(-50%); width: min(380px, calc(100% - 24px)); padding: 6px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); box-shadow: 0 4px 24px #18282e0d; }
  .dock-intro { display: block; }
  #enable-tilt { display: inline-flex; }
  .effects-menu > summary { width: 44px; padding: 0; border: 0; }
  .effects-label { display: none; }
  .tour-indicator { position: absolute; right: 6px; top: 8px; }
  .ink-controls { right: -6px; bottom: calc(100% + 16px); }
  #tilt-ink { display: none; }
}
@media print {
  .hero::before { display: none; }
  #ink-wall-layer, .effects-dock { display: none; }
  .ink-type-ready main :is(h1, h2, h3) { -webkit-text-fill-color: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .ink-controls *, .ink-controls *::before, .ink-controls *::after { animation: none !important; }
  #auto-pour:active, #clear:active, :is(#touch-ink, #tilt-ink):active, #auto-pour .pour-vessel { transform: none !important; }
  #auto-pour[aria-pressed="true"] .pour-drop { opacity: .8; }
}
