/* ============================================================
   Sherpa Education · styles
   Navy ink on cream paper (from the logo), one warm flag accent.
   Type: Fraunces (bold display serif) + Manrope (body).
   ============================================================ */
:root {
  --cream: #F4F1EA;
  --cream-2: #ECE7DB;
  --cream-3: #E2DBCB;
  --navy: #1F1D3F;
  --navy-2: #2A2852;
  --navy-3: #3B3970;
  --ink-soft: rgba(31, 29, 63, .7);
  --ink-faint: rgba(31, 29, 63, .45);
  --line: rgba(31, 29, 63, .14);
  --accent: #B9853C;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .11 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.02; margin: 0; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 40; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }

/* small label above headings: a little peak + plain bold text */
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 18px; height: 12px; background: var(--accent); clip-path: polygon(0 100%, 38% 20%, 55% 52%, 72% 0, 100% 100%); }
.kicker--light { color: var(--cream); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head__sub { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; }
.section-head__sub a { font-weight: 700; }
.section-head--light, .section-head--light .section-head__sub { color: var(--cream); }
.section-head--light .section-head__sub { opacity: .75; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; border-radius: 99px; font-weight: 700; font-size: .98rem; text-decoration: none;
  background: var(--bg); color: var(--fg); border: 2px solid var(--navy); cursor: pointer; font-family: var(--sans);
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn--solid { --bg: var(--navy); --fg: var(--cream); box-shadow: 0 10px 30px -12px rgba(31, 29, 63, .6); }
.btn--solid:hover { --bg: var(--navy-2); }
.btn--ghost:hover { --bg: var(--navy); --fg: var(--cream); }
.btn--cream { --bg: var(--cream); --fg: var(--navy); border-color: var(--cream); }
.btn--cream:hover { --bg: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateY(-3px); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: background .3s, color .3s; }
.round:hover { background: var(--navy); color: var(--cream); }

/* ---------- top bar & nav ---------- */
.topbar { background: var(--navy); color: var(--cream); font-size: .85rem; text-align: center; padding: .55rem var(--gutter); display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.topbar a { color: var(--cream); font-weight: 700; text-underline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); transition: background .3s, box-shadow .3s, padding .3s; }
.nav.is-scrolled { background: rgba(244, 241, 234, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 34px; height: 30px; fill: var(--navy); }
.brand__name { font-family: var(--serif); font-weight: 650; font-size: 1.35rem; letter-spacing: -.02em; font-variation-settings: "opsz" 48; white-space: nowrap; }
.brand--light .brand__mark { fill: var(--cream); }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .93rem; font-weight: 600; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--navy); background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - 40px); min-height: calc(100svh - 40px); display: flex; flex-direction: column; overflow: hidden; margin-top: -76px; padding-top: 76px; }
.hero__topo, .footer__topo {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%231F1D3F' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M300 80c120 0 230 60 220 170s-80 160-200 170S70 380 80 260 180 80 300 80z'/%3E%3Cpath d='M300 120c95 0 185 50 178 135s-65 128-160 135S112 360 120 262s85-142 180-142z'/%3E%3Cpath d='M302 160c70 0 138 38 132 100s-50 95-118 100-158-30-152-100 68-100 138-100z'/%3E%3Cpath d='M305 200c48 0 92 26 88 66s-34 62-78 65-104-20-100-66 42-65 90-65z'/%3E%3Cpath d='M308 238c26 0 50 14 48 34s-20 32-42 33-56-10-54-34 22-33 48-33z'/%3E%3Cpath d='M-40 560c120-40 200 30 320 0s200-90 360-40'/%3E%3Cpath d='M-40 600c130-30 210 40 330 10s210-80 350-40'/%3E%3Cpath d='M-40 20c110 30 190-20 300 0s190 60 380 10'/%3E%3C/svg%3E");
  background-size: 600px; mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(28px, 6vh, 90px) var(--gutter) 0; max-width: 1240px; width: 100%; margin: 0 auto; }
.hero__title { font-size: clamp(3rem, min(9vw, 12.5vh), 9rem); font-weight: 700; line-height: .92; letter-spacing: -.045em; margin-bottom: 1.8rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title u { text-decoration: none; position: relative; }
.hero__title u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .07em; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: draw 1s var(--ease) 1.2s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
.hero__sub { max-width: 520px; font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(300px, 74vh, 780px); z-index: 1; pointer-events: none; }
.layer--far path { fill: var(--navy); opacity: .1; }
.layer--mid path { fill: var(--navy); opacity: .22; }
.range-front { fill: var(--navy); }
.facet { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-on:not(.ready) .facet, .intro-on:not(.ready) .layer--far path, .intro-on:not(.ready) .layer--mid path { opacity: 0; }


/* paper-cut scene (not used currently) */
.hero__range .paper { filter: url(#cut); transform-box: fill-box; transform-origin: 50% 100%; }
.hero__range .sun { fill: var(--accent); transform-origin: 50% 50%; }
.hero__range .cloud { fill: #F7F4EC; filter: url(#cutDown); transform-origin: 50% 50%; }
.hero__range .snow { filter: url(#cutDown); transform-origin: 50% 0; }
.hero__range .tree { fill: #16152E; filter: none; }
.hero__range .crease { fill: none; stroke: rgba(244, 241, 234, .12); stroke-width: 1.5; stroke-linecap: round; }
.drift { animation: drift 14s ease-in-out infinite alternate; }
.drift--b { animation-duration: 18s; animation-delay: -6s; }
@keyframes drift { to { transform: translateX(34px); } }

/* opening sequence */
.intro { display: none; }
.intro-on .intro { display: flex; position: fixed; inset: 0; z-index: 200; background: var(--navy); color: var(--cream); align-items: center; justify-content: center; transition: transform 1.2s cubic-bezier(.76,0,.24,1); animation: introKill 0s 6s forwards; }
.intro::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 150px; background: var(--navy); clip-path: polygon(0 100%, 0 62%, 9% 40%, 17% 58%, 27% 18%, 36% 50%, 44% 34%, 53% 70%, 62% 8%, 71% 46%, 79% 30%, 88% 62%, 95% 44%, 100% 56%, 100% 100%); }
.intro.is-out { transform: translateY(calc(100% + 160px)); }
@keyframes introKill { to { visibility: hidden; } }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; transition: opacity .4s, transform .6s var(--ease); }
.intro.is-out .intro__inner { opacity: 0; transform: translateY(-20px); }
.intro__mark { width: 110px; height: 98px; color: var(--cream); overflow: visible; }
.intro__mark path { fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: markDraw 1.3s cubic-bezier(.6,0,.3,1) .15s forwards, markFill .5s ease 1.25s forwards; }
@keyframes markDraw { to { stroke-dashoffset: 0; } }
@keyframes markFill { to { fill-opacity: 1; } }
.intro__word { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -.03em; overflow: hidden; display: flex; padding-bottom: .1em; }
.intro__word span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease) forwards; animation-delay: calc(.7s + var(--d)); }
.intro__est { display: flex; align-items: center; gap: .9rem; margin-top: -.5rem; font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: var(--accent); opacity: 0; animation: fadeUp .7s var(--ease) 1.25s forwards; }
.intro__est::before, .intro__est::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.intro__tag { font-weight: 600; font-size: .95rem; opacity: 0; color: rgba(244, 241, 234, .7); animation: fadeUp .7s var(--ease) 1.4s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro__fly { position: fixed; z-index: 210; margin: 0; transform-origin: 0 0; pointer-events: none; }
.intro__fly path { fill: currentColor; fill-opacity: 1; stroke: none; animation: none; }

/* hold the hero until the intro hands over */
.intro-on:not(.ready) body { overflow: hidden; }
.intro-on:not(.ready) .hero__title .line > span,
.intro-on:not(.ready) .hero__title u::after { animation-play-state: paused; }
.intro-on:not(.ready) .hero .reveal { opacity: 0 !important; transform: translateY(28px) !important; }
.intro-on:not(.ready) .hero__range .paper, .intro-on:not(.ready) .hero__range .crease { opacity: 0; }
.intro-on:not(.mark-landed) .nav .brand__mark { opacity: 0; }
.snow { fill: var(--cream); opacity: .9; }
.route-line { fill: none; stroke: var(--cream); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55; }
.rope { stroke: var(--accent); stroke-width: 2; }
.climber--guide { fill: var(--accent); stroke: var(--cream); stroke-width: 2.5; }
.climber--student { fill: var(--cream); stroke: var(--navy); stroke-width: 2.5; }
.flag-pole { stroke: var(--navy); stroke-width: 2.5; }
.flag { fill: var(--accent); }
.flags { opacity: 0; transform-origin: 1040px 104px; transform: scaleY(0); transition: opacity .4s, transform .6s var(--ease); }
.flags.is-up { opacity: 1; transform: none; }
.flags.is-up .flag { animation: wave 2.4s ease-in-out infinite; transform-origin: 1040px 68px; }
@keyframes wave { 50% { transform: skewY(-8deg) scaleX(.9); } }
.hero__legend, .hero__scroll { position: absolute; z-index: 3; bottom: 22px; color: var(--cream); font-size: .8rem; font-weight: 600; }
.hero__legend { left: var(--gutter); display: flex; align-items: center; gap: .5rem; }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg--g { background: var(--accent); }
.lg--s { background: var(--cream); margin-left: .8rem; }
.hero__scroll { right: var(--gutter); text-decoration: none; }
.hero__scroll span { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: var(--cream); padding: clamp(40px, 6vw, 72px) 0; }
.stats__grid { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 1.5rem; border-left: 1px solid rgba(244, 241, 234, .16); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .55em; vertical-align: .55em; margin-right: .05em; }
.stat__lbl { display: block; margin-top: .7rem; font-size: .85rem; color: rgba(244, 241, 234, .65); line-height: 1.45; }

/* ---------- testimonials: prayer flags on a rope ---------- */
.voices { padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.voices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.5rem; }
.voices__nav { display: flex; gap: .6rem; }
.voices__rail {
  position: relative; display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 58px var(--gutter) 40px;
  padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
}
.voices__rail::-webkit-scrollbar { display: none; }
.voices__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.voices__rope { position: absolute; top: 0; left: 0; height: 90px; overflow: visible; pointer-events: none; z-index: 2; }
.voices__rope .rope-line { fill: none; stroke: var(--navy); stroke-width: 2; }
.voices__rope .peg { fill: var(--accent); }
.flagcard {
  flex: 0 0 min(340px, 80vw); scroll-snap-align: start; margin: 0; position: relative;
  padding: 2rem 1.8rem 3.2rem;
  background: var(--cream-2); display: flex; flex-direction: column; justify-content: space-between; gap: 1.8rem; min-height: 300px; user-select: none;
  transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 22px), 0 100%);
}
.flagcard:nth-of-type(3n+2) { background: var(--navy); color: var(--cream); }
.flagcard:nth-of-type(3n+3) { background: #E7D6B8; }
@keyframes sway { 0%, 100% { rotate: calc(var(--tilt, 0deg) - 1deg); } 50% { rotate: calc(var(--tilt, 0deg) + 1deg); } }
.flagcard blockquote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.3; font-variation-settings: "opsz" 30; }
.flagcard figcaption { display: flex; gap: .9rem; align-items: center; font-size: .85rem; opacity: .85; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1.5px dashed currentColor; background: repeating-linear-gradient(45deg, rgba(127, 127, 127, .15) 0 4px, transparent 4px 8px); }
.avatar--init { border: 1.5px solid currentColor; background: none; display: grid; place-items: center; font-weight: 700; font-size: .8rem; letter-spacing: .02em; }

/* ---------- story ---------- */
.story { padding: clamp(80px, 11vw, 150px) 0; background: var(--cream-2); }
.story__quote { margin: 0 0 clamp(60px, 8vw, 110px); font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: -.025em; max-width: 1080px; }
.story__quote .hl { background: linear-gradient(transparent 62%, rgba(185, 133, 60, .35) 62%); }
.way__head { margin-bottom: clamp(60px, 8vw, 110px); }
.way__title { font-size: clamp(3.6rem, 12vw, 11rem); font-weight: 750; letter-spacing: -.05em; line-height: .9; margin-bottom: 1.6rem; }
.way__lede { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; max-width: 920px; }
.way__lede .hl { background: linear-gradient(transparent 62%, rgba(185, 133, 60, .35) 62%); }
.principle { display: flex; flex-direction: column; }
.rope-team { order: 3; width: 150px; height: 38px; margin-top: 1.2rem; overflow: visible; }
.rope-team path { fill: none; stroke: var(--accent); stroke-width: 2; }
.rope-team circle { fill: var(--navy); }
.rope-team .rt-g { fill: var(--accent); }
.principle h3 { font-size: 1.65rem; }
.principles { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 150px; }
.principles__ridge { position: absolute; top: 0; left: 0; width: 100%; height: 120px; overflow: visible; }
.principles__ridge path { fill: none; stroke: var(--navy); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.principles__ridge.is-in path { stroke-dashoffset: 0; }
.principles__ridge.reveal { opacity: 1; transform: none; }
.principle { position: relative; }
.principle__n { position: absolute; top: -147px; left: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: .8rem; }
.principle:nth-of-type(2) .principle__n { top: -157px; }
.principle:nth-of-type(3) .principle__n { top: -141px; }
.principle h3 { margin-bottom: .8rem; }
.principle p { color: var(--ink-soft); }

/* ---------- one-on-one support ---------- */
.support { background: var(--navy); color: var(--cream); padding: clamp(130px, 14vw, 190px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
.support::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 110px; background: var(--cream-2); clip-path: polygon(0 0, 100% 0, 100% 45%, 90% 20%, 78% 62%, 66% 30%, 52% 75%, 40% 35%, 27% 68%, 14% 28%, 0 60%); }
.support__wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: center; position: relative; }
.support h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1.3rem; }
.support__lede { font-size: 1.15rem; color: rgba(244, 241, 234, .75); max-width: 560px; margin-bottom: 2.4rem; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.perks li { display: flex; gap: 1rem; align-items: flex-start; }
.perks li:first-child { grid-column: 1 / -1; background: rgba(244, 241, 234, .06); border: 1px solid rgba(244, 241, 234, .14); border-radius: 18px; padding: 1.2rem 1.3rem; }
.perks li:first-child h3 { font-size: 1.6rem; }
.perk__i { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; }
.perk__i svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.perks h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.perks p { font-size: .93rem; color: rgba(244, 241, 234, .7); }

.phone { position: relative; width: min(360px, 100%); justify-self: center; background: #0F0E24; border-radius: 44px; padding: 14px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(244, 241, 234, .15); transform: rotate(2deg); }
.phone.is-in { transform: rotate(2deg); }
.phone__notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 22px; border-radius: 20px; background: #0F0E24; transform: translateX(-50%); z-index: 2; }
.phone__top { background: var(--cream); color: var(--navy); border-radius: 32px 32px 0 0; padding: 48px 18px 14px; display: flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--line); }
.phone__top b { display: block; font-size: .98rem; line-height: 1.1; }
.phone__top small { font-size: .75rem; color: var(--ink-soft); font-weight: 600; }
.phone__av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.phone__av svg { width: 20px; height: 18px; fill: var(--cream); }
.phone__on { margin-left: auto; font-size: .72rem; font-weight: 700; color: #3E8E5A; display: flex; align-items: center; gap: .35rem; }
.phone__on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3E8E5A; }
.chat { background: var(--cream-2); border-radius: 0 0 32px 32px; padding: 14px 14px 20px; min-height: 440px; display: flex; flex-direction: column; gap: 8px; }
.chat__day { align-self: center; font-size: .72rem; font-weight: 700; color: var(--ink-faint); margin-bottom: 4px; }
.msg { max-width: 82%; padding: .6rem .85rem; border-radius: 18px; font-size: .86rem; line-height: 1.4; color: var(--navy); }
.msg--me { align-self: flex-end; background: var(--navy); color: var(--cream); border-bottom-right-radius: 6px; }
.msg--them { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.msg--file { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.file__i { width: 26px; height: 30px; border-radius: 4px; background: rgba(244, 241, 234, .25); clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.chat__typing { align-self: flex-start; background: #fff; border-radius: 18px; padding: .7rem .9rem; display: none; gap: 4px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: blink 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.chat.is-playing .msg:not(.is-shown) { display: none; }
.chat.is-playing .msg.is-shown { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat.is-playing .chat__typing.is-on { display: flex; }
.phone__note { text-align: center; font-size: .72rem; color: rgba(244, 241, 234, .45); margin-top: 10px; }

/* ---------- route ---------- */
.route { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.ascent { position: relative; display: grid; grid-template-columns: 1fr 200px 1fr; row-gap: clamp(30px, 5vw, 60px); }
.ascent__svg { position: absolute; left: 50%; top: 0; bottom: 0; width: 200px; height: 100%; transform: translateX(-50%); overflow: visible; }
.ascent__ghost { fill: none; stroke: var(--navy); stroke-opacity: .2; stroke-width: 2; stroke-dasharray: 3 8; vector-effect: non-scaling-stroke; }
.ascent__ink { fill: none; stroke: var(--navy); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.camp { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; box-shadow: 0 30px 60px -40px rgba(31, 29, 63, .35); }
.camp--l { grid-column: 1; margin-top: -40px; }
.camp--r { grid-column: 3; margin-top: -40px; }
.camp:nth-of-type(1) { margin-top: 0; }
.camp:nth-of-type(1){grid-row:1}.camp:nth-of-type(2){grid-row:2}.camp:nth-of-type(3){grid-row:3}.camp:nth-of-type(4){grid-row:4}.camp:nth-of-type(5){grid-row:5}
.camp--summit { grid-column: 1 / -1; justify-self: center; max-width: 520px; text-align: center; background: var(--navy); color: var(--cream); border-color: var(--navy); }
.camp--summit p { color: rgba(244, 241, 234, .75) !important; }
.camp__flag { width: 34px; height: 34px; margin: 0 auto .6rem; }
.camp__flag path:first-child { stroke: var(--cream); stroke-width: 2; }
.camp__flag path:last-child { fill: var(--accent); }
.camp h3 { margin: .5rem 0 .7rem; }
.camp p { color: var(--ink-soft); }
.camp__tag { font-size: .85rem; font-weight: 700; color: var(--accent); }
.camp::before { content: ""; position: absolute; top: 2.1rem; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--navy); }
.camp--r::before { left: -107px; }
.camp--l::before { right: -107px; }
.camp--summit::before { display: none; }

/* ---------- guides ---------- */
.guides { background: var(--navy); color: var(--cream); padding: clamp(110px, 13vw, 170px) 0 clamp(90px, 12vw, 160px); overflow: hidden; }
.guides::before { content: ""; position: absolute; left: -10%; right: -10%; top: -1px; height: 120px; background: var(--cream); clip-path: polygon(0 0, 100% 0, 100% 20%, 82% 70%, 70% 40%, 55% 90%, 44% 50%, 30% 85%, 18% 45%, 0 75%); }
.dossiers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.dossier { background: var(--navy-2); border: 1px solid rgba(244, 241, 234, .12); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.dossier:hover { transform: translateY(-6px); border-color: rgba(244, 241, 234, .3); }
.dossier__photo { position: relative; aspect-ratio: 16 / 10; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; text-align: center; font-size: .85rem; font-weight: 600; color: rgba(244, 241, 234, .55);
  background: repeating-linear-gradient(135deg, rgba(244, 241, 234, .04) 0 12px, transparent 12px 24px), linear-gradient(160deg, var(--navy-3), var(--navy-2)); }
.ph svg { width: 70px; height: 62px; fill: rgba(244, 241, 234, .2); }
.badges { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.badges__row { display: flex; gap: .55rem; }
.badge { width: 92px; height: 92px; border-radius: 50%; background: var(--cream); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55), inset 0 0 0 3px var(--cream), inset 0 0 0 5px var(--accent); transition: transform .45s var(--ease); }
.badge b { font-family: var(--serif); font-weight: 750; font-size: 2.3rem; line-height: .9; letter-spacing: -.04em; }
.badge small { font-weight: 800; font-size: .66rem; line-height: 1.1; margin-top: .2rem; max-width: 72px; }
.badge-atar { display: inline-flex; align-items: baseline; gap: .45rem; background: var(--accent); color: var(--navy); border-radius: 99px; padding: .45rem 1rem; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); }
.badge-atar small { font-weight: 800; font-size: .75rem; }
.badge-atar b { font-family: var(--serif); font-weight: 750; font-size: 1.35rem; line-height: 1; }
.dossier:hover .badge { transform: rotate(-6deg) scale(1.04); }
.dossier:hover .badge:nth-child(2) { transform: rotate(6deg) scale(1.04); }
.dossier__ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; }
.dossier__ridge path { fill: var(--navy-2); }
.dossier__body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.dossier__role { color: var(--accent); font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.dossier h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 650; margin-bottom: .6rem; }
.dossier__teaches { font-size: 1.15rem; margin-bottom: 1.4rem; color: rgba(244, 241, 234, .75); }
.dossier__teaches b { color: var(--cream); font-weight: 800; border-bottom: 3px solid var(--accent); }
.tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem; margin-bottom: 1.6rem; }
.tile { background: var(--cream); color: var(--navy); border-radius: 16px; padding: 1rem 1rem .9rem; display: flex; flex-direction: column; gap: .35rem; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.tile::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 46px; height: 30px; background: rgba(31, 29, 63, .07); clip-path: polygon(0 100%, 40% 20%, 58% 50%, 76% 0, 100% 100%); }
.tile b { font-family: var(--serif); font-weight: 750; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: .9; letter-spacing: -.04em; }
.tile span { font-weight: 800; font-size: .88rem; line-height: 1.2; }
.tile--atar { background: var(--accent); color: var(--navy); }
.tile--atar b { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.dossier:hover .tile { transform: translateY(-3px); }
.dossier:hover .tile:nth-child(2) { transition-delay: .05s; }
.dossier:hover .tile:nth-child(3) { transition-delay: .1s; }
.dossier__facts { margin: 0 0 1.4rem; display: grid; gap: .6rem; }
.dossier__facts div { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; font-size: .95rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(244, 241, 234, .1); }
.dossier__facts dt { font-weight: 700; color: rgba(244, 241, 234, .5); }
.dossier__facts dd { margin: 0; }
.dossier__quote { font-family: var(--serif); font-weight: 500; color: rgba(244, 241, 234, .6); }

/* ---------- subjects ---------- */
.subjects { padding: 0 0 clamp(90px, 12vw, 160px); }
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 1.6rem 0; margin-bottom: clamp(70px, 9vw, 120px); }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.03em; align-items: center; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee__track i { font-style: normal; font-size: .4em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.peaks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.peak { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; background: var(--cream); position: relative; overflow: hidden; transition: transform .5s var(--ease), color .4s, border-color .4s; }
.peak::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.peak > * { position: relative; z-index: 1; }
.peak:hover { color: var(--cream); transform: translateY(-6px); border-color: var(--navy); }
.peak:hover::before { transform: none; }
.peak__svg { width: 100%; height: auto; margin-bottom: 1.3rem; }
.peak__m { fill: var(--navy); transition: fill .4s; }
.peak:hover .peak__m { fill: var(--navy-3); }
.peak__s { fill: var(--cream); }
.peak__t { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 5; }
.peak h3 { margin-bottom: .8rem; font-size: 1.7rem; }
.peak p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 1.4rem; transition: color .4s; flex: 1; }
.peak:hover p { color: rgba(244, 241, 234, .75); }
.peak__guide { font-size: .88rem; font-weight: 700; padding-top: 1rem; border-top: 1px solid var(--line); }
.peak:hover .peak__guide { border-color: rgba(244, 241, 234, .2); }
.peak__go { margin-top: .6rem; font-size: .88rem; color: var(--accent); font-weight: 700; }

/* ---------- compare ---------- */
.compare { padding: 0 0 clamp(90px, 12vw, 160px); }
.table { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; }
.tr > span { padding: 1.15rem 1.5rem; border-top: 1px solid var(--line); font-size: .97rem; }
.tr > span:first-child { font-weight: 700; }
.tr > span:nth-child(2) { color: var(--ink-faint); }
.tr .us { background: var(--navy); color: var(--cream); font-weight: 600; }
.tr:not(.th) .us::before { content: "▲"; color: var(--accent); font-size: .6rem; margin-right: .6rem; vertical-align: 2px; }
.th > span { border-top: 0; font-weight: 800; font-size: .9rem; padding-top: 1.3rem; padding-bottom: 1.3rem; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(90px, 12vw, 150px) 0; background: var(--cream-2); }
.pricing__wrap { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 6vw, 100px); align-items: center; }
.pricing__copy p:not(.kicker) { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 460px; }
.ticket { background: var(--cream); border-radius: 26px; padding: 2rem; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(31, 29, 63, .45); position: relative; }
.ticket__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .85rem; color: var(--ink-soft); }
.ticket__mark { width: 30px; height: 26px; fill: var(--navy); }
.ticket__price { display: flex; align-items: flex-start; margin: 1.6rem 0 1.4rem; }
.ticket__price .cur { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; margin-top: .6rem; }
.ticket__price .amt { font-family: var(--serif); font-weight: 750; font-size: 7.5rem; line-height: .85; letter-spacing: -.05em; }
.ticket__price .per { font-size: .9rem; color: var(--ink-soft); margin: auto 0 .5rem 1rem; line-height: 1.35; font-weight: 600; }
.ticket__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.ticket__list li { display: flex; gap: .8rem; font-size: .96rem; }
.ticket__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23F4F1EA' stroke-width='2.2'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticket__perf { height: 1px; margin: 0 -2rem 1.6rem; background-image: linear-gradient(90deg, var(--ink-faint) 50%, transparent 50%); background-size: 10px 1px; position: relative; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream-2); }
.ticket__perf::before { left: -12px; } .ticket__perf::after { right: -12px; }
.ticket__fine { text-align: center; font-size: .8rem; color: var(--ink-faint); margin-top: 1rem; }

/* ---------- steps ---------- */
.steps { padding: clamp(90px, 12vw, 150px) 0; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps__list::before { content: ""; position: absolute; top: 38px; left: 0; right: 0; height: 2px; background-image: linear-gradient(90deg, var(--navy) 50%, transparent 50%); background-size: 12px 2px; opacity: .3; }
.steps__list li { position: relative; }
.steps__n { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cream); border: 2px solid var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1.8rem; margin-bottom: 1.4rem; position: relative; transition: background .4s, color .4s; }
.steps__list li:hover .steps__n { background: var(--navy); color: var(--cream); }
.steps__list h3 { margin-bottom: .6rem; }
.steps__list p { color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq { padding: clamp(90px, 12vw, 150px) 0 clamp(140px, 16vw, 220px); background: var(--cream-2); }
.faq__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: background .3s; }
.faq__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__list details[open] summary i { background: var(--navy); transform: rotate(45deg); }
.faq__list details[open] summary i::before, .faq__list details[open] summary i::after { background: var(--cream); }
.faq__list details > div { overflow: hidden; }
.faq__list details p { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); }

/* ---------- summit ---------- */
.summit { background: var(--navy); color: var(--cream); padding: clamp(100px, 12vw, 160px) 0 clamp(160px, 18vw, 240px); overflow: hidden; }
.summit::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 110px; background: var(--cream-2); clip-path: polygon(0 0, 100% 0, 100% 30%, 88% 60%, 76% 25%, 64% 70%, 50% 10%, 38% 65%, 26% 35%, 12% 72%, 0 40%); z-index: 1; }
.summit__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.summit__wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding-top: 40px; }
.summit__mark { width: 90px; height: 80px; fill: var(--cream); margin-bottom: 2rem; }
.summit h2 { margin-bottom: 1.4rem; }
.summit__copy > p { color: rgba(244, 241, 234, .72); font-size: 1.1rem; max-width: 460px; }
.summit__ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .6rem; font-weight: 600; }
.summit__ticks li::before { content: "▲"; color: var(--accent); font-size: .6rem; margin-right: .8rem; vertical-align: 2px; }
.summit__range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(110px, 14vw, 200px); z-index: 1; }
.sr1 { fill: rgba(244, 241, 234, .06); }
.sr2 { fill: rgba(244, 241, 234, .1); }
.form { background: rgba(244, 241, 234, .05); border: 1px solid rgba(244, 241, 234, .14); border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; backdrop-filter: blur(8px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .45rem; font-size: .85rem; font-weight: 700; color: rgba(244, 241, 234, .8); }
.form input:not([type=checkbox]), .form textarea { font: inherit; font-size: 1rem; font-weight: 500; color: var(--cream); background: rgba(244, 241, 234, .06); border: 1px solid rgba(244, 241, 234, .18); border-radius: 12px; padding: .85rem 1rem; outline: none; transition: border-color .3s, background .3s; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(244, 241, 234, .35); }
.form input:focus, .form textarea:focus { border-color: var(--cream); background: rgba(244, 241, 234, .1); }
.form .is-error { border-color: #E39B8B !important; }
.form__subjects { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__subjects legend { font-size: .85rem; font-weight: 700; color: rgba(244, 241, 234, .8); margin-bottom: .5rem; padding: 0; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: .55rem 1rem; border: 1px solid rgba(244, 241, 234, .25); border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--cream); transition: all .25s; }
.chip input:checked + span { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__note { font-size: .9rem; min-height: 1.4em; color: var(--cream); text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--cream); padding: clamp(50px, 7vw, 80px) 0 30px; position: relative; overflow: hidden; border-top: 1px solid rgba(244, 241, 234, .1); }
.footer__topo { filter: invert(1); opacity: .35; mask-image: linear-gradient(to top, #000, transparent); }
.footer__grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem; margin-bottom: 3rem; }
.footer__tag { margin-top: 1rem; color: rgba(244, 241, 234, .6); font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.footer h4 { font-weight: 800; font-size: .85rem; color: rgba(244, 241, 234, .5); margin: 0 0 1rem; }
.footer__grid a:not(.brand) { display: block; text-decoration: none; margin-bottom: .5rem; font-size: .93rem; color: rgba(244, 241, 234, .85); }
.footer__grid a:not(.brand):hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer__base { position: relative; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .75rem; color: rgba(244, 241, 234, .45); padding-top: 1.5rem; border-top: 1px solid rgba(244, 241, 234, .1); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.principle.reveal:nth-of-type(2), .dossiers .reveal:nth-child(2), .peaks .reveal:nth-child(2), .steps__list .reveal:nth-child(2) { transition-delay: .1s; }
.principle.reveal:nth-of-type(3), .peaks .reveal:nth-child(3), .steps__list .reveal:nth-child(3) { transition-delay: .2s; }
.peaks .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .peaks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav__links { position: fixed; inset: 0; height: 100vh; height: 100dvh; background: var(--cream); flex-direction: column; justify-content: center; gap: 1.6rem; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
  .nav__links a:not(.btn) { font-family: var(--serif); font-weight: 650; font-size: 2rem; }
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .principles, .dossiers, .steps__list { grid-template-columns: 1fr; }
  .principles { padding-top: 0; }
  .principles__ridge, .principle__n { display: none; }
  .principle { border-top: 2px solid var(--navy); padding-top: 1.2rem; }
  .steps__list::before { display: none; }
  .ascent { grid-template-columns: 48px 1fr; }
  .ascent__svg { left: 24px; width: 48px; }
  .camp--l, .camp--r, .camp--summit { grid-column: 2; justify-self: stretch; text-align: left; max-width: none; margin-top: 0; }
  .camp__flag { margin-left: 0; }
  .camp--l::before, .camp--r::before { left: -31px; right: auto; }
  .pricing__wrap, .faq__wrap, .summit__wrap, .support__wrap { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .phone { transform: none !important; }
  .faq .section-head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tr { grid-template-columns: 1fr 1fr; }
  .tr > span:first-child { grid-column: 1 / -1; background: var(--cream-2); padding-top: .8rem; padding-bottom: .8rem; font-size: .85rem; }
  .th > span:first-child { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-bottom: 34vh; }
  .hero__range { height: 38vh; }
  .hero__title { font-size: 15vw; }
  .hero__sub { font-size: 1rem; }
  .hero__ctas .btn { padding: .85rem 1.3rem; }
  .topbar { font-size: .76rem; }
  .voices__nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .peaks { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .ticket__price .amt { font-size: 6rem; }
  .topbar a { display: none; }
  .hero__legend { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.2rem; }
  .badges { top: .7rem; right: .7rem; }
  .badge { width: 74px; height: 74px; }
  .badge b { font-size: 1.8rem; }
  .badge small { font-size: .58rem; max-width: 60px; }
  .tiles { gap: .5rem; }
  .tile { padding: .8rem .65rem; }
  .tile b { font-size: 2.1rem; }
  .tile--atar b { font-size: 1.5rem; padding-top: .4rem; }
  .tile span { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero__title .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   Navy hero + menu bar (matches the loading screen), Source Serif 4 + Inter.
   ========================================================================== */
:root { --serif: "Source Serif 4", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, sans-serif; }
h1, h2, h3, .brand__name, .way__lede, .faq__list summary, .flagcard blockquote, .marquee__track { font-variation-settings: normal; }
h1, h2 { font-weight: 600; letter-spacing: -.02em; }
h3 { font-weight: 600; }

.topbar { background: #16152E; border-bottom: 1px solid rgba(244, 241, 234, .08); }
.nav { background: var(--navy); color: var(--cream); }
.nav.is-scrolled { background: rgba(31, 29, 63, .97); box-shadow: 0 1px 0 rgba(244, 241, 234, .08); }
.brand__mark { fill: var(--cream); }
.brand__name { font-weight: 600; letter-spacing: -.01em; }
.nav__links a:not(.btn) { color: rgba(244, 241, 234, .85); }
.nav__links a:not(.btn):hover { color: var(--cream); }
.nav__cta { --bg: var(--cream); --fg: var(--navy); border-color: var(--cream); box-shadow: none; border-radius: 6px; }
.nav__cta:hover { --bg: #fff; }
.nav__toggle { border-color: rgba(244, 241, 234, .6); }
.nav__toggle span { background: var(--cream); }
@media (max-width: 1100px) {
  .nav.is-scrolled { background: var(--navy); }
  .nav__links { background: var(--navy); }
  .nav__links a:not(.btn) { color: var(--cream); }
}

.hero { background: var(--navy); color: var(--cream); }
.hero__title { color: var(--cream); font-weight: 700; letter-spacing: -.035em; line-height: .96; }
.hero__sub { color: rgba(244, 241, 234, .78); }
.hero .btn { border-radius: 6px; }
.hero .btn--solid { --bg: var(--cream); --fg: var(--navy); border-color: var(--cream); box-shadow: none; }
.hero .btn--solid:hover { --bg: #fff; }
.hero .btn--ghost { --fg: var(--cream); border-color: rgba(244, 241, 234, .45); }
.hero .btn--ghost:hover { --bg: var(--cream); --fg: var(--navy); border-color: var(--cream); }
.layer--far path { fill: var(--cream); opacity: .05; }
.layer--mid path { fill: var(--cream); opacity: .09; }
.flag-pole { stroke: var(--cream); }
.hero__scroll { color: rgba(244, 241, 234, .7); }

/* loading screen: tagline sits closer to the wordmark */
.intro__inner { gap: 1rem; }
.intro__tag { margin-top: -.75rem; }

/* Sherpa Way flows straight into the stages, with no separate heading */
.route { background: var(--cream-2); padding-top: 0; }
.route::before { display: none; }
.story { padding-bottom: clamp(70px, 8vw, 110px); }
.guides::before { background: var(--cream-2); }
/* 24/7 support follows the head tutors: one continuous navy band */
.support::before { display: none; }
.support { padding-top: clamp(40px, 5vw, 70px); }
.support .support__wrap { border-top: 1px solid rgba(244, 241, 234, .12); padding-top: clamp(60px, 7vw, 100px); }
.support { margin-top: -1px; box-shadow: 0 -2px 0 var(--navy); }

/* gold highlight: one even band per line, sitting on the lower half of the letters */
.way__lede .hl, .story__quote .hl {
  background: linear-gradient(to bottom, transparent 55%, rgba(185, 133, 60, .32) 55%, rgba(185, 133, 60, .32) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .08em; margin: 0 -.08em;
}

/* all three support perks share the same plain style, in one even column */
.perks { grid-template-columns: 1fr; gap: 1.5rem; }
.perks li:first-child { background: none; border: 0; padding: 0; grid-column: auto; }
.perks li:first-child h3 { font-size: 1.25rem; }

/* smaller Sherpa Way heading; highlight raised to sit behind the letters, not below them */
.way__title { font-size: clamp(2.8rem, 6.5vw, 5.6rem); margin-bottom: 1.2rem; }
.way__lede .hl, .story__quote .hl {
  background: linear-gradient(to bottom, transparent 40%, rgba(185, 133, 60, .32) 40%, rgba(185, 133, 60, .32) 78%, transparent 78%);
}

/* banner: alternate words in a soft solid navy (outlines showed the font's inner seams) */
.marquee__track span:nth-of-type(even) { color: rgba(31, 29, 63, .32); -webkit-text-stroke: 0; }

/* ==========================================================================
   Phones: a more zoomed-out, compact layout so the page is quick to scroll.
   ========================================================================== */
@media (max-width: 560px) {
  body { font-size: 14.5px; line-height: 1.55; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.15rem; }
  .kicker { font-size: .78rem; margin-bottom: .6rem; }
  .section-head { margin-bottom: 26px; }
  .section-head__sub { font-size: .92rem; margin-top: .6rem; }

  /* tighter vertical rhythm everywhere */
  .voices, .story, .route, .guides, .support, .subjects, .compare, .pricing, .faq, .summit { padding-top: 52px; padding-bottom: 52px; }
  .route { padding-top: 0; }
  .subjects { padding-top: 0; }
  .support { padding-top: 24px; }
  .support .support__wrap { padding-top: 40px; }
  .guides { padding-top: 64px; }
  .guides::before { height: 46px; }
  .summit::before, .support::before { height: 46px; }
  .summit { padding-top: 70px; padding-bottom: 90px; }

  /* hero */
  .hero__title { font-size: 13vw; margin-bottom: 1rem; }
  .hero__sub { font-size: .92rem; margin-bottom: 1.2rem; }
  .hero__ctas .btn { padding: .7rem 1.1rem; font-size: .88rem; }
  .hero { padding-bottom: 30vh; }
  .hero__range { height: 34vh; }

  /* testimonials: smaller cards, two visible at a glance */
  .voices__head { margin-bottom: .6rem; }
  .voices__rail { gap: 16px; padding-top: 34px; padding-bottom: 20px; }
  .flagcard { flex-basis: 64vw; min-height: 0; padding: 1.1rem 1rem 2rem; gap: 1rem; }
  .flagcard blockquote { font-size: .95rem; line-height: 1.35; }
  .flagcard figcaption { font-size: .72rem; gap: .6rem; }
  .avatar { width: 30px; height: 30px; }

  /* The Sherpa Way */
  .way__head { margin-bottom: 28px; }
  .way__title { font-size: 2.6rem; margin-bottom: .8rem; }
  .way__lede { font-size: 1.05rem; }
  .principles { gap: 18px; }
  .principle { padding-top: .8rem; }
  .principle h3 { font-size: 1.1rem; margin-bottom: .35rem; }
  .principle p { font-size: .88rem; }

  /* route stages: compact cards, small gaps */
  .ascent { row-gap: 12px; grid-template-columns: 30px 1fr; }
  .ascent__svg { left: 14px; width: 30px; }
  .camp { padding: 1rem 1.05rem; border-radius: 12px; box-shadow: 0 16px 30px -26px rgba(31, 29, 63, .4); }
  .camp::before { top: 1.15rem; width: 11px; height: 11px; border-width: 2.5px; }
  .camp--l::before, .camp--r::before { left: -22px; }
  .camp h3 { font-size: 1.1rem; margin: .25rem 0 .35rem; }
  .camp p { font-size: .86rem; line-height: 1.45; }
  .camp__tag { font-size: .74rem; }

  /* head tutors */
  .dossiers { gap: 16px; }
  .dossier__photo { aspect-ratio: 16 / 9; }
  .dossier__body { padding: 1rem 1.1rem 1.2rem; }
  .dossier h3 { font-size: 1.5rem; margin-bottom: .3rem; }
  .dossier__teaches { font-size: .92rem; margin-bottom: .8rem; }
  .dossier__facts { margin-bottom: .8rem; gap: .35rem; }
  .dossier__facts div { font-size: .84rem; grid-template-columns: 56px 1fr; gap: .6rem; padding-bottom: .35rem; }
  .dossier__quote { font-size: .9rem; }
  .badge { width: 62px; height: 62px; }
  .badge b { font-size: 1.5rem; }
  .badge small { font-size: .5rem; max-width: 52px; }
  .badge-atar { padding: .3rem .7rem; }
  .badge-atar b { font-size: 1.05rem; }

  /* 24/7 support */
  .support h2 { font-size: 1.85rem; margin-bottom: .7rem; }
  .support__lede { font-size: .92rem; margin-bottom: 1.2rem; }
  .perks { gap: .9rem; }
  .perk__i { width: 36px; height: 36px; }
  .perk__i svg { width: 19px; height: 19px; }
  .perks h3, .perks li:first-child h3 { font-size: 1.02rem; }
  .perks p { font-size: .84rem; }
  .phone { width: 270px; padding: 10px; border-radius: 34px; }
  .phone__top { padding: 38px 14px 10px; border-radius: 26px 26px 0 0; }
  .phone__notch { top: 16px; width: 70px; height: 18px; }
  .chat { min-height: 330px; padding: 10px 10px 14px; border-radius: 0 0 26px 26px; gap: 6px; }
  .msg { font-size: .76rem; padding: .45rem .7rem; }

  /* subjects: two per row, short */
  .marquee { padding: .9rem 0; margin-bottom: 40px; }
  .marquee__track { font-size: 1.6rem; gap: 1.4rem; }
  .peaks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .peak { padding: .9rem .85rem; border-radius: 12px; }
  .peak__svg { margin-bottom: .6rem; }
  .peak h3 { font-size: 1rem; margin-bottom: .35rem; }
  .peak p { display: none; }
  .peak__guide { font-size: .74rem; padding-top: .55rem; }
  .peak__go { font-size: .74rem; margin-top: .35rem; }

  /* comparison table */
  .tr > span { padding: .6rem .75rem; font-size: .82rem; }
  .tr > span:first-child { padding-top: .5rem; padding-bottom: .5rem; font-size: .76rem; }
  .th > span { padding-top: .7rem; padding-bottom: .7rem; font-size: .74rem; }

  /* pricing */
  .pricing__wrap { gap: 26px; }
  .pricing__copy p:not(.kicker) { font-size: .92rem; margin-top: .8rem; }
  .ticket { padding: 1.3rem; }
  .ticket__price { margin: 1rem 0 .9rem; }
  .ticket__price .amt { font-size: 4.6rem; }
  .ticket__list { gap: .45rem; margin-bottom: 1.1rem; }
  .ticket__list li { font-size: .86rem; }
  .ticket__perf { margin: 0 -1.3rem 1.1rem; }

  /* FAQ */
  .faq__wrap { gap: 22px; }
  .faq__list summary { font-size: 1rem; padding: .9rem 0; }
  .faq__list summary i { width: 26px; height: 26px; }
  .faq__list details p { font-size: .88rem; padding: 0 0 1rem; }

  /* enquiry */
  .summit__wrap { gap: 28px; padding-top: 10px; }
  .summit__mark { width: 56px; height: 50px; margin-bottom: 1rem; }
  .summit h2 { margin-bottom: .8rem; }
  .summit__copy > p { font-size: .92rem; }
  .summit__ticks { margin-top: 1rem; gap: .35rem; font-size: .88rem; }
  .form { padding: 1.1rem; gap: .8rem; }
  .form input:not([type=checkbox]), .form textarea { padding: .65rem .8rem; font-size: .92rem; }
  .chip span { padding: .4rem .75rem; font-size: .8rem; }

  .footer { padding-top: 40px; }
  .footer__grid { gap: 1.2rem; margin-bottom: 1.6rem; }
}

/* tutor photos */
.dossier__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: saturate(.92) contrast(1.03); }

/* navy wash over tutor photos so they sit in the page's palette */
.dossier__img { filter: grayscale(.25) contrast(1.06) brightness(.97); }
.dossier__photo:has(.dossier__img)::before,
.dossier__photo:has(.dossier__img)::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dossier__photo:has(.dossier__img)::before { background: #2A2852; mix-blend-mode: color; opacity: .55; }
.dossier__photo:has(.dossier__img)::after { background: linear-gradient(180deg, rgba(31, 29, 63, .18) 0%, rgba(31, 29, 63, .28) 55%, rgba(31, 29, 63, .7) 100%); mix-blend-mode: multiply; }
.dossier__ridge { z-index: 2; }
.badges { z-index: 3; }

/* compact Sherpa Way section (desktop/tablet; phones keep their own sizes) */
@media (min-width: 561px) {
  #way.story { padding: clamp(56px, 6.5vw, 96px) 0; }
  #way .way__head { margin-bottom: clamp(32px, 4vw, 56px); }
  #way .way__title { font-size: clamp(2.4rem, 4.8vw, 4.2rem); margin-bottom: .9rem; }
  #way .way__lede { font-size: clamp(1.15rem, 1.9vw, 1.6rem); max-width: 780px; }
}
@media (min-width: 901px) {
  #way .principles { padding-top: 104px; }
  #way .principles__ridge { height: 80px; }
  #way .principle__n { top: -107px; width: 28px; height: 28px; left: calc(50% - 14px); font-size: .75rem; }
  #way .principle:nth-of-type(2) .principle__n { top: -113px; }
  #way .principle:nth-of-type(3) .principle__n { top: -103px; }
  #way .principle h3 { font-size: 1.3rem; margin-bottom: .55rem; }
  #way .principle p { font-size: .95rem; line-height: 1.55; }
}

/* compact Guides and 24/7 support sections (desktop/tablet; phones keep their own sizes) */
@media (min-width: 561px) {
  #guides.guides { padding: clamp(90px, 9vw, 120px) 0 clamp(56px, 6vw, 84px); }
  #guides .section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
  #guides .section-head h2 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
  #guides .section-head__sub { font-size: 1rem; margin-top: .8rem; }
  #guides .dossiers { gap: clamp(16px, 2vw, 26px); max-width: 1080px; }
  #guides .dossier__photo { aspect-ratio: 16 / 8.5; }
  #guides .badge { width: 76px; height: 76px; }
  #guides .badge b { font-size: 1.9rem; }
  #guides .badge small { font-size: .58rem; max-width: 60px; }
  #guides .badge-atar { padding: .35rem .85rem; }
  #guides .badge-atar b { font-size: 1.15rem; }
  #guides .dossier__body { padding: clamp(1.1rem, 2vw, 1.6rem); }
  #guides .dossier__role { font-size: .8rem; margin-bottom: .3rem; }
  #guides .dossier h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .4rem; }
  #guides .dossier__teaches { font-size: 1rem; margin-bottom: 1rem; }
  #guides .tiles { margin-bottom: 1.1rem; gap: .55rem; }
  #guides .tile { padding: .75rem .8rem .7rem; border-radius: 13px; }
  #guides .tile b { font-size: clamp(1.9rem, 3vw, 2.4rem); }
  #guides .tile--atar b { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
  #guides .tile span { font-size: .8rem; }
  #guides .dossier__facts { margin-bottom: 1rem; gap: .45rem; }
  #guides .dossier__facts div { font-size: .88rem; padding-bottom: .45rem; }
  #guides .dossier__quote { font-size: .95rem; }

  #support.support { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 6vw, 84px); }
  #support .support__wrap { padding-top: clamp(40px, 4.5vw, 64px); gap: clamp(32px, 4.5vw, 70px); }
  #support h2 { font-size: clamp(2.1rem, 3.4vw, 2.9rem); margin-bottom: .9rem; }
  #support .support__lede { font-size: 1rem; margin-bottom: 1.6rem; }
  #support .perks { gap: 1rem; }
  #support .perks h3, #support .perks li:first-child h3 { font-size: 1.08rem; }
  #support .perks p { font-size: .86rem; }
  #support .phone { width: min(290px, 100%); border-radius: 38px; padding: 11px; }
  #support .phone__top { border-radius: 28px 28px 0 0; padding: 40px 14px 11px; }
  #support .chat { border-radius: 0 0 28px 28px; min-height: 0; padding: 11px 11px 16px; }
  #support .msg { font-size: .78rem; padding: .5rem .75rem; line-height: 1.35; }
}

/* chat height is locked by script.js; keep content pinned to the top */
.chat { box-sizing: border-box; overflow: hidden; justify-content: flex-start; }

/* ==========================================================================
   Site-wide "less zoomed in" pass (desktop + tablet; phones under 561px keep their own sizes)
   ========================================================================== */
@media (min-width: 561px) {
  html { font-size: 15px; }
  h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
  .section-head { margin-bottom: clamp(26px, 3.2vw, 44px); }
  .section-head__sub { font-size: 1rem; margin-top: .8rem; }
  .hero__title { font-size: clamp(2.8rem, min(6.4vw, 10vh), 6.4rem); margin-bottom: 1.4rem; }

  /* testimonials */
  .voices { padding: clamp(56px, 6vw, 80px) 0 clamp(44px, 5vw, 64px); }
  .voices__rail { gap: 24px; padding-top: 44px; padding-bottom: 26px; }
  .voices__rope { height: 70px; }
  .flagcard { flex-basis: min(285px, 80vw); min-height: 0; padding: 1.5rem 1.4rem 2.5rem; gap: 1.2rem; }
  .flagcard blockquote { font-size: 1.02rem; line-height: 1.38; }
  .flagcard figcaption { font-size: .8rem; gap: .7rem; }
  .flagcard .avatar { width: 38px; height: 38px; }

  /* route / how it works */
  .route { padding-bottom: clamp(60px, 6vw, 84px); }
  .ascent { row-gap: clamp(18px, 2.6vw, 32px); }
  .camp { padding: 1.3rem 1.4rem; border-radius: 16px; }
  .camp h3 { font-size: 1.3rem; margin: .35rem 0 .5rem; }
  .camp p { font-size: .93rem; }

  /* subjects */
  .subjects { padding-bottom: clamp(60px, 6vw, 84px); }
  .marquee { padding: 1.1rem 0; margin-bottom: clamp(40px, 4.5vw, 60px); }
  .marquee__track { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
  .peak { padding: 1.2rem; border-radius: 16px; }
  .peak__svg { margin-bottom: .9rem; }
  .peak h3 { font-size: 1.35rem; margin-bottom: .55rem; }
  .peak p { font-size: .88rem; margin-bottom: 1rem; }

  /* compare table */
  .compare { padding-bottom: clamp(60px, 6vw, 84px); }
  .tr > span { padding: .8rem 1.3rem; font-size: .93rem; }
  .th > span { padding-top: .95rem; padding-bottom: .95rem; }

  /* pricing, steps, FAQ, enquiry */
  .pricing { padding: clamp(60px, 6.5vw, 90px) 0; }
  .pricing__copy p:not(.kicker) { font-size: 1rem; margin-top: 1rem; }
  .steps { padding: clamp(60px, 6.5vw, 90px) 0; }
  .steps__n { width: 60px; height: 60px; font-size: 1.45rem; }
  .steps__list::before { top: 30px; }
  .faq { padding: clamp(60px, 6.5vw, 90px) 0 clamp(80px, 9vw, 120px); }
  .faq__list summary { padding: 1.05rem 0; font-size: 1.12rem; }
  .faq__list summary i { width: 28px; height: 28px; }
  .faq__list details p { padding-bottom: 1.1rem; }
  .summit { padding: clamp(70px, 7.5vw, 100px) 0 clamp(100px, 11vw, 150px); }
  .summit__wrap { padding-top: 20px; }
  .summit__mark { width: 66px; height: 59px; margin-bottom: 1.3rem; }
  .summit__copy > p { font-size: 1rem; }
  .summit__range { height: clamp(80px, 9vw, 130px); }
  .form { gap: .85rem; }
  .footer { padding-top: clamp(40px, 5vw, 60px); }
  .footer__grid { margin-bottom: 2rem; }
}
