:root {
  --ink: #191714;
  --paper: #f4efe6;
  --coral: #ef5f4f;
  --acid: #d8f054;
  --violet: #7564ee;
  --line: rgba(25, 23, 20, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: rgba(239, 95, 79, .22); }

.skip-link { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wordmark:focus-visible { outline: 3px solid var(--coral); outline-offset: 6px; }
.path:focus-visible { z-index: 4; outline: 4px solid var(--acid); outline-offset: -7px; }

.masthead { height: 112px; padding: 20px clamp(22px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { width: max-content; text-decoration: none; font-family: "Italiana", serif; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: .75; letter-spacing: -.03em; }
.wordmark span { display: block; }
.wordmark span:last-child { margin-left: 1.25rem; }
.discipline, .location { margin: 0; text-transform: uppercase; font-size: .66rem; letter-spacing: .2em; }
.discipline i { font-family: "Italiana", serif; font-size: 1.5em; color: var(--coral); }
.location { justify-self: end; color: #645e56; }
.location span { margin: 0 .55rem; color: var(--violet); }

.paths { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 112px); overflow: hidden; }
.path { position: relative; min-width: 0; min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; text-decoration: none; border-right: 1px solid rgba(255,255,255,.35); }
.path__photo, .path__wash { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .7s ease, opacity .7s ease; }
.path__photo { z-index: -3; background-position: center; background-size: cover; transform: scale(1.035); }
.path--family .path__photo { background-image: url("assets/family.jpg"); background-position: 50% 40%; }
.path--adults .path__photo { background-image: url("assets/adults.jpg"); background-position: 50% 36%; }
.path--family .path__wash { z-index: -2; background: linear-gradient(150deg, rgba(255,226,117,.12) 20%, rgba(241,85,61,.62) 100%), linear-gradient(to top, rgba(29,20,13,.76), transparent 62%); }
.path--adults .path__wash { z-index: -2; background: linear-gradient(145deg, rgba(91,66,213,.08), rgba(37,20,74,.72)), linear-gradient(to top, rgba(13,8,29,.8), transparent 58%); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.path__content { width: min(88%, 570px); padding: 0 clamp(28px, 4.5vw, 76px) clamp(54px, 8vh, 96px); color: white; }
.path__eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.35rem; text-transform: uppercase; font-size: .62rem; letter-spacing: .17em; font-weight: 600; }
.path__eyebrow span { width: 24px; height: 1px; background: currentColor; }
.path h2 { margin: 0; font-family: "Italiana", serif; font-size: clamp(3.3rem, 6.3vw, 7rem); line-height: .78; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.path h2 em { margin-left: clamp(12px, 2.5vw, 42px); font-weight: 400; }
.path--family h2 em { color: #ffdd76; }
.path--adults h2 em { color: #b8abff; }
.path__copy { max-width: 390px; margin: 2rem 0 1.7rem; font-size: clamp(1.118rem, 1.56vw, 1.3rem); line-height: 1.65; color: rgba(255,255,255,.82); text-transform: uppercase; }
.path__cta { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(255,255,255,.7); text-transform: uppercase; font-size: .65rem; letter-spacing: .15em; font-weight: 600; }
.path__cta svg { width: 40px; fill: none; stroke: currentColor; stroke-width: 1.25; transition: transform .3s ease; }
.path__number { position: absolute; top: 30px; right: 34px; color: rgba(255,255,255,.72); font-size: .65rem; letter-spacing: .2em; }
.chooser { position: fixed; z-index: 5; top: calc(112px + 46%); left: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(244,239,230,.9); color: var(--ink); line-height: .95; text-transform: uppercase; letter-spacing: .14em; font-size: .52rem; backdrop-filter: blur(8px); animation: enter-spin 1.2s .5s both cubic-bezier(.2,.8,.2,1); }
.chooser b { font: 400 1.45rem/1 "Italiana", serif; letter-spacing: 0; text-transform: none; color: var(--coral); }

@media (hover: hover) {
  .paths:has(.path:hover) .path:not(:hover) .path__photo { filter: saturate(.5) brightness(.75); }
  .path:hover .path__photo { transform: scale(1.09); }
  .path:hover .path__cta svg { transform: translateX(5px); }
}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes enter-spin { from { opacity: 0; transform: scale(.6) rotate(-35deg); } }
.masthead > *, .path__content > * { animation: rise .8s both cubic-bezier(.2,.8,.2,1); }
.masthead > :nth-child(2) { animation-delay: .08s; }
.masthead > :nth-child(3) { animation-delay: .16s; }
.path__content > :nth-child(1) { animation-delay: .18s; }
.path__content > :nth-child(2) { animation-delay: .28s; }
.path__content > :nth-child(3) { animation-delay: .38s; }
.path__content > :nth-child(4) { animation-delay: .48s; }

@media (min-width: 501px) and (max-width: 700px) {
  .masthead { height: 96px; grid-template-columns: 1fr auto; padding: 16px 22px; }
  .discipline { justify-self: end; }
  .location { display: none; }
  .paths { min-height: calc(100svh - 96px); }
  .path { min-height: 620px; }
  .path__content { width: 100%; padding: 0 22px 48px; }
  .path__eyebrow { gap: .45rem; margin-bottom: .85rem; font-size: .5rem; letter-spacing: .13em; }
  .path__eyebrow span { width: 14px; }
  .path h2 { font-size: clamp(2.55rem, 8.2vw, 3.6rem); line-height: .83; }
  .path h2 em { margin-left: 8px; }
  .path__copy { margin: 1.25rem 0 1.15rem; font-size: clamp(.76rem, 2.2vw, .95rem); line-height: 1.5; }
  .path__cta { gap: .5rem; font-size: .52rem; letter-spacing: .11em; }
  .path__cta svg { width: 28px; }
  .path__number { top: 22px; right: 20px; }
  .chooser { top: calc(96px + 46%); width: 70px; height: 70px; margin: -35px 0 0 -35px; font-size: .42rem; }
  .chooser b { font-size: 1.15rem; }
}

@media (min-width: 701px) and (max-width: 760px) {
  .masthead { height: 96px; grid-template-columns: 1fr auto; padding: 16px 28px; }
  .discipline { justify-self: end; }
  .location { display: none; }
  .paths { min-height: calc(100svh - 96px); }
  .chooser { top: calc(96px + 46%); }
}

@media (max-width: 500px) {
  .masthead { height: 96px; grid-template-columns: 1fr auto; padding: 16px 22px; }
  .discipline { justify-self: end; }
  .location { display: none; }
  .paths { grid-template-columns: 1fr; min-height: auto; }
  .path { min-height: clamp(430px, 54svh, 520px); border-right: 0; border-bottom: 1px solid rgba(255,255,255,.5); }
  .path__content { width: 100%; padding: 0 28px 34px; }
  .path__eyebrow { margin-bottom: .85rem; font-size: .55rem; }
  .path h2 { font-size: clamp(3rem, 13vw, 4.25rem); line-height: .8; }
  .path__copy { margin: 1rem 0; font-size: clamp(.85rem, 3.2vw, 1.05rem); line-height: 1.45; }
  .path__cta { font-size: .6rem; }
  .chooser { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
