﻿/* 鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺?
   Overlay.com-inspired hero with native WebGL character rendering.
   Native WebGL canvas for the character (depth-parallax + gradient
   map) with HTML overlays for text + nav + lang.
   Design reference: overlaycom_inspired_remix_scene.json (1440脳900).
   鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺愨晲鈺?*/

@font-face {
  font-family: "Libre Caslon Condensed";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/LibreCaslonCondensed-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Libre Caslon Condensed";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("fonts/LibreCaslonCondensed-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: "Libre Caslon Condensed";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/LibreCaslonCondensed-Bold.otf") format("opentype");
}

html,
body {
  background: oklch(5.4% 0.009 302);
}

.hero-overlay {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 560px;
  background: oklch(97.8% 0.003 302);
  overflow: hidden;
  font-family: "Libre Caslon Condensed", Georgia, serif;
  color: #777;
  transform-origin: center top;
}

.hero-overlay__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-flow-copy {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  padding: 0 4.4% 3.8% 8%;
  pointer-events: none;
}
.hero-flow-copy__left {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-flow-copy .hero-overlay__name,
.hero-flow-copy .hero-overlay__role,
.hero-flow-copy .hero-overlay__scroll {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  max-width: none;
}
.hero-flow-copy .hero-overlay__scroll {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}

/* Name + role are LEFT-aligned at the same x so the column reads as
   a single block (matches the Unicorn layout). */
.hero-overlay__name {
  position: absolute;
  left: 8%;
  bottom: 14%;
  font-family: "Libre Caslon Condensed", Georgia, serif;
  font-weight: 600;
  font-size: clamp(48px, 6.46vw, 96px);
  letter-spacing: -1px;
  line-height: 0.92;
  color: #292929;
  white-space: normal;
  max-width: 34vw;
  z-index: 9;
  pointer-events: none;
  will-change: transform;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-overlay__role {
  position: absolute;
  left: 8%;
  bottom: 9%;
  font-family: "Libre Caslon Condensed", Georgia, serif;
  font-weight: 400;
  font-size: clamp(16px, 2.08vw, 32px);
  letter-spacing: 1px;
  line-height: 1;
  color: #292929;
  white-space: normal;
  max-width: 26vw;
  z-index: 9;
  pointer-events: none;
  will-change: transform;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-overlay__scroll {
  position: absolute;
  right: 4.4%;
  bottom: 3.8%;
  font-family: "Libre Caslon Condensed", Georgia, serif;
  font-weight: 400;
  font-size: clamp(9px, 0.64vw, 12px);
  letter-spacing: 2px;
  line-height: 1;
  color: #292929;
  white-space: nowrap;
  z-index: 9;
  pointer-events: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 1;
  will-change: transform;
}
.hero-overlay__scroll::after {
  content: "鈫?;
  font-size: 14px;
  letter-spacing: 0;
  animation: scroll-cta-settle 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes scroll-cta-settle {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(4px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
}

/* ── Navigation: minimal corner elements ── */
.nav-logo {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 300;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: oklch(72% 0.005 285 / 0.90);
  text-decoration: none;
  transition:
    color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo:hover {
  color: oklch(82% 0.005 285 / 0.95);
  transform: scale(1.08);
}
.nav-logo:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 8px;
}

.nav-lang {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 300;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--mono, "DM Mono", ui-monospace, monospace);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: oklch(72% 0.005 285 / 0.90);
  transition:
    color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-lang:hover {
  color: oklch(82% 0.005 285 / 0.95);
  transform: scale(1.08);
}
.nav-lang:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .nav-logo {
    top: 10px;
    left: 10px;
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 16px;
  }
  .nav-lang {
    top: 10px;
    right: 10px;
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 9.5px;
  }
}

/* Main-page refinements: these intentionally override the inline legacy
   styles in index.html without restructuring the file yet. */
body .content-layer {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 18px 18px 0 0;
  z-index: 5;
  margin-top: 0;
  padding-bottom: 0;
  box-shadow: none;
  isolation: isolate;
}
body .content-layer::before {
  content: "";
  position: absolute;
  --duotone-name-start: -62vh;
  top: var(--duotone-name-start);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    oklch(98% 0.003 302 / 0) 0vh,
    oklch(0% 0 0 / 0.94) 150vh,
    oklch(0% 0 0 / 0.94) 100%
  );
  mix-blend-mode: multiply;
}
body .content-layer > * {
  position: relative;
}
body .tagline-section {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 150px 8% 0;
  text-align: center;
  display: flex;
  justify-content: center;
  perspective: 900px;
}
body .page-tagline {
  position: relative;
  z-index: 1;
  --tagline-projection-alpha: 1;
  --tagline-shadow-alpha: 0.32;
  font-size: clamp(27px, 3.9vw, 62px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 860px;
  color: oklch(98% 0.004 302 / 0.96);
  text-shadow: 0 18px 42px rgba(0, 0, 0, var(--tagline-shadow-alpha));
  transform: translateY(-10px);
}
body .page-tagline::before,
body .page-tagline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: oklch(58% 0.025 302 / 0.22);
  opacity: var(--tagline-projection-alpha);
}
body .page-tagline::before {
  transform: translate3d(-16px, 24px, -100px) scale(.98);
  filter: blur(2px);
}
body .page-tagline::after {
  transform: translate3d(20px, 44px, -170px) scale(.94);
  filter: blur(5px);
  opacity: calc(var(--tagline-projection-alpha) * 0.6);
}
body .work-section {
  max-width: none;
  margin-left: clamp(64px, 6vw, 132px);
  margin-right: clamp(64px, 6vw, 132px);
  padding: 225px 0 104px;
  color: #fff;
}
body .work-section .section-head {
  margin-bottom: 58px;
  padding-bottom: 18px;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
body .work-section .section-label {
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.14em;
}
body .work-section .section-label::before {
  background: rgba(255, 255, 255, 0.72);
}
body .work-grid {
  grid-template-columns: 1fr;
  gap: clamp(52px, 7vw, 108px);
  perspective: none;
}
body .work-card {
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 720px);
  gap: clamp(22px, 2.4vw, 40px);
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: clamp(360px, 48vw, 620px);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible;
  color: #fff;
  box-shadow: none;
  --spot-x: 50%;
  --spot-y: 50%;
  transition:
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
body .work-card:nth-child(even) .wc-img {
  order: 2;
  justify-self: center;
}
body .work-card:nth-child(even) .wc-body {
  order: 1;
  justify-self: center;
  transform: none;
}
body .work-card:nth-child(even) {
  grid-template-columns: minmax(0, 720px) minmax(0, 720px);
}
body .work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--spot-x) var(--spot-y),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.045) 28%,
    transparent 58%
  );
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
body .work-card:first-child {
  grid-column: auto;
}
body .work-card:hover {
  border-color: transparent;
  box-shadow: none;
}
body .work-card.is-xr-active {
  border-color: transparent;
  box-shadow: none;
}
body .work-card:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 8px;
}
body .work-card:hover::after {
  opacity: 0;
}
body .work-card.is-xr-active::after {
  opacity: 0;
}
body .work-card:hover .wc-img {
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 6px 18px rgba(255, 255, 255, 0.08) inset;
}
body .work-card.is-xr-active .wc-img {
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 6px 18px rgba(255, 255, 255, 0.08) inset;
}
body .wc-img {
  width: min(100%, 680px);
  justify-self: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  aspect-ratio: 16/10;
  z-index: 1;
  overflow: hidden;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.22));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 6px 18px rgba(255, 255, 255, 0.08) inset;
}
body .wc-img::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.03) 28%,
    transparent 58%
  );
  z-index: 2;
  pointer-events: none;
}
body .wc-img img,
body .wc-img video {
  will-change: transform;
}
body .wc-body {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 720px);
  max-width: 720px;
  padding: clamp(18px, 3vw, 42px);
  color: #fff;
  text-align: left;
  transform: none;
  will-change: transform;
}
body .work-card:first-child .wc-img {
  aspect-ratio: 16/10;
  min-height: 0;
}
body .wc-title {
  font-family: "Libre Caslon Condensed", Georgia, serif;
  font-size: clamp(34px, 5.2vw, 86px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 20ch;
  margin-bottom: 14px;
  color: #fff;
}
body .work-card:first-child .wc-title {
  font-size: clamp(34px, 5.2vw, 86px);
  line-height: 0.96;
  max-width: 20ch;
  margin-bottom: 14px;
}
body .wc-title-main,
body .wc-title-sub {
  display: block;
}
body .wc-summary {
  max-width: 52ch;
  margin: 0 0 22px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans SC",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
}
body .wc-title-sub {
  font-size: 0.58em;
  line-height: 1.12;
  margin-top: 0.22em;
}
body .wc-tags,
body .work-card:first-child .wc-tags {
  gap: 8px;
}
body .wc-tag,
body .work-card:first-child .wc-tag {
  padding: 6px 11px;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 4px;
}
body .about-layer,
body .about-clip {
  border-radius: 18px 18px 0 0;
  overflow-x: clip;
}
body .about-layer {
  will-change: transform;
  margin-top: -1px;
}
body .about-inner {
  max-width: none;
  margin-left: 8%;
  margin-right: 8%;
  padding: 108px 0 82px;
}
body .about-stage {
  display: grid;
  grid-template-columns: minmax(210px, 0.64fr) minmax(280px, 0.88fr) minmax(240px, 0.68fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  min-height: clamp(560px, 72vh, 780px);
}
body .about-skills-column,
body .about-portrait-column,
body .about-copy-column {
  min-width: 0;
  will-change: transform;
}
body .about-skills-column {
  align-self: center;
  justify-self: end;
  max-width: 320px;
}
body .about-portrait-column {
  justify-self: center;
}
body .about-portrait-motion {
  will-change: transform;
}
body .about-copy-column {
  display: flex;
  flex-direction: column;
  max-width: 48ch;
}
body .about-bio-text {
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.84;
  color: oklch(22% 0.01 302);
}
body .about-bio-text p {
  margin-bottom: 18px;
}
body .about-bio-text p:last-child {
  margin-bottom: 0;
}
body .about-img-wrap {
  width: clamp(280px, 29vw, 440px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  will-change: transform;
}
body .about-profile-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  will-change: transform;
}
body .skills-dark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body .skills-heading {
  padding-bottom: 2px;
}
body .skills-heading-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27, 26, 32, 0.38);
}
body .skill-dark {
  padding: 0;
  background: transparent;
  border: 0;
  transition: none;
}
body .skill-dark:last-child {
  border: 0;
}
body .skill-dark:hover {
  transform: none;
  background: transparent;
}
body .skill-dark.is-xr-active {
  transform: none;
  background: transparent;
}
body .skill-dark .skill-label {
  color: rgba(27, 26, 32, 0.38);
  margin-bottom: 8px;
}
body .skill-dark .skill-value {
  color: oklch(21% 0.011 302);
  line-height: 1.46;
}
body .contact-layer {
  min-height: 100vh;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
  background:
    radial-gradient(
      ellipse 58% 30% at 54% -4%,
      rgba(138, 5, 219, 0.06) 0%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      oklch(9% 0.012 302),
      oklch(6.5% 0.01 302) 62%,
      oklch(5.4% 0.009 302)
    );
}
body .contact-layer::before {
  content: "";
  position: absolute;
  top: -36vh;
  right: 0;
  left: 0;
  height: 40vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    oklch(9% 0.012 302),
    oklch(9% 0.012 302)
  );
}
body .contact-inner {
  min-height: calc(100vh - 96px);
  justify-content: center;
  gap: 34px;
  padding-top: 14vh;
  padding-bottom: 8vh;
}
body .site-footer {
  padding: 28px 64px 34px;
}
body .contact-grid {
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}
body .ct-title {
  color: oklch(97% 0.004 302);
  text-shadow: 0 20px 70px rgba(138, 5, 219, 0.08);
  max-width: 980px;
}
body .ct-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  line-height: 0;
  margin-top: 60px;
}
body .ct-icon-btn {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(94% 0.018 305 / 0.9);
  background: oklch(100% 0 0 / 0.045);
  border: 1px solid oklch(86% 0.04 305 / 0.22);
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
body .ct-icon-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 28px;
}
body .ct-icon-btn:hover,
body .ct-icon-btn:focus-visible {
  transform: translateY(-3px);
  color: oklch(99% 0.004 305);
  background: oklch(88% 0.06 305 / 0.1);
  border-color: oklch(88% 0.06 305 / 0.46);
  outline: none;
}
/* 鈹€鈹€鈹€ Reduced motion / small screens 鈹€鈹€鈹€ */
@media (max-width: 1040px) and (min-width: 761px) {
  body .about-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "portrait portrait" "skills copy";
    gap: clamp(28px, 5vw, 56px);
    min-height: 0;
  }
  body .about-skills-column {
    grid-area: skills;
    justify-self: stretch;
    max-width: none;
  }
  body .about-portrait-column {
    grid-area: portrait;
    justify-self: center;
  }
  body .about-copy-column {
    grid-area: copy;
    max-width: none;
  }
  body .about-img-wrap {
    width: min(48vw, 360px);
  }
}

@media (max-width: 760px) {
  .hero-overlay {
    min-height: 620px;
  }
  /* 鈹€鈹€鈹€ Nav glass is React FluidGlass (R3F) 鈥?responsive via inline styles 鈹€鈹€鈹€ */
  #glass-nav-root {
    top: 12px !important;
    height: 48px !important;
  }
  .glass-nav-items {
    gap: 8px !important;
    padding: 0 14px !important;
  }
  .glass-nav-items a[href] {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.04em !important;
    padding: 0 6px !important;
  }
  .glass-nav-items .hero-overlay__mark {
    font-size: 16px !important;
  }
  .glass-nav-items .lang-toggle {
    width: 44px !important;
    height: 44px !important;
    font-size: 9.5px !important;
  }
  .hero-overlay__name {
    left: 7%;
    bottom: 12.2%;
    max-width: 76vw;
    font-size: clamp(34px, 11vw, 52px);
    color: oklch(98% 0.004 302);
    text-shadow:
      0 2px 18px rgba(15, 13, 20, 0.45),
      0 1px 0 rgba(0, 0, 0, 0.22);
  }
  .hero-overlay__role {
    left: 7%;
    bottom: 8.6%;
    max-width: 74vw;
    font-size: clamp(14px, 4vw, 19px);
    color: oklch(98% 0.004 302);
    text-shadow: 0 2px 14px rgba(15, 13, 20, 0.4);
  }
  .hero-overlay__scroll {
    display: none;
  }
  body .tagline-section {
    margin-left: auto;
    margin-right: auto;
    padding: 112px 7% 0;
    text-align: center;
    justify-content: center;
  }
  body .page-tagline {
    font-size: clamp(25px, 8vw, 37px);
    line-height: 1.18;
    max-width: 92vw;
  }
  body .work-section {
    margin-left: 7%;
    margin-right: 7%;
    padding: 168px 0 84px;
  }
  body .work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  body .work-card,
  body .work-card:first-child {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
    padding: 0;
  }
  body .work-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  body .work-card:nth-child(even) .wc-img,
  body .work-card:nth-child(even) .wc-body {
    order: initial;
  }
  body .work-card:nth-child(even) .wc-body {
    justify-self: stretch;
  }
  body .work-card .wc-img,
  body .work-card:first-child .wc-img {
    width: 100%;
    justify-self: stretch;
    aspect-ratio: 3/2;
    min-height: 0;
  }
  body .work-card .wc-body,
  body .work-card:first-child .wc-body {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    max-width: none;
    padding: 18px 8px 16px;
    transform: none;
  }
  body .work-card .wc-title,
  body .work-card:first-child .wc-title {
    font-size: clamp(27px, 9vw, 42px);
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  body .wc-summary {
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.65;
  }
  body .about-inner {
    margin-left: 7%;
    margin-right: 7%;
    padding: 88px 0 62px;
  }
  body .about-stage {
    grid-template-columns: 1fr;
    grid-template-areas: "portrait" "copy" "skills";
    gap: 42px;
    min-height: 0;
  }
  body .about-skills-column {
    grid-area: skills;
    justify-self: stretch;
    max-width: none;
  }
  body .about-portrait-column {
    grid-area: portrait;
  }
  body .about-copy-column {
    grid-area: copy;
    max-width: none;
  }
  body .about-img-wrap {
    width: min(76vw, 330px);
  }
  body .skill-dark {
    padding: 0;
  }
  body .contact-layer {
    box-shadow: 0 100vh 0 100vh oklch(5.4% 0.009 302);
  }
  body .contact-inner {
    padding: 0 24px;
  }
  body .contact-inner {
    min-height: calc(100vh - 80px);
    padding: 13vh 24px 8vh;
    gap: 28px;
  }
  body .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  body .ct-icon-btn {
    width: 64px;
    height: 64px;
  }
}

.hero-overlay__portfolio-title {
  display: none; /* text rendered inside WebGL shader instead */
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .hero-overlay__canvas {
    filter: none;
  }
  body .work-card,
  body .work-card .wc-img,
  body .work-card .wc-body,
  body .ct-anim,
  body .dt-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
