:root {
  --bg: #f3efe7;
  --bg-soft: #ebe4d7;
  --bg-left: #f7f1e8;
  --bg-right: #efe7d9;
  --bg-glow: rgba(239, 205, 129, 0.24);
  --bg-glow-strong: rgba(239, 205, 129, 0.38);
  --bg-glow-soft: rgba(239, 205, 129, 0.14);
  --bg-top: #f7f1e8;
  --bg-mid: #f3efe7;
  --bg-bottom: #efe7d9;
  --ambient-highlight: rgba(255, 255, 255, 0.22);
  --ambient-shadow: rgba(255, 255, 255, 0);
  --text: #0e0e0e;
  --muted: #5f5a50;
  --dark-text: #f4efe5;
  --dark-muted: rgba(244, 239, 229, 0.76);
  --selection-bg: #111111;
  --selection-text: #f3efe7;
  --pill-text: #4f493f;
  --pill-border: rgba(95, 90, 80, 0.32);
  --pill-bg: rgba(255, 251, 243, 0.94);
  --pill-hover-bg: #111111;
  --pill-hover-text: #f4efe5;
  --role-text: rgba(95, 90, 80, 0.9);
  --role-at-opacity: 0.82;
  --role-logo-filter: brightness(0) saturate(100%) opacity(0.72);
  --section-text-color: rgba(58, 53, 46, 0.96);
  --hero-overlay-start: rgba(247, 241, 232, 0.82);
  --hero-overlay-mid: rgba(247, 241, 232, 0.66);
  --hero-overlay-soft: rgba(247, 241, 232, 0.22);
  --hero-overlay-end: rgba(247, 241, 232, 0);
  --hero-overlay-solid: rgba(247, 241, 232, 0.92);
  --hero-overlay-chip-tail: rgba(247, 241, 232, 0.54);
  --hero-overlay-chip-end: rgba(247, 241, 232, 0.08);
  --hero-text-chip-bg: rgba(247, 241, 232, 0.82);
  --hero-text-chip-shadow: rgba(247, 241, 232, 0.12);
  --display-font: "Space Grotesk", "Manrope", sans-serif;
  --max: 1580px;
  --hero-stage-max: 1460px;
  --pad: clamp(16px, 3vw, 34px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-vw: 100vw;
  --app-vh: 100svh;
  --hero-progress: 0;
  --statement-bg-opacity: 0;
  --statement-progress: 0;
  --about-progress: 0;
  --hero-image-progress: 0;
  --hero-copy-progress: 0;
  --hero-image-opacity: 1;
  --hero-image-out: 0px;
  --hero-visual-width: min(60vw, 980px);
  --hero-visual-height: min(94svh, 1180px);
  --hero-visual-right: max(18px, calc((100vw - var(--hero-stage-max)) / 2 + 18px));
  --hero-visual-overflow: hidden;
  --hero-image-scale: 1.02;
  --hero-image-shift-x: -14px;
  --hero-image-lift: 0px;
  --hero-copy-veil-opacity: 0;
  --hero-image-scroll-scale-factor: 0.012;
  --hero-image-scroll-y-factor: 0.45;
  --hero-image-intro-y: 28px;
  --hero-image-intro-scale: 0.965;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --bg-soft: #1a1c1f;
    --bg-left: #17181a;
    --bg-right: #332d22;
    --bg-glow: rgba(214, 168, 75, 0.16);
    --bg-glow-strong: rgba(214, 168, 75, 0.24);
    --bg-glow-soft: rgba(214, 168, 75, 0.08);
    --bg-top: #17181a;
    --bg-mid: #121314;
    --bg-bottom: #0f1012;
    --ambient-highlight: rgba(255, 248, 232, 0.035);
    --ambient-shadow: rgba(255, 255, 255, 0);
    --text: #f2ede2;
    --muted: #b6ada0;
    --dark-text: #121314;
    --dark-muted: rgba(18, 19, 20, 0.7);
    --selection-bg: #f2ede2;
    --selection-text: #111111;
    --pill-text: #f2ede2;
    --pill-border: rgba(242, 237, 226, 0.22);
    --pill-bg: rgba(15, 16, 18, 0.92);
    --pill-hover-bg: #f2ede2;
    --pill-hover-text: #111111;
    --role-text: #f2ede2;
    --role-at-opacity: 1;
    --role-logo-filter: brightness(0) invert(1) opacity(0.96);
    --section-text-color: rgba(242, 237, 226, 0.96);
    --hero-overlay-start: rgba(18, 19, 20, 0.9);
    --hero-overlay-mid: rgba(18, 19, 20, 0.72);
    --hero-overlay-soft: rgba(18, 19, 20, 0.24);
    --hero-overlay-end: rgba(18, 19, 20, 0);
    --hero-overlay-solid: rgba(18, 19, 20, 0.9);
    --hero-overlay-chip-tail: rgba(18, 19, 20, 0.5);
    --hero-overlay-chip-end: rgba(18, 19, 20, 0.06);
    --hero-text-chip-bg: rgba(18, 19, 20, 0.54);
    --hero-text-chip-shadow: rgba(242, 237, 226, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  cursor: auto;
  overflow-x: hidden;
  background-color: var(--bg);
  background:
    radial-gradient(circle at 92% 10%, var(--bg-glow-strong) 0, rgba(239, 205, 129, 0) 20%),
    radial-gradient(circle at 78% 22%, var(--bg-glow-soft) 0, rgba(239, 205, 129, 0) 34%),
    linear-gradient(110deg, var(--bg-left) 0%, var(--bg-mid) 58%, var(--bg-right) 100%);
  color-scheme: light dark;
}

html *,
html *::before,
html *::after {
  cursor: inherit;
}

html.has-fake-cursor,
html.has-fake-cursor *,
html.has-fake-cursor *::before,
html.has-fake-cursor *::after {
  cursor: none !important;
}

body {
  position: relative;
  margin: 0;
  min-height: 100%;
  min-width: 350px;
  overflow-x: hidden;
  background-color: var(--bg);
  background:
    radial-gradient(circle at 92% 10%, var(--bg-glow-strong) 0, rgba(239, 205, 129, 0) 20%),
    radial-gradient(circle at 78% 22%, var(--bg-glow-soft) 0, rgba(239, 205, 129, 0) 34%),
    linear-gradient(110deg, var(--bg-left) 0%, var(--bg-mid) 58%, var(--bg-right) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: inherit;
}

html.js body {
  opacity: 0;
  transition: opacity 900ms ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  display: block;
  inset:
    calc((var(--safe-top) * -1) - 4px)
    calc((var(--safe-right) * -1) - 4px)
    calc((var(--safe-bottom) * -1) - 4px)
    calc((var(--safe-left) * -1) - 4px);
  background:
    radial-gradient(circle at 96% 8%, var(--bg-glow) 0, rgba(239, 205, 129, 0) 24%),
    radial-gradient(circle at 82% 24%, var(--bg-glow-soft) 0, rgba(239, 205, 129, 0) 28%),
    linear-gradient(120deg, var(--ambient-highlight), var(--ambient-shadow));
  opacity: 0.9;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: ambientFloat 24s ease-in-out infinite alternate;
}

body::after {
  display: none;
}

html.js body.is-ready {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease, opacity 220ms ease, transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
  cursor: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

.site {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: calc(clamp(18px, 2vw, 28px) + var(--safe-top)) calc(var(--pad) + var(--safe-right)) calc(28px + var(--safe-bottom)) calc(var(--pad) + var(--safe-left));
  overflow: visible;
  background: transparent;
}

.cursor-shell {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 40px;
  height: 52px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  transition: opacity 120ms ease;
}

.cursor-shell img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: max(132vh, calc(100svh + 9rem));
  width: 100%;
  margin-left: 0;
  overflow: visible;
  background-color: transparent;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--hero-copy-veil-opacity);
  background:
    linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 42%, var(--hero-overlay-soft) 72%, var(--hero-overlay-end) 100%),
    radial-gradient(circle at 18% 18%, rgba(239, 205, 129, 0.12) 0, rgba(239, 205, 129, 0) 28%);
}

.hero::before {
  content: none;
  position: absolute;
  left: 0;
  bottom: 8%;
  transform: none;
  font-family: var(--display-font);
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.84;
  letter-spacing: -0.09em;
  font-weight: 700;
  color: rgba(14, 14, 14, calc(0.05 * (1 - var(--hero-copy-progress))));
  white-space: nowrap;
  pointer-events: none;
  opacity: calc(1 - var(--hero-copy-progress) * 1.02);
  filter: none;
}

.hero-sticky {
  position: relative;
  width: min(var(--hero-stage-max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  align-items: center;
  padding: clamp(12px, 2vw, 26px) 0 clamp(10px, 2.8vw, 32px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: min(48%, 640px);
  padding-top: clamp(58px, 10vh, 122px);
  padding-bottom: clamp(220px, 20vw, 320px);
  opacity: calc(1 - var(--hero-copy-progress) * 0.98);
  transform: translate3d(0, calc(var(--hero-copy-progress) * -44px), 0);
  filter: none;
  transition: opacity 220ms ease-out, transform 180ms ease-out;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -18px -18px -22px -18px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 56%, var(--hero-overlay-chip-tail) 84%, var(--hero-overlay-chip-end) 100%);
  filter: blur(10px);
  border-radius: 28px;
  transition: opacity 180ms ease-out;
}

.hero-links a,
.contact-links a,
.bottom-links a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pill-text);
}

.hero-context {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: clamp(1.08rem, 1.75vw, 1.24rem);
  line-height: 1.82;
}

.hero-role {
  margin: 22px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--role-text);
  font-weight: 700;
}

.hero-role-lockup {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 4px;
}

.hero-role-label {
  font-family: var(--display-font);
}

.hero-role-at {
  font-family: var(--display-font);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  opacity: var(--role-at-opacity);
}

.hero-role-logo {
  display: inline-block;
  width: auto;
  height: 1.62em;
  vertical-align: middle;
  transform: translateY(0.03em);
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: var(--role-logo-filter);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 14px;
}

.bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px 26px;
  align-items: center;
  padding-top: clamp(44px, 7vw, 72px);
}

.hero-title {
  margin: 0;
  max-width: 7.8ch;
  font-family: var(--display-font);
  font-size: clamp(3.7rem, 11.8vw, 11.2rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  margin: clamp(24px, 3vw, 36px) 0 0;
  max-width: 38ch;
  font-size: clamp(1.08rem, 1.72vw, 1.22rem);
  line-height: 1.85;
}

.hero-visual {
  position: fixed;
  right: var(--hero-visual-right);
  bottom: 0;
  z-index: 2;
  width: var(--hero-visual-width);
  height: var(--hero-visual-height);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  /* overflow: var(--hero-visual-overflow); */
  transition: opacity 220ms ease-out;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero.is-pinned .hero-visual {
  position: fixed;
}

@media (pointer: coarse) {
  .hero-visual,
  .hero.is-pinned .hero-visual {
    transition: opacity 180ms ease-out;
  }

  .portrait-frame img {
    transition: opacity 140ms linear, filter 180ms ease-out;
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 8px;
  width: min(58%, 420px);
  height: 50px;
  background: radial-gradient(circle at center, rgba(14, 14, 14, 0.08), rgba(14, 14, 14, 0));
  border-radius: 50%;
  filter: blur(18px);
  z-index: 0;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: var(--hero-visual-width);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  /* overflow: var(--hero-visual-overflow); */
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  opacity: var(--hero-image-opacity);
  transform: translate3d(var(--hero-image-shift-x), calc(var(--hero-image-lift) + (var(--hero-image-out) * var(--hero-image-scroll-y-factor))), 0) scale(calc(var(--hero-image-scale) - (var(--hero-image-progress) * var(--hero-image-scroll-scale-factor))));
  transform-origin: bottom right;
  filter: drop-shadow(0 28px 44px rgba(14, 14, 14, 0.18)) grayscale(8%) contrast(1.02);
  transition: opacity 160ms linear, transform 220ms ease-out, filter 180ms ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

html.js body:not(.is-ready) .portrait-frame img {
  opacity: 0;
  transform: translate3d(var(--hero-image-shift-x), calc(var(--hero-image-lift) + var(--hero-image-intro-y)), 0) scale(calc(var(--hero-image-scale) * var(--hero-image-intro-scale)));
}

html.js body.is-ready .portrait-frame img {
  transition:
    opacity 720ms cubic-bezier(.18, .8, .22, 1) 120ms,
    transform 920ms cubic-bezier(.18, .8, .22, 1) 120ms,
    filter 640ms ease 120ms;
  animation: heroImageIntro 960ms cubic-bezier(.18, .8, .22, 1) both;
}

body.hero-image-gone .hero-visual {
  opacity: 0;
  visibility: hidden;
}

.statement-phase {
  --statement-text: var(--text);
  position: relative;
  width: 100%;
  margin-left: 0;
  margin-top: 0;
  background-color: transparent;
  color: var(--statement-text);
  overflow: clip;
}

.statement-phase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.statement-phase *::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

.statement-phase-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 18px));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.statement-phase .section-title {
  color: var(--text);
}

.statement-phase .section-text {
  color: var(--section-text-color);
}

.statement-phase .hero-links a,
.statement-phase .bottom-links a,
.statement-phase .contact-links a {
  color: var(--pill-text);
  border-color: var(--pill-border);
  background: var(--pill-bg);
}

.statement-phase .hero-links a:hover,
.statement-phase .bottom-links a:hover,
.statement-phase .contact-links a:hover {
  color: var(--pill-hover-text);
  background: var(--pill-hover-bg);
  border-color: var(--pill-hover-bg);
}

.statement {
  position: relative;
  min-height: clamp(620px, 110vh, 1180px);
}

.statement-sticky {
  position: relative;
  min-height: inherit;
  display: grid;
  align-items: center;
}

.statement-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 124px) var(--pad) clamp(32px, 7vh, 72px);
}

.statement-text {
  margin: 0;
  max-width: 10ch;
  font-family: var(--display-font);
  font-size: clamp(3.2rem, 10vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  transform: translate3d(0, calc((1 - var(--statement-progress)) * 22px), 0);
  opacity: calc(0.9 + var(--statement-progress) * 0.1);
  filter: none;
  transition: none;
}

.section-body {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(72px, 9vw, 120px);
  opacity: calc(0.96 + var(--about-progress) * 0.04);
  transform: translate3d(0, calc((1 - var(--about-progress)) * 16px), 0);
  filter: none;
  transition: none;
}

.section-title {
  margin: 0 0 22px;
  max-width: 11ch;
  font-family: var(--display-font);
  font-size: clamp(2.7rem, 6.8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 700;
  text-transform: uppercase;
}

.section-text {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
  color: var(--section-text-color);
}

.section-text+.section-text {
  margin-top: 28px;
}

.hero-links a,
.contact-links a,
.bottom-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.38rem 0.82rem;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  font-weight: 700;
  background: var(--pill-bg);
}

.hero-links a::after,
.contact-links a::after,
.bottom-links a::after {
  display: none;
}

.hero-links a:hover,
.bottom-links a:hover,
.contact-links a:hover {
  color: var(--pill-hover-text);
  background: var(--pill-hover-bg);
  border-color: var(--pill-hover-bg);
  opacity: 1;
  transform: translateY(-1px);
}

html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  filter: blur(6px);
  transition: opacity 900ms cubic-bezier(.18, .8, .22, 1), transform 1100ms cubic-bezier(.18, .8, .22, 1), filter 900ms ease;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

html.js .reveal-left {
  transform: translate3d(-34px, 34px, 0);
}

html.js .reveal-right {
  transform: translate3d(38px, 22px, 0);
}

html.js .reveal-soft {
  transform: translate3d(0, 24px, 0);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

html.js .statement-phase .reveal,
html.js .statement-phase .reveal-left,
html.js .statement-phase .reveal-right,
html.js .statement-phase .reveal-soft,
html.js .statement-phase .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.hero-copy .reveal:nth-child(1) {
  --delay: 60ms;
}

.hero-copy .reveal:nth-child(2) {
  --delay: 150ms;
}

.hero-copy .reveal:nth-child(3) {
  --delay: 220ms;
}

.hero-copy .reveal:nth-child(4) {
  --delay: 300ms;
}

.hero-copy .reveal:nth-child(5) {
  --delay: 360ms;
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(0, -1.2%, 0) scale(1.015);
  }
}

@keyframes heroImageIntro {
  0% {
    opacity: 0;
    transform: translate3d(var(--hero-image-shift-x), calc(var(--hero-image-lift) + var(--hero-image-intro-y)), 0) scale(calc(var(--hero-image-scale) * var(--hero-image-intro-scale)));
    filter: drop-shadow(0 18px 28px rgba(14, 14, 14, 0.12)) grayscale(10%) contrast(1);
  }

  100% {
    opacity: var(--hero-image-opacity);
    transform: translate3d(var(--hero-image-shift-x), calc(var(--hero-image-lift) + (var(--hero-image-out) * var(--hero-image-scroll-y-factor))), 0) scale(calc(var(--hero-image-scale) - (var(--hero-image-progress) * var(--hero-image-scroll-scale-factor))));
    filter: drop-shadow(0 28px 44px rgba(14, 14, 14, 0.18)) grayscale(8%) contrast(1.02);
  }
}

@media (max-width: 1180px) {
  :root {
    --hero-image-scale: 1.01;
    --hero-image-shift-x: -8px;
    --hero-image-lift: 0px;
  }

  .hero {
    min-height: max(126vh, calc(100svh + 7rem));
  }

  .hero-copy {
    max-width: min(54%, 600px);
  }

  .hero-visual {
    width: min(56vw, 760px);
    height: min(92svh, 1060px);
  }

  .portrait-frame {
    max-width: 760px;
  }
}

@media (min-width: 1600px) {
  :root {
    --hero-visual-right: max(20px, calc((100vw - var(--hero-stage-max)) / 2 + 20px));
    --hero-visual-width: min(61vw, 1120px);
    --hero-visual-height: min(96svh, 1260px);
    --hero-image-scale: 1.07;
    --hero-image-shift-x: -70px;
    --hero-image-lift: -12px;
  }

  .hero {
    min-height: max(138vh, calc(100svh + 11rem));
  }

  .hero-copy {
    max-width: min(44%, 700px);
    padding-top: clamp(58px, 8vh, 118px);
  }

  .portrait-frame {
    max-width: 1120px;
  }
}

@media (min-width: 2200px) {
  :root {
    --max: min(92vw, 2360px);
    --hero-stage-max: min(88vw, 2200px);
    --pad: clamp(28px, 2vw, 54px);
    --hero-visual-right: max(28px, calc((100vw - var(--hero-stage-max)) / 2 + 28px));
    --hero-visual-width: min(58vw, 1380px);
    --hero-visual-height: min(94svh, 1500px);
    --hero-image-scale: 1.1;
    --hero-image-shift-x: -100px;
    --hero-image-lift: -20px;
  }

  .site {
    padding-top: clamp(24px, 1.6vw, 42px);
  }

  .hero {
    min-height: max(136vh, calc(100svh + 10rem));
  }

  .hero-copy {
    max-width: min(46%, 820px);
    padding-top: clamp(72px, 8vh, 138px);
    padding-bottom: clamp(240px, 18vw, 420px);
  }

  .hero-title {
    font-size: clamp(5rem, 7.3vw, 15rem);
    max-width: 7.4ch;
  }

  .hero-subtitle,
  .hero-context {
    max-width: 42ch;
    font-size: clamp(1.18rem, 1.02vw, 1.55rem);
  }

  .hero-role {
    font-size: 1.25rem;
  }

  .hero-links a,
  .contact-links a,
  .bottom-links a {
    font-size: 0.8rem;
    min-height: 46px;
    padding: 0.45rem 0.96rem;
  }

  .portrait-frame {
    max-width: 1380px;
  }

  .statement-inner,
  .statement-phase-inner {
    width: min(var(--max), calc(100% - 24px));
  }

  .statement-text {
    font-size: clamp(4rem, 7vw, 11.5rem);
  }

  .section-title {
    font-size: clamp(3rem, 5vw, 7.6rem);
  }

  .section-text {
    font-size: clamp(1.04rem, 0.95vw, 1.2rem);
  }
}

@media (pointer: fine) and (max-aspect-ratio: 1 / 1) and (min-width: 761px) {
  .hero {
    min-height: max(118vh, calc(100svh + 4rem));
  }

  .hero-copy {
    max-width: min(48%, 560px);
    padding-bottom: clamp(132px, 14vw, 220px);
  }

  .hero-visual {
    right: clamp(2px, 2vw, 18px);
    bottom: 0;
    width: min(57vw, 840px);
    height: min(89svh, 1080px);
  }

  .portrait-frame {
    max-width: 840px;
  }
}

@media (pointer: fine) and (max-height: 860px) and (min-width: 761px) {
  .hero {
    min-height: max(118vh, calc(100svh + 4rem));
  }

  .hero-copy {
    padding-top: clamp(58px, 11vh, 118px);
    padding-bottom: clamp(180px, 18vw, 260px);
  }

  .hero-visual {
    bottom: 0;
    width: min(54vw, 700px);
    height: min(84svh, 860px);
  }

  .portrait-frame {
    max-width: 700px;
  }
}

@media (pointer: fine) and (max-height: 640px) and (min-width: 761px) {
  .hero {
    min-height: max(100svh, 580px);
  }

  .hero-sticky {
    padding-top: 8px;
    padding-bottom: 0;
  }

  .hero-copy {
    max-width: min(44%, 480px);
    padding-top: clamp(10px, 2.5vh, 26px);
    padding-bottom: clamp(24px, 5vw, 72px);
  }

  .hero-title {
    font-size: clamp(3.1rem, 8vw, 7.8rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 30ch;
    line-height: 1.56;
  }

  .hero-visual {
    right: clamp(-36px, -3vw, 0px);
    width: min(54vw, 780px);
    height: min(100svh, 760px);
  }

  .portrait-frame {
    max-width: 780px;
  }
}

@media (pointer: fine) and (max-height: 420px) and (min-width: 761px) {
  .hero {
    min-height: max(100svh, 360px);
  }

  .hero-copy {
    max-width: min(42%, 390px);
    padding-top: 2px;
    padding-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 7vw, 6rem);
  }

  .hero-subtitle,
  .hero-context {
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .hero-role {
    margin-top: 10px;
  }

  .hero-links {
    margin-top: 8px;
  }

  .hero-visual {
    right: -26px;
    width: min(56vw, 640px);
    height: min(104svh, 470px);
  }

  .portrait-frame {
    max-width: 640px;
  }
}

@media (pointer: fine) and (max-aspect-ratio: 1 / 1.22) and (min-width: 761px) {
  .hero {
    min-height: max(114vh, calc(100svh + 2rem));
  }

  .hero-copy {
    padding-bottom: clamp(170px, 18vw, 250px);
  }

  .hero-visual {
    right: clamp(10px, 2.6vw, 28px);
    bottom: 0;
    width: min(57vw, 800px);
    height: min(88svh, 1020px);
  }

  .portrait-frame {
    max-width: 800px;
  }
}

@media (max-width: 760px) {
  :root {
    --hero-visual-right: clamp(-72px, -12vw, -18px);
    --hero-visual-width: clamp(380px, 68vw, 560px);
    --hero-visual-height: min(98svh, 860px);
    --hero-visual-overflow: visible;
    --hero-image-scale: 1;
    --hero-image-shift-x: 0px;
    --hero-image-lift: 0px;
  }

  .site {
    width: 100%;
    padding-top: var(--safe-top);
    padding-right: var(--safe-right);
    padding-bottom: var(--safe-bottom);
    padding-left: var(--safe-left);
  }

  .hero {
    min-height: max(100svh, 640px);
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0;
    overflow: clip;
  }

  .hero::after {
    opacity: max(0.18, var(--hero-copy-veil-opacity));
    background:
      linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 52%, var(--hero-overlay-chip-tail) 80%, var(--hero-overlay-chip-end) 100%),
      radial-gradient(circle at 72% 14%, var(--bg-glow-soft) 0, rgba(239, 205, 129, 0) 22%);
  }

  .hero::before {
    top: auto;
    bottom: 12%;
    font-size: clamp(2.7rem, 15vw, 5rem);
    color: rgba(14, 14, 14, 0.03);
    left: 10px;
    right: 10px;
    overflow: hidden;
  }

  .hero-sticky,
  .hero-grid {
    min-height: inherit;
  }

  .hero-sticky {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }

  .hero-copy {
    max-width: min(52%, 340px);
    padding-top: clamp(58px, 10vh, 122px);
    padding-bottom: clamp(94px, 14vw, 138px);
  }

  .hero-title {
    max-width: 6.6ch;
    font-size: clamp(2.55rem, 14.2vw, 4.8rem);
    line-height: 0.9;
  }

  .hero-subtitle,
  .hero-context,
  .section-text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-role {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .hero-role-lockup {
    align-items: center;
    gap: 4px 8px;
  }

  .hero-role-logo {
    min-width: 0;
    height: 1.62em;
  }

  .hero-links {
    gap: 10px 18px;
  }

  .hero-visual {
    position: fixed;
    right: var(--hero-visual-right);
    bottom: 0;
    width: var(--hero-visual-width);
    height: var(--hero-visual-height);
    z-index: 1;
  }

  .portrait-frame {
    max-width: 560px;
  }

  .statement {
    min-height: clamp(460px, 74vh, 660px);
  }

  .statement-text {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 5.8rem);
  }

  .statement-phase-inner {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .statement-inner,
  .section-body {
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }

}

@media (max-width: 520px) {
  :root {
    --hero-visual-right: clamp(-148px, -32vw, -82px);
    --hero-visual-width: clamp(336px, 80vw, 454px);
    --hero-visual-height: min(98svh, 780px);
  }

  .hero {
    min-height: max(100svh, 720px);
  }

  .hero::before {
    bottom: 18%;
    transform: none;
    font-size: clamp(2.1rem, 13vw, 3.8rem);
    color: rgba(14, 14, 14, 0.024);
  }

  .hero-sticky,
  .hero-grid {
    min-height: inherit;
  }

  .hero-copy {
    max-width: min(72%, 336px);
    padding-top: clamp(58px, 10vh, 122px);
    padding-right: min(2vw, 8px);
    padding-bottom: 88px;
  }

  .hero-title {
    max-width: 6.8ch;
    font-size: clamp(2.36rem, 13.8vw, 4.4rem);
  }

  .hero-role {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .hero-role-lockup {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 5px;
  }

  .portrait-frame {
    max-width: 410px;
  }

  .statement-phase-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .statement {
    min-height: clamp(320px, 46vh, 420px);
  }
}

@media (max-width: 420px) {
  :root {
    --hero-visual-right: clamp(-52px, -12vw, -12px);
    --hero-visual-width: clamp(304px, 80vw, 380px);
    --hero-visual-height: min(100svh, 820px);
  }

  .hero {
    min-height: max(100svh, 740px);
  }

  .hero-copy {
    max-width: min(50%, 238px);
    padding-bottom: 80px;
  }

  .portrait-frame {
    max-width: 360px;
  }
}

@media (max-width: 429px) and (max-aspect-ratio: 1 / 1.55) {
  :root {
    --hero-visual-right: auto;
    --hero-visual-width: min(82vw, 320px);
    --hero-visual-height: auto;
  }

  .site {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-sticky,
  .hero-grid {
    min-height: auto;
  }

  .hero-sticky {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: clamp(58px, 10vh, 122px);
    padding-right: calc(16px + var(--safe-right));
    padding-left: calc(16px + var(--safe-left));
    padding-bottom: 16px;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: var(--hero-visual-width);
    height: auto;
    min-height: 0;
    margin: 0 auto -22px;
  }

  .portrait-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .portrait-frame img {
    width: 100%;
    height: auto;
    max-height: none;
    object-position: bottom center;
  }

  .statement-phase-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .statement {
    min-height: auto;
  }

  .statement-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .statement-text {
    font-size: clamp(2.35rem, 13vw, 4.5rem);
  }

  .statement-inner,
  .section-body {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }

  .section-body {
    padding-top: 14px;
  }

}

@media (max-width: 429px) and (max-aspect-ratio: 1 / 2) {

  body::after,
  .hero::after,
  .statement-phase::before {
    opacity: 0 !important;
  }

  body {
    background-color: var(--bg);
    transition: none;
  }

  .site,
  .hero,
  .statement-phase {
    background-color: transparent;
  }

  .statement-phase {
    color: var(--text);
  }

  .statement-text,
  .statement-phase .section-title {
    color: var(--text);
  }

  .statement-phase .section-text {
    color: var(--section-text-color);
  }

  .statement-phase .hero-links a,
  .statement-phase .bottom-links a,
  .statement-phase .contact-links a {
    color: var(--pill-text);
    border-color: var(--pill-border);
    background: var(--pill-bg);
  }

  .statement-phase .hero-links a:hover,
  .statement-phase .bottom-links a:hover,
  .statement-phase .contact-links a:hover {
    color: var(--pill-hover-text);
    background: var(--pill-hover-bg);
    border-color: var(--pill-hover-bg);
  }

  .statement-text,
  .section-body {
    transform: none;
    opacity: 1;
  }

}

@media (pointer: fine) and (max-width: 760px) and (min-width: 430px) and (max-aspect-ratio: 1 / 1.45) {
  :root {
    --hero-visual-right: clamp(-118px, -25vw, -52px);
    --hero-visual-width: clamp(320px, 74vw, 430px);
    --hero-visual-height: min(96svh, 930px);
  }

  .hero {
    min-height: max(100svh, 760px);
    padding-bottom: 0;
  }

  .hero-sticky,
  .hero-grid {
    min-height: inherit;
  }

  .hero-copy {
    max-width: min(52%, 292px);
    padding-top: clamp(58px, 10vh, 122px);
    padding-bottom: clamp(58px, 10vh, 96px);
  }

  .hero-visual {
    position: fixed;
    right: var(--hero-visual-right);
    bottom: 0;
    width: var(--hero-visual-width);
    height: var(--hero-visual-height);
    min-height: 0;
    margin: 0;
  }

  .portrait-frame {
    max-width: 430px;
    margin: 0;
  }

  .portrait-frame img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-position: bottom right;
  }

  .statement {
    min-height: clamp(420px, 56vh, 620px);
  }

  .statement-inner {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .statement-text {
    font-size: clamp(2.9rem, 10vw, 5rem);
  }

  .section-body {
    padding-top: 30px;
  }
}

@media (max-width: 349px) {

  html,
  body {
    min-width: 350px;
  }

  .site,
  .hero,
  .statement-phase,
  .hero-sticky,
  .hero-grid,
  .statement-phase-inner {
    min-width: 350px;
    width: 350px;
  }

  .statement-inner,
  .section-body {
    min-width: 350px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle,
  .hero-context,
  .section-text {
    font-size: 1rem;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 248px;
    height: auto;
    min-height: 0;
    margin: 6px auto 0;
  }

  .portrait-frame {
    max-width: 248px;
    margin: 0 auto;
  }

  .portrait-frame img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

@media (pointer: fine) and (max-width: 760px) and (min-width: 560px) and (max-height: 760px) {
  :root {
    --hero-visual-right: -10px;
    --hero-visual-width: clamp(420px, 58vw, 540px);
    --hero-visual-height: min(86svh, 680px);
  }

  .hero {
    min-height: max(100svh, 620px);
  }

  .hero-copy {
    max-width: min(50%, 380px);
    padding-right: min(14vw, 96px);
    padding-bottom: 92px;
  }

  .portrait-frame {
    max-width: 540px;
  }
}

@media (pointer: fine) and (max-width: 760px) and (max-height: 560px) {
  :root {
    --hero-visual-right: 0px;
    --hero-visual-width: clamp(330px, 50vw, 420px);
    --hero-visual-height: min(96svh, 540px);
    --hero-image-shift-x: -10px;
  }

  .hero {
    min-height: max(100svh, 560px);
  }

  .hero-copy {
    max-width: min(52%, 330px);
    padding-bottom: 42px;
  }

  .hero-subtitle,
  .hero-context {
    max-width: 28ch;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .portrait-frame {
    max-width: 460px;
  }
}

@media (pointer: fine) and (min-width: 1000px) and (min-height: 1400px) and (max-aspect-ratio: 0.95 / 1) {
  :root {
    --hero-visual-right: clamp(-20px, -1vw, 8px);
    --hero-visual-width: min(56vw, 980px);
    --hero-visual-height: min(88svh, 1340px);
    --hero-image-scale: 1.1;
    --hero-image-shift-x: 22px;
    --hero-image-lift: 34px;
  }

  .hero {
    min-height: max(126vh, calc(100svh + 6rem));
  }

  .hero-copy {
    max-width: min(40%, 560px);
    padding-top: clamp(68px, 8vh, 132px);
    padding-bottom: clamp(170px, 12vw, 240px);
  }

  .hero-title {
    font-size: clamp(5.25rem, 9.4vw, 10.9rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 31ch;
  }

  .portrait-frame {
    max-width: 980px;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .statement {
    min-height: clamp(520px, 110vh, 760px);
  }
}

@media (pointer: fine) and (max-height: 840px) and (min-width: 761px) and (min-aspect-ratio: 1.75 / 1) {
  :root {
    --hero-visual-right: clamp(-18px, -2vw, 12px);
    --hero-visual-width: min(68vw, 1200px);
    --hero-visual-height: min(100svh, 920px);
    --hero-visual-overflow: visible;
    --hero-image-scale: 1.04;
    --hero-image-shift-x: -22px;
    --hero-image-lift: -16px;
  }

  .hero {
    min-height: max(100svh, 520px);
  }

  .hero-copy {
    max-width: min(42%, 520px);
    padding-bottom: clamp(28px, 5vw, 80px);
  }

  .portrait-frame {
    max-width: 1200px;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    max-width: min(100%, 350px);
  }

  .hero-links {
    gap: 10px 14px;
  }

  .hero-links a,
  .bottom-links a {
    background: var(--pill-bg);
  }

  .bottom-links {
    gap: 10px 14px;
  }
}

@media (pointer: coarse) {
  :root {
    --hero-image-scroll-scale-factor: 0;
    --hero-image-scroll-y-factor: 0;
    --hero-image-intro-y: 18px;
    --hero-image-intro-scale: 0.985;
  }

  .cursor-shell {
    display: none;
  }

  body,
  body::before,
  body::after,
  .hero::after {
    transition: none !important;
  }

  html.js body:not(.is-ready) .portrait-frame img {
    opacity: 1;
    transform: translate3d(var(--hero-image-shift-x), calc(var(--hero-image-lift) + (var(--hero-image-out) * var(--hero-image-scroll-y-factor))), 0) scale(calc(var(--hero-image-scale) - (var(--hero-image-progress) * var(--hero-image-scroll-scale-factor))));
    filter: drop-shadow(0 28px 44px rgba(14, 14, 14, 0.18)) grayscale(8%) contrast(1.02);
  }

  html.js body.is-ready .portrait-frame img {
    animation: none;
  }
}

@media (pointer: coarse) and (min-width: 761px) and (orientation: portrait) {
  :root {
    --hero-visual-right: clamp(12px, 2vw, 24px);
    --hero-visual-width: min(49vw, 680px);
    --hero-visual-height: min(calc(var(--app-vh) * 0.82), 1040px);
    --hero-visual-overflow: hidden;
    --hero-image-scale: 1.04;
    --hero-image-shift-x: 2px;
    --hero-image-lift: 12px;
    --hero-copy-veil-opacity: 0.12;
  }

  .hero {
    min-height: max(calc(var(--app-vh) * 1.18), 980px);
    overflow: visible;
  }

  .hero-visual,
  .hero.is-pinned .hero-visual {
    position: absolute;
    top: calc(var(--app-vh) - var(--hero-visual-height));
    bottom: auto;
  }

  .hero-copy {
    max-width: min(48%, 560px);
    padding-top: clamp(54px, calc(var(--app-vh) * 0.08), 98px);
    padding-bottom: clamp(180px, 18vw, 250px);
  }

  .hero-subtitle,
  .hero-context {
    max-width: min(34ch, 100%);
  }
}

@media (pointer: coarse) and (orientation: landscape) {
  :root {
    --hero-visual-right: clamp(4px, 2vw, 24px);
    --hero-visual-width: clamp(520px, 58vw, 760px);
    --hero-visual-height: min(calc(var(--app-vh) * 1.08), 820px);
    --hero-visual-overflow: visible;
    --hero-image-scale: 1.15;
    --hero-image-shift-x: -12px;
    --hero-image-lift: 40px;
    --hero-copy-veil-opacity: 0.2;
  }

  .hero {
    min-height: max(var(--app-vh), 700px);
    overflow: visible;
  }

  .hero-visual,
  .hero.is-pinned .hero-visual {
    position: absolute;
    top: clamp(-48px, calc(var(--app-vh) - var(--hero-visual-height)), 28px);
    bottom: auto;
  }

  .hero-copy {
    max-width: min(60%, 620px);
    padding-top: clamp(22px, calc(var(--app-vh) * 0.06), 68px);
    padding-bottom: clamp(26px, calc(var(--app-vh) * 0.07), 76px);
  }

  .hero-sticky {
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }

  .hero-subtitle {
    max-width: min(36ch, 100%);
    border-radius: 24px;
    color: var(--text);
    text-shadow: none;
  }

  .hero-context {
    max-width: min(36ch, 100%);
    padding-left: 0.2rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .hero-visual::after {
    display: none;
  }

  .portrait-frame img {
    filter: drop-shadow(0 16px 24px rgba(95, 90, 80, 0.06)) grayscale(4%) contrast(1.02);
  }
}

body.touch-desktop-hero .hero-visual,
body.touch-desktop-hero .hero.is-pinned .hero-visual {
  position: fixed;
  top: auto;
  bottom: 0;
}

body.touch-desktop-hero .hero-copy,
body.touch-desktop-hero .hero-visual,
body.touch-desktop-hero .portrait-frame img {
  transition:
    opacity 200ms ease-out,
    transform 220ms ease-out,
    filter 200ms ease-out !important;
}

body.touch-compact-hero .hero-copy::before {
  opacity: 0;
}

body.touch-compact-hero .statement-phase::before {
  background: none;
  opacity: 0;
}

body.touch-compact-hero .hero-subtitle,
body.touch-compact-hero .hero-context,
body.touch-compact-hero .hero-role {
  position: relative;
  display: block;
  max-width: min(100%, 32ch);
  padding: 0;
  margin-left: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.14);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

body.touch-compact-hero .hero-context,
body.touch-compact-hero .hero-role {
  margin-top: 12px;
}

@media (pointer: coarse) and (max-width: 760px) {
  body.touch-desktop-hero {
    --hero-visual-right: clamp(-110px, -30vw, 22px);
    --hero-visual-width: clamp(320px, 54vw, 460px);
    --hero-visual-height: min(calc(var(--app-vh) * 0.84), 860px);
    --hero-visual-overflow: hidden;
    --hero-image-scale: 1.03;
    --hero-image-shift-x: 4px;
    --hero-image-lift: 10px;
    --hero-copy-veil-opacity: 0;
  }

  body.touch-desktop-hero .hero {
    min-height: max(calc(var(--app-vh) * 1.14), 820px);
    overflow: visible;
  }

  body.touch-desktop-hero .hero-sticky,
  body.touch-desktop-hero .hero-grid {
    min-height: inherit;
  }

  body.touch-desktop-hero .hero-sticky {
    width: 100%;
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }

  body.touch-desktop-hero .hero-copy {
    max-width: min(65%, 350px);
    padding-top: clamp(52px, calc(var(--app-vh) * 0.08), 96px);
    padding-bottom: clamp(120px, calc(var(--app-vh) * 0.14), 176px);
    padding-right: min(4vw, 14px);
  }

  body.touch-desktop-hero .hero-title {
    max-width: 7.2ch;
    font-size: clamp(2.9rem, 10vw, 5.2rem);
  }

  body.touch-desktop-hero .hero-subtitle,
  body.touch-desktop-hero .hero-context,
  body.touch-desktop-hero .section-text {
    font-size: 1rem;
    line-height: 1.78;
  }

  body.touch-desktop-hero .hero-visual,
  body.touch-desktop-hero .hero.is-pinned .hero-visual {
    position: fixed;
    right: var(--hero-visual-right);
    bottom: 0;
    top: auto;
    width: var(--hero-visual-width);
    height: var(--hero-visual-height);
    z-index: 2;
  }

  body.touch-desktop-hero .portrait-frame {
    max-width: var(--hero-visual-width);
    margin: 0;
  }

  body.touch-desktop-hero .statement {
    min-height: clamp(500px, 72vh, 720px);
  }

  body.touch-desktop-hero .statement-inner,
  body.touch-desktop-hero .section-body {
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }
}

@media (pointer: coarse) and (max-width: 449px) {
  body.touch-desktop-hero {
    --hero-visual-right: clamp(-140px, -38vw, -12px);
    --hero-visual-width: clamp(320px, 54vw, 460px);
    --hero-visual-height: min(calc(var(--app-vh) * 0.84), 860px);
    --hero-visual-overflow: hidden;
    --hero-image-scale: 1.03;
    --hero-image-shift-x: 4px;
    --hero-image-lift: 10px;
    --hero-copy-veil-opacity: 0;
  }
}

@media (min-width: 860px) and (max-width: 1120px) and (max-height: 460px) {
  :root {
    --hero-visual-right: clamp(104px, 12vw, 176px);
    --hero-visual-width: clamp(390px, 42vw, 520px);
    --hero-image-scale: 1.1;
    --hero-image-shift-x: -18px;
    --hero-image-lift: 18px;
  }

  .hero-copy {
    max-width: min(48%, 520px);
  }
}

@media (max-width: 620px) and (min-width: 430px) and (min-height: 460px) and (max-height: 620px) {
  :root {
    --hero-visual-right: clamp(4px, 1.8vw, 18px);
    --hero-visual-width: clamp(258px, 50vw, 336px);
    --hero-image-shift-x: 16px;
    --hero-image-lift: 54px;
    --hero-image-scale: 1.06;
  }

  .hero-copy {
    max-width: min(42%, 228px);
    padding-right: min(5vw, 14px);
  }

  .hero-title {
    font-size: clamp(2.26rem, 10vw, 3.52rem);
  }

  .hero-visual {
    right: clamp(4px, 1.8vw, 18px);
    width: clamp(258px, 50vw, 336px);
    height: min(90svh, 456px);
  }

  .portrait-frame {
    max-width: clamp(258px, 50vw, 336px);
  }
}

@media (min-width: 1000px) and (max-height: 320px) {
  :root {
    --hero-visual-right: clamp(120px, 14vw, 180px);
    --hero-visual-width: clamp(360px, 38vw, 500px);
    --hero-image-scale: 1.1;
    --hero-image-shift-x: -132px;
    --hero-image-lift: 12px;
  }

  .hero-visual {
    right: clamp(120px, 14vw, 180px);
    width: clamp(360px, 38vw, 500px);
    height: min(110svh, 460px);
  }

  .portrait-frame {
    max-width: clamp(360px, 38vw, 500px);
  }
}

@media (pointer: fine) and (min-width: 720px) and (max-width: 859px) and (min-height: 620px) and (max-height: 760px) {
  :root {
    --hero-visual-right: clamp(-42px, -5vw, -12px);
    --hero-visual-width: clamp(450px, 62vw, 560px);
    --hero-visual-height: min(92svh, 760px);
    --hero-image-scale: 1.08;
    --hero-image-shift-x: 26px;
    --hero-image-lift: 28px;
  }

  .hero-copy {
    max-width: min(42%, 318px);
    padding-right: clamp(8px, 2vw, 20px);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 24ch;
  }
}

@media (pointer: fine) and (min-width: 880px) and (max-width: 1040px) and (min-height: 1180px) {
  :root {
    --hero-visual-right: clamp(-36px, -3vw, -8px);
    --hero-visual-width: min(60vw, 620px);
    --hero-visual-height: min(88svh, 1240px);
    --hero-image-scale: 1.11;
    --hero-image-shift-x: 24px;
    --hero-image-lift: 34px;
  }

  .hero-copy {
    max-width: min(38%, 410px);
    padding-bottom: clamp(150px, 10vw, 220px);
  }

  .hero-title {
    font-size: clamp(5rem, 9vw, 9.8rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 28ch;
  }
}

@media (pointer: fine) and (min-width: 860px) and (max-width: 930px) and (min-height: 820px) and (max-height: 1099px) {
  :root {
    --hero-visual-right: clamp(-52px, -5vw, -20px);
    --hero-visual-width: clamp(520px, 60vw, 620px);
    --hero-visual-height: min(86svh, 920px);
    --hero-image-scale: 1.08;
    --hero-image-shift-x: 38px;
    --hero-image-lift: 30px;
  }

  .hero-copy {
    max-width: min(44%, 350px);
  }
}

@media (pointer: fine) and (min-width: 860px) and (max-width: 930px) and (min-height: 1100px) {
  :root {
    --hero-visual-right: clamp(-58px, -5vw, -24px);
    --hero-visual-width: clamp(540px, 62vw, 650px);
    --hero-visual-height: min(84svh, 1160px);
    --hero-image-scale: 1.1;
    --hero-image-shift-x: 44px;
    --hero-image-lift: 40px;
  }

  .hero-copy {
    max-width: min(42%, 340px);
  }
}

@media (pointer: fine) and (min-width: 1200px) and (max-width: 1599px) and (min-height: 840px) and (max-height: 1199px) {
  :root {
    --hero-visual-right: clamp(-18px, -1.4vw, 6px);
    --hero-visual-width: min(54vw, 900px);
    --hero-visual-height: min(90svh, 1080px);
    --hero-image-scale: 1.09;
    --hero-image-shift-x: 14px;
    --hero-image-lift: 14px;
  }

  .hero-copy {
    max-width: min(41%, 600px);
  }

  .hero-title {
    font-size: clamp(5.1rem, 8.8vw, 10.4rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 31ch;
  }
}

@media (pointer: fine) and (min-width: 980px) and (max-width: 1140px) and (min-height: 620px) and (max-height: 780px) {
  :root {
    --hero-visual-right: clamp(-18px, -2vw, 6px);
    --hero-visual-width: clamp(500px, 54vw, 620px);
    --hero-visual-height: min(92svh, 760px);
    --hero-image-scale: 1.07;
    --hero-image-shift-x: 16px;
    --hero-image-lift: 18px;
  }

  .hero-copy {
    max-width: min(46%, 470px);
    padding-right: clamp(12px, 2vw, 24px);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 26ch;
  }
}

@media (pointer: fine) and (min-width: 1280px) and (max-height: 820px) {
  :root {
    --hero-visual-right: clamp(-28px, -2vw, 4px);
    --hero-visual-width: min(56vw, 920px);
    --hero-visual-height: min(96svh, 900px);
    --hero-image-scale: 1.12;
    --hero-image-shift-x: 18px;
    --hero-image-lift: 18px;
  }

  .hero-copy {
    max-width: min(41%, 560px);
  }

  .hero-title {
    font-size: clamp(5rem, 8.9vw, 9.8rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 30ch;
  }
}

@media (pointer: fine) and (min-width: 1500px) and (min-height: 1100px) {
  :root {
    --hero-visual-right: clamp(-34px, -1.4vw, 6px);
    --hero-visual-width: min(58vw, 1080px);
    --hero-visual-height: min(92svh, 1440px);
    --hero-image-scale: 1.16;
    --hero-image-shift-x: 36px;
    --hero-image-lift: 50px;
  }

  .hero-copy {
    max-width: min(37%, 580px);
  }

  .hero-title {
    font-size: clamp(5.6rem, 8.6vw, 11.2rem);
  }

  .hero-subtitle,
  .hero-context {
    max-width: 32ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    opacity: 1;
    transition: none;
  }

  .reveal,
  .hero-copy,
  .portrait-frame img,
  body::before,
  .section-body,
  .statement-text {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}
