@font-face {
  font-family: Manrope;
  src: url("./manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("./manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-2199, U+2212, U+FEFF, U+FFFD;
}

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #08090b;
  --panel: #15171b;
  --panel-high: #1b1e24;
  --text: #f5f5f7;
  --muted: #b0b2bb;
  --stroke: #32353d;
  --blue: #0071e3;
  --blue-text: #8bc6ff;
  --gutter: clamp(18px, 5vw, 76px);
  --width: 1450px;
  --radius: clamp(18px, 2.4vw, 32px);
  --ease: cubic-bezier(.2, .72, .27, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--text); }
body, input, button, select, textarea { font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
::selection { background: #82c1ff; color: #0b1623; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #82c1ff; outline-offset: 5px; }
.wrap { max-width: var(--width); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; border-radius: 12px; background: var(--panel); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 6; background: rgb(10 11 14 / .88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-bottom: 1px solid #ffffff17; }
.header-content { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; min-height: 62px; }
.header-content > .button { justify-self: end; padding: 8px 15px; min-height: 38px; font-size: .84rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; font-size: .95rem; font-weight: 800; white-space: nowrap; }
.brand span { border-radius: 9px; display: grid; place-items: center; width: 30px; height: 30px; background: #eceef2; color: #17191e; font-size: .99rem; font-weight: 800; }
.header-content nav, .footer nav { display: flex; align-items: center; gap: clamp(12px, 2.65vw, 38px); }
.header-content nav a { position: relative; padding-block: 14px; white-space: nowrap; font-size: .875rem; font-weight: 700; color: #c5c7ce; transition: color 180ms; }
.header-content nav a:hover, .header-content nav [aria-current] { color: #fff; }
.header-content nav [aria-current]::after { position: absolute; content: ""; width: 75%; left: 12.5%; height: 2px; bottom: 6px; border-radius: 5px; background: var(--blue-text); }
.button { display: inline-flex; width: fit-content; min-height: 46px; justify-content: center; align-items: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 800; color: #fff; background: var(--blue); text-align: center; transition: background-color .24s, border-color .24s, transform .24s var(--ease); }
.button--secondary { background: #151a22; color: #d7ebff; border-color: #526279; }
.button:hover { background: #087bf0; transform: translateY(-2px); }
.button--secondary:hover { background: #273b53; border-color: #94bbeb; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eyebrow { color: var(--blue-text); font-size: .825rem; letter-spacing: .115em; text-transform: uppercase; font-weight: 800; }
.lead { max-width: 37ch; color: #c0c4ce; font-size: clamp(1.02rem, 1.6vw, 1.30rem); line-height: 1.55; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.05em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8.25vw, 8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5.2vw, 5rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.9vw, 2.7rem); font-weight: 800; }

.welcome { display: grid; place-content: center; justify-items: center; gap: 14px; position: fixed; inset: 0; z-index: 10; background: #08090b; text-align: center; pointer-events: none; color: #e7edf5; font-size: .93rem; font-weight: 800; animation: welcome-screen 1s both; }
.welcome-symbol { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 21px; background: #f5f5f7; color: #16191e; font-size: 2.35rem; letter-spacing: -.09em; animation: welcome-symbol .65s var(--ease) both; }
@keyframes welcome-screen { 0%, 44% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes welcome-symbol { from { opacity: .4; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes enter { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.enter { animation: enter 520ms var(--ease) both; }
.reveal-armed { transform: translateY(14px); opacity: 0; transition: opacity .5s var(--ease), transform .55s var(--ease); }
.reveal-armed:focus-within, .reveal-armed.reveal-visible { transform: none; opacity: 1; }
::view-transition-old(root) { animation-duration: 160ms; }
::view-transition-new(root) { animation-duration: 280ms; }
::view-transition { pointer-events: none; }

.hero { background: radial-gradient(ellipse at 81% 34%, #202237, #10101a 46%, var(--bg) 78%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(24px, 4vw, 65px); padding-block: clamp(30px, 4vw, 65px) 24px; }
.hero-content h1 { margin: 15px 0 20px; text-wrap: initial; font-size: clamp(3rem, 6.15vw, 6.2rem); letter-spacing: -.065em; }
.hero-content .lead { max-width: 35ch; color: #c5c7d0; }
.hero-content .actions { margin-top: 25px; }
.hero-picture { position: relative; overflow: hidden; aspect-ratio: 1.19; border-radius: var(--radius); background: #201e28; isolation: isolate; }
.hero-picture img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 8%; filter: saturate(.78) brightness(.88); }
.hero-picture::after { position: absolute; inset: 0; content: ""; border: 1px solid #ffffff22; border-radius: inherit; background: linear-gradient(0deg, #11101e35, transparent 38%); pointer-events: none; }
.color-story { margin-top: clamp(16px, 3vw, 45px); }
.color-frame { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #ffffff22; border-radius: var(--radius); aspect-ratio: 2.55; background: #211019; }
.color-frame img { position: absolute; bottom: 0; left: 50%; height: auto; transform: translateX(-50%); max-width: none; }
.color-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #130a11fc 0%, #160a11a8 26%, #0a081023 64%, transparent), linear-gradient(0deg, #150b11a5, transparent 62%); pointer-events: none; }
.color-frame figcaption { position: absolute; z-index: 2; left: clamp(20px, 5vw, 70px); bottom: clamp(20px, 6vw, 82px); }
.color-frame .eyebrow { color: #ffd5db; }
.color-frame h2 { margin-top: 10px; font-size: clamp(2.6rem, 6.7vw, 7rem); text-wrap: initial; }
.color-light { position: absolute; z-index: 1; inset: -15% -42%; pointer-events: none; opacity: 0; background: linear-gradient(112deg, transparent 45%, #ffcad56a 49%, transparent 54%); mix-blend-mode: screen; }
@keyframes color-light { 0% { opacity: 0; transform: translateX(-40%); } 35%, 62% { opacity: .64; } 100% { opacity: 0; transform: translateX(49%); } }
@supports (animation-timeline: view()) {
  .color-light { animation: color-light linear both; animation-timeline: view(); animation-range: entry 8% cover 50%; }
}
.color-caption { display: flex; gap: 16px 26px; align-items: center; justify-content: space-between; padding: 19px 0 0; }
.color-caption p { max-width: 45ch; color: var(--muted); line-height: 1.55; }
[data-page="portfolio"] .color-story { margin-top: 0; }
.section { margin-top: clamp(66px, 10vw, 136px); }
.section-head { display: grid; grid-template-columns: 1fr minmax(200px, 340px); align-items: end; gap: 14px 32px; margin-bottom: clamp(22px, 3.7vw, 42px); }
.section-head h2 { text-wrap: initial; }
.section-head p { color: var(--muted); line-height: 1.65; }
.home-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; }
.feature, .quiet-card, .editorial-banner, .service-card, .course-card, .contact-card, .gift-panel { background: var(--panel); border: 1px solid #ffffff12; border-radius: var(--radius); overflow: hidden; }
.cover-link { display: block; transition: border-color .25s; }
.cover-link:hover { border-color: #7ab7fa70; }
.cover-link img { transition: transform .72s var(--ease), filter .72s var(--ease); }
.cover-link:hover img { transform: scale(1.045); filter: brightness(1.12); }
.feature { position: relative; display: grid; isolation: isolate; align-items: end; min-height: 320px; }
.feature img { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; object-position: center 58%; filter: brightness(.74); }
.feature::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #0a0c12ee 1%, #16171e35 95%); }
.feature > div { padding: clamp(22px, 4.4vw, 50px); }
.feature h3 { margin: 12px 0 24px; font-size: clamp(2.35rem, 5vw, 5.1rem); text-wrap: initial; }
.pill { display: inline-flex; min-height: 40px; align-items: center; padding: 7px 15px; border-radius: 99px; color: #f3f7ff; background: #1b2434dc; border: 1px solid #8eaac85c; font-size: .89rem; font-weight: 800; }
.editorial-banner { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(330px, 39vw, 580px); }
.editorial-banner > div { position: relative; overflow: hidden; }
.editorial-banner img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 36%; filter: brightness(.88); }
.editorial-banner section { align-self: center; padding: clamp(23px, 5vw, 72px); }
.editorial-banner h2 { margin: 11px 0 13px; font-size: clamp(2.15rem, 4.9vw, 4.4rem); text-wrap: initial; }
.editorial-banner p:not(.eyebrow) { color: var(--muted); line-height: 1.55; margin-bottom: 19px; }
.home-more, .shop-grid, .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quiet-card { padding: clamp(19px, 3vw, 34px); }
a.quiet-card:hover { border-color: #7ab7fa70; background: var(--panel-high); }
.quiet-card h2, .quiet-card h3 { margin-bottom: 8px; font-size: clamp(1.32rem, 2vw, 1.75rem); text-wrap: initial; }
.quiet-card p, .quiet-card blockquote { color: var(--muted); line-height: 1.58; }
.more { margin-top: 20px; }
.page-intro { padding-top: clamp(48px, 9vw, 118px); padding-bottom: clamp(35px, 5.4vw, 70px); }
.page-intro h1 { margin: 10px 0 16px; text-wrap: initial; }
.page-intro .lead { max-width: 50ch; }

.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.service-card { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-image { aspect-ratio: 2; overflow: hidden; background: #20232b; }
.service-image img { height: 100%; object-fit: cover; object-position: center 48%; transition: transform .65s var(--ease); }
.service-card:hover img { transform: scale(1.04); }
.service-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; padding: clamp(18px, 2.75vw, 34px); }
.service-body h2 { font-size: clamp(1.37rem, 2.85vw, 2.36rem); text-wrap: initial; }
.service-body p { color: var(--muted); line-height: 1.55; }
.service-body .service-note { color: var(--blue-text); font-size: .93rem; }
.service-end { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-top: 10px; }
.service-end strong { font-size: 1.1rem; white-space: nowrap; }
.service-end .button { min-height: 40px; padding: 7px 13px; }

.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.comparison { display: grid; align-self: start; background: var(--panel); border: 1px solid #ffffff18; border-radius: var(--radius); overflow: hidden; }
.comparison-stage { position: relative; isolation: isolate; aspect-ratio: .84; overflow: hidden; background: #303237; }
.comparison-stage img { position: absolute; inset: 0; height: 100%; object-fit: cover; pointer-events: none; }
.comparison-after { object-position: var(--after-position, center); }
.comparison-before { object-position: var(--before-position, center); -webkit-clip-path: inset(0 calc(100% - var(--split)) 0 0); clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 20px; font-size: 1.06rem; }
.comparison figcaption span { color: var(--muted); font-size: .92rem; }
.compare-divider { position: absolute; inset: 0 auto 0 var(--split); width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 12px #0009; pointer-events: none; }
.compare-label { position: absolute; top: 13px; border-radius: 99px; padding: 6px 12px; background: #111318df; color: #fff; font-size: .84rem; font-weight: 800; pointer-events: none; }
.compare-label--before { left: 13px; }
.compare-label--after { right: 13px; }
.compare-grip { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; width: 47px; height: 47px; transform: translate(-50%, -50%); border-radius: 50%; color: #101728; background: #f8f8fa; border: 1px solid #fff; box-shadow: 0 5px 22px #090b18a6; }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; appearance: none; background: transparent; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison-range::-webkit-slider-runnable-track { height: 100%; }
.comparison-range::-webkit-slider-thumb { appearance: none; width: 1px; height: 100%; }
.comparison-range::-moz-range-thumb { width: 1px; height: 100%; border: 0; border-radius: 0; }
.comparison-stage:has(.comparison-range:focus-visible) { outline: 3px solid #81c7ff; outline-offset: -4px; }
.comparison-stage:has(.comparison-range:focus-visible) .compare-grip { box-shadow: 0 0 0 3px #1b70dd, 0 5px 24px #090b18a6; }
.low-cta h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.4vw, 4rem); text-wrap: initial; }

.courses { display: grid; gap: 18px; }
.course-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.course-picture { position: relative; min-height: 280px; background: #24252a; }
.course-picture img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.course-content { align-self: center; padding: clamp(24px, 4.4vw, 58px); }
.course-content h2 { font-size: clamp(1.75rem, 4vw, 3.8rem); text-wrap: initial; }
.course-content > p { color: var(--muted); margin-top: 10px; line-height: 1.55; }
.course-meta { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; margin-block: 14px; }
.course-meta strong { font-size: 1.23rem; }
.course-meta span { color: var(--muted); }
details { border-top: 1px solid var(--stroke); padding-block: 11px 15px; }
summary { color: var(--blue-text); font-weight: 800; }
details ul { padding-left: 19px; line-height: 1.5; color: var(--muted); }
details li + li { margin-top: 6px; }
details[open] ul { animation: enter .35s var(--ease) both; }

.gift-panel { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(24px, 6vw, 78px); padding: clamp(22px, 5vw, 70px); background: radial-gradient(ellipse at 20% 48%, #20334f, #171c28 43%, #15171b 84%); }
.gift-panel h2 { font-size: clamp(2.1rem, 5vw, 4.45rem); margin: 10px 0 12px; text-wrap: initial; }
.gift-panel p:not(.eyebrow) { color: #c2c8d7; line-height: 1.6; }
.gift-panel .button { margin-top: 17px; }
.gift-result { min-height: 1.6em; margin-top: 12px; font-weight: 800; }
.gift-list { margin-top: 10px; }
.wheel-wrap { position: relative; display: grid; place-items: center; width: min(100%, 330px); aspect-ratio: 1; margin-inline: auto; }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #cedff7; background: conic-gradient(#22365e 0deg 45deg, #5782be 45deg 90deg, #352f55 90deg 135deg, #657697 135deg 180deg, #294566 180deg 225deg, #9080a7 225deg 270deg, #395a7b 270deg 315deg, #8da7cf 315deg 360deg); box-shadow: 0 0 50px #78a9ea3a; transition: transform 1850ms cubic-bezier(.12, .62, .19, 1); }
.wheel-pointer { position: absolute; z-index: 1; width: 0; height: 0; top: -8px; left: 50%; transform: translateX(-50%); border-inline: 10px solid transparent; border-top: 19px solid #fff; }
.wheel-wrap span { position: relative; display: grid; place-content: center; width: 25%; height: 25%; border-radius: 50%; background: #101825; color: #fff; border: 2px solid #d5e6fc; font-size: clamp(1.4rem, 4vw, 2.5rem); font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-card { padding: clamp(20px, 4vw, 48px); }
.contact-card h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); margin: 7px 0 10px; text-wrap: initial; }
.contact-card > p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); line-height: 1.55; }
.contact-links { display: flex; gap: 10px 19px; flex-wrap: wrap; margin-top: 21px; }
.contact-links a { color: var(--blue-text); font-weight: 800; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.booking-form, .booking-form label { display: grid; gap: 8px; }
.booking-form { gap: 14px; }
.booking-form label { min-width: 0; font-size: .92rem; font-weight: 800; }
.booking-form :is(input, select, textarea) { border: 1px solid #494e5a; background: #0e1015; color: var(--text); border-radius: 12px; padding: 10px 11px; font-size: 1rem; width: 100%; min-height: 43px; }
.booking-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.review-grid figcaption { margin-top: 14px; font-weight: 800; }
.booking-details[open] .form-row, .booking-details[open] > label { margin-top: 12px; }

.footer { margin-top: clamp(65px, 10vw, 128px); border-top: 1px solid var(--stroke); padding-block: 28px; background: #111318; }
.footer-content { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; }
.footer nav { grid-column: 1; flex-wrap: wrap; gap: 8px 14px; }
.footer p, .footer nav a { color: var(--muted); font-size: .85rem; }
.footer nav a:hover { color: var(--text); }

@media (max-width: 870px) {
  .header-content { gap: 12px; }
  .header-content nav { gap: 13px; }
  .service-card { grid-column: span 3; }
  .service-card:last-child { grid-column: span 6; }
  .home-more, .shop-grid, .review-grid { gap: 10px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 120px; }
  .header-content { grid-template-columns: minmax(0, 1fr) auto; padding-block: 8px 2px; gap: 1px 10px; }
  .header-content nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 1px 8px; flex-wrap: wrap; }
  .header-content nav a { padding-block: 9px; font-size: .81rem; }
  .header-content nav [aria-current]::after { bottom: 1px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 26px 12px; }
  .hero-content h1 { margin-block: 10px 12px; font-size: clamp(2.5rem, 10.4vw, 4.2rem); }
  .hero-content .eyebrow { font-size: .73rem; line-height: 1.45; }
  .hero-content .actions { margin-top: 16px; }
  .hero-content .actions .button { padding-inline: 14px; }
  .hero-picture { aspect-ratio: 1.55; }
  .color-frame { aspect-ratio: 1.54; }
  .color-frame img { width: 170%; left: 37%; }
  .color-frame h2 { font-size: clamp(2.3rem, 9vw, 4rem); }
  .color-caption { align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 14px; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
  .home-feature, .editorial-banner, .comparison-grid, .course-card, .contact-grid, .gift-panel { grid-template-columns: minmax(0, 1fr); }
  .editorial-banner > div { min-height: 180px; }
  .home-more, .shop-grid, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid .service-card { grid-column: auto; }
  .course-picture { min-height: clamp(175px, 49vw, 270px); }
  .gift-panel { gap: 25px; }
  .wheel-wrap { width: min(72%, 290px); }
}

@media (max-width: 375px) {
  h1 { font-size: 2.7rem; }
  .header-content nav a { font-size: .755rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-content { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal-armed { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
