:root {
  color-scheme: light;
  --background: #f4efe9;
  --background-soft: #ebe3dc;
  --paper: #242326;
  --muted: rgba(36, 35, 38, 0.66);
  --faint: rgba(36, 35, 38, 0.42);
  --coral: #a93650;
  --coral-soft: rgba(169, 54, 80, 0.1);
  --line: rgba(36, 35, 38, 0.16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 7%, rgba(204, 107, 125, 0.17), transparent 27%),
    radial-gradient(circle at 5% 42%, rgba(184, 139, 113, 0.1), transparent 25%),
    var(--background);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--background);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.site-header nav { display: flex; gap: 32px; }
.site-header nav a,
.universe-return,
.header-contact,
.primary-link,
.secondary-link,
.about-copy a,
.contact-link,
footer a {
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}
.site-header nav a,
.universe-return { color: var(--muted); }
.header-contact { justify-self: end; color: var(--coral); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 110px) 82px;
  border-bottom: 1px solid var(--line);
}

.hero-copy { position: relative; z-index: 4; max-width: min(52vw, 760px); }
h1 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(53px, 6.3vw, 100px);
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.hero-intro {
  max-width: 670px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-actions a { padding-bottom: 7px; }
.primary-link { color: var(--coral); }
.secondary-link { color: var(--muted); }

.portrait {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background-image: url('/terapia/assets/javi-mosaico-aprobado.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
.portrait::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 239, 233, 0.98) 0%, rgba(244, 239, 233, 0.9) 31%, rgba(244, 239, 233, 0.22) 58%, rgba(244, 239, 233, 0) 72%);
  content: '';
  pointer-events: none;
}
.scroll-guide {
  position: absolute;
  z-index: 4;
  bottom: 26px;
  left: clamp(22px, 7vw, 110px);
  margin: 0;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.experience {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) repeat(2, minmax(240px, 1fr));
  border-bottom: 1px solid var(--line);
}
.experience > div {
  min-height: 230px;
  padding: 48px clamp(22px, 4vw, 66px);
}
.experience > div + div { border-left: 1px solid var(--line); }
.experience-intro {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 30px;
}
.experience-intro span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.experience-intro p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.experience-stat {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;
}
.experience-stat strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(76px, 8vw, 132px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.8;
}
.experience-stat span {
  max-width: 220px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.opening,
.contact {
  display: grid;
  grid-template-columns: 1fr;
  padding: 130px clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}
.opening > div,
.contact > div {
  width: auto;
  max-width: 1120px;
  margin-left: clamp(0px, 12vw, 180px);
}
.section-number {
  margin: 0;
  color: var(--coral);
  font-size: 11px;
  letter-spacing: 0.15em;
}
.opening h2,
.focus h2,
.process h2,
.about h2,
.contact h2 {
  max-width: 950px;
  margin-bottom: 38px;
  font-size: clamp(43px, 5.8vw, 88px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.opening div > p,
.contact div > p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.perspective {
  position: relative;
  height: 310svh;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 38%, rgba(91, 142, 145, 0.14), transparent 24%),
    radial-gradient(circle at 79% 62%, rgba(204, 139, 79, 0.12), transparent 22%),
    linear-gradient(135deg, #f6f1eb, #eee5df 58%, #f5efe8);
}
.perspective-sticky {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(530px, 1.28fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  overflow: hidden;
  padding: 94px clamp(22px, 7vw, 110px) 54px;
}
.perspective-copy {
  position: relative;
  z-index: 6;
  align-self: center;
  max-width: 610px;
}
.perspective-copy h2 {
  max-width: 600px;
  margin-bottom: 32px;
  font-size: clamp(48px, 5.2vw, 82px);
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.perspective-copy > p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}
.perspective-stages {
  position: relative;
  min-height: 128px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.perspective-stage {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding-top: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 420ms ease;
  pointer-events: none;
}
.perspective-stage.is-active { opacity: 1; transform: translateY(0); }
.perspective-stage h3 {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.035em;
}
.perspective-stage p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.perspective-progress {
  width: 100%;
  height: 1px;
  overflow: hidden;
  margin-top: 10px;
  background: var(--line);
}
.perspective-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(var(--perspective-progress, 0));
  transform-origin: left center;
}
.perspective-scene {
  position: relative;
  width: min(58vw, 820px);
  height: min(78vh, 760px);
  min-height: 600px;
  justify-self: end;
  overflow: hidden;
  margin: 0;
}
.perspective-stars {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image:
    radial-gradient(circle, rgba(36, 35, 38, 0.38) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(169, 54, 80, 0.34) 0 1px, transparent 1.7px);
  background-position: 0 0, 27px 19px;
  background-size: 63px 63px, 91px 91px;
  mask-image: radial-gradient(circle at 57% 52%, #000 0%, rgba(0,0,0,.72) 54%, transparent 83%);
}
.perspective-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(36, 35, 38, 0.16);
  border-radius: 50%;
  opacity: var(--orbit-opacity, 0.22);
}
.perspective-orbit::after {
  position: absolute;
  top: 48%;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(169, 54, 80, 0.42);
  content: '';
}
.perspective-orbit.orbit-a { inset: 18% 4% 19% 7%; transform: rotate(-18deg); }
.perspective-orbit.orbit-b { inset: 30% 13% 30% 18%; border-color: rgba(57, 111, 116, 0.28); transform: rotate(22deg); }
.perspective-beam {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 54%;
  width: 37%;
  height: 52%;
  opacity: var(--beam-opacity, 0.12);
  background: linear-gradient(150deg, rgba(242, 196, 100, 0.48), rgba(242, 196, 100, 0));
  clip-path: polygon(45% 0, 100% 100%, 0 100%);
  filter: blur(5px);
  transform: rotate(8deg);
  transform-origin: 50% 0;
}
.perspective-astronaut {
  position: absolute;
  z-index: 6;
  top: 4%;
  left: 67%;
  width: clamp(108px, 11vw, 154px);
  color: rgba(32, 68, 76, 0.92);
  opacity: var(--astronaut-opacity, 0.94);
  filter:
    drop-shadow(0 0 12px rgba(244, 239, 233, 0.92))
    drop-shadow(0 14px 20px rgba(36, 35, 38, 0.16));
  transform: translate(var(--astronaut-x, 0), var(--astronaut-y, 0)) rotate(var(--astronaut-r, -6deg));
}
.perspective-constellation {
  position: absolute;
  z-index: 2;
  inset: 7% 8% 4% 8%;
  width: 84%;
  height: 89%;
  opacity: var(--constellation-opacity, 0.14);
  transform: scale(var(--constellation-scale, 0.94));
  transform-origin: center;
}
.constellation-lines { stroke: rgba(48, 95, 101, 0.46); stroke-width: 1.2; stroke-dasharray: 7 10; }
.constellation-nodes circle {
  fill: #f4efe9;
  stroke: rgba(169, 54, 80, 0.65);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(216, 151, 76, 0.7));
}
.perspective-aura {
  position: absolute;
  z-index: 1;
  top: 16%;
  left: 35%;
  width: 40%;
  height: 76%;
  opacity: var(--aura-opacity, 0.08);
  background: radial-gradient(ellipse, rgba(217, 159, 78, 0.32), rgba(64, 118, 120, 0.1) 48%, transparent 72%);
  filter: blur(18px);
}
.perspective-fragments { position: absolute; z-index: 4; inset: 0; }
[data-fragment] {
  position: absolute;
  top: var(--fy);
  left: var(--fx);
  width: var(--fw);
  height: var(--fh);
  margin: calc(var(--fh) / -2) 0 0 calc(var(--fw) / -2);
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 48%),
    var(--tone);
  box-shadow: inset 0 0 0 1px rgba(36,35,38,.13), 0 10px 28px rgba(36,35,38,.13);
  opacity: 0.68;
  will-change: transform, opacity;
}
[data-fragment]:nth-child(3n + 1) { clip-path: polygon(13% 0, 100% 17%, 82% 100%, 0 76%); }
[data-fragment]:nth-child(3n + 2) { clip-path: polygon(0 18%, 82% 0, 100% 84%, 21% 100%); }
[data-fragment]:nth-child(3n) { clip-path: polygon(24% 0, 100% 12%, 78% 100%, 0 82%); }

@media (max-width: 1450px) and (min-width: 681px) {
  .perspective-sticky {
    min-height: 620px;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(20px, 3vw, 38px);
    padding-right: 5vw;
    padding-left: 5vw;
  }
  .perspective-copy { max-width: 470px; }
  .perspective-copy h2 { font-size: clamp(46px, 4.4vw, 62px); }
  .perspective-copy > p { line-height: 1.7; }
  .perspective-scene {
    width: 100%;
    min-height: 540px;
  }
  .perspective-astronaut {
    left: 64%;
    width: clamp(112px, 13vw, 146px);
  }
}

.perspective.is-static {
  height: auto;
}
.perspective.is-static .perspective-sticky {
  position: relative;
  height: auto;
}
.perspective.is-static .perspective-stage {
  position: relative;
  opacity: 1;
  transform: none;
}
.perspective.is-static .perspective-progress { display: none; }

.focus {
  position: relative;
  overflow: hidden;
  padding: 130px clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 42%, rgba(169,54,80,.07), transparent 23%),
    radial-gradient(circle at 74% 68%, rgba(66,111,115,.08), transparent 25%);
}
.focus::before {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(36,35,38,.28) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(169,54,80,.24) 0 1px, transparent 1.6px);
  background-position: 0 0, 37px 24px;
  background-size: 94px 94px, 137px 137px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 84%, transparent);
  content: '';
  pointer-events: none;
}
.section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}
.focus-heading {
  min-height: 390px;
  align-items: center;
  isolation: isolate;
}
.focus-heading-copy {
  position: relative;
  z-index: 3;
  overflow: hidden;
  width: auto;
  max-width: 1120px;
  margin-left: clamp(0px, 14vw, 220px);
  padding: 34px 0 46px;
}
.focus-heading-copy h2 {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0;
  font-size: clamp(58px, 7.3vw, 114px);
  letter-spacing: -0.065em;
  line-height: .92;
}
.focus-heading-copy h2 span {
  display: block;
  opacity: 0;
  transform: translateY(78px);
  transition: opacity 680ms ease, transform 1050ms cubic-bezier(.18,.78,.2,1);
}
.focus-heading-copy h2 span + span { transition-delay: 130ms; }
.focus-heading-copy::after {
  position: absolute;
  z-index: 1;
  top: 6%;
  bottom: 6%;
  left: -28%;
  width: 22%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(232,188,104,.2), transparent);
  content: '';
  filter: blur(8px);
  transform: skewX(-14deg);
  transition: left 1400ms cubic-bezier(.2,.74,.2,1) 240ms, opacity 440ms ease 240ms;
}
.focus-heading-path {
  position: relative;
  width: min(72%, 760px);
  height: 34px;
  margin-top: 42px;
}
.focus-heading-path::before {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), #4b7375 52%, #d59252);
  content: '';
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1150ms cubic-bezier(.2,.74,.2,1) 360ms;
}
.focus-heading-path span {
  position: absolute;
  z-index: 2;
  top: 11px;
  width: 11px;
  height: 11px;
  opacity: 0;
  background: var(--background);
  border: 2px solid var(--coral);
  border-radius: 50%;
  transform: scale(.25);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.2,.74,.2,1);
}
.focus-heading-path span:nth-child(1) { left: 0; transition-delay: 460ms; }
.focus-heading-path span:nth-child(2) { left: 49%; border-color: #4b7375; transition-delay: 720ms; }
.focus-heading-path span:nth-child(3) { right: 0; border-color: #d59252; transition-delay: 960ms; }
.focus-heading-fragments {
  position: absolute;
  z-index: 1;
  top: 3%;
  right: -3%;
  width: 48%;
  height: 94%;
  pointer-events: none;
}
.focus-heading-fragments span {
  position: absolute;
  top: var(--hy);
  left: var(--hx);
  width: clamp(38px, 4vw, 64px);
  height: clamp(42px, 4.6vw, 76px);
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), transparent 48%),
    var(--tone);
  clip-path: polygon(14% 0, 100% 17%, 83% 100%, 0 78%);
  box-shadow: inset 0 0 0 1px rgba(36,35,38,.1), 0 12px 28px rgba(36,35,38,.1);
  transform: translate(var(--hsx), var(--hsy)) rotate(var(--hr)) scale(.66);
  transition: opacity 660ms ease, transform 1200ms cubic-bezier(.18,.78,.2,1);
}
.focus-heading-fragments span:nth-child(2) { transition-delay: 80ms; }
.focus-heading-fragments span:nth-child(3) { transition-delay: 160ms; }
.focus-heading-fragments span:nth-child(4) { transition-delay: 240ms; }
.focus-heading-fragments span:nth-child(5) { transition-delay: 320ms; }
.focus.is-intro-visible .focus-heading-copy h2 span { opacity: 1; transform: translateY(0); }
.focus.is-intro-visible .focus-heading-copy::after { left: 108%; opacity: .9; }
.focus.is-intro-visible .focus-heading-path::before { transform: scaleX(1); }
.focus.is-intro-visible .focus-heading-path span { opacity: 1; transform: scale(1); }
.focus.is-intro-visible .focus-heading-fragments span { opacity: .32; transform: translate(0,0) rotate(0) scale(1); }
.focus-list {
  position: relative;
  z-index: 2;
  margin-top: 78px;
  border-top: 1px solid var(--line);
}
.focus-list article {
  position: relative;
  display: grid;
  min-height: 202px;
  grid-template-columns: 70px minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 4vw;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: color 480ms ease;
}
.focus-list article::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--focus-accent) 12%, transparent), transparent 66%);
  content: '';
  transform: translateX(-38%);
  transition: opacity 480ms ease, transform 760ms cubic-bezier(.2,.74,.2,1);
}
.focus-list article::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--focus-accent);
  content: '';
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 760ms cubic-bezier(.2,.74,.2,1);
}
.focus-list article > span {
  position: relative;
  z-index: 3;
  color: var(--focus-accent);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: transform 560ms ease;
}
.focus-list h3 {
  position: relative;
  z-index: 3;
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: -0.05em;
  transition: color 420ms ease, transform 620ms cubic-bezier(.2,.74,.2,1);
}
.focus-list p {
  position: relative;
  z-index: 3;
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  opacity: .54;
  transform: translateX(18px);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.2,.74,.2,1);
}
.focus-motion {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 23%;
  width: 33%;
  opacity: .4;
  pointer-events: none;
}
.focus-motion span {
  position: absolute;
  top: var(--my);
  left: var(--mx);
  width: var(--mw);
  height: var(--mh);
  opacity: .12;
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), transparent 48%),
    var(--tone);
  clip-path: polygon(14% 0, 100% 17%, 83% 100%, 0 78%);
  box-shadow: inset 0 0 0 1px rgba(36,35,38,.11), 0 10px 26px rgba(36,35,38,.1);
  transform: translate(var(--dx), var(--dy)) rotate(var(--mr)) scale(.72);
  transition: opacity 520ms ease, transform 920ms cubic-bezier(.18,.78,.2,1);
}
.focus-motion span:nth-child(even) { clip-path: polygon(0 18%, 82% 0, 100% 84%, 21% 100%); }
.focus-list article.is-active::before,
.focus-list article:hover::before,
.focus-list article:focus-visible::before { opacity: 1; transform: translateX(0); }
.focus-list article.is-active::after,
.focus-list article:hover::after,
.focus-list article:focus-visible::after { transform: scaleX(1); }
.focus-list article.is-active > span,
.focus-list article:hover > span,
.focus-list article:focus-visible > span { transform: translateX(8px); }
.focus-list article.is-active h3,
.focus-list article:hover h3,
.focus-list article:focus-visible h3 { color: var(--focus-accent); transform: translateX(14px); }
.focus-list article.is-active p,
.focus-list article:hover p,
.focus-list article:focus-visible p { opacity: 1; transform: translateX(0); }
.focus-list article.is-active .focus-motion span,
.focus-list article:hover .focus-motion span,
.focus-list article:focus-visible .focus-motion span { opacity: .68; transform: translate(0,0) rotate(0) scale(1); }
.focus-list article:focus-visible { outline: none; }
.focus-list article:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.process {
  position: relative;
  overflow: hidden;
  padding: 130px clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 73% 14%, rgba(66,111,115,.11), transparent 23%),
    radial-gradient(circle at 21% 35%, rgba(197,135,69,.09), transparent 24%),
    linear-gradient(118deg, rgba(169,54,80,.045), transparent 42%);
}
.process::before {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(36,35,38,.28) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(169,54,80,.22) 0 1px, transparent 1.6px);
  background-position: 0 0, 41px 27px;
  background-size: 102px 102px, 151px 151px;
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.54) 38%, transparent 76%);
  content: '';
  pointer-events: none;
}
.process-intro {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 510px;
  grid-template-columns: minmax(0, .96fr) minmax(390px, .74fr);
  gap: 7vw;
  align-items: center;
}
.process-intro-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(64px, 7.2vw, 112px);
  letter-spacing: -.065em;
  line-height: .88;
}
.process-intro-copy h2 span {
  display: block;
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 660ms ease, transform 980ms cubic-bezier(.18,.78,.2,1);
}
.process-intro-copy h2 span + span { transition-delay: 120ms; }
.process-intro-copy > p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease 260ms, transform 820ms cubic-bezier(.2,.74,.2,1) 260ms;
}
.process-entry-visual {
  position: relative;
  width: 100%;
  height: 430px;
  margin: 0;
  isolation: isolate;
}
.process-entry-stars {
  position: absolute;
  inset: 0;
  opacity: .68;
  background-image: radial-gradient(circle, rgba(36,35,38,.34) 0 1px, transparent 1.5px);
  background-size: 61px 61px;
  mask-image: radial-gradient(ellipse, #000, rgba(0,0,0,.58) 58%, transparent 84%);
}
.process-entry-path {
  position: absolute;
  z-index: 2;
  inset: 6% 3%;
}
.process-entry-path::before {
  position: absolute;
  top: 52%;
  left: 8%;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, #a93650, #426f73 50%, #c58745);
  content: '';
  transform: rotate(24deg) scaleX(0);
  transform-origin: left center;
  transition: transform 1250ms cubic-bezier(.18,.78,.2,1) 260ms;
}
.process-entry-path span {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  opacity: 0;
  background: var(--background);
  border: 2px solid var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(169,54,80,.28);
  transform: scale(.25);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(.2,.74,.2,1);
}
.process-entry-path span:nth-child(1) { top: 36%; left: 9%; transition-delay: 360ms; }
.process-entry-path span:nth-child(2) { top: 44%; left: 28%; border-color: #c49362; transition-delay: 540ms; }
.process-entry-path span:nth-child(3) { top: 52%; left: 48%; border-color: #426f73; transition-delay: 720ms; }
.process-entry-path span:nth-child(4) { top: 61%; left: 68%; border-color: #ad6172; transition-delay: 900ms; }
.process-entry-path span:nth-child(5) { top: 70%; left: 87%; border-color: #c58745; transition-delay: 1080ms; }
.process-entry-fragments { position: absolute; z-index: 1; inset: 0; }
.process-entry-fragments span {
  position: absolute;
  top: var(--py);
  left: var(--px);
  width: clamp(42px, 4.4vw, 70px);
  height: clamp(48px, 5vw, 82px);
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), transparent 48%),
    var(--tone);
  clip-path: polygon(14% 0, 100% 17%, 83% 100%, 0 78%);
  box-shadow: inset 0 0 0 1px rgba(36,35,38,.1), 0 12px 30px rgba(36,35,38,.1);
  transform: translate(var(--psx), var(--psy)) rotate(var(--pr)) scale(.7);
  transition: opacity 620ms ease, transform 1120ms cubic-bezier(.18,.78,.2,1);
}
.process-entry-fragments span:nth-child(2) { transition-delay: 80ms; }
.process-entry-fragments span:nth-child(3) { transition-delay: 160ms; }
.process-entry-fragments span:nth-child(4) { transition-delay: 240ms; }
.process-entry-fragments span:nth-child(5) { transition-delay: 320ms; }
.process-intro.is-visible .process-intro-copy h2 span,
.process-intro.is-visible .process-intro-copy > p { opacity: 1; transform: translateY(0); }
.process-intro.is-visible .process-entry-path::before { transform: rotate(24deg) scaleX(1); }
.process-intro.is-visible .process-entry-path span { opacity: 1; transform: scale(1); }
.process-intro.is-visible .process-entry-fragments span { opacity: .44; transform: translate(0,0) rotate(0) scale(1); }
.process-map {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, .5fr) minmax(420px, 1fr);
  gap: 7vw;
  margin-top: 58px;
}
.flow-visual {
  position: sticky;
  top: 110px;
  align-self: start;
  min-height: 570px;
  background: radial-gradient(circle at 8% 50%, rgba(169,54,80,.08), transparent 42%);
}
.flow-track {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 1px;
  overflow: hidden;
  background: var(--line);
}
.flow-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: var(--flow-progress, 0%);
  background: var(--coral);
  transition: height 560ms cubic-bezier(.22, .7, .24, 1);
}
.flow-visual ol { display: grid; min-height: 570px; margin: 0; padding: 0; list-style: none; }
.flow-visual li {
  position: relative;
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 24px;
  align-items: center;
  color: var(--faint);
  transition: color 320ms ease;
}
.flow-visual li::before {
  position: absolute;
  z-index: 2;
  left: 18px;
  width: 13px;
  height: 13px;
  background: var(--background);
  border: 1px solid currentColor;
  border-radius: 50%;
  content: '';
  transition: background 320ms ease, box-shadow 320ms ease;
}
.flow-visual li span { color: transparent; font-size: 1px; }
.flow-visual li b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.flow-visual li.is-active { color: var(--coral); }
.flow-visual li.is-active::before {
  background: var(--coral);
  box-shadow: 0 0 24px rgba(169, 54, 80, 0.28);
}
.process-theory { border-top: 1px solid var(--line); }
.flow-explanation {
  --step-accent: var(--coral);
  position: relative;
  min-height: 275px;
  isolation: isolate;
  overflow: hidden;
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--line);
  opacity: .46;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.flow-explanation:nth-child(2) { --step-accent: #426f73; }
.flow-explanation:nth-child(3) { --step-accent: #c58745; }
.flow-explanation:nth-child(4) { --step-accent: #ad6172; }
.flow-explanation:nth-child(5) { --step-accent: #315e68; }
.flow-explanation::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--step-accent) 11%, transparent), transparent 72%);
  content: '';
  transform: translateX(-34%);
  transition: opacity 420ms ease, transform 720ms cubic-bezier(.2,.74,.2,1);
}
.flow-explanation::after {
  position: absolute;
  z-index: -1;
  top: 26%;
  right: 7%;
  width: 64px;
  height: 76px;
  opacity: 0;
  background: var(--step-accent);
  clip-path: polygon(14% 0, 100% 17%, 83% 100%, 0 78%);
  content: '';
  transform: translate(72px, -48px) rotate(48deg) scale(.7);
  transition: opacity 520ms ease, transform 820ms cubic-bezier(.18,.78,.2,1);
}
.flow-explanation.is-active { opacity: 1; transform: translateY(0); }
.flow-explanation.is-active::before { opacity: 1; transform: translateX(0); }
.flow-explanation.is-active::after { opacity: .26; transform: translate(0,0) rotate(0) scale(1); }
.flow-explanation h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.2vw, 50px);
  letter-spacing: -0.045em;
  transition: color 420ms ease, transform 620ms cubic-bezier(.2,.74,.2,1);
}
.flow-explanation.is-active h3 { color: var(--step-accent); transform: translateX(12px); }
.flow-explanation p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  transition: transform 620ms cubic-bezier(.2,.74,.2,1);
}
.flow-explanation.is-active p { transform: translateX(12px); }

.about {
  position: relative;
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 23% 47%, rgba(80, 132, 135, 0.13), transparent 24%),
    radial-gradient(circle at 34% 61%, rgba(204, 139, 79, 0.12), transparent 22%);
}
.about-vision {
  position: relative;
  width: min(44vw, 640px);
  height: 650px;
  justify-self: center;
  isolation: isolate;
}
.about-sky {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgba(36, 35, 38, 0.34) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(169, 54, 80, 0.3) 0 1px, transparent 1.6px);
  background-position: 0 0, 23px 31px;
  background-size: 76px 76px, 113px 113px;
  mask-image: radial-gradient(ellipse at 52% 50%, #000 0%, rgba(0,0,0,.7) 56%, transparent 83%);
}
.about-light {
  position: absolute;
  z-index: 1;
  top: 14%;
  left: 16%;
  width: 70%;
  height: 74%;
  opacity: 0;
  background: linear-gradient(145deg, rgba(241, 201, 116, 0.42), rgba(241, 201, 116, 0.04) 64%, transparent 74%);
  clip-path: polygon(13% 0, 100% 88%, 38% 100%);
  filter: blur(8px);
  transform: rotate(-7deg) scale(.84);
  transform-origin: 18% 0;
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(.2,.74,.2,1);
}
.about-astronaut {
  position: absolute;
  z-index: 5;
  top: 3%;
  left: 3%;
  width: clamp(116px, 11vw, 164px);
  opacity: 0;
  filter: drop-shadow(0 18px 24px rgba(36,35,38,.16));
  transform: translate(-42px, 28px) rotate(-13deg);
  transition: opacity 720ms ease, transform 1100ms cubic-bezier(.2,.74,.2,1);
}
.about-fragments { position: absolute; z-index: 3; inset: 0; }
.about-fragments span {
  position: absolute;
  top: var(--ay);
  left: var(--ax);
  width: var(--aw);
  height: var(--ah);
  margin: calc(var(--ah) / -2) 0 0 calc(var(--aw) / -2);
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 48%),
    var(--tone);
  box-shadow: inset 0 0 0 1px rgba(36,35,38,.12), 0 12px 30px rgba(36,35,38,.12);
  clip-path: polygon(14% 0, 100% 17%, 83% 100%, 0 78%);
  transform: translate(var(--asx), var(--asy)) rotate(var(--ar)) scale(.72);
  transition:
    opacity 620ms ease var(--delay),
    transform 1150ms cubic-bezier(.18,.78,.2,1) var(--delay);
}
.about-fragments span:nth-child(3n + 2) { clip-path: polygon(0 18%, 82% 0, 100% 84%, 21% 100%); }
.about-fragments span:nth-child(3n) { clip-path: polygon(24% 0, 100% 12%, 78% 100%, 0 82%); }
.about-signal {
  position: absolute;
  z-index: 4;
  width: 9px;
  height: 9px;
  opacity: 0;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(169,54,80,.46);
  transform: scale(.3);
  transition: opacity 600ms ease 760ms, transform 800ms ease 760ms;
}
.signal-a { top: 38%; left: 24%; }
.signal-b { top: 29%; left: 73%; background: #4b7375; }
.signal-c { top: 68%; left: 77%; background: #d59252; }
.about.is-visible .about-light { opacity: .78; transform: rotate(-7deg) scale(1); }
.about.is-visible .about-astronaut { opacity: .95; transform: translate(0, 0) rotate(-5deg); }
.about.is-visible .about-fragments span { opacity: .96; transform: translate(0, 0) rotate(0) scale(1); }
.about.is-visible .about-signal { opacity: 1; transform: scale(1); }
.about-copy > p:not(.section-number) {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.about-copy .about-lead {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.about-copy a { display: inline-block; padding-bottom: 7px; color: var(--coral); }

.contact { min-height: 660px; align-items: center; }
.contact div > p { margin-bottom: 42px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
}
.contact-link {
  display: inline-flex;
  gap: 20px;
  padding-bottom: 8px;
  color: var(--coral);
  font-size: clamp(11px, 1.25vw, 16px);
}
.contact-link-secondary { color: var(--muted); }

.care-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 6vw;
  padding: 42px clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.care-note strong { color: var(--muted); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.care-note p { max-width: 830px; margin: 0; font-size: 13px; line-height: 1.7; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px clamp(22px, 5vw, 76px);
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; gap: 24px; padding-top: 132px; padding-bottom: 0; }
  .hero-copy { max-width: 760px; }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-actions a {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
  .portrait {
    position: relative;
    width: 100vw;
    height: clamp(340px, 72vw, 460px);
    margin: 24px 0 0 calc(50% - 50vw);
  }
  .portrait::after { background: linear-gradient(to bottom, var(--background) 0%, rgba(244, 239, 233, 0) 18%); }
  .portrait { background-position: 76% center; background-size: cover; }
  .process-map { grid-template-columns: minmax(175px, 0.42fr) 1fr; gap: 5vw; }
  .about { grid-template-columns: 1fr; }
  .about-vision { width: min(82vw, 620px); }
  .experience { grid-template-columns: 1fr 1fr; }
  .experience-intro { grid-column: 1 / -1; min-height: 150px; }
  .experience-stat:nth-child(2) { border-left: 0; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; gap: 18px; padding-top: 17px; padding-bottom: 17px; }
  .universe-return,
  .header-contact { font-size: 8px; }
  .header-contact { max-width: 145px; text-align: right; }
  h1 { font-size: clamp(49px, 14vw, 72px); }
  .portrait { height: clamp(330px, 92vw, 430px); }
  .portrait { background-position: 76% center; }
  .scroll-guide { display: none; }
  .experience { grid-template-columns: 1fr; }
  .experience-intro { min-height: 130px; }
  .experience-stat { min-height: 190px; }
  .experience > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .opening,
  .contact,
  .section-heading,
  .process-intro { grid-template-columns: 1fr; gap: 28px; }
  .opening > div,
  .contact > div,
  .focus-heading-copy { margin-left: 0; }
  .opening,
  .focus,
  .process,
  .about,
  .contact { padding-top: 88px; padding-bottom: 88px; }
  .about { gap: 34px; }
  .about-vision {
    width: 100%;
    height: 490px;
    order: 2;
  }
  .about-copy { order: 1; }
  .about-astronaut { left: 0; width: 104px; }
  .about-copy .about-lead { font-size: 29px; }
  .focus-list { margin-top: 50px; }
  .focus-heading {
    min-height: 390px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .focus-heading-copy { padding: 8px 0 32px; }
  .focus-heading-copy h2 { font-size: clamp(47px, 12.5vw, 64px); }
  .focus-heading-path { width: 82%; margin-top: 34px; }
  .focus-heading-fragments { top: 10%; right: -25%; width: 78%; height: 80%; opacity: .72; }
  .focus-list article { min-height: 190px; grid-template-columns: 40px 1fr; gap: 14px; padding: 38px 0; }
  .focus-list p { grid-column: 2; }
  .focus-motion { right: -12%; left: 27%; width: auto; opacity: .3; }
  .focus-list article.is-active h3,
  .focus-list article:hover h3,
  .focus-list article:focus-visible h3 { transform: translateX(6px); }
  .process-intro { min-height: 0; gap: 34px; }
  .process-intro-copy h2 { font-size: clamp(58px, 16vw, 82px); }
  .process-entry-visual { height: 340px; }
  .process-map { grid-template-columns: 1fr; gap: 48px; margin-top: 58px; }
  .flow-visual {
    position: relative;
    top: auto;
    min-height: auto;
    overflow: hidden;
  }
  .flow-track { top: 17px; right: calc(20% - 17px); bottom: auto; left: 17px; width: auto; height: 1px; }
  .flow-progress { width: var(--flow-progress, 0%); height: 1px; transition-property: width; }
  .flow-visual ol { grid-template-columns: repeat(5, 1fr); min-height: auto; }
  .flow-visual li { grid-template-columns: 1fr; gap: 22px; align-items: start; padding-top: 36px; }
  .flow-visual li::before { top: 11px; left: 11px; }
  .flow-visual li span {
    display: block;
    padding-left: 7px;
    color: currentColor;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  .flow-visual li b { display: none; }
  .flow-explanation { min-height: auto; padding: 34px 0 38px; opacity: 1; transform: none; }
  .flow-explanation.is-active h3,
  .flow-explanation.is-active p { transform: translateX(6px); }
  .care-note { grid-template-columns: 1fr; gap: 14px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 12px 14px;
  }
  .universe-return,
  .header-contact {
    max-width: 46vw;
    font-size: 7px;
    letter-spacing: 0.09em;
  }
  .hero {
    gap: 18px;
    padding: 104px 14px 0;
  }
  h1 {
    margin-bottom: 26px;
    font-size: clamp(36px, 15vw, 43px);
    letter-spacing: -0.05em;
    line-height: 0.98;
  }
  .hero-intro {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .portrait {
    height: 360px;
    background-position: 90% center;
  }
  .experience > div {
    min-height: 165px;
    padding: 36px 14px;
  }
  .experience-stat strong { font-size: 64px; }
  .opening,
  .focus,
  .process,
  .about,
  .contact { padding: 72px 14px; }
  .about-vision { height: 410px; }
  .about-astronaut { width: 82px; }
  .about-fragments { transform: scale(.82); transform-origin: 55% 48%; }
  .contact,
  .contact > * { min-width: 0; }
  .contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .opening h2,
  .focus h2,
  .process h2,
  .about h2,
  .contact h2 { font-size: 36px; }
  .focus-heading { min-height: 340px; }
  .focus-heading-copy h2 { font-size: 39px; }
  .process-intro-copy h2 { font-size: 54px; }
  .process-entry-visual { height: 270px; }
  .care-note { gap: 16px; padding: 34px 14px; }
  footer { padding: 34px 14px; }
}

@media (max-width: 900px) {
  .perspective-sticky {
    min-height: 600px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 26px;
  }
  .perspective-copy h2 { font-size: clamp(44px, 6.2vw, 64px); }
  .perspective-scene {
    width: 100%;
    height: min(76vh, 650px);
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .perspective { height: auto; }
  .perspective-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 90px 22px;
  }
  .perspective-copy { max-width: none; }
  .perspective-copy h2 {
    max-width: 520px;
    font-size: clamp(44px, 12vw, 62px);
  }
  .perspective-copy > p { font-size: 15px; }
  .perspective-stages {
    display: grid;
    min-height: 0;
    margin-top: 38px;
  }
  .perspective-stage,
  .perspective.is-static .perspective-stage {
    position: relative;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    transform: none;
  }
  .perspective-progress { display: none; }
  .perspective-scene {
    width: 100%;
    height: 520px;
    min-height: 0;
    justify-self: center;
  }
  .perspective-astronaut { top: 2%; left: 63%; }
}

@media (max-width: 360px) {
  .perspective-sticky { gap: 34px; padding: 72px 14px; }
  .perspective-copy h2 { margin-bottom: 26px; font-size: 36px; }
  .perspective-copy > p { font-size: 14px; line-height: 1.7; }
  .perspective-stage h3 { font-size: 26px; }
  .perspective-stage p { font-size: 13px; }
  .perspective-scene { height: 410px; }
  .perspective-astronaut { width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .focus-list article,
  .focus-list article::before,
  .focus-list article::after,
  .focus-list article > span,
  .focus-list h3,
  .focus-list p,
  .focus-motion span,
  .focus-heading-copy h2 span,
  .focus-heading-copy::after,
  .focus-heading-path::before,
  .focus-heading-path span,
  .focus-heading-fragments span,
  .process-intro-copy h2 span,
  .process-intro-copy > p,
  .process-entry-path::before,
  .process-entry-path span,
  .process-entry-fragments span,
  .flow-explanation::before,
  .flow-explanation::after,
  .flow-explanation h3,
  .flow-explanation p { transition: none; }
}
