#cta-glyph:hover { fill: #bfcce6 !important; opacity: 0.6 !important; }

/* Portfolio studio: landscape imagery, clear type, motion in response to intent. */
:root {
  --studio-base: #131313;
  --studio-panel: #1c1b1b;
  --studio-ink: #e5e2e1;
  --studio-muted: #c0c7d3;
  --studio-blue: #6fa8ff;
  --studio-silver: #bfcce6;
  --studio-deep-blue: #172a43;
  --studio-metal-glow: rgba(111, 168, 255, .2);
  --studio-line: rgba(191, 204, 230, .18);
  --studio-glass: rgba(191, 204, 230, .12);
  --studio-glass-edge: rgba(221, 232, 249, .36);
  --studio-space: clamp(24px, 5vw, 64px);
}
.studio-shell { width: min(100% - 2 * var(--studio-space), 1280px); margin-inline: auto; color: var(--studio-ink); }
.studio-shell *, .studio-shell *::before, .studio-shell *::after { box-sizing: border-box; }
.studio-shell [hidden] { display: none !important; }

/* The three studio surfaces reuse the site's original blue / silver WebGL material. */
#page-about, #page-works, .practice-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 15% 8%, rgba(32, 73, 119, .32), transparent 58%),
    radial-gradient(ellipse at 86% 24%, rgba(191, 204, 230, .12), transparent 54%),
    #090b10;
}
#page-about::before, #page-works::before, .practice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, .18), rgba(5, 7, 11, .46)),
    linear-gradient(90deg, rgba(7, 13, 21, .28), transparent 48%, rgba(8, 10, 14, .24));
}
.studio-metal-canvas { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
#page-about > .studio-shell, #page-works > .studio-shell, .practice-section > .studio-shell { position: relative; z-index: 2; }
.studio-kicker { margin: 0 0 24px; color: var(--studio-silver); font-size: 14px; letter-spacing: .04em; }
.studio-intro { color: var(--studio-muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.9; max-width: 34em; }
.studio-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; padding: 14px 22px; border: 1px solid var(--studio-line); border-radius: 999px; background: var(--studio-silver); color: var(--studio-base); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.studio-button:hover { background: white; transform: translateY(-2px); }
.studio-button:active { transform: scale(.98); }
.studio-text-link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; color: var(--studio-ink); text-decoration: none; border-bottom: 1px solid var(--studio-line); font-size: 14px; }
.studio-text-link:hover { border-color: var(--studio-silver); }
.studio-closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--studio-line); padding: 48px 0 0; margin-top: 100px; }
.studio-closing p { font-size: clamp(18px, 2vw, 25px); line-height: 1.7; max-width: 26em; }
.studio-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.studio-section-heading h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 500; letter-spacing: -.04em; }
.studio-section-heading p { color: var(--studio-muted); line-height: 1.8; font-size: 15px; }

/* Work: image and information occupy separate surfaces. No image is cropped. */
.folio-page { padding-block: clamp(140px, 16vw, 200px) 100px; }
.folio-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; margin-bottom: 60px; }
.folio-heading h1 { font-size: clamp(40px, 5.8vw, 76px); font-weight: 500; line-height: 1.17; letter-spacing: -.06em; }
.folio-heading .studio-intro { padding-bottom: 6px; max-width: 25em; }
.folio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--studio-line); padding: 17px 0; margin-bottom: 36px; }
.folio-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.folio-filter { min-height: 44px; border-radius: 999px; padding: 10px 18px; color: var(--studio-muted); font-size: 14px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.folio-filter:hover { color: white; border-color: var(--studio-line); }
.folio-filter[aria-pressed="true"] { background: var(--studio-ink); color: var(--studio-base); }
#work-result-count { flex-shrink: 0; color: var(--studio-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
#portfolio-grid.folio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.folio-project { min-width: 0; }
.folio-link { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.folio-image {
  --glass-x: 50%; --glass-y: 50%; --glass-rx: 0deg; --glass-ry: 0deg;
  position: relative; isolation: isolate; aspect-ratio: 3 / 2; overflow: hidden;
  padding: clamp(10px, 1.3vw, 18px);
  background: linear-gradient(135deg, rgba(226,235,249,.12), rgba(111,168,255,.04) 55%, rgba(191,204,230,.16)), var(--studio-glass);
  border: 1px solid var(--studio-glass-edge); border-radius: 16px;
  -webkit-backdrop-filter: blur(22px) saturate(135%); backdrop-filter: blur(22px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(191,204,230,.08), 0 12px 32px rgba(3,9,18,.15);
  transform: perspective(1100px) rotateX(var(--glass-rx)) rotateY(var(--glass-ry));
  transition: border-color .25s, box-shadow .25s;
}
.folio-image::before {
  content: ""; position: absolute; z-index: -1; inset: -45%; pointer-events: none;
  background: radial-gradient(ellipse at 25% 30%, rgba(191,204,230,.38), transparent 46%), radial-gradient(ellipse at 76% 68%, rgba(111,168,255,.3), transparent 42%), linear-gradient(115deg, transparent 37%, rgba(230,239,255,.24) 48%, transparent 60%);
  animation: folio-glass-flow 14s ease-in-out infinite alternate paused;
}
.folio-image.is-glass-visible::before { animation-play-state: running; }
.folio-project:nth-child(2n) .folio-image::before { animation-delay: -5s; animation-direction: alternate-reverse; }
.folio-project:nth-child(3n) .folio-image::before { animation-delay: -9s; }
.folio-image::after {
  content: ""; position: absolute; inset: 0; z-index: 2; padding: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at var(--glass-x) var(--glass-y), rgba(255,255,255,.9), rgba(111,168,255,.4) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6; transition: opacity .2s;
}
.folio-image img { display: block; position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.folio-open { display: grid; place-items: center; position: absolute; z-index: 3; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: rgba(22,39,62,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--studio-ink); font-size: 24px; border: 1px solid var(--studio-glass-edge); opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .3s; }
.folio-link:hover .folio-image, .folio-link:focus-visible .folio-image { border-color: var(--studio-silver); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 18px 38px rgba(3,9,18,.25), 0 0 25px rgba(111,168,255,.08); }
.folio-link:hover .folio-image::after, .folio-link:focus-visible .folio-image::after { opacity: 1; }
.folio-link:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 6px; }
@keyframes folio-glass-flow {
  from { transform: translate3d(-7%, -3%, 0) rotate(-9deg); opacity: .65; }
  to { transform: translate3d(7%, 5%, 0) rotate(9deg); opacity: .95; }
}
@media (prefers-reduced-motion: reduce) {
  .folio-image { transform: none; }
  .folio-image::before { animation: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .folio-image { background: var(--studio-deep-blue); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .folio-image::before { display: none; }
}
.folio-link:hover .folio-open, .folio-link:focus-visible .folio-open { opacity: 1; transform: none; }
.folio-caption { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 22px; }
.folio-category { color: var(--studio-silver); font-size: 12px; margin-bottom: 8px; }
.folio-caption h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.04em; font-weight: 500; overflow-wrap: anywhere; }
.folio-link-label { flex-shrink: 0; font-size: 12px; color: var(--studio-muted); padding-bottom: 3px; }
.folio-description { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--studio-muted); max-width: 44em; }
.folio-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--studio-silver); font-size: 11px; }
.folio-tags li { padding-bottom: 5px; border-bottom: 1px solid var(--studio-line); }

/* About: a typographic identity, an object study, and readable experience. */
.about-page { padding-block: clamp(140px, 16vw, 200px) 100px; }
.about-opening { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; padding-bottom: 72px; border-bottom: 1px solid var(--studio-line); }
.about-identity .about-name { font-size: clamp(64px, 10vw, 138px); letter-spacing: -.075em; font-weight: 500; line-height: .95; }
.about-role { margin-top: 26px; color: var(--studio-silver); font-size: 15px; }
.about-statement h1 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 400; line-height: 1.4; letter-spacing: -.04em; }
.about-statement p { color: var(--studio-muted); font-size: 16px; line-height: 1.9; margin: 22px 0; max-width: 30em; }
.about-profile { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(32px, 6vw, 80px); margin-block: 80px 100px; }
.about-object { background: radial-gradient(ellipse at 50% 45%, rgba(111,168,255,.08), transparent 65%); border-radius: 20px; padding-block: 24px; }
.about-object svg { display: block; width: 100%; height: auto; color: var(--studio-silver); }
.profile-guides { opacity: .2; }
.profile-form { transform-origin: 260px 185px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.about-object:hover .profile-form { transform: rotate(8deg); }
.about-object p { color: var(--studio-muted); text-align: center; font-size: 13px; padding: 16px; }
.about-biography h2 { font-size: 24px; line-height: 1.6; font-weight: 500; margin-bottom: 24px; }
.about-biography > p { color: var(--studio-muted); line-height: 1.95; font-size: 15px; margin-block: 0 20px; }
.about-education { margin-top: 36px; border-top: 1px solid var(--studio-line); }
.about-education > div { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-top: 22px; font-size: 14px; line-height: 1.7; }
.about-education dt { color: var(--studio-silver); }
.about-education dd span { display: block; color: var(--studio-muted); font-size: 13px; margin-top: 4px; }
.about-capabilities { margin-bottom: 100px; }
.capability-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.capability-columns article { border-top: 1px solid var(--studio-line); padding-top: 28px; }
.capability-symbol { display: block; font-size: 34px; color: var(--studio-silver); margin-bottom: 22px; }
.capability-columns h3 { font-size: 22px; font-weight: 500; margin-bottom: 18px; }
.capability-columns p { color: var(--studio-muted); font-size: 14px; line-height: 1.9; }
.capability-columns ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin-top: 24px; font-size: 12px; color: var(--studio-silver); }
.experience-entry { display: grid; grid-template-columns: 130px 1fr 1.2fr; gap: 30px; border-top: 1px solid var(--studio-line); padding-block: 28px; }
.experience-date, .experience-company { color: var(--studio-silver); font-size: 13px; line-height: 1.8; }
.experience-entry h3 { font-size: 20px; font-weight: 500; line-height: 1.5; }
.experience-company { margin-top: 6px; }
.experience-description { color: var(--studio-muted); font-size: 14px; line-height: 1.9; }

/* About: a person, a tactile material study, and only confirmed skills. */
.about-page-v4 { padding-top: 128px; }
/* With scripts unavailable, native hash navigation still exposes the About content. */
html:not(.kmare-enhanced) #page-about:target { display: block; }
html:not(.kmare-enhanced):has(#page-about:target) #page-code { display: none; }
html:not(.kmare-enhanced) #page-about:has(#about-skills:target) { display: block; }
html:not(.kmare-enhanced):has(#about-skills:target) #page-code { display: none; }
html:not(.kmare-enhanced) #gallery-lightbox { display: none; }
.about-introduction { display: grid; grid-template-columns: minmax(0, .48fr) minmax(0, .52fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-bottom: 64px; border-bottom: 1px solid var(--studio-line); }
.about-page-v4 .about-identity .about-name { font-size: clamp(48px, 5.5vw, 72px); line-height: 1.05; margin-block: 20px 18px; letter-spacing: -.05em; }
.about-page-v4 .about-statement { margin-top: 30px; }
.about-page-v4 .about-statement h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.4; letter-spacing: -.035em; }
.about-page-v4 .about-statement p { font-size: 16px; max-width: 30em; }
.about-sculpture { min-width: 0; margin: 0; }
.about-scene-frame { position: relative; aspect-ratio: 1.06; isolation: isolate; border-radius: 18px; background: radial-gradient(ellipse at 50% 42%, rgba(191,204,230,.065), transparent 65%); }
.about-scene-fallback { display: block; width: 100%; height: 100%; }
.about-sculpture.is-scene-ready .about-scene-fallback { visibility: hidden; }
#about-ring-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y pinch-zoom; border-radius: inherit; }
#about-ring-canvas[hidden] { display: none; }
#about-ring-canvas.is-dragging { cursor: grabbing; }
.about-scene-label { position: absolute; left: 22px; top: 20px; font-size: 12px; color: var(--studio-muted); pointer-events: none; }
.about-materials { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.about-materials button, .about-scene-toolbar button { min-height: 44px; padding: 8px 15px; border: 1px solid var(--studio-line); border-radius: 8px; background: rgba(19,19,19,.78); color: var(--studio-muted); font-size: 14px; }
.about-materials button[aria-pressed="true"] { background: var(--studio-silver); color: var(--studio-base); border-color: var(--studio-silver); }
.about-materials button:active, .about-scene-toolbar button:active { background: var(--studio-glass); color: var(--studio-ink); }
.about-sculpture figcaption { font-size: 13px; line-height: 1.8; color: var(--studio-muted); margin-top: 16px; }
.about-scene-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.about-scene-toolbar label { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--studio-muted); }
.about-scene-toolbar input { width: 92px; min-height: 44px; accent-color: var(--studio-blue); }
.about-scene-toolbar button:disabled { cursor: default; opacity: .65; }
.about-materials[hidden], .about-scene-toolbar[hidden] { display: none; }
.about-scene-status { color: var(--studio-muted); font-size: 13px; line-height: 1.8; margin-top: 10px; }
.about-scene-status:empty { display: none; }
.about-sculpture button:focus-visible, .about-sculpture input:focus-visible, #about-ring-canvas:focus-visible, #about-skills:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 4px; }
.about-skills, .about-learning { margin-block: 64px 80px; scroll-margin-top: 100px; }
.skill-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1200px; }
.skill-groups article { position: relative; min-width: 0; isolation: isolate; padding: 32px 28px; border: 1px solid var(--studio-line); border-radius: 12px; background: rgba(28,27,27,.65); transform: perspective(1000px) rotateX(var(--skill-x,0deg)) rotateY(var(--skill-y,0deg)); }
.skill-groups article::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: var(--skill-lit,0); background: radial-gradient(280px circle at var(--skill-light-x,50%) var(--skill-light-y,50%), rgba(191,204,230,.12), transparent 70%); }
.skill-groups h3 { margin-bottom: 28px; font-size: 22px; font-weight: 500; color: var(--studio-ink); }
.skill-groups ul { list-style: none; padding: 0; display: grid; gap: 12px; color: var(--studio-muted); font-size: 16px; line-height: 1.8; }
.about-learning-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(32px,6vw,80px); }
.about-page-v4 .about-biography p { font-size: 16px; line-height: 1.95; max-width: 40em; }
.about-page-v4 .about-education { margin-top: 0; }
.about-page-v4 .about-education > div { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-block: 24px; }
.about-page-v4 .experience-list { border-left: 1px solid var(--studio-line); padding-left: 28px; }
.about-page-v4 .experience-entry { position: relative; }
.about-page-v4 .experience-entry::before { content: ''; position: absolute; left: -33px; top: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--studio-silver); }
@media (max-width: 900px) {
  .about-page-v4 { padding-top: 112px; }
  .about-introduction { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 40px; }
  .about-sculpture { width: min(100%,640px); margin-inline: auto; }
  .about-scene-frame { aspect-ratio: 1.25; }
  .skill-groups { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-learning-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .skill-groups { grid-template-columns: minmax(0, 1fr); }
  .skill-groups article { padding: 28px 24px; }
  .about-skills, .about-learning { margin-block: 44px 56px; }
  .about-scene-toolbar label { margin-left: 0; }
  .about-scene-label { left: 16px; top: 14px; }
  .about-materials { right: 10px; bottom: 10px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .skill-groups article, .about-materials button, .about-scene-toolbar button { background: var(--studio-base); border-color: var(--studio-silver); }
}
@media (prefers-reduced-motion: reduce) {
  .skill-groups article { transform: none; }
  .skill-groups article::after { display: none; }
}

.practice-section { padding: 0; border-top: 1px solid var(--studio-line); overflow: visible; scroll-margin-top: 72px; }
.practice-scene { position: relative; isolation: isolate; min-height: var(--practice-reference-height, 600px); overflow: clip; background: radial-gradient(ellipse at 15% 8%, rgba(32,73,119,.32), transparent 58%), radial-gradient(ellipse at 86% 24%, rgba(191,204,230,.12), transparent 54%), #090b10; }
.practice-scene::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,8,13,.18), rgba(5,7,11,.22)), linear-gradient(90deg, rgba(7,13,21,.5), transparent 48%, rgba(8,10,14,.08)); }
.practice-section::before { display: none; }
.practice-scene > .studio-metal-canvas { opacity: .9; }
#practice-field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; }
.is-field-ready #practice-field-canvas { opacity: 1; }
.practice-field-static { position: absolute; right: -2%; top: 0; width: 59%; height: 100%; opacity: .8; pointer-events: none; }
.is-field-ready .practice-field-static { display: none; }
.practice-scene > .practice-shell { position: relative; z-index: 2; width: 100%; max-width: 1200px; min-height: var(--practice-reference-height, 600px); display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 80px 32px; }
.practice-heading, .practice-content { width: 48%; max-width: 500px; }
.practice-heading .studio-kicker { margin-bottom: 14px; }
.practice-heading h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.28; font-weight: 500; letter-spacing: -.035em; }
.practice-heading > p:last-child { margin-top: 20px; color: var(--studio-muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; }
.practice-content { display: block; }
.practice-tabs { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px 28px; margin-bottom: 24px; }
.practice-tabs button { position: relative; min-height: 44px; padding: 8px 4px 8px 28px; text-align: left; color: var(--studio-muted); background: transparent; font-size: 17px; }
.practice-tabs button::before { content: ""; position: absolute; left: 0; top: calc(50% - 5px); width: 11px; height: 11px; border-radius: 50%; background: #526070; box-shadow: 0 0 0 5px #09101a; }
.practice-tabs button[aria-current="step"] { color: var(--studio-ink); font-weight: 600; }
.practice-tabs button[aria-current="step"]::before { background: var(--studio-blue); }
.practice-tabs button:active { color: var(--studio-blue); }
.practice-panel { margin-block: 0 40px; max-width: 32em; background: none; border: 0; box-shadow: none; scroll-margin-top: 100px; }
.practice-panel:last-child { margin-bottom: 0; }
.is-stage-switcher .practice-panels { display: grid; }
.is-stage-switcher .practice-panel { grid-area: 1 / 1; margin: 0; align-self: start; }
.practice-stage { font-size: 14px; letter-spacing: .04em; margin-bottom: 12px; color: var(--studio-silver); }
.is-stage-switcher .practice-stage { display: none; }
.practice-panel h3 { font-size: clamp(21px, 1.9vw, 29px); line-height: 1.5; font-weight: 500; letter-spacing: -.025em; margin-bottom: 16px; }
.practice-panel > p:not(.practice-stage) { color: var(--studio-muted); font-size: 17px; line-height: 1.9; }
.practice-note { display: block; color: var(--studio-silver); font-size: 13px; margin-top: 24px; }
.practice-content:has(.practice-tabs[hidden]) { display: block; }
.practice-motion-toggle { position: absolute; z-index: 3; right: var(--studio-space); bottom: 40px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--studio-line); border-radius: 999px; background: rgba(9,16,26,.45); color: var(--studio-muted); font-size: 14px; backdrop-filter: blur(8px); }
.practice-motion-toggle:hover { color: var(--studio-ink); border-color: var(--studio-silver); }
.practice-motion-toggle:active { background: var(--studio-deep-blue); }
.practice-motion-toggle[hidden] { display: none; }
.practice-tabs button:focus-visible, .practice-motion-toggle:focus-visible, .practice-panel:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 5px; }
@media (max-width: 900px) {
  .practice-heading, .practice-content { width: 100%; max-width: none; }
  .practice-heading h2 { font-size: clamp(28px, 5vw, 38px); }
  .practice-scene > .practice-shell { gap: 32px; padding: 60px 24px 380px; }
  .practice-content { display: block; }
  .practice-tabs { flex-direction: row; gap: 20px; margin-bottom: 32px; }
  .practice-tabs::before { display: none; }
  .practice-tabs button { padding-left: 22px; }
  .practice-panel { max-width: 36em; }
  #practice-field-canvas, .practice-field-static { inset: auto 0 0; width: 100%; height: 350px; }
  .practice-motion-toggle { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .practice-scene, .practice-scene > .practice-shell { min-height: 0; }
}
@media (max-width: 900px) {
  .folio-heading, .about-opening { gap: 36px; }
  .experience-entry { grid-template-columns: 100px 1fr; gap: 16px 24px; }
  .experience-description { grid-column: 2; }
  .studio-section-heading { display: block; }
  .studio-section-heading p { margin-top: 14px; }
}
@media (max-width: 760px) {
}
@media (max-width: 640px) {
  .folio-heading, .about-opening, .about-profile, .practice-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .folio-heading { margin-bottom: 32px; }
  #portfolio-grid.folio-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .folio-toolbar { flex-wrap: wrap; gap: 12px; }
  .folio-filter { padding: 10px 13px; font-size: 13px; }
  .folio-open { opacity: 1; transform: none; }
  .folio-caption h2 { font-size: 24px; }
  .about-opening { padding-bottom: 40px; }
  .about-statement { margin-top: 20px; }
  .about-profile { margin-block: 40px 64px; }
  .about-object { max-width: 440px; width: 100%; margin-inline: auto; }
  .about-capabilities { margin-bottom: 64px; }
  .capability-columns { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .experience-entry { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .experience-description { grid-column: auto; }
  .studio-closing { flex-direction: column; align-items: flex-start; margin-top: 64px; padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-shell *, .studio-shell *::before, .studio-shell *::after { animation: none !important; transition: none !important; }
}


        html { scroll-behavior: smooth; }
        body { background-color: #131313; color: #e5e2e1; font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-optical-sizing: auto; overflow-x: hidden; cursor: auto; }
        .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
        
        .project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
        .project-overlay { transform: translateY(20px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
        .project-card .img-container img { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
        .project-card:hover .img-container img { transform: scale(1.04); }
        .project-card .hover-text { opacity: 0; transform: translateY(10px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        .project-card:hover .hover-text { opacity: 1; transform: translateY(0); }
        .project-card .meta-text { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        .project-card:hover .meta-text { transform: translateY(-4px); }

        .reveal-up { opacity: 0; transform: translateY(18px); transition: opacity 0.52s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.52s cubic-bezier(0.2, 0.8, 0.2, 1); }
        .reveal-up.active { opacity: 1; transform: translateY(0); }
        
        /* Blur reveal for typography */
        .reveal-blur { opacity: 0; filter: blur(20px); transform: translateY(20px); transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease; }
        .reveal-blur.active { opacity: 1; filter: blur(0); transform: translateY(0); }

        #custom-cursor { width: 20px; height: 20px; background: white; border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; mix-blend-mode: difference; transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, filter 0.3s ease; transform: translate(-50%, -50%); }
        .cursor-hover #custom-cursor { opacity: 0.5; }
        .cursor-tactile #custom-cursor { width: 40px; height: 40px; border: 1px solid white; background: transparent; mix-blend-mode: normal; filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
        
        .liquid-metal-text {
            background: linear-gradient(to right, #ffffff 20%, #a0a0a0 30%, #ffffff 45%, #505050 55%, #ffffff 65%, #d0d0d0 80%, #ffffff 100%);
            background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text;
            animation: shine 8s linear infinite; filter: url(#liquid-distort); display: inline-block;
        }
        @keyframes shine { to { background-position: 200% center; } }

/* Process revision: source footage is unchanged; the reading column owns its hierarchy. */
.practice-film-section .practice-scene { min-height: var(--practice-reference-height,720px); display: grid; grid-template-columns: minmax(0,40fr) minmax(0,60fr); position: relative; background: #090b10; }
.practice-film-surface { position: absolute; inset: 0; overflow: clip; z-index: 0; }
.practice-film-poster, .practice-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.practice-video { opacity: 0; }
.practice-film-section[data-playback="full"] .practice-film-surface::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(5,12,19,.12); pointer-events: none; }
@supports (mix-blend-mode:plus-lighter) {
  .practice-film-surface { isolation: isolate; background: #000; }
  .practice-video, .practice-film-poster { mix-blend-mode: plus-lighter; }
}
.practice-film-section .practice-scene::after { z-index: 1; background: linear-gradient(90deg,rgba(5,12,19,.85) 0%,rgba(5,12,19,.85) 40%,rgba(5,12,19,0) 65%); }
.practice-film-section .practice-scene > .practice-shell { position: relative; z-index: 2; grid-column: 1; width: 100%; max-width: none; min-height: var(--practice-reference-height,720px); margin: 0; padding: 64px 24px 64px var(--studio-space); display: flex; flex-direction: column; justify-content: center; gap: 28px; pointer-events: none; }
.practice-film-section .practice-heading, .practice-film-section .practice-content { width: 100%; max-width: 34em; pointer-events: auto; }
.practice-film-section .practice-heading .studio-kicker { font-size: .875rem; margin: 0 0 12px; letter-spacing: .025em; }
.practice-film-section .practice-heading h2 { font-size: clamp(2rem,4vw,3.5rem); line-height: 1.22; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.practice-film-section .practice-content { display: block; }
.practice-film-section .practice-tabs { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 0 0 24px; }
.practice-film-section .practice-tabs button { flex: 1; min-width: 44px; min-height: 54px; padding: 8px 8px 18px; font-size: 1.125rem; line-height: 1.4; font-weight: 600; text-align: center; color: var(--studio-muted); background: transparent; border: 0; }
.practice-film-section .practice-tabs::before, .practice-film-section .practice-tabs::after { content: ""; display: block; position: absolute; left: 16.666%; right: 16.666%; bottom: 3px; height: 1px; background: var(--studio-line); pointer-events: none; }
.practice-film-section .practice-tabs::after { background: var(--studio-silver); transform: scaleX(var(--life-progress,0)); transform-origin: left; transition: transform 600ms cubic-bezier(.22,.7,.3,1); }
.practice-film-section .practice-tabs button::before { content: ""; display: block; z-index: 1; position: absolute; left: calc(50% - 3px); top: auto; bottom: 0; width: 7px; height: 7px; border-radius: 60% 40% 60% 40%; background: var(--studio-line); box-shadow: 0 0 0 4px #090e16; transition: background 250ms, box-shadow 250ms; }
.practice-film-section .practice-tabs button[data-grown="true"]::before { background: var(--studio-silver); }
.practice-film-section .practice-tabs button[aria-selected="true"] { color: var(--studio-ink); }
.practice-film-section .practice-tabs button[aria-selected="true"]::before { background: var(--studio-blue); box-shadow: 0 0 0 4px #090e16,0 0 12px rgba(111,168,255,.35); }
.practice-film-section .practice-tabs button:active { background: var(--studio-glass); }
.practice-tab-slot { min-height: 78px; }
.practice-controls-slot { min-height: 48px; }
.practice-description { max-width: 34em; }
.practice-intro { color: var(--studio-muted); font-size: .875rem; line-height: 1.7; margin: 0 0 20px; }
.practice-film-section.is-stage-switcher .practice-panels { min-block-size: var(--practice-panel-height,0px); display: grid; }
.practice-film-section .practice-panel:not(:first-child) { visibility: hidden; }
.practice-film-section .practice-panel h3 { font-size: clamp(1.25rem,1.8vw,1.5rem); line-height: 1.45; font-weight: 600; margin-bottom: 14px; }
.practice-film-section .practice-panel > p:not(.practice-stage) { font-size: 1rem; line-height: 1.7; color: var(--studio-muted); }
.practice-film-section .practice-note { display: flex; flex-wrap: wrap; gap: 4px 1em; font-size: .875rem; line-height: 1.7; margin-top: 20px; color: var(--studio-silver); }
.practice-note > span { white-space: nowrap; }
.practice-seed-index { margin-top: 8px; font-size: .8125rem; line-height: 1.7; color: var(--studio-silver); }
.practice-seed-index summary { min-height: 44px; align-content: center; cursor: pointer; width: fit-content; }
.practice-seed-index summary:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 3px; }
.practice-seed-index p { margin: 0; max-width: 30em; }
.practice-video-controls { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 34em; pointer-events: auto; }
.practice-video-controls button, .practice-film-section .practice-motion-toggle { position: static; min-height: 48px; padding: 10px 14px; border: 1px solid var(--studio-line); border-radius: 999px; background: rgba(9,16,26,.65); color: var(--studio-ink); font-size: .875rem; line-height: 1.5; backdrop-filter: blur(12px); cursor: pointer; }
.practice-video-controls button:hover { border-color: var(--studio-silver); }
.practice-video-controls button:active { background: var(--studio-deep-blue); }
.practice-video-controls button:disabled { opacity: .5; cursor: not-allowed; }
#practice-next { min-width: 8em; }
.practice-video-controls button:focus-visible, .practice-tabs button:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 4px; }
.practice-film-status { position: absolute; z-index: 3; bottom: 20px; left: var(--studio-space); width: min(34em,calc(100% - 2 * var(--studio-space))); margin: 0; font-size: .875rem; line-height: 1.7; }
.film-pointer-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--film-glow,0); background: radial-gradient(ellipse 140px 75px at var(--film-pointer-x,60%) var(--film-pointer-y,45%),rgba(111,168,255,.2),rgba(191,204,230,.04) 42%,transparent 75%); mix-blend-mode: screen; }
.film-pointer-wake { position: absolute; z-index: 1; width: 160px; height: 70px; pointer-events: none; border-radius: 50%; background: radial-gradient(ellipse,rgba(191,204,230,.2),rgba(111,168,255,.09) 35%,transparent 70%); }
.practice-air { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: clip; }
.practice-air i { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; background: var(--studio-silver); box-shadow: 0 0 4px rgba(111,168,255,.25); opacity: 0; }
.practice-seeds { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.practice-seed { position: absolute; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(191,204,230,.3); border-radius: 50%; background: transparent; transform: translate(-50%,-50%); color: var(--studio-ink); cursor: help; pointer-events: auto; }
.practice-seed[hidden] { display: none; }
.practice-seed > span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 6px 10px; white-space: nowrap; font-size: .8125rem; line-height: 1.6; background: rgba(6,14,23,.94); border: 1px solid var(--studio-line); border-radius: 6px; opacity: 0; pointer-events: none; }
.practice-seed:hover > span, .practice-seed:focus > span, .practice-seed[aria-expanded="true"] > span { opacity: 1; }
.practice-seed[data-dismissed="true"] > span { opacity: 0; }
.practice-seed:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 3px; }
.practice-seed:active { background: var(--studio-glass); }
@media (hover:hover) and (pointer:fine) {
  .hero-film, .practice-video { transform: translate(var(--film-shift-x,0px),var(--film-shift-y,0px)) scale(1.015); }
}
@media (max-width:1023px) {
  .practice-film-section .practice-scene { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr); }
  .practice-film-section .practice-scene::after { display: none; }
  .practice-film-surface { position: relative; grid-row: 1; aspect-ratio: 16/9; }
  .practice-film-surface::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(180deg,transparent,#090b10); pointer-events: none; z-index: 1; }
  .practice-film-section .practice-scene > .practice-shell { grid-row: 2; grid-column: 1; min-height: 0; padding: 36px var(--studio-space) 48px; gap: 28px; }
  .practice-film-section .practice-heading, .practice-film-section .practice-content { max-width: 34em; }
  .practice-film-section .practice-heading h2 { font-size: clamp(2rem,5vw,3rem); }
  .practice-film-section .practice-tabs { flex-direction: row; gap: 8px; margin-bottom: 24px; }
  .practice-video { transform: none; }
  .practice-film-status { position: relative; grid-row: 3; left: auto; bottom: auto; margin: 0 var(--studio-space) 20px; }
}
@media (max-width:767px) {
  .practice-film-poster, .practice-video { object-position: 70% center; }
  .practice-video-controls { gap: 8px; }
  .practice-video-controls button, .practice-film-section .practice-motion-toggle { min-height: 44px; padding-inline: 12px; }
}
@media (max-width:479px) {
  .practice-video-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .practice-video-controls .practice-motion-toggle { grid-column: 1 / -1; justify-self: start; }
  .practice-video-controls button { white-space: nowrap; }
}
@media (prefers-reduced-motion:reduce) {
  .film-pointer-light, .film-pointer-wake { display: none; }
  .hero-film, .practice-video { transform: none !important; }
  .practice-film-section .practice-video { opacity: 0 !important; }
  .practice-film-section .practice-film-poster { opacity: 1 !important; }
  .practice-air, .practice-seeds { display: none; }
  .practice-film-section .practice-tabs::after, .practice-film-section .practice-tabs button::before { transition: none; }
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .practice-video-controls button { background: var(--studio-base); backdrop-filter: none; border-color: var(--studio-silver); }
}

/* Home film: the image is the stage; independent HTML owns reading and actions. */
.kmare-hero { position: relative; isolation: isolate; min-height: 100svh; width: 100%; overflow: clip; background: #080d15; color: var(--studio-silver); font-family: Geist, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.hero-film { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; pointer-events: none; }
.kmare-hero.is-video-ready:not([data-hero-state="reduced"]) .hero-film { opacity: 1; }
.kmare-hero.is-video-ready:not([data-hero-state="reduced"]) .hero-fallback { opacity: 0; }
.hero-layout { position: relative; display: grid; padding-top: var(--hero-nav-height,72px); pointer-events: none; }
.hero-intro { grid-area: 1 / 1; position: relative; z-index: 2; display: flex; justify-content: flex-end; align-self: end; padding-block: 0 clamp(32px,6svh,72px); }
.hero-title { margin-block: 0 14px; font-size: clamp(26px,2.3vw,34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.35; color: var(--studio-ink); text-wrap: balance; }
.hero-title-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-edition { font-size: 11px; letter-spacing: .08em; line-height: 1.6; color: var(--studio-muted); }
.hero-profession { font-size: clamp(40px,4.6vw,68px); font-weight: 500; line-height: 1.14; letter-spacing: -.04em; margin: 0; color: var(--studio-ink); }
.hero-profession-divider { display: none; }
.hero-story { position: relative; width: clamp(340px,35vw,460px); max-width: 100%; padding: clamp(20px,1.7vw,22px); border-radius: 20px; background: linear-gradient(145deg,rgba(12,23,39,.22),rgba(4,10,19,.48)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(191,204,230,.08),0 8px 32px rgba(0,0,0,.1); }
.hero-story::before { content: ''; position: absolute; z-index: -1; inset: -20px; background: radial-gradient(ellipse,rgba(3,9,18,.24),transparent 72%); pointer-events: none; }
.hero-identity, .hero-story { pointer-events: auto; }
.hero-description { font-size: clamp(16px,1.25vw,19px); line-height: 1.85; font-weight: 500; margin: 0 0 20px; color: var(--studio-ink); text-wrap: pretty; text-shadow: 0 1px 8px #030915; }
.hero-intro a { pointer-events: auto; min-height: 48px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .studio-button { min-width: 144px; min-height: 54px; justify-content: center; background: linear-gradient(135deg,#e3edff,var(--studio-silver)); color: var(--studio-base); box-shadow: inset 0 1px 2px #fff9,0 4px 24px #07132666; border: 1px solid #dfebff80; border-radius: 999px; font-weight: 600; transition: transform .18s,background .18s; }
.hero-actions .studio-button:active { transform: scale(.97); }
.hero-stage { grid-area: 1 / 1; position: relative; min-width: 0; height: max(600px,calc(100svh - var(--hero-nav-height,72px))); overflow: clip; pointer-events: auto; touch-action: pan-y; }
.hero-stage-label { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.hero-fallback { position: absolute; inset: 0; }
.hero-jellyfish { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.hero-footer { position: absolute; top: clamp(76px,11svh,112px); right: var(--studio-space); left: auto; width: auto; max-width: calc(100% - 2 * var(--studio-space)); display: flex; align-items: start; z-index: 3; pointer-events: none; }
.hero-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; pointer-events: auto; }
.hero-tool { min-height: 46px; padding: 10px 16px; border: 1px solid rgba(191,204,230,.4); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(140deg,rgba(191,204,230,.09),rgba(3,10,24,.45)); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); box-shadow: inset 0 1px 1px #e8f2ff29,0 5px 20px #02081740; color: var(--studio-ink); font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background .18s,transform .18s; }
#hero-motion-toggle { background: linear-gradient(135deg,rgba(191,204,230,.28),rgba(23,42,67,.7)); box-shadow: inset 0 1px 2px #deecff55,0 5px 20px #02081740; }
.hero-tool:hover { background-color: #648dd944; }
.hero-tool:active { transform: scale(.97); background-color: #719beb66; }
.hero-tool:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.hero-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bubble-spawn { position: absolute; aspect-ratio: 1; border: 1px solid #97ccff80; border-radius: 50%; background: radial-gradient(circle at 28% 20%,#edfaffaa,transparent 12%),radial-gradient(circle,transparent 56%,#387fff66 68%,#e8f8ff99 72%,transparent 79%); pointer-events: none; }
.hero-audio { position: relative; }
.hero-tools:has(> button[hidden]):not(:has(> button:not([hidden]))) { display: none; }
.hero-audio[hidden], .hero-tool[hidden], .hero-sound-panel[hidden] { display: none; }
.hero-sound-panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 48px)); padding: 18px; border: 1px solid var(--studio-glass-edge); border-radius: 20px; background: rgba(12,20,32,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 16px 48px rgba(0,0,0,.3); color: var(--studio-ink); }
.hero-sound-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hero-sound-heading h2 { font-size: 16px; font-weight: 500; }
.hero-sound-note { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--studio-muted); }
.hero-sound-heading button { min-width: 44px; min-height: 44px; font-size: 24px; }
.hero-sound-panel .hero-tool { border: 1px solid var(--studio-line); width: 100%; justify-content: center; }
.hero-sound-panel label { display: grid; gap: 4px; margin-top: 14px; font-size: 14px; }
.hero-sound-panel input { width: 100%; min-height: 44px; accent-color: var(--studio-blue); }
#hero-audio-status { display: block; margin-top: 8px; font-size: 12px; line-height: 1.8; }
.hero-tool:focus-visible, .hero-sound-panel button:focus-visible, .hero-sound-panel input:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 3px; }
.hero-motion-icon { font-size: 15px; min-width: 14px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--studio-silver); font-size: 14px; text-decoration: none; }
.hero-scroll-line { width: 1px; height: 24px; background: linear-gradient(var(--studio-blue), transparent); }
.hero-scroll:focus-visible { outline: 2px solid var(--studio-silver); outline-offset: 5px; }
.hero-film-status { position: absolute; left: 50%; top: calc(var(--hero-nav-height,72px) + 55px); transform: translateX(-50%); z-index: 4; font-size: 12px; color: var(--studio-muted); pointer-events: none; }
.hero-film-status[hidden] { display: none; }
@media (max-width: 900px) {
  .kmare-hero { min-height: 0; }
  /* A wider picture preserves the school; tools occupy their own safe strip. */
  .hero-stage { height: auto; display: grid; grid-template-columns: minmax(0,1fr); }
  .hero-film { position: relative; grid-area: 1 / 1; height: auto; aspect-ratio: 4 / 3; }
  .hero-fallback, .hero-bubbles { position: relative; grid-area: 1 / 1; height: 100%; min-height: 0; }
  .hero-intro { grid-area: 2 / 1; display: block; padding-block: 28px 40px; align-self: auto; }
  .hero-story { width: 100%; max-width: 40em; padding: 0; margin-inline: auto; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .hero-story::before { display: none; }
  .hero-footer { position: relative; grid-area: 2 / 1; justify-self: end; top: auto; bottom: auto; right: auto; left: auto; max-width: none; margin: 16px var(--studio-space); }
  .hero-description { font-size: 16px; }
  .hero-film, .hero-jellyfish { object-position: 23% center; }
  .hero-sound-panel { top: auto; bottom: calc(100% + 12px); }
}
@media (max-width: 600px) {
  .hero-film { aspect-ratio: 8 / 5; }
  .hero-stage-label { top: 18px; }
  .hero-edition { font-size: 11px; }
  .hero-footer { justify-self: stretch; margin: 14px var(--studio-space); }
  .hero-tools { width: 100%; justify-content: flex-start; gap: 6px; }
  .hero-intro { padding-block: 24px 36px; }
  .hero-story { max-width: 100%; }
  .hero-description { font-size: 15px; margin-bottom: 20px; }
  .hero-film, .hero-jellyfish { object-position: 32% center; }
  .hero-tool { padding-inline: 12px; font-size: 12px; min-height: 44px; }
  .hero-actions { gap: 14px; }
  .hero-actions .studio-button { min-width: 132px; min-height: 50px; }
  .hero-scroll { font-size: 13px; gap: 12px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .hero-story, .hero-tool, #hero-motion-toggle, .hero-sound-panel { background: var(--studio-base); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--studio-silver); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-film { opacity: 0 !important; }
  .hero-fallback { opacity: 1 !important; }
  .hero-tool, .hero-actions .studio-button { transition: none; }
}

        .bg-grid-pattern { background-size: 50px 50px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px); }
        .bg-noise { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); opacity: 0.03; pointer-events: none; }

        .fade-up-staggered { opacity: 0; transform: translateY(30px); }
        .active .fade-up-staggered { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

        .vertical-text { writing-mode: vertical-rl; }

        /* Atmosphere Glows */
        .glow-sphere { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; pointer-events: none; z-index: 0; }

        .project-item { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
        
        /* High Visual Weight CTA */
        .cta-works::after {
            content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: white; 
            transform: scaleX(0); transform-origin: right; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .cta-works:hover::after { transform: scaleX(1); transform-origin: left; }
        .cta-works:hover { letter-spacing: 0.05em; }

        /* Philosophy Installation */
        .installation-container { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
        .typographic-fragment { position: absolute; font-weight: 900; line-height: 0.8; opacity: 0.05; user-select: none; pointer-events: none; }
        .frag-1 { font-size: clamp(120px, 20vw, 300px); top: 10%; left: 5%; writing-mode: vertical-rl; }
        .frag-2 { font-size: clamp(100px, 15vw, 200px); bottom: 10%; right: 5%; }
        
        .handwritten-note { font-family: 'Caveat', cursive; position: absolute; opacity: 0.7; pointer-events: none; transition: transform 0.1s ease-out; }
    


  .stitched-page { display: none; }
  .stitched-page.active { display: block; animation: pageMaterialize 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes pageMaterialize {
    from { opacity: 0; }
    to { opacity: 1; }
  }



            @media (prefers-reduced-motion: no-preference) {
              .pulse { animation: pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
            }
            @keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
            
            #home-field-ring { opacity: 0; }
            #home-balance-svg { touch-action: none; }

            .svg-vars {
                --border: rgba(255, 255, 255, 0.05);
                --border-strong: rgba(255, 255, 255, 0.15);
                --text-primary: #ffffff;
                --text-muted: #c4c7c8;
                --font-voice: 'Caveat', cursive;
            }
            .c-gray { fill: transparent; stroke: #c4c7c8; }
            .c-gray text { fill: #c4c7c8; stroke: none; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 14px; letter-spacing: 0.1em; pointer-events: none; }
            .c-amber { fill: rgba(191, 204, 230, 0.16); stroke: #bfccE6; filter: drop-shadow(0 0 4px rgba(191, 204, 230, 0.35)); }
            .c-amber text { fill: #d3dcef; stroke: none; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 14px; letter-spacing: 0.1em; pointer-events: none; }
        


    :root {
      --zao-ink: #f2f2ee;
      --zao-ink-secondary: #9a9a94;
      --zao-ink-muted: #6f6f68;
      --zao-line: rgba(255,255,255,0.10);
      --zao-amber: #bfcce6;
    }
    .zao-cta {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 80px 32px;
      font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    }
    .zao-cta__bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
    }
    .zao-cta__content {
      position: relative;
      z-index: 10;
      max-width: 500px;
    }
    .zao-cta__status {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 32px;
    }
    .zao-cta__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--zao-amber);
      display: inline-block;
      box-shadow: 0 0 12px var(--zao-amber);
    }
    @media (prefers-reduced-motion: no-preference) {
      .zao-cta__dot { animation: zaoPulse 2.2s ease-in-out infinite; }
    }
    @keyframes zaoPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.4); }
    }
    .zao-cta__status span:last-child {
      font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
      font-size: 12px;
      letter-spacing: 0.2em;
      color: var(--zao-ink-muted);
      text-transform: uppercase;
      font-weight: 600;
    }
    .zao-cta__headline {
      margin: 0 0 24px;
      font-size: clamp(40px, 6vw, 72px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--zao-ink);
    }
    .zao-cta__desc {
      margin: 0 0 48px;
      font-size: 18px;
      line-height: 1.6;
      color: var(--zao-ink-secondary);
      max-width: 400px;
    }
    .zao-cta__link text.glyph {
      fill: var(--zao-ink);
      opacity: 0.15;
      transition: fill 0.4s ease, opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      transform-box: fill-box;
      transform-origin: center;
      cursor: pointer;
    }
    .zao-cta__link:hover text.glyph {
      fill: var(--zao-amber);
      opacity: 0.4;
      transform: scale(1.05);
    }
    .zao-cta__link .ul {
      stroke-dasharray: 300;
      stroke-dashoffset: 300;
      opacity: 0;
      transition: stroke-dashoffset 0.6s ease, opacity 0.4s ease;
    }
    .zao-cta__link:hover .ul { stroke-dashoffset: 0; opacity: 0.6; }
    @media (max-width: 768px) {
      .zao-cta { padding: 60px 24px; }
      .zao-cta__content { max-width: 100%; text-align: center; }
      .zao-cta__status { justify-content: center; }
      .zao-cta__desc { margin-left: auto; margin-right: auto; }
    }
  


  .about-tilt { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); transform-style: preserve-3d; will-change: transform; }
  @keyframes skillFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .skill-float-inner { animation: skillFloat 4.5s ease-in-out infinite; }
  .skill-magnet { display: inline-block; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
  .skill-pill { display: inline-flex; align-items: center; gap: 8px; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
  .exp-track { scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
  .exp-track::-webkit-scrollbar { display: none; }
  .exp-track.dragging { cursor: grabbing; scroll-snap-type: none; }
  .exp-card { scroll-snap-align: start; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, background-color 0.4s ease; }
  .exp-card:hover { border-color: rgba(255,255,255,0.25); background-color: rgba(255,255,255,0.03); }
  #avatar-parallax { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
  .exp-ghost-num { position: absolute; bottom: -14px; right: 8px; font-size: 150px; font-weight: 900; line-height: 1; color: #fff; opacity: 0.05; pointer-events: none; user-select: none; letter-spacing: -0.04em; z-index: 0; }
  .exp-rail { position: relative; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
  .exp-rail__pulse { position: absolute; top: 0; left: 0; width: 26%; height: 100%; background: linear-gradient(to right, rgba(111,168,255,0), #6fa8ff, #bfcce6, rgba(191,204,230,0)); filter: blur(0.5px); animation: railPulse 3.2s ease-in-out infinite; }
  @keyframes railPulse { 0% { transform: translateX(-100%); } 100% { transform: translateX(480%); } }
  .exp-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: background-color 0.3s ease, transform 0.3s ease, width 0.3s ease; cursor: pointer; }
  .exp-dot.active { background: linear-gradient(135deg, #6fa8ff, #bfcce6); width: 22px; border-radius: 4px; }
  #skills-constellation-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .skill-magnet { position: relative; z-index: 1; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
  .skill-card { position: relative; height: 100%; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; background: rgba(255,255,255,0.015); transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1); }
  .skill-card:hover { border-color: rgba(111,168,255,0.35); background-color: rgba(255,255,255,0.03); transform: translateY(-4px); }
  .skill-card.is-core { border-color: rgba(111,168,255,0.25); }
  .skill-icon-badge { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(111,168,255,0.1); margin-bottom: 18px; }
  .skill-icon-badge .material-symbols-outlined { font-size: 20px; color: #bfcce6; }
  .skill-bar-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 16px; }
  .skill-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(to right, #6fa8ff, #bfcce6); width: 0%; transition: width 1.4s cubic-bezier(0.16,1,0.3,1); }
  .skill-card.in-view .skill-bar-fill { width: var(--fill, 60%); }
  .next-orbit-ring { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: clamp(280px, 34vw, 520px); height: clamp(280px, 34vw, 520px); pointer-events: none; z-index: 0; opacity: 0.5; animation: nextRingSpin 60s linear infinite; }
  @keyframes nextRingSpin { to { transform: translateY(-50%) rotate(360deg); } }
  .next-magnet-btn { display: inline-flex; transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
  .next-contact-rail { position: relative; }
  #next-rail-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .next-chip { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1); background: rgba(255,255,255,0.02); }
  .next-chip:hover { border-color: rgba(111,168,255,0.5); background-color: rgba(111,168,255,0.08); transform: translateY(-4px); }
  .next-chip .material-symbols-outlined { font-size: 20px; color: #bfcce6; }
  .next-chip-label { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(229,226,225,0.4); opacity: 0; transition: opacity 0.25s ease; white-space: nowrap; }
  .next-chip:hover .next-chip-label { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .next-orbit-ring { animation: none; } }
  @media (prefers-reduced-motion: reduce) { .exp-rail__pulse { animation: none; } }
  @keyframes avatarBreathe { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.12); opacity: 1; } }
  @keyframes avatarSpin { to { transform: rotate(360deg); } }
  @keyframes avatarSpinSlow { to { transform: rotate(-360deg); } }
  @keyframes avatarOrbit1 { to { transform: rotate(360deg); } }
  @keyframes avatarOrbit2 { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) {
    .skill-float-inner { animation: none; }
    .about-tilt { transition: none; }
    #avatar-glow, #avatar-ring, #avatar-hud-ring, #avatar-orbit-1, #avatar-orbit-2 { animation: none !important; }
  }



  .work-block { transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease; background: #0e0e0e; }
  .work-block:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
  .work-block .hover-text { opacity: 0; transform: translateY(8px); }
  .work-block:hover .hover-text { opacity: 1; transform: translateY(0); }
  .work-block .work-cover-img,
  .work-block .work-cover-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .work-card-content { display: flex; min-height: 18.5rem; flex-direction: column; justify-content: flex-end; }
  .work-card-description {
    min-height: 5.25rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .work-card-footer { margin-top: auto; align-items: flex-end; }
  .work-card-tags { min-height: 1.8rem; }
  .buffs-visual { background: #08110f; }

  @media (max-width: 639px) {
    .work-card-content { min-height: 17rem; }
    .work-card-description { min-height: 0; }
  }



            @media (prefers-reduced-motion: no-preference) {
              .pulse { animation: pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
            }
            @keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
            
            #field-ring { opacity: 0; }
            #balance-svg { touch-action: none; }

            .svg-vars {
                --border: rgba(255, 255, 255, 0.05);
                --border-strong: rgba(255, 255, 255, 0.15);
                --text-primary: #ffffff;
                --text-muted: #c4c7c8;
                --font-voice: 'Caveat', cursive;
            }
            .c-gray { fill: transparent; stroke: #c4c7c8; }
            .c-gray text { fill: #c4c7c8; stroke: none; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 14px; letter-spacing: 0.1em; pointer-events: none; }
            .c-amber { fill: rgba(191, 204, 230, 0.16); stroke: #bfccE6; filter: drop-shadow(0 0 4px rgba(191, 204, 230, 0.35)); }
            .c-amber text { fill: #d3dcef; stroke: none; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 14px; letter-spacing: 0.1em; pointer-events: none; }
        


  .bento-block { position: relative; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; background: rgba(255,255,255,0.015); overflow: hidden; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, background-color 0.4s ease; transform-style: preserve-3d; }
  .bento-block:hover { border-color: rgba(255,255,255,0.22); background-color: rgba(255,255,255,0.03); }
  .bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; grid-auto-rows: minmax(120px, auto); }
  @media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } }
  .field-line { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.22); color: #e5e2e1; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 16px; line-height: 1.65; padding: 12px 2px; width: 100%; transition: border-color 0.3s ease, box-shadow .3s ease; }
  .field-line:focus { outline: none; border-color: #bfcce6; box-shadow: 0 1px 0 rgba(191,204,230,.3); }
  .field-line::placeholder { color: rgba(229,226,225,0.3); }
  .btn-send { position: relative; overflow: hidden; }
  .cal-cell { min-width: 0; min-height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 13px; transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; cursor: default; }
  .cal-cell.selectable { cursor: pointer; color: #e5e2e1; }
  .cal-cell.selectable:hover { background: rgba(191,204,230,0.15); transform: scale(1.08); }
  .cal-cell.selected { background: linear-gradient(135deg, #6fa8ff, #bfcce6); color: #131313; font-weight: 700; transform: scale(1.05); }
  .cal-cell.disabled { color: rgba(229,226,225,0.26); }
  #cal-prev:disabled { opacity: .35; cursor: not-allowed; }
  .cal-cell:focus-visible, .time-pill:focus-visible { outline: 2px solid var(--studio-silver, #bfcce6); outline-offset: 2px; }
  .time-pill { min-height: 44px; font-family: 'Geist', "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
  .time-pill.selected { background: linear-gradient(135deg, #6fa8ff, #bfcce6); color: #131313 !important; border-color: transparent !important; }
  .copy-toast { max-width: 34ch; transition: opacity 0.3s ease, transform 0.3s ease; }
  .copy-toast[data-state="error"] { color: #f1c7c7; }
  #globe-canvas { cursor: grab; touch-action: none; }
  #globe-canvas.grabbing { cursor: grabbing; }
  @media (prefers-reduced-motion: reduce) { .bento-block { transition: none; } }

  .project-evidence-note {
    max-width: 68ch;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(229,226,225,.72);
    font-size: 14px;
    line-height: 1.7;
  }

  .philosophy-copy { isolation: isolate; width: min(40rem, calc(100% - 6rem)); pointer-events: auto; }
  .philosophy-copy::before { content: ""; position: absolute; inset: -24px -80px -24px -24px; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9,11,16,.96) 0%, rgba(9,11,16,.84) 68%, rgba(9,11,16,0) 100%); }
  .philosophy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
  .philosophy-actions .studio-text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--studio-ink, #e5e2e1); text-underline-offset: 6px; }
  @media (max-width: 767px) {
    #philosophy-section { min-height: 780px; align-items: flex-start; }
    .philosophy-copy { top: 7.5rem !important; left: 24px !important; width: calc(100% - 48px); }
    .philosophy-copy::before { inset: -20px -24px -20px -24px; background: linear-gradient(180deg, rgba(9,11,16,.96) 0%, rgba(9,11,16,.78) 78%, rgba(9,11,16,0) 100%); }
    .philosophy-copy p { max-width: 34rem; }
    #philosophy-section > .relative.z-10 { margin-top: 330px !important; padding-inline: 0 !important; }
    #balance-svg { transform: scale(1.02); }
    #cal-grid { gap: 2px; }
    .cal-cell { min-height: 42px; }
  }



  .gallery-item { transition: border-color 0.35s ease; }
  .gallery-item:hover { border-color: rgba(255,255,255,0.25); }
  .gallery-item[data-full^="data:image/svg+xml;base64"] { display: none !important; }
  .gallery-item:focus-visible,
  .project-cover-video:focus-visible {
    outline: 2px solid rgba(191, 204, 230, 0.9);
    outline-offset: 3px;
  }
  .gallery-index {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .gallery-item:hover .gallery-index,
  .gallery-item:focus-visible .gallery-index { opacity: 1; }
  .project-cover-frame { background: #090a0b; }
  .project-cover-video { display: block; background: #090a0b; }
  .project-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 30%) 1fr;
    column-gap: 2.5rem;
    row-gap: 0.5rem;
    padding: 1.5rem 1rem;
    margin-inline: -1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
  }
  .project-feature-row:last-child { border-bottom: 0; }
  .project-feature-row:hover { background: rgba(255, 255, 255, 0.015); }
  .project-feature-title {
    color: #e5e2e1;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
  }
  .project-feature-row p {
    margin: 0;
    color: rgba(196, 199, 200, 0.7);
    font-size: 0.9375rem;
    line-height: 1.95;
  }
  @media (max-width: 767px) {
    .project-feature-row { grid-template-columns: 1fr; padding-block: 1.25rem; }
  }
  #gallery-lightbox.is-open { opacity: 1; pointer-events: auto; }

  /* Apple-inspired interaction system: direct feedback, quiet materials, restrained motion. */
  :root {
    --kmare-fluid-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --kmare-press-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --kmare-material: rgba(22, 22, 24, 0.62);
    --kmare-material-heavy: rgba(12, 12, 14, 0.84);
    --kmare-hairline: rgba(255, 255, 255, 0.105);
    --kmare-focus: rgba(191, 204, 230, 0.95);
  }

  html { color-scheme: dark; }
  body { line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, .font-headline-xl, .font-headline-lg-mobile {
    font-optical-sizing: auto;
    letter-spacing: -0.025em;
  }
  p { text-wrap: pretty; }

  #site-header {
    background: linear-gradient(180deg, rgba(13, 13, 15, 0.72), rgba(13, 13, 15, 0.44));
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
    border-bottom-color: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025), 0 12px 32px rgba(0, 0, 0, 0.12);
  }
  #mobile-menu {
    background: rgba(13, 13, 15, 0.88) !important;
    -webkit-backdrop-filter: blur(30px) saturate(150%) !important;
    backdrop-filter: blur(30px) saturate(150%) !important;
    transform: scale(1);
    transition: opacity 0.3s var(--kmare-fluid-ease), backdrop-filter 0.3s var(--kmare-fluid-ease);
  }

  :where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--kmare-focus);
    outline-offset: 4px;
  }
  :where(a, button, .interactive) {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  :where(a.interactive, button, .cta-works):active {
    transform: scale(0.975);
    transition-duration: 90ms !important;
    transition-timing-function: ease-out !important;
  }
  .work-block:active { transform: translateY(-2px) scale(0.99); }

  .work-block,
  .bento-block,
  .project-cover-frame,
  .gallery-item,
  .stitched-page a.rounded-2xl {
    border-color: var(--kmare-hairline);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset, 0 14px 38px rgba(0, 0, 0, 0.18);
  }
  .work-block,
  .bento-block,
  .stitched-page a.rounded-2xl {
    background-image: linear-gradient(155deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  }
  .work-block,
  .bento-block,
  .gallery-item,
  .stitched-page a.rounded-2xl {
    transition-property: transform, border-color, background-color, box-shadow;
    transition-duration: 0.38s;
    transition-timing-function: var(--kmare-fluid-ease);
  }
  .work-block:hover,
  .bento-block:hover,
  .stitched-page a.rounded-2xl:hover {
    border-color: rgba(255, 255, 255, 0.23);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.055) inset, 0 22px 52px rgba(0, 0, 0, 0.26);
  }
  .project-cover-frame {
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: #090a0b;
  }
  .project-cover-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .detail-cover-img,
  .project-cover-video { z-index: 0; }

  #gallery-lightbox { transition: opacity 0.28s var(--kmare-fluid-ease), backdrop-filter 0.28s var(--kmare-fluid-ease); }
  .gallery-lightbox-sheet {
    opacity: 0;
    transform: scale(0.975) translateY(10px);
    transition: opacity 0.32s var(--kmare-fluid-ease), transform 0.32s var(--kmare-fluid-ease);
  }
  #gallery-lightbox.is-open .gallery-lightbox-sheet { opacity: 1; transform: scale(1) translateY(0); }

  @media (hover: hover) and (pointer: fine) {
    body.custom-cursor-enabled,
    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button { cursor: none; }
  }

  @media (prefers-reduced-transparency: reduce) {
    #site-header,
    #mobile-menu,
    #gallery-lightbox {
      background: #111214 !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }
  }
  @media (prefers-contrast: more) {
    #site-header { background: #0b0c0e; border-bottom-color: rgba(255, 255, 255, 0.35) !important; }
    .work-block, .bento-block, .project-cover-frame, .gallery-item, .stitched-page a.rounded-2xl { border-color: rgba(255, 255, 255, 0.38); }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      transition-delay: 0ms !important;
    }
    .stitched-page.active,
    .reveal-up,
    .reveal-blur,
    .fade-up-staggered,
    .gallery-lightbox-sheet { transform: none !important; filter: none !important; }
    .liquid-metal-text { animation: none !important; filter: none !important; }
  }

.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.about-actions .studio-button { min-height: 44px; }

/* ===== Home hero pass (20261014): one dominant headline, no card box, readable nav ===== */
#site-nav a { font-size: 14px; letter-spacing: .14em; min-height: 44px; display: inline-flex; align-items: center; padding-bottom: 0; }
#site-nav a[data-site-page] { color: rgba(191, 204, 230, .62); transition: color .24s ease; }
#site-nav a[data-site-page]:hover,
#site-nav a[data-site-page]:focus-visible,
#site-nav a[data-site-page][aria-current="page"] { color: #f3f6fb; }
#mobile-menu a[data-site-page] { color: rgba(191, 204, 230, .7); }
#mobile-menu a[data-site-page][aria-current="page"] { color: #f3f6fb; }
.hero-role { margin: 0 0 14px; font-size: 15px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; color: var(--studio-silver); text-shadow: 0 1px 8px #030915; }
@media (min-width: 901px) {
  .hero-story { width: clamp(400px,41vw,580px); padding: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .hero-story::before { inset: -80px -64px -56px -96px; background: radial-gradient(ellipse at 60% 55%, rgba(3,9,18,.78), rgba(3,9,18,.42) 55%, transparent 78%); }
  .hero-title { margin-block: 0 22px; font-size: clamp(44px,4.8vw,72px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; text-shadow: 0 2px 24px #030915; }
  .hero-description { max-width: 28em; font-size: clamp(16px,1.3vw,19px); margin-bottom: 28px; }
  .hero-intro { padding-bottom: clamp(40px,8svh,96px); }
}
@media (max-width: 900px) {
  .hero-title { font-size: clamp(34px,9vw,48px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 16px; }
  .hero-role { font-size: 14px; }
}

/* Impeccable pass (20261015): role line is a subtitle under the h1, not an eyebrow */
.hero-role { margin: -6px 0 18px; font-size: clamp(16px,1.3vw,19px); font-weight: 500; letter-spacing: 0; color: var(--studio-silver); }
@media (max-width: 900px) { .hero-role { margin: -2px 0 14px; font-size: 15px; } }

/* Impeccable typeset pass (20261015): small roles stay readable, headings sit tighter than body */
.practice-note { font-size: 14px; line-height: 1.7; }
.practice-panel h3 { line-height: 1.4; text-wrap: balance; }
.practice-heading h2 { text-wrap: balance; }

/* Impeccable pass (20261015): section labels read as plain headings; challenges are a list, not a sequence */
h2[class*="tracking-[0.42em]"] { letter-spacing: .04em; font-size: 15px; font-family: inherit; color: var(--studio-muted); }
h2[class*="tracking-[0.42em]"] > span.w-5 { display: none; }
.challenge-dot { flex: none; width: 6px; height: 6px; margin-top: .95em; border-radius: 50%; background: var(--studio-blue); opacity: .7; }
li > .challenge-dot + span { color: var(--studio-muted); }
.practice-intro { font-size: 1rem; }

/* Impeccable typeset (20261015): role line and description no longer share size AND weight */
.hero-role { font-weight: 600; }
.hero-description { font-weight: 400; }
.hero-scroll { font-size: 15px; }

/* Impeccable layout pass (20261015): stage labels start on the text edge; hero copy meets the right margin */
.practice-film-section .practice-tabs button { text-align: left; padding-left: 0; }
.practice-film-section .practice-tabs button::before { left: 0; }
.practice-film-section .practice-tabs::before, .practice-film-section .practice-tabs::after { left: 3px; right: auto; width: calc(66.666% - 3px); }
@media (min-width: 901px) {
  .hero-intro.studio-shell { width: calc(100% - 2 * var(--studio-space)); max-width: none; }
}

/* Home: preserve the Runway film's native 1280 × 720 composition. */
.home-philosophy { position: relative; isolation: isolate; overflow: clip; padding: 0; color: var(--studio-ink); background: #080d15; border-top: 1px solid var(--studio-line); scroll-margin-top: 88px; }
.home-philosophy__inner { position: relative; display: grid; width: 100%; max-width: none; margin-inline: 0; aspect-ratio: 16/9; overflow: hidden; }
.home-philosophy__inner::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,transparent 40%,rgba(5,10,17,.2) 51%,rgba(5,10,17,.84) 68%,#050a11 100%); }
.home-philosophy__content { grid-area: 1/1; z-index: 2; align-self: stretch; justify-self: end; display: flex; width: min(42%,520px); min-width: 0; padding: clamp(44px,4.6vw,64px) clamp(28px,4vw,56px); flex-direction: column; justify-content: center; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(191,204,230,.36) transparent; }
.home-philosophy__copy { min-width: 0; }
.home-philosophy__title { margin: 0 0 20px; font-size: clamp(34px,3.4vw,48px); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.home-philosophy__lead { max-width: 30em; color: var(--studio-muted); font-size: 1rem; line-height: 1.75; }
.home-philosophy__lead p { margin: 0; }
.home-philosophy__lead p + p { margin-top: 10px; }
.home-philosophy__stage { grid-area: 1/1; position: relative; z-index: 0; width: 100%; height: 100%; min-width: 0; }
.home-membrane { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: #06101c; }
.home-membrane__fallback { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: contain; }
.home-membrane__film { display: block; position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.home-membrane__fallback[hidden],.home-membrane__toolbar[hidden] { display: none !important; }
.home-membrane__toolbar { position: absolute; left: clamp(24px,4vw,56px); bottom: clamp(24px,4vw,48px); z-index: 3; display: flex; margin: 0; }
.home-membrane__toggle { flex: none; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(221,232,249,.32); border-radius: 999px; color: var(--studio-ink); background: rgba(5,10,17,.46); font: inherit; font-size: .8125rem; cursor: pointer; }
.home-membrane__toggle:hover { background: rgba(111,168,255,.1); }
.home-membrane__toggle:active { background: rgba(111,168,255,.18); }
.home-membrane__toggle:focus-visible { outline: 2px solid var(--studio-blue); outline-offset: 3px; }
.home-decision-conditions { min-width: 0; margin: 28px 0 0; border-top: 1px solid var(--studio-line); }
.home-decision-conditions > summary { display: flex; min-height: 48px; padding: 14px 0; align-items: center; justify-content: space-between; gap: 20px; color: var(--studio-silver); font-size: .875rem; cursor: pointer; list-style: none; }
.home-decision-conditions > summary::-webkit-details-marker { display: none; }
.home-decision-conditions > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.home-decision-conditions[open] > summary::after { transform: rotate(225deg) translate(-2px,-2px); }
.home-decision-conditions > summary:focus-visible { outline: 2px solid var(--studio-blue); outline-offset: 4px; }
.home-decision-panels { padding: 10px 0 2px; }
.home-decision-panel + .home-decision-panel { margin-top: 16px; }
.home-decision-panel h3 { margin: 0 0 4px; font-size: .8125rem; line-height: 1.5; font-weight: 600; color: var(--studio-silver); }
.home-decision-panel p { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--studio-muted); }
.home-decision-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .home-philosophy { padding: clamp(48px,8vw,64px) 0; }
  .home-philosophy__inner { width: min(100% - 2 * var(--studio-space),1280px); margin-inline: auto; aspect-ratio: auto; grid-template-columns: minmax(0,1fr); row-gap: 28px; overflow: visible; }
  .home-philosophy__inner::after { display: none; }
  .home-philosophy__content { grid-area: 1/1; position: static; width: 100%; padding: 0; overflow: visible; }
  .home-philosophy__copy { max-width: 38em; }
  .home-philosophy__lead { max-width: 34em; }
  .home-philosophy__stage { grid-area: 2/1; width: min(100%,720px); height: auto; aspect-ratio: 16/9; margin-top: 28px; justify-self: center; }
  .home-membrane__toolbar { left: 12px; bottom: 12px; }
  .home-decision-conditions { margin-top: 24px; }
}
@media (max-width: 600px) {
  .home-philosophy { padding: 56px 0; }
  .home-philosophy__title { margin-bottom: 20px; font-size: 2rem; }
  .home-philosophy__lead { font-size: 1rem; }
}

/* ===== CTA: continuous flow from section 3 (balance -> build) ===== */
.home-philosophy > .absolute { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.home-cta { padding: clamp(96px,11vw,160px) 0 clamp(104px,12vw,168px); background: #090b10; border-top: 0; text-align: center; }
.home-cta > .absolute:first-child { -webkit-mask-image: linear-gradient(transparent, #000 38%); mask-image: linear-gradient(transparent, #000 38%); opacity: .5; }
.home-cta::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: clamp(64px,8vw,112px); transform: translateX(-.5px); background: linear-gradient(rgba(191,204,230,0), rgba(191,204,230,.5)); pointer-events: none; }
.home-cta::after { content: ""; position: absolute; top: calc(clamp(64px,8vw,112px) - 3px); left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #bfcce6; box-shadow: 0 0 12px rgba(191,204,230,.6); pointer-events: none; }
.home-cta .zao-cta { position: relative; z-index: 2; padding: 0 var(--studio-space, 24px); max-width: 880px; margin: 0 auto; }
.home-cta .zao-cta__content { max-width: none; display: flex; flex-direction: column; align-items: center; }
.home-cta .zao-cta__headline { margin: 0 0 20px; font-size: clamp(34px,4vw,52px); font-weight: 600; letter-spacing: -.025em; line-height: 1.16; color: var(--studio-ink); text-wrap: balance; }
.home-cta .zao-cta__desc { margin: 0 0 40px; max-width: 30em; font-size: 1.0625rem; line-height: 1.75; color: var(--studio-muted); }
.home-cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; }
.home-cta .studio-button { justify-content: center; min-width: 176px; }
.home-cta__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; letter-spacing: .04em; color: var(--studio-ink); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 2px; transition: border-color .3s ease; }
.home-cta__link:hover, .home-cta__link:focus-visible { border-color: var(--studio-ink); }
.home-cta__mail { margin: 36px 0 0; font-size: 14px; color: var(--studio-muted); }
.home-cta__mail a { color: var(--studio-muted); text-decoration: none; border-bottom: 1px solid transparent; }
.home-cta__mail a:hover, .home-cta__mail a:focus-visible { color: var(--studio-ink); border-color: currentColor; }
@media (max-width: 768px) { .home-cta::before { height: 56px; } .home-cta::after { top: 53px; } }

/* footer (plan A) */
footer .font-mono-metric.text-\[10px\], footer .font-mono-metric.text-\[9px\], footer .font-mono-metric.text-xs { font-size: 13px; letter-spacing: .04em; text-transform: none; }
footer .text-on-surface-variant\/40, footer .text-on-surface-variant\/30 { color: var(--studio-muted); }
footer a[href="#page-code"].font-bold { font-weight: 600; }
footer.bg-background { background: #090b10; }

/* seam fix: section 3 fades its base colour into the CTA base colour */
.home-philosophy { background: linear-gradient(180deg, #080d15 0%, #090b10 78%, #090b10 100%); }
.home-philosophy > .absolute { -webkit-mask-image: linear-gradient(#000 60%, transparent 100%); mask-image: linear-gradient(#000 60%, transparent 100%); }

/* ===== Home flow pass (20261018) ===== */
/* 1. No resting scale on the home page: the 0.995 materialize scale inset every section by 3px and left 6px gaps against the footer. */
.stitched-page.active { transform: none; }
/* 2. Seams: no hairlines between home sections; the shared base colour carries across. */
#kmare-hero, #home-works, .home-philosophy, #home-cta { border-top: 0; }
#home-works { background-color: #090b10; }
.home-philosophy { background: linear-gradient(180deg, #080d15 0%, #090b10 92%, #090b10 100%); }
.home-membrane { -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); mask-image: linear-gradient(#000 72%, transparent 100%); }
#home-cta { background: #090b10; }
#home-cta > .absolute:first-child { -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 70%, transparent); }
#home-cta::before, #home-cta::after { content: none; }
/* 3. Section 3 type: at least 16px body, lead 19px. */
.home-philosophy__title { font-size: clamp(36px,3.8vw,52px); }
.home-philosophy__lead { font-size: clamp(17px,1.5vw,19px); line-height: 1.75; color: #c4c7c8; }
.home-philosophy__lead p + p { margin-top: 14px; }
.home-decision-conditions > summary { font-size: 17px; }
.home-decision-panel h3 { font-size: 16px; }
.home-decision-panel p { font-size: 16px; line-height: 1.7; color: #c4c7c8; }
/* 4. CTA redesign: left-aligned on the studio grid, process list on the right (text-left after section 3's text-right). */
.home-cta { position: relative; padding: clamp(96px,11vw,160px) 0; text-align: left; }
.home-cta__inner.zao-cta { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: clamp(48px,7vw,112px); align-items: start; max-width: none; margin: 0 auto; padding: 0; }
.home-cta__main { display: flex; flex-direction: column; align-items: flex-start; }
.home-cta__title { margin: 0 0 24px; font-size: clamp(36px,4.2vw,56px); font-weight: 600; letter-spacing: -.025em; line-height: 1.14; color: var(--studio-ink); text-wrap: balance; }
.home-cta__desc { margin: 0 0 40px; max-width: 28em; font-size: clamp(17px,1.5vw,19px); line-height: 1.75; color: #c4c7c8; }
.home-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.home-cta .studio-button { min-width: 176px; justify-content: center; }
.home-cta__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; letter-spacing: .04em; color: var(--studio-ink); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 2px; transition: border-color .3s ease; }
.home-cta__link:hover, .home-cta__link:focus-visible { border-color: var(--studio-ink); }
.home-cta__mail { margin: 32px 0 0; font-size: 16px; }
.home-cta__mail a { color: #c4c7c8; text-decoration: none; border-bottom: 1px solid transparent; }
.home-cta__mail a:hover, .home-cta__mail a:focus-visible { color: var(--studio-ink); border-color: currentColor; }
.home-cta__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.home-cta__steps li { display: grid; grid-template-columns: 4.5em minmax(0,1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.home-cta__steps strong { font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--studio-ink); }
.home-cta__steps span { font-size: 17px; line-height: 1.7; color: #c4c7c8; }
@media (max-width: 900px) { .home-cta__inner.zao-cta { grid-template-columns: 1fr; } }
.home-cta__inner.zao-cta { width: min(100% - 2 * var(--studio-space, 24px), 1280px); margin-inline: auto; }

/* ===== Type scale pass (20261018) =====
   display  hero h1            clamp(44px, 4.8vw, 64px)  600
   h2       all section titles clamp(32px, 3.4vw, 46px)  600
   h3       card / panel titles 20px                     600
   lead     section intros      clamp(18px, 1.5vw, 20px) 1.7
   body     paragraphs          16px                     1.75
   meta     labels, toggles     14px (min)               tracking .06em
   Left edge: every section uses the studio grid (--studio-space).
*/
.hero-title { font-size: clamp(44px, 4.8vw, 64px); line-height: 1.12; }
.home-philosophy__title,
.practice-heading h2,
.home-cta__title { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.practice-panel h3, .home-decision-panel h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.home-decision-panel h3 { font-size: 18px; }
.home-philosophy__lead, .practice-intro, .home-cta__desc { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; }
.home-philosophy__lead p + p { margin-top: 16px; }
.home-decision-conditions > summary { font-size: 16px; line-height: 1.5; min-height: 52px; }
.home-decision-panel p, .practice-panel p, .home-cta__steps span, .home-philosophy__notes span { font-size: 16px; line-height: 1.75; }
.home-cta__steps strong, .home-philosophy__notes strong { font-size: 18px; }
.home-cta__steps span { font-size: 17px; }
.home-cta__link, .home-cta__mail, .home-cta__mail a { font-size: 16px; }
.home-membrane__toggle, #hero-motion-toggle, #practice-motion-toggle, .practice-motion-toggle { font-size: 15px; line-height: 1.4; }
.hero-motion-label, .hero-motion-icon { font-size: 15px; }
.practice-seed-index summary, .practice-seed-index summary span, .practice-seed-index button, .practice-tabs button { font-size: 15px; line-height: 1.5; }
.practice-seed-index li span, .practice-seed-index p, .practice-seed-index dd, .practice-seed-index dt { font-size: 16px; line-height: 1.7; }
.practice-tabs button span, .practice-tabs button small { font-size: 14px; }
footer, footer p, footer a, footer span, footer button { font-size: 14px !important; line-height: 1.6; letter-spacing: .04em; }
footer .font-body-md, footer .text-lg { font-size: 16px !important; }
footer .text-headline-lg-mobile, footer .font-headline-lg-mobile { font-size: 28px !important; }
footer > div:first-child { width: min(100% - 2 * var(--studio-space), 1280px); margin-inline: auto; padding-inline: 0; }
footer > div:first-child > .grid { gap: clamp(32px, 5vw, 72px); }
#home-works h2, #home-cta h2.home-cta__title, #home-philosophy-section h2.home-philosophy__title { font-size: clamp(32px, 3.4vw, 46px) !important; line-height: 1.18 !important; }
/* contrast: muted text in the practice section lifted to #c4c7c8 (≈ 10:1 on #090b10) */
#home-works .practice-intro, #home-works .practice-panel p, #home-works summary, #home-works .practice-seed-index span { color: #c4c7c8; }
#home-works button:not(:hover):not(:focus-visible) { color: #d6d9dd; }

/* ===== Site-wide type pass (20261018) =====
   Same scale as the home page. Floor: 14px for every visible label; body 16px.
   Page H1 clamp(40px,4.4vw,60px) · section H2 clamp(28px,3vw,38px) · labels 14px.
*/
/* 1. Tailwind arbitrary micro sizes (9–13px) lifted to 14px floor */
.stitched-page [class*="text-[9px]"], .stitched-page [class*="text-[10px]"], .stitched-page [class*="text-[11px]"],
.stitched-page [class*="text-[12px]"], .stitched-page [class*="text-[13px]"], .stitched-page .text-xs { font-size: 14px !important; line-height: 1.6 !important; }
.stitched-page [class*="tracking-["] { letter-spacing: .04em !important; }
/* 2. Page H1 (one per page) */
.stitched-page h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
/* 3. Section H2 (text headings, not the mono section labels) */
.stitched-page h2:not([class*="tracking-["]) { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
/* 4. Section labels (mono, all caps) at 16px so they read as labels, not captions */
.stitched-page h2[class*="tracking-["] { font-size: 16px !important; line-height: 1.5; }
/* 5. Body text: 16px floor inside stitched pages */
.stitched-page p:not([class*="text-"]) { font-size: 16px; line-height: 1.75; }
/* Site-wide type pass, part 2 */
.stitched-page .about-statement h1, .stitched-page .about-page-v4 .about-statement h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.stitched-page figcaption, .stitched-page .folio-link-label, .stitched-page [class*="gallery-index"] { font-size: 14px !important; line-height: 1.6; }
.stitched-page [style*="font-size: 11px"], .stitched-page [style*="font-size:11px"], .stitched-page [style*="font-size: 12px"], .stitched-page [style*="font-size:12px"], .stitched-page [style*="font-size: 13px"], .stitched-page [style*="font-size:13px"] { font-size: 14px !important; }
/* gutter: project and contact pages align to the same studio edge as the home page */
@media (min-width: 768px) {
  .stitched-page [class*="md:px-margin-desktop"] { padding-left: var(--studio-space) !important; padding-right: var(--studio-space) !important; }
}
.stitched-page .cal-cell, .stitched-page .folio-tags li, .stitched-page .folio-toolbar p, .stitched-page .folio-toolbar span { font-size: 14px !important; }
.stitched-page .about-page-v4 span, .stitched-page .about-page-v4 figcaption { font-size: max(14px, 0.875rem) !important; }

/* ===== About page: resume content pass (20261018) ===== */
.about-profile, .about-portfolio { margin-top: clamp(72px,9vw,120px); }
.about-profile-copy p { max-width: 44em; margin: 0 0 18px; font-size: 16px; line-height: 1.85; color: var(--studio-muted); }
.about-learning-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,6vw,96px); margin-top: 32px; }
.about-learning-cols h3 { margin: 0 0 14px; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--studio-ink); }
.about-learning-cols h3:not(:first-child) { margin-top: 40px; }
.about-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.about-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; line-height: 1.7; color: var(--studio-muted); }
.about-list li strong { display: block; font-weight: 600; color: var(--studio-ink); }
.experience-points { margin: 12px 0 0; padding-left: 1.2em; font-size: 16px; line-height: 1.75; color: var(--studio-muted); }
.experience-points li + li { margin-top: 6px; }
.experience-entry .experience-description p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--studio-muted); }
.about-portfolio-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.about-portfolio-links a { display: block; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: var(--studio-ink); text-decoration: none; font-size: 18px; font-weight: 600; transition: border-color .3s ease; }
.about-portfolio-links a span { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--studio-muted); }
.about-portfolio-links a:hover, .about-portfolio-links a:focus-visible { border-color: var(--studio-ink); }
@media (max-width: 768px) { .about-learning-cols { grid-template-columns: 1fr; } }

/* About v2 (20261019): portrait, skill filters, AI tools */
.about-portrait{margin:0;display:grid;gap:8px;max-width:360px}
.about-portrait img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:4px;display:block}
.about-portrait figcaption{font-size:14px;opacity:.75}
@media (min-width:768px){
  .about-profile{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);column-gap:var(--studio-space,48px);align-items:start}
  .about-profile>.studio-section-heading{grid-column:1 / -1}
}
.skill-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.skill-filter{min-height:44px;padding:0 18px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.skill-filter[aria-pressed="true"]{background:#172a43;color:#fff;border-color:#172a43}
.skill-filter:focus-visible,.ai-tool summary:focus-visible{outline:2px solid #6fa8ff;outline-offset:2px}
.skill-groups article[hidden]{display:none}
.skill-groups li{transition:transform .2s ease}
.skill-groups li:hover{transform:translateX(6px)}
.ai-tool-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));list-style:none;padding:0;margin:0}
.ai-tool{border:1px solid rgba(23,42,67,.2);border-radius:8px;padding:16px}
.ai-tool[open]{border-color:#172a43}
.ai-tool summary{cursor:pointer;min-height:44px;font-weight:600;display:flex;flex-direction:column;gap:4px}
.ai-tool summary span{font-weight:400;font-size:14px;opacity:.8}
.ai-tool p{margin:12px 0 0;font-size:16px;line-height:1.75}
@media (prefers-reduced-motion:reduce){.skill-groups li{transition:none}.skill-groups li:hover{transform:none}}
