@font-face {
  font-family: "PlayfulGeometricDisplay";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PlayfulGeometricDisplay";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PlayfulGeometricDisplay";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "PlayfulGeometricDisplay";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "PlayfulGeometricReading";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --header-h: 95px;
  --dp-color-ground: #fffdf5;
  --dp-color-panel: #ffffff;
  --dp-color-ink: #253044;
  --dp-color-outline: #252b3a;
  --dp-color-accent: #6434df;
  --dp-color-accent-secondary: #ff78c5;
  --dp-color-accent-warm: #ffd05b;
  --dp-color-accent-fresh: #9bf1cd;
  --dp-color-field-soft: #e9fff5;
  --dp-color-selection: #f1ebff;
  --dp-color-rule-muted: #b8b6c5;
  --dp-color-slate: #1c2536;
  --dp-typography-display: "PlayfulGeometricDisplay", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --dp-typography-reading: "PlayfulGeometricReading", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --dp-typography-reading-compact: 16px;
  --dp-typography-label: 14px;
  --dp-typography-metadata: 13px;
  --dp-typography-reading-leading: 1.65;
  --dp-spacing-gap-compact: 12px;
  --dp-radius-corner: 17px;
  --dp-radius-broad: 34px;
  --dp-border-outline-width: 3px;
  --dp-border-detail-width: 2px;
  --dp-motion-interaction: 180ms;
  --dp-offset: 6px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@media (orientation: landscape) and (min-width: 900px) {
  html.is-home {
    --page-zoom: 1.5;
  }

  html.is-home body {
    padding-top: calc(var(--header-h) * var(--page-zoom));
  }

  html.is-home .site-header,
  html.is-home .page,
  html.is-home .skip,
  html.is-home .wheel {
    zoom: var(--page-zoom);
  }

  html.is-home .hero {
    min-height: calc(100svh / var(--page-zoom) - var(--header-h));
  }

  html.is-home .wheel {
    width: calc(100% / var(--page-zoom));
    height: calc(100% / var(--page-zoom));
    right: auto;
    bottom: auto;
  }
}

body {
  margin: 0;
  padding-top: var(--header-h);
  overflow-x: clip;
  background: var(--dp-color-ground);
  color: var(--dp-color-ink);
  font-family: var(--dp-typography-reading);
  font-size: var(--dp-typography-reading-compact);
  line-height: var(--dp-typography-reading-leading);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

h1,
h2,
.fact-value,
.num,
.badge,
.footer-name,
.logo {
  font-family: var(--dp-typography-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  line-height: 1.08;
  text-wrap: balance;
}

h3,
strong {
  font-weight: 600;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--dp-color-accent);
  color: var(--dp-color-ground);
}

:focus-visible {
  outline: var(--dp-border-outline-width) solid var(--dp-color-ink);
  outline-offset: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--dp-color-panel);
  color: var(--dp-color-ink);
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  box-shadow: 4px 4px 0 var(--dp-color-outline);
  font-size: var(--dp-typography-label);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  position: fixed;
  top: 12px;
}

.page {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  background: var(--dp-color-ground);
  border-bottom: var(--dp-border-outline-width) solid var(--dp-color-outline);
  transform: translateY(0);
  transition: transform 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(-110%);
  pointer-events: none;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  width: min(1120px, calc(100% - 48px));
  min-height: 72px;
  margin-inline: auto;
  padding: 10px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dp-color-ink);
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: 32px;
  height: 24px;
  fill: #2b2d31;
}

.logo-mark polygon:last-child {
  fill: var(--dp-color-ground);
}

.nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  gap: 8px 18px;
}

.nav a {
  font-size: var(--dp-typography-label);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 88px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: calc(100svh - var(--header-h));
  padding: 32px clamp(24px, 4vw, 48px);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border: var(--dp-border-detail-width) solid var(--dp-color-outline);
  border-radius: 999px;
  background: var(--dp-color-panel);
  font-size: var(--dp-typography-label);
  font-weight: 600;
  line-height: 1.3;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(62px, 4.4vw + 16px, 102px);
}

.lede,
.section-lead,
.book-lead,
.cover-copy p {
  margin-top: 16px;
  max-width: 40rem;
}

.lede-waves {
  width: min(240px, 100%);
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.lede-wave-row {
  height: 16px;
  overflow: hidden;
}

.lede-wave {
  display: block;
  width: 200%;
  height: 16px;
}

.lede-wave path {
  fill: none;
  stroke: #000;
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.lede-wave-a { animation: lede-drift 2.6s linear infinite; }
.lede-wave-b { animation: lede-drift 3.4s linear infinite reverse; }
.lede-wave-c { animation: lede-drift 2.1s linear infinite; }

@keyframes lede-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.actions,
.cover-copy .btn {
  margin-top: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  --btn-shift: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: calc(var(--dp-radius-corner) * 2);
  background: var(--dp-color-panel);
  color: var(--dp-color-ink);
  box-shadow: var(--btn-shift) var(--btn-shift) 0 var(--dp-color-outline);
  font-family: var(--dp-typography-reading);
  font-size: var(--dp-typography-reading-compact);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--dp-motion-interaction) ease,
    box-shadow var(--dp-motion-interaction) ease;
}

.btn-primary {
  background: var(--dp-color-accent);
  color: var(--dp-color-ground);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dp-color-outline);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--dp-color-outline);
}

.btn:focus-visible {
  outline-offset: 7px;
}

.hero-copy {
  flex: 0 1 auto;
  max-width: min(40rem, 46vw);
}

.portrait {
  position: relative;
  flex: none;
  --portrait-h: 500px;
  width: calc(var(--portrait-h) * 500 / 540);
  height: var(--portrait-h);
  margin: 0;
  margin-right: calc(var(--portrait-h) * -95 / 540);
}

.portrait-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-fill {
  fill: var(--dp-color-panel);
}

.portrait-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: url("#portrait-clip");
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-line {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.fact-stage {
  position: relative;
  margin-top: 28px;
  padding: 22px 12px 26px 16px;
}

.fact-mint,
.fact-line {
  position: absolute;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-broad);
}

.fact-mint {
  z-index: 0;
  inset: 30px 0 0 22px;
  background: var(--dp-color-accent-fresh);
}

.fact-line {
  z-index: 0;
  inset: 0 24px 18px 0;
  background: transparent;
}

.fact-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--dp-spacing-gap-compact);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 16px 16px 18px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
  box-shadow: 4px 4px 0 var(--dp-color-outline);
}

.fact-label {
  display: block;
  font-size: var(--dp-typography-label);
  font-weight: 600;
}

.fact-value {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

.about {
  display: grid;
  gap: 22px;
  margin-top: calc(28px - max(0px, (100svh - var(--header-h) - 540px) / 2));
}

.about-row {
  --about-delay: 0ms;
  --wave-block: calc(16px * 3 + 7px * 2);
  display: grid;
  grid-template-columns: min(640px, 72%) minmax(160px, 1fr);
  align-items: center;
  column-gap: 0;
}

.about-row-right {
  grid-template-columns: minmax(160px, 1fr) min(640px, 72%);
}

.about-row-right .about-card {
  grid-column: 2;
}

.about-row-right .about-waves {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.about-row-right .about-puff {
  right: auto;
  left: -100px;
  bottom: -8px;
}

.about-row-right .about-puff svg {
  transform: scaleX(-1);
}

.about-waves {
  width: min(240px, 100%);
  margin-top: 0;
  justify-self: center;
}

.about-card {
  position: relative;
  width: min(640px, 72%);
  padding: 28px 28px 26px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 38px;
  background: var(--dp-color-panel);
}

.about-row .about-card {
  width: 100%;
  margin-right: 0;
}

.about-card h2 {
  font-size: clamp(32px, 3vw, 48px);
}

.about-card h2.about-name {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.about-card p {
  margin-top: 12px;
  max-width: 36rem;
}

.about-name {
  font-family: var(--dp-typography-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.about-list {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 36rem;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 18px;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dp-color-outline);
}

.about-side {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
}

.teacher-photo {
  width: min(320px, 100%);
  height: auto;
  margin: 28px 0;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 18px;
  transform: rotate(-10deg);
  box-shadow: 8px 8px 0 var(--dp-color-accent-warm);
}

.about-card-left {
  margin-right: auto;
  box-shadow: 8px 8px 0 var(--dp-color-accent);
}

.about-card-right {
  margin-left: auto;
  box-shadow: 8px 8px 0 var(--dp-color-accent-secondary);
}

.about-row-late .about-card-left {
  box-shadow: 8px 8px 0 var(--dp-color-accent-warm);
}

.about-puff {
  position: absolute;
  z-index: 2;
  top: auto;
  right: -100px;
  bottom: -8px;
  width: 86px;
  height: 74px;
  pointer-events: none;
  opacity: 0;
}

.about-puff svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.puff-cloud,
.puff-dot {
  fill: #fffdf5;
  stroke: #252b3a;
  transform-box: fill-box;
  transform-origin: center;
}

.puff-cloud {
  stroke-width: 3;
  stroke-linejoin: round;
}

.puff-dot {
  stroke-width: 2.5;
}

.js .about-card {
  opacity: 0;
  transform: translateY(42px);
}

.js .about-card-left {
  transform: rotate(-90deg);
  transform-origin: left center;
}

.js .about-fall {
  transform: rotate(90deg);
  transform-origin: right center;
}

.js .about-waves {
  opacity: 0;
}

.js .about-row.is-shown .about-card,
.js .about-card.is-shown {
  opacity: 1;
  transform: none;
  transition:
    opacity 280ms ease,
    transform 420ms cubic-bezier(0.45, 0.02, 0.7, 1.08);
}

.js .about-card.is-shown {
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.16, 0.84, 0.3, 1);
}

.js .teacher-photo {
  opacity: 0;
  transform: rotate(0deg) scale(1.6);
}

.js .about-row-late.is-pasted .teacher-photo {
  opacity: 1;
  transform: rotate(-10deg) scale(1);
  transition:
    opacity 160ms ease,
    transform 440ms cubic-bezier(0.16, 0.84, 0.32, 1.12);
}

.js .about-heading {
  opacity: 0;
  transform: translateY(56px);
}

.js .about-row.is-shown .about-heading {
  opacity: 1;
  transform: none;
  transition:
    opacity 480ms ease,
    transform 520ms cubic-bezier(0.16, 0.84, 0.3, 1);
}

.js .about > .about-row:first-child.is-shown .about-card {
  transition-delay: 520ms;
}

.js .about > .about-row:first-child.is-shown .about-waves {
  transition-delay: 520ms;
}

.js .about > .about-row:first-child.is-shown .about-puff,
.js .about > .about-row:first-child.is-shown .puff-dot-a,
.js .about > .about-row:first-child.is-shown .puff-dot-b,
.js .about > .about-row:first-child.is-shown .puff-dot-c {
  animation-delay: 940ms;
}

.js .about-row.is-shown .about-waves {
  opacity: 1;
  transition: opacity 280ms ease;
}

.js .about-row.is-shown .about-puff {
  animation: about-puff 200ms linear forwards;
  animation-delay: 420ms;
}

.js .about-row.is-shown .puff-dot-a,
.js .about-row.is-shown .puff-dot-b,
.js .about-row.is-shown .puff-dot-c {
  animation-duration: 200ms;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-delay: 420ms;
}

.js .about-row.is-shown .puff-dot-a { animation-name: puff-fly-a; }
.js .about-row.is-shown .puff-dot-b { animation-name: puff-fly-b; }
.js .about-row.is-shown .puff-dot-c { animation-name: puff-fly-c; }

@keyframes about-puff {
  0% { opacity: 0; transform: scale(0.35); }
  32% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.22); }
}

@keyframes puff-fly-a {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  32% { opacity: 1; transform: translate(3px, -2px) scale(1); }
  100% { opacity: 0; transform: translate(16px, -14px) scale(0.7); }
}

@keyframes puff-fly-b {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  32% { opacity: 1; transform: translate(4px, 0) scale(1); }
  100% { opacity: 0; transform: translate(20px, 2px) scale(0.6); }
}

@keyframes puff-fly-c {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  32% { opacity: 1; transform: translate(2px, 3px) scale(1); }
  100% { opacity: 0; transform: translate(14px, 16px) scale(0.65); }
}

.book-scene {
  position: relative;
  margin-top: 84px;
}

.book-back {
  position: absolute;
  z-index: 0;
  inset: 20px -6px -12px 16px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 38px;
  background: var(--dp-color-accent);
}

.book {
  position: relative;
  z-index: 1;
  padding: 36px 36px 32px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 38px;
  background: var(--dp-color-panel);
}

.book-tab {
  position: absolute;
  top: -27px;
  left: 36px;
  margin: 0;
  padding: 6px 16px 12px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--dp-color-accent-warm);
  font-size: var(--dp-typography-label);
  font-weight: 600;
  line-height: 1.2;
}

.book h2,
.work h2,
.cover-copy h2,
.about-heading,
#contact-title {
  font-size: clamp(32px, 3vw, 48px);
}

.about-heading,
#work-title,
#contact-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 48px;
  text-align: center;
}

.about-heading::before,
.about-heading::after,
#work-title::before,
#work-title::after,
#contact-title::before,
#contact-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.about-heading {
  grid-column: 1 / -1;
  margin-top: -1.5em;
}

.about-card > :first-child {
  margin-top: 0;
}

#about,
#work,
#contact {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.book-lead {
  max-width: 38rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border: var(--dp-border-detail-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
}

.features article {
  min-width: 0;
  padding: 18px 18px 20px;
}

.features article + article {
  border-left: var(--dp-border-detail-width) solid var(--dp-color-outline);
}

.num {
  font-size: 42px;
  line-height: 0.9;
}

.features h3 {
  margin-top: 12px;
  font-family: var(--dp-typography-reading);
  font-size: var(--dp-typography-reading-compact);
  letter-spacing: 0;
  line-height: 1.4;
}

.features p:last-child {
  margin-top: 6px;
}

.gallery-title {
  margin-top: 32px;
  font-family: var(--dp-typography-reading);
  font-size: 18px;
  letter-spacing: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
  margin-top: 0;
  padding-bottom: 12px;
}

.shot {
  min-width: 0;
  margin: 0;
  container-type: inline-size;
  text-align: center;
}

.shot-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.shot-open:focus-visible {
  outline: var(--dp-border-outline-width) solid var(--dp-color-outline);
  outline-offset: 6px;
}

.shot-copy {
  display: block;
  margin-top: 40px;
}

.frame {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  background: var(--dp-color-panel);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.frame-a,
.frame-b,
.frame-c {
  aspect-ratio: 3 / 5;
  border-radius: 999px;
}

.shot .frame {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 63% 37% 68% 32% / 46% 58% 42% 54%;
}

.shot .frame-b {
  border-radius: 42% 58% 36% 64% / 62% 44% 56% 38%;
}

.shot .frame-a img,
.shot .frame-b img {
  width: 50%;
  height: 50%;
  inset: auto;
  top: 50%;
  left: 50%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.shot .frame-c {
  border-radius: 54% 46% 71% 29% / 38% 66% 34% 62%;
}

.frame-a {
  box-shadow: 7px 7px 0 var(--dp-color-accent);
}

.frame-b {
  box-shadow: 7px 7px 0 var(--dp-color-accent-secondary);
}

.frame-c {
  box-shadow: 7px 7px 0 var(--dp-color-accent-warm);
}

.shot-copy {
  line-height: 1.45;
}

.work-title {
  display: block;
  color: #252b3a;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.3;
}

.work-note {
  display: block;
  margin-top: 6px;
  color: #252b3a;
  font-size: clamp(17px, 1.6vw, 22px);
}

.wheel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: clamp(28px, 5vh, 56px) clamp(24px, 5vw, 72px);
  background: #fffdf5;
  color: #252b3a;
  opacity: 0;
  overscroll-behavior: none;
  transition: opacity 280ms ease;
}

.wheel-waves {
  position: absolute;
  z-index: 1;
  width: min(220px, 32vw);
  margin-top: 0;
  pointer-events: none;
}

.wheel-waves-tr {
  top: clamp(20px, 4vh, 40px);
  right: clamp(24px, 5vw, 72px);
}

.wheel-waves-bl {
  bottom: clamp(20px, 4vh, 40px);
  left: clamp(24px, 5vw, 72px);
}

.wheel-project {
  position: absolute;
  z-index: 3;
  top: clamp(20px, 4vh, 40px);
  left: clamp(24px, 5vw, 72px);
  margin: 0;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
}

.wheel-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  min-height: 0;
}

.wheel-side {
  display: grid;
  align-content: start;
  justify-items: stretch;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  margin-left: 0;
  padding-bottom: 84px;
  overflow-y: auto;
}

.wheel-copy-viewport {
  position: relative;
  display: grid;
  overflow: hidden;
  min-width: 0;
}

.wheel-sheet {
  grid-area: 1 / 1;
  align-self: start;
  display: grid;
  gap: 18px;
  transition: transform 460ms cubic-bezier(0.33, 1, 0.68, 1);
}

.wheel-block {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.wheel-block + .wheel-block {
  border-top: 1px solid #252b3a;
  padding-top: 18px;
}

.wheel-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.wheel-item-title,
.wheel-text {
  margin: 0;
}

.wheel-item-title {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
}

.wheel-text {
  min-height: 1.65em;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.65;
  white-space: pre-line;
}

.wheel-paragraph {
  display: block;
}

.wheel-paragraph + .wheel-paragraph {
  margin-top: 0.5lh;
}

.wheel-shots {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  margin: 0;
  overflow: visible;
}

.wheel-shot {
  position: relative;
  z-index: 0;
  flex: 0 0 calc((100% - (var(--shot-count, 3) - 1) * 28px) / var(--shot-count, 3) * 0.375);
  min-width: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 180ms ease, opacity 120ms ease;
}

.wheel-shot.is-lifted {
  opacity: 0;
}

.wheel-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wheel-shot-lift {
  position: absolute;
  z-index: 45;
  margin: 0;
  padding: 0;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  transform: scale(1.1);
  transform-origin: center center;
  box-shadow: 4px 4px 0 var(--dp-color-outline);
}

.wheel-shot-lift img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wheel-viewer {
  position: absolute;
  inset: 0;
  z-index: 40;
}

.wheel-viewer[hidden] {
  display: none;
}

.wheel-viewer-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.wheel-viewer-panel {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 50%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.wheel-viewer-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  border: calc(var(--dp-border-outline-width) * 2) solid var(--dp-color-outline);
  border-radius: 22px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--dp-color-outline);
  overflow: hidden;
}

.wheel-viewer-image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.wheel-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 999px;
  background: #fff;
  color: #252b3a;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--dp-color-outline);
}

.wheel-viewer-close span {
  display: block;
  margin-top: -2px;
}

.wheel-viewer-nav {
  position: relative;
  z-index: 3;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 999px;
  background: #fff;
  color: #252b3a;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--dp-color-outline);
}

.wheel-viewer-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 3px solid #252b3a;
  border-right: 3px solid #252b3a;
}

.wheel-viewer-prev {
  margin-right: 18px;
  justify-self: end;
}

.wheel-viewer-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.wheel-viewer-next {
  margin-left: 18px;
  justify-self: start;
}

.wheel-viewer-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.wheel-viewer-nav[hidden] {
  display: none;
}

.wheel[hidden] {
  display: none;
}

.wheel.is-open {
  opacity: 1;
}

.wheel-stage {
  position: relative;
  justify-self: start;
  width: 100%;
  height: min(68vh, 640px);
  margin: 0 0 0 48px;
  touch-action: none;
  transform: translateX(-36vw) scale(0.42);
  transform-origin: center center;
  transition: transform 520ms cubic-bezier(0.16, 0.84, 0.3, 1);
}

.wheel.is-open .wheel-stage {
  transform: translateX(0) scale(1);
}

.wheel-rotor {
  position: absolute;
  inset: 0;
}

.wheel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(158px, 22vw);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #252b3a;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.wheel-plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}

.wheel-card .frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: none;
}

#wheel-spin {
  display: none;
}

.wheel-actions {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  width: auto;
  margin: 0;
}

.block {
  margin-top: 76px;
}

.section-lead {
  margin-bottom: 8px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: var(--dp-border-outline-width);
  background: var(--dp-color-outline);
}

.step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-inline: auto;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  font-size: 32px;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--dp-color-outline);
}

.badge-circle {
  border-radius: 50%;
  background: var(--dp-color-accent);
  color: var(--dp-color-ground);
}

.badge-square {
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
}

.badge-arch {
  border-radius: 36px 36px 12px 12px;
  background: var(--dp-color-accent-warm);
}

.badge-soft {
  border-radius: 12px 28px 12px 28px;
  background: var(--dp-color-accent-fresh);
}

.step h3 {
  margin-top: 14px;
  font-family: var(--dp-typography-reading);
  font-size: var(--dp-typography-reading-compact);
  letter-spacing: 0;
  line-height: 1.4;
}

.step p {
  margin-top: 6px;
}

.benefits {
  padding: 32px 28px 28px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-broad);
  background: var(--dp-color-field-soft);
  box-shadow: 8px 8px 0 var(--dp-color-outline);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  min-width: 0;
  padding-right: 18px;
}

.benefit-list li + li {
  padding-left: 18px;
  border-left: var(--dp-border-detail-width) solid var(--dp-color-outline);
}

.benefit-list strong {
  display: block;
  font-size: var(--dp-typography-reading-compact);
}

.benefit-list p {
  margin-top: 6px;
}

.disclosures {
  display: grid;
  gap: var(--dp-spacing-gap-compact);
  margin-top: 20px;
}

.disclosure {
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
  box-shadow: 4px 4px 0 var(--dp-color-outline);
}

.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: var(--dp-typography-reading-compact);
  cursor: pointer;
  list-style: none;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: var(--dp-border-detail-width) solid var(--dp-color-outline);
  border-radius: 10px;
  background: var(--dp-color-accent-warm);
  font-family: var(--dp-typography-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.disclosure[open] summary::after {
  content: "–";
  background: var(--dp-color-selection);
}

.disclosure summary:hover {
  background: var(--dp-color-field-soft);
}

.disclosure p {
  padding: 0 16px 16px;
  max-width: 42rem;
}

.closing {
  margin-bottom: 28px;
}

.cover {
  position: relative;
  padding: 52px 18px 16px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: 38px;
  background: var(--dp-color-accent-fresh);
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bit {
  position: absolute;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
}

.bit-circle {
  top: 28px;
  right: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dp-color-accent-secondary);
  box-shadow: 3px 3px 0 var(--dp-color-outline);
}

.bit-ring {
  top: 78px;
  right: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dp-color-panel);
  box-shadow: 3px 3px 0 var(--dp-color-outline);
}

.bit-arch {
  top: 22px;
  right: 92px;
  width: 34px;
  height: 42px;
  border-radius: 999px 999px 8px 8px;
  background: var(--dp-color-panel);
  box-shadow: 3px 3px 0 var(--dp-color-outline);
}

.bit-tri {
  top: 118px;
  right: 78px;
  width: 34px;
  height: auto;
  border: 0;
  background: none;
  filter: drop-shadow(3px 3px 0 #252b3a);
}

.cover-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: 8px 18px 0;
}

.cover-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
}

.cover-copy p {
  max-width: 28rem;
}

.contact-mail {
  font-weight: 600;
}

.contact-mail a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: var(--dp-spacing-gap-compact);
  max-width: 32rem;
  margin-top: 22px;
  padding: 16px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
  box-shadow: 6px 6px 0 var(--dp-color-outline);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: var(--dp-typography-label);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: var(--dp-border-detail-width) solid var(--dp-color-outline);
  border-radius: 12px;
  background: var(--dp-color-ground);
  color: var(--dp-color-ink);
  font: inherit;
  line-height: 1.4;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px 18px;
  margin-top: 40px;
  padding: 26px 24px 22px;
  border-radius: 40px 40px 22px 22px;
  background: var(--dp-color-slate);
  color: var(--dp-color-ground);
}

.footer-name {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-role,
.footer-meta {
  margin-top: 8px;
  color: #f3efe4;
  font-size: var(--dp-typography-metadata);
  line-height: 1.45;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-nav a {
  font-size: var(--dp-typography-label);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-nav a:focus-visible {
  outline-color: var(--dp-color-accent-warm);
}

.footer-meta {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.reveal[data-side="right"] {
  --reveal-from: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transform-origin: center center;
    transition: transform 820ms cubic-bezier(0.16, 0.84, 0.3, 1);
  }

  .js .reveal:not(.is-in) {
    transform:
      translateX(calc(var(--reveal-from, -1) * min(22vw, 140px)))
      rotate(calc(var(--reveal-from, -1) * 10deg));
  }

  .js .reveal.is-in {
    transform: translateX(0) rotate(0deg);
  }

  .js .reveal.is-instant {
    transition: none;
  }

  .js #contact:not(.is-shown) {
    opacity: 0;
    pointer-events: none;
  }

  .js #contact.is-shown {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 480ms ease;
  }

  .js .work:not(.is-shown) {
    opacity: 0;
    pointer-events: none;
  }

  .js .work.is-shown {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 480ms ease;
  }

  .js .shot.reveal.is-in:hover .frame,
  .js .shot.reveal.is-in:has(:focus-visible) .frame {
    animation: shot-float 2.6s ease-in-out infinite;
  }

  @keyframes shot-float {
    0%,
    100% { transform: translateY(-4px) scale(1.035); }
    50% { transform: translateY(-12px) scale(1.05); }
  }
}

@media (max-width: 1100px) {
  .hero {
    gap: 22px;
  }

  .portrait {
    --portrait-h: 420px;
  }

  .book {
    padding: 46px 26px 26px;
  }

  .gallery {
    gap: 12px;
  }

  .num {
    font-size: 36px;
  }

  .benefits {
    box-shadow: 6px 6px 0 var(--dp-color-outline);
  }
}

@media (max-width: 760px) {
  :root {
    --dp-offset: 4px;
  }

  .page,
  .header-inner {
    width: min(1120px, calc(100% - 32px));
  }

  .hero,
  .features,
  .steps,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
    width: auto;
    margin-left: 0;
    gap: 8px;
  }

  .about-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .about-card {
    width: calc(100% - 28px);
    padding: 22px 18px 20px;
  }

  .about-row .about-card,
  .about-row .about-card-left,
  .about-card-left {
    width: calc(100% - 28px);
    margin-right: 28px;
    margin-left: 0;
  }

  .about-waves {
    justify-self: end;
    width: min(220px, 70%);
    margin-right: 28px;
  }

  .about-card-right {
    margin-left: 28px;
    margin-right: 0;
  }

  .about-row-right .about-card,
  .about-row-right .about-waves {
    grid-column: auto;
    grid-row: auto;
  }

  .about-row-right .about-card {
    margin-left: 28px;
    margin-right: 0;
  }

  .about-row-right .about-waves {
    justify-self: start;
    margin-left: 28px;
    margin-right: 0;
  }

  .about-row-late .about-waves {
    justify-self: center;
    width: min(220px, 70%);
    margin-right: 0;
    margin-left: 0;
  }

  .portrait {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 500 / 540;
    justify-self: center;
    margin: 20px 0 0;
  }

  .book {
    padding: 42px 16px 18px;
    border-radius: 28px;
  }

  .book-back {
    inset: 14px -8px -10px 10px;
    border-radius: 28px;
  }

  .features article + article {
    border-top: var(--dp-border-detail-width) solid var(--dp-color-outline);
    border-left: 0;
  }

  .wheel {
    padding-inline: 16px;
  }

  .wheel-body {
    grid-template-columns: 1fr;
    align-items: start;
    overflow: auto;
  }

  .wheel-stage {
    height: min(52vh, 440px);
    margin-left: 0;
    transform: none;
  }

  .wheel-side {
    margin-left: 0;
  }

  .wheel.is-open .wheel-stage {
    transform: none;
  }

  .steps {
    gap: 22px;
  }

  .steps::before {
    content: none;
  }

  .step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    text-align: left;
  }

  .badge {
    margin: 0;
  }

  .step-copy {
    padding-top: 20px;
  }

  .step h3 {
    margin-top: 0;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 66px;
    bottom: -28px;
    left: 34px;
    width: var(--dp-border-outline-width);
    background: var(--dp-color-outline);
  }

  .benefit-list li,
  .benefit-list li + li {
    padding: 14px 0;
    border-left: 0;
  }

  .benefit-list li + li {
    border-top: var(--dp-border-detail-width) solid var(--dp-color-outline);
  }

  .fact-list {
    grid-template-columns: 1fr 1fr;
  }

  .fact-list li:last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .cover-copy {
    max-width: none;
    margin-top: 42px;
    padding-inline: 8px;
  }

  .bit-arch,
  .bit-tri {
    display: none;
  }

  .bit-circle {
    top: 16px;
    right: 16px;
  }

  .bit-ring {
    top: 18px;
    right: 64px;
  }

  .block,
  .book-scene {
    margin-top: 56px;
  }
}

@media (max-width: 480px) {
  .page,
  .header-inner {
    width: min(1120px, calc(100% - 24px));
  }

  .header-inner {
    gap: 10px 12px;
  }

  .logo {
    font-size: 20px;
  }

  .nav {
    gap: 6px 12px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .book h2,
  .work h2,
  .cover-copy h2,
  .about-heading,
  #contact-title {
    font-size: 30px;
  }

  .btn {
    padding: 10px 14px;
  }

  .badge {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .step {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .step-copy {
    padding-top: 16px;
  }

  .step:not(:last-child)::after {
    top: 58px;
    bottom: -28px;
    left: 30px;
  }

  .fact-value {
    font-size: 22px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #252b3a;
}

html.intro-open body {
  height: 100vh;
  overflow: hidden;
}

.intro-rows {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
}

.intro.is-fade .intro-rows {
  opacity: 0.34;
  transition: opacity 560ms ease;
}

.intro-row {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.intro-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  color: #fffdf5;
  font-family: var(--dp-typography-display);
  font-size: 24vh;
  font-size: 24svh;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
}

.intro-track > span {
  display: block;
  flex: none;
}

.intro-word {
  margin-right: 0.72em;
}

.intro.is-run .intro-track {
  animation: intro-slide 2s linear 1 forwards;
}

@keyframes intro-slide {
  from { transform: translateX(var(--intro-from)); }
  to { transform: translateX(var(--intro-to)); }
}

.intro-pop {
  position: absolute;
  z-index: 2;
  top: 25vh;
  left: max(72px, 8vw);
  width: min(640px, calc(100vw - 96px));
  height: 50vh;
  transform-origin: 18% 88%;
  opacity: 0;
  transform: scale(1.62);
}

.intro-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px 32px 30px;
  border: var(--dp-border-outline-width) solid #6434df;
  border-radius: 63% 37% 58% 42% / 48% 58% 42% 52%;
  background: var(--dp-color-ground);
  box-shadow: 8px 8px 0 #6434df;
}

.intro-tail {
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: 12%;
  width: 15.5%;
  height: 19%;
  overflow: visible;
  pointer-events: none;
}

.intro-tail-shadow {
  z-index: 0;
  left: calc(4% + 8px);
  bottom: calc(12% - 8px);
}

.intro.is-dialog .intro-pop {
  animation: intro-slap 460ms cubic-bezier(0.2, 0.85, 0.28, 1) both;
}

@keyframes intro-slap {
  0% { opacity: 0; transform: scale(1.62); }
  58% { opacity: 1; transform: scale(0.94); }
  78% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.intro-copy {
  text-align: left;
}

.intro-title {
  margin: 0;
  color: var(--dp-color-ink);
  font-family: var(--dp-typography-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.intro-lede {
  margin: 14px 0 0;
  max-width: 28rem;
  color: var(--dp-color-ink);
  font-size: var(--dp-typography-reading-compact);
}

.intro-skip {
  position: absolute;
  z-index: 5;
  right: max(28px, 7vw);
  bottom: max(28px, 6vh);
  margin: 0;
  padding: 12px 18px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
  color: var(--dp-color-ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--dp-color-accent);
  transition: opacity 240ms ease;
}

.intro.is-dialog .intro-skip {
  opacity: 0;
  pointer-events: none;
}

.intro.is-choices .intro-skip,
.intro.is-exit .intro-skip,
html.is-skip .intro-pop,
html.is-skip .intro-choices,
html.is-skip .intro-skip {
  visibility: hidden;
}

html.is-skip .hero-copy,
html.is-skip .work,
html.is-skip .closing,
html.is-skip .portrait {
  animation: none;
}

.intro-choices {
  position: absolute;
  right: max(28px, 7vw);
  bottom: max(28px, 6vh);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: transform 180ms cubic-bezier(0.4, 0, 1, 1);
}

.intro-choice {
  margin: 0;
  padding: 12px 18px;
  border: var(--dp-border-outline-width) solid var(--dp-color-outline);
  border-radius: var(--dp-radius-corner);
  background: var(--dp-color-panel);
  color: var(--dp-color-ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-120vw);
}

.intro-choice:nth-child(1) { box-shadow: 5px 5px 0 var(--dp-color-accent-warm); }
.intro-choice:nth-child(2) { box-shadow: 5px 5px 0 var(--dp-color-accent-secondary); }
.intro-choice:nth-child(3) { box-shadow: 5px 5px 0 var(--dp-color-accent-fresh); }

.intro.is-choices .intro-choice {
  opacity: 1;
  transform: translateX(0);
  transition:
    transform 620ms cubic-bezier(0.16, 1.35, 0.3, 1),
    opacity 320ms ease,
    box-shadow var(--dp-motion-interaction) ease;
}

.intro.is-choices .intro-choice:nth-child(2) { transition-delay: 120ms; }
.intro.is-choices .intro-choice:nth-child(3) { transition-delay: 240ms; }

.intro.is-exit .intro-choices {
  z-index: 6;
  transform: translateX(calc(100% + max(28px, 7vw) + 32px));
  pointer-events: none;
}

html.is-framing:not(.is-home) .page {
  position: relative;
  z-index: 81;
}

html.is-framing:not(.is-home) .hero-copy,
html.is-framing:not(.is-home) .about,
html.is-framing:not(.is-home) .work,
html.is-framing:not(.is-home) .closing {
  visibility: hidden;
}

html.is-framing .portrait {
  position: relative;
  z-index: 2;
  animation: intro-frame 320ms cubic-bezier(0.16, 0.84, 0.3, 1) both;
}

@keyframes intro-frame {
  from { transform: translateX(calc(100% + 10vw)); }
  to { transform: none; }
}

.intro-burst {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.intro-burst span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: 4px;
  background: #fffdf5;
  opacity: 0;
  transform: translate(0, 0) rotate(var(--a));
}

.intro-pop.is-dissolving {
  position: fixed;
  z-index: 85;
  margin: 0;
  pointer-events: none;
  animation: intro-pop-hold 490ms linear both;
}

.intro-pop.is-dissolving .intro-dialog,
.intro-pop.is-dissolving .intro-tail,
.intro-pop.is-dissolving .intro-tail-shadow {
  animation: intro-shell 260ms ease forwards;
}

.intro-pop.is-dissolving .intro-burst span {
  animation: intro-line 460ms cubic-bezier(0.16, 0.72, 0.2, 1) forwards;
}

.intro-pop.is-dissolving .intro-burst span:nth-child(odd) {
  animation-delay: 20ms;
}

.intro-pop.is-dissolving .intro-burst span:nth-child(3n) {
  animation-delay: 45ms;
}

@keyframes intro-shell {
  0%, 30% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes intro-line {
  0% { opacity: 1; transform: translate(0, 0) rotate(var(--a)); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--a)); }
}

@keyframes intro-pop-hold {
  0%, 90% { opacity: 1; transform: none; visibility: visible; }
  100% { opacity: 0; transform: none; visibility: hidden; }
}

html.is-home body {
  background: #252b3a;
}

html.is-home .intro {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: auto;
  height: auto;
  min-height: 0;
  pointer-events: none;
  transform: none;
}

html.is-home .intro-choices {
  opacity: 0;
  visibility: hidden;
}

html.is-home .page {
  position: relative;
  z-index: 1;
}

html.is-home .hero h1,
html.is-home .hero .lede,
html.is-home .about-heading,
html.is-home #contact-title {
  color: #fffdf5;
}

html.is-home .work h2,
html.is-home .work .work-title,
html.is-home .work .work-note {
  color: #fffdf5;
}

@keyframes intro-text {
  from { transform: translateX(-16vw); }
  to { transform: none; }
}

html.is-home .hero-copy,
html.is-home .work,
html.is-home .closing {
  animation: intro-text 320ms cubic-bezier(0.16, 0.84, 0.3, 1) both;
}

html.intro-open:not(.is-bar-done) .site-header {
  transform: translateY(-100%);
}

html.is-bar .site-header {
  z-index: 90;
  animation: intro-header 280ms cubic-bezier(0.16, 0.84, 0.3, 1) both;
}

html.is-bar-done .site-header,
html.is-bar .site-header.is-hidden {
  animation: none;
}

@keyframes intro-header {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.intro-choice:focus-visible,
.intro-skip:focus-visible {
  outline: 3px solid #fffdf5;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .intro.is-choices .intro-choice:hover {
    transform: translate(-2px, -2px);
  }

  .intro.is-choices .intro-choice:nth-child(1):hover { box-shadow: 7px 7px 0 var(--dp-color-accent-warm); }
  .intro.is-choices .intro-choice:nth-child(2):hover { box-shadow: 7px 7px 0 var(--dp-color-accent-secondary); }
  .intro.is-choices .intro-choice:nth-child(3):hover { box-shadow: 7px 7px 0 var(--dp-color-accent-fresh); }

  .intro.is-choices .intro-choice:active {
    transform: translate(1px, 1px);
  }

  .intro-skip:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--dp-color-accent);
  }

  .intro-skip:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--dp-color-accent);
  }

  .intro.is-choices .intro-choice:nth-child(1):active { box-shadow: 2px 2px 0 var(--dp-color-accent-warm); }
  .intro.is-choices .intro-choice:nth-child(2):active { box-shadow: 2px 2px 0 var(--dp-color-accent-secondary); }
  .intro.is-choices .intro-choice:nth-child(3):active { box-shadow: 2px 2px 0 var(--dp-color-accent-fresh); }
}

@media (max-width: 760px) {
  .intro-track {
    font-size: 16vh;
  }

  .intro-pop {
    top: 25vh;
    left: 24px;
    width: calc(100vw - 48px);
    height: 50vh;
  }

  .intro-dialog {
    padding: 22px 18px 24px;
  }

  .intro-skip {
    right: 16px;
    bottom: 20px;
  }

  .intro-choices {
    right: 16px;
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  .intro-rows {
    display: none;
  }

  .intro-pop,
  .intro-choice {
    opacity: 1;
    transform: none;
  }

  .intro.is-exit .intro-choices {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .intro-pop.is-dissolving {
    visibility: hidden;
  }

  .js .about-card,
  .js .about-waves,
  .js .about-heading {
    opacity: 1;
    transform: none;
  }

  .js .teacher-photo {
    opacity: 1;
    transform: rotate(-10deg);
  }

  .about-puff {
    display: none;
  }
}

@media (orientation: portrait) {
  .wheel-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    align-items: stretch;
    align-content: start;
    padding-top: calc(clamp(20px, 4vh, 40px) + 82px - clamp(28px, 5vh, 56px));
    overflow: hidden;
  }

  .wheel-stage,
  .wheel.is-open .wheel-stage {
    height: auto;
    margin-left: 0;
    justify-self: center;
    transform: none;
  }

  .wheel-side {
    width: 100%;
    margin-left: 0;
    justify-self: stretch;
  }
}
