:root {
  color-scheme: dark;
  --ink: #101011;
  --black: #0b0b0c;
  --graphite: #171719;
  --text: #f5f2ed;
  --soft: #d5d0c9;
  --muted: #a8a5a2;
  --line: #343337;
  --line-light: #565456;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, sans-serif;
  --gutter: max(clamp(1.25rem, 5.1vw, 5.5rem), calc(env(safe-area-inset-left, 0px) + .5rem), calc(env(safe-area-inset-right, 0px) + .5rem));
  --header-height: 4.75rem;
  --tile-width: clamp(15.5rem, 25vw, 24rem);
  --tile-gap: clamp(.85rem, 1.5vw, 1.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: var(--ink); font: 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #e9d8c1; outline-offset: 5px; }
::selection { color: var(--black); background: #e2d8c9; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), 86rem); margin-inline: auto; }
.section { padding-block: clamp(4.7rem, 8vw, 8rem); }
.section-heading { margin-bottom: clamp(1.75rem, 3vw, 3rem); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: .75rem; left: .75rem; z-index: 20; padding: .7rem 1rem; color: var(--ink); background: var(--text); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1, h2 { letter-spacing: -.065em; }
h2 { font-size: clamp(2.6rem, 5.1vw, 5rem); line-height: 1.04; }
h3 { font-size: clamp(1.5rem, 2.35vw, 2.2rem); line-height: 1.14; letter-spacing: -.04em; }
em { color: var(--soft); font-weight: inherit; }
.eyebrow { display: flex; align-items: center; gap: .78rem; margin-bottom: 1.25rem; color: var(--soft); font-size: .81rem; font-weight: 650; letter-spacing: .23em; line-height: 1.35; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: #898581; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.15rem; padding: .7rem 1.15rem; border: 1px solid transparent; color: var(--text); background: transparent; font-size: .8rem; font-weight: 700; line-height: 1.35; letter-spacing: .085em; text-align: center; text-transform: uppercase; transition: background .23s, color .23s, border-color .23s, transform .23s; }
.button-light { background: #eeebe5; color: #171719; border-color: #eeebe5; }
.button-outline { background: #1010114d; border-color: #7a7775; }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); font-size: .81rem; font-weight: 650; line-height: 1.25; letter-spacing: .065em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .4em; text-decoration-color: #8b8785; transition: color .2s, text-decoration-color .2s; }

.header { position: sticky; top: 0; z-index: 5; padding-top: env(safe-area-inset-top, 0px); background: #101011ef; border-bottom: 1px solid #ffffff19; backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; }
.brand-mark { width: 2.62rem; height: 2.62rem; }
.brand strong, .brand small { display: block; }
.brand strong { font: 1.12rem/1.08 var(--display); white-space: nowrap; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .26em; line-height: 1; }
.navigation { display: flex; align-items: center; gap: clamp(.7rem, 2.15vw, 2rem); }
.navigation a { position: relative; display: flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .88rem; white-space: nowrap; transition: color .2s; }
.navigation a[aria-current], .navigation a:hover { color: var(--text); }
.navigation a[aria-current]::after { position: absolute; content: ''; height: 1px; bottom: .27rem; left: 0; right: 0; background: #a39e96; }
.header-contact { min-height: 2.55rem; padding-inline: 1.13rem; }
.menu-toggle { display: none; }

.hero { --hero-zoom: 1.065; position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--black); }
.hero-media { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-layer { position: absolute; inset: 0 0 0 32%; }
.hero-layer picture, .course-photo picture { display: block; height: 100%; }
.hero-layer img { height: 100%; object-fit: cover; object-position: center 47%; animation: hero-zoom 20s cubic-bezier(.16, .7, .3, 1) both; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0c 1%, #0b0b0c 22%, #0b0b0ce8 35%, #0b0b0c70 54%, #0b0b0c15 77%), linear-gradient(0deg, #0b0b0cf0, transparent 28%); }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(var(--hero-zoom)); } }
.hero-inner { min-height: 43rem; min-height: min(46rem, max(43rem, calc(100svh - var(--header-height)))); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-copy { padding-block: clamp(4.25rem, 8vh, 7rem) clamp(3.75rem, 8vh, 5.5rem); }
.hero-copy .eyebrow { margin-bottom: clamp(1rem, 2vw, 1.65rem); }
.hero h1 { font-size: clamp(4rem, 7.6vw, 8.2rem); line-height: .91; }
.hero h1 em { display: inline-block; margin-top: .19em; font-size: .66em; letter-spacing: -.07em; line-height: 1.04; }
.hero-description { max-width: 31rem; margin-top: 1.65rem; color: #cbc8c5; font-size: clamp(1rem, 1.25vw, 1.125rem); }
.hero .actions { margin-top: 1.75rem; }
.hero-bottom { display: flex; min-height: 3.45rem; justify-content: space-between; align-items: center; gap: .75rem; border-top: 1px solid #c0bdb833; color: #c4bebb; }
.scroll-link, .hero-social { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .55rem; font-size: .8rem; }
.scroll-link { font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.scroll-link::before { content: ''; align-self: center; width: 1px; height: 1.1rem; margin-right: .25rem; background: #9c9790; }

.machine-parallax {
  --machine-progress: 0;
  --machine-width: clamp(4.25rem, 9.5vw, 9rem);
  --machine-travel: 2.1rem;
  --machine-tilt: 7deg;
  position: fixed;
  z-index: 2;
  top: clamp(9rem, 40vh, 26rem);
  top: clamp(9rem, 40svh, 26rem);
  left: 0;
  display: flex;
  justify-content: flex-end;
  width: min(10rem, max(var(--gutter), calc((100% - 86rem) / 2)));
  padding: .7rem .35rem calc(var(--machine-travel) + .8rem) 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.machine-parallax img {
  flex: 0 0 auto;
  width: var(--machine-width);
  align-self: flex-start;
  transform-origin: 78% 48%;
  transform: translate3d(0, calc(var(--machine-travel) * var(--machine-progress)), 0)
    rotate(calc(var(--machine-tilt) * var(--machine-progress) - var(--machine-tilt) / 2));
}

.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.photo-frame { overflow: hidden; background: var(--graphite); }
.photo-frame img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s; }
.about-portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 1.38rem; }
.about-copy h2 em { display: block; }
.about-copy > p:not(.eyebrow) { max-width: 39rem; color: var(--muted); }
.about-copy > p + p { margin-top: .85rem; }
.credentials { display: grid; grid-template-columns: minmax(8rem, .74fr) minmax(0, 1.26fr); gap: 1.15rem; align-items: center; margin-top: 1.75rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.experience strong, .experience span { display: block; }
.experience strong { font: clamp(3.55rem, 6vw, 5.9rem)/.95 var(--display); letter-spacing: -.1em; }
.experience span { margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.detail-list { list-style: none; padding: 0; color: var(--soft); }
.detail-list li { display: flex; align-items: baseline; gap: .8rem; }
.detail-list li + li { margin-top: .64rem; }
.detail-list li::before { content: ''; flex: 0 0 .29rem; height: .29rem; background: #a7a19a; transform: translateY(-.2em) rotate(45deg); }
.credentials .detail-list { font-size: .88rem; line-height: 1.5; }

.styles { background: #131315; border-block: 1px solid var(--line); }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.85rem); }
.style-card { display: flex; flex-direction: column; background: #171719; border: 1px solid #3b393b; }
.style-image { overflow: hidden; background: var(--black); }
.style-image img { aspect-ratio: 1.05; object-fit: cover; object-position: 50% 44%; transition: transform .65s, filter .45s; }
.style-card:first-child img { object-position: 50% 40%; }
.style-card:last-child img { object-position: 50% 27%; }
.style-body { display: flex; align-items: flex-start; flex: 1; flex-direction: column; padding: clamp(1.15rem, 2vw, 1.7rem); }
.style-body p { margin-block: .66rem .65rem; color: var(--muted); }
.style-body > .text-link, .style-links { margin-top: auto; }
.style-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .9rem; }
.text-link.quiet { color: var(--muted); }

.gallery { position: relative; overflow: hidden; overflow: clip; }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.filters, .gallery-controls, .lightbox-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.gallery-tools button, .lightbox-controls button { min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid var(--line-light); background: transparent; color: var(--soft); font-size: .88rem; line-height: 1.25; transition: color .2s, background .2s, border-color .2s; }
.filters button[aria-pressed='true'] { color: var(--black); background: #e8e4de; border-color: #e8e4de; }
.gallery-controls [data-pause] { display: grid; min-width: 2.75rem; place-items: center; }
.play-icon { width: .59rem; height: .73rem; border-inline: 2px solid currentColor; }
[data-pause][aria-pressed='true'] .play-icon { width: 0; height: 0; border: .37rem solid transparent; border-right: 0; border-left: .58rem solid currentColor; }
.gallery-viewport { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport:focus-visible { outline-offset: -3px; }
.gallery-track { display: flex; width: max-content; padding-inline: var(--gutter); }
.gallery-group { display: flex; gap: var(--tile-gap); padding-right: var(--tile-gap); }
.gallery-group:last-child { padding-right: 0; }
.gallery-track.is-filtered { --tile-width: clamp(15.5rem, 30vw, 26rem); }
.gallery-tile { position: relative; flex: 0 0 var(--tile-width); width: var(--tile-width); padding: 0; overflow: hidden; border: 1px solid var(--line); text-align: left; background: var(--black); }
.gallery-tile:focus-visible { outline-offset: -4px; }
.gallery-tile img { width: 100%; aspect-ratio: 333 / 469; object-fit: contain; transition: transform .6s; }
.gallery-tile::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, #090909ee); pointer-events: none; }
.tile-caption, .tile-open { position: absolute; z-index: 1; }
.tile-caption { left: .95rem; right: 3.25rem; bottom: .9rem; color: #fff; font: 1.42rem/1.1 var(--display); }
.tile-open { display: grid; bottom: .78rem; right: .75rem; width: 2.1rem; height: 2.1rem; border: 1px solid #dedbd179; place-items: center; background: #0b0b0c9e; }
.tile-open .icon { width: 1rem; height: 1rem; }
.gallery-invite { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.25rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.gallery-invite p { font: clamp(1.5rem, 2.7vw, 2.45rem)/1.2 var(--display); letter-spacing: -.043em; }

.course { border-top: 1px solid var(--line); }
.course-intro { position: relative; isolation: isolate; overflow: hidden; background: #111113; }
.course-photo { position: absolute; z-index: -1; inset: 0 0 0 42%; }
.course-photo img { height: 100%; object-fit: cover; object-position: center 77%; }
.course-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111113, #11111338 60%), linear-gradient(0deg, #111113a0, transparent 45%); }
.course-intro-inner { padding-block: clamp(4.7rem, 9vw, 8.2rem); }
.course-intro h2 { max-width: 42rem; }
.course-intro h2 em { display: block; }
.course-intro-inner > p:not(.eyebrow) { max-width: 30rem; margin-block: 1.25rem 1.65rem; color: var(--soft); }
.course-details { background: #161618; border-block: 1px solid var(--line); }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; padding: 0; list-style: none; }
.module {
  --module-surface: linear-gradient(145deg, #1d1c1e, #171719 75%);
  --glow-delay: 0s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(1.15rem, 2.7vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: .2rem;
  background: var(--module-surface);
  box-shadow: 0 0 .72rem #8e425538;
  transition: box-shadow .35s ease;
}
.module::before, .module::after { position: absolute; content: ''; pointer-events: none; }
.module::before {
  z-index: -2;
  top: 50%;
  left: 50%;
  width: max(178%, 19rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(transparent 242deg, #512833 263deg, #8b475a 303deg, #b9929e 327deg, #d8cdd0 339deg, #fbf7f2 350deg, #b77d90 356deg, transparent 360deg);
  opacity: 0;
  transition: opacity .35s ease;
}
.module::after { z-index: -1; inset: 2px; border-radius: .1rem; background: var(--module-surface); }
.module.is-glowing::before { opacity: .84; animation: glow-orbit 12s linear var(--glow-delay) infinite; }
.module:nth-child(2) { --glow-delay: -2s; }
.module:nth-child(3) { --glow-delay: -4s; }
.module:nth-child(4) { --glow-delay: -6s; }
.module:nth-child(5) { --glow-delay: -8s; }
.module:nth-child(6) { --glow-delay: -10s; }
@keyframes glow-orbit {
  from { transform: translate(-50%, -50%) rotate(0turn); }
  to { transform: translate(-50%, -50%) rotate(1turn); }
}
.module > p { margin-bottom: .7rem; color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.module h3 { margin-bottom: .85rem; }
.module ul { padding-left: 1.1rem; color: var(--muted); }
.module li + li { margin-top: .24rem; }
.module li::marker { color: #8a8581; }
.course-audience { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.4rem, 5vw, 5rem); margin-top: clamp(3.5rem, 6vw, 6rem); }
.course-audience h2 { margin-bottom: 1.2rem; font-size: clamp(2.3rem, 4.3vw, 4rem); }
.course-points { display: grid; align-content: start; padding: .4rem 1.35rem; border: 1px solid var(--line); background: #121213; list-style: none; }
.course-points li { padding-block: .8rem; color: var(--soft); }
.course-points li + li { border-top: 1px solid var(--line); }
.course-invite { margin-top: clamp(3.5rem, 6vw, 5.5rem); padding-top: clamp(2.25rem, 4vw, 3.75rem); border-top: 1px solid var(--line); text-align: center; }
.course-invite p { max-width: 44rem; margin-inline: auto; font: clamp(1.95rem, 3.8vw, 3.2rem)/1.16 var(--display); letter-spacing: -.05em; }
.course-invite .actions, .closing .actions { justify-content: center; margin-top: 1.55rem; }

.students { background: radial-gradient(ellipse at 48% 0, #222124, var(--ink) 70%); }
.students-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 1.2rem clamp(2rem, 6vw, 6rem); }
.students-intro h2 em { display: block; }
.students-intro-copy { max-width: 31rem; color: var(--muted); }
.students-subtitle { margin-bottom: .65rem; color: var(--soft); font-size: clamp(1.05rem, 1.65vw, 1.28rem); line-height: 1.45; }
.student-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--tile-gap)) / 2); gap: var(--tile-gap); max-width: 67rem; margin: clamp(1.55rem, 3.5vw, 3rem) auto 0; padding: 0 0 .7rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; list-style: none; }
.student-gallery:focus-visible { outline-offset: -3px; }
.student-card { min-width: 0; padding: clamp(.27rem, .6vw, .55rem); border: 1px solid var(--line-light); background: var(--black); scroll-snap-align: start; }
.student-card img { aspect-ratio: 4 / 5; object-fit: contain; }
.student-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem 1rem; margin-top: clamp(1rem, 3vw, 2.4rem); }
.student-benefits li, .student-benefits li + li { margin: 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.student-benefits small { display: block; margin-top: .16rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.student-progress { position: relative; height: 1px; margin-block: clamp(.9rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2.4rem); background: #302d30; }
.student-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #623847, #915467 74%, #cebfc5);
  box-shadow: 0 0 .45rem #a15c7659;
  transform-origin: left center;
  animation: student-progress 9s linear infinite;
}
@keyframes student-progress {
  0% { transform: scaleX(0); opacity: .8; }
  76% { transform: scaleX(1); opacity: .8; }
  96%, 100% { transform: scaleX(1); opacity: 0; }
}
.students-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.15rem 2rem; padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--line); background: linear-gradient(135deg, #1b1a1c, #121213); }
.students-invite p { max-width: 42rem; margin-top: .4rem; color: var(--muted); }

.closing { position: relative; isolation: isolate; overflow: hidden; }
.closing-photo, .closing::after { position: absolute; z-index: -1; inset: 0; height: 100%; }
.closing-photo img { height: 100%; object-fit: cover; object-position: 50% 79%; }
.closing::after { content: ''; background: linear-gradient(0deg, #0b0b0cee, #0b0b0c9c 60%, #0b0b0cd1); }
.closing-inner { padding-block: clamp(5rem, 11vw, 9.5rem); text-align: center; }
.footer { background: #0d0d0e; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.85rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.55rem; font-style: normal; }
.footer-links a { display: inline-flex; align-items: center; gap: .37rem; min-height: 2.75rem; color: var(--soft); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.5rem; padding-block: 1rem 1.35rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-bottom strong { color: var(--soft); }
.floating-contact { position: fixed; z-index: 4; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: grid; width: 3.1rem; height: 3.1rem; border: 1px solid #777473; border-radius: 50%; place-items: center; background: #262628; color: var(--text); box-shadow: 0 5px 25px #0008; transition: background .25s, color .25s; }
.floating-contact .icon { width: 1.65rem; height: 1.65rem; }

dialog { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); border: 1px solid var(--line-light); background: #151517; color: var(--text); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: #060607da; backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: .5rem; top: .5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-light); background: #151517f2; color: var(--text); font-size: 1.5rem; }
.lightbox { width: min(calc(100% - 1.5rem), 38rem); padding: .75rem; text-align: center; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: min(69vh, 43rem); max-height: min(69dvh, 43rem); margin-inline: auto; object-fit: contain; }
.lightbox figcaption { padding: .65rem 0 .5rem; color: var(--soft); }
.lightbox-controls { justify-content: center; gap: 1rem; }
.lightbox-position { min-width: 4rem; color: var(--muted); }
.contact-dialog { width: min(calc(100% - 1.5rem), 35rem); padding: clamp(1.4rem, 5vw, 2.4rem); }
.contact-dialog h2 { margin: .5rem 2rem 1rem 0; font-size: clamp(2rem, 5vw, 3.3rem); }
.contact-dialog > p { color: var(--soft); }
.contact-message { margin-block: 1rem; padding: .85rem 1rem; border-left: 1px solid #99938c; background: var(--black); user-select: text; }
.copy-status:not(:empty) { margin-top: .7rem; }
.reveal.revealed { animation: reveal .65s ease both; }
@keyframes reveal {
  from { opacity: .25; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .module:hover { box-shadow: 0 0 1rem #ab596850; }
  .module.is-glowing:hover::before { opacity: 1; }
  .button-light:hover, .floating-contact:hover { background: #faf8f3; color: var(--ink); }
  .button-outline:hover, .gallery-tools button:not(:disabled):not([aria-pressed='true']):hover, .lightbox-controls button:not(:disabled):hover { background: #343337; border-color: #8e8985; color: var(--text); }
  .text-link:hover, .footer-links a:hover, .hero-bottom a:hover { color: #fff; text-decoration-color: #fff; }
  .photo-frame:hover img, .style-card:hover img, .gallery-tile:hover img { transform: scale(1.045); }
}

@media (max-width: 1000px) {
  .header-contact { display: none; }
  .about-grid { gap: 2.5rem; }
  .credentials { grid-template-columns: 1fr; gap: .85rem; }
  .experience { display: flex; align-items: baseline; gap: .9rem; }
}

@media (max-width: 900px) {
  :root { --header-height: 4.15rem; }
  .header { background: var(--ink); backdrop-filter: none; }
  .header-inner { flex-wrap: wrap; }
  .navigation { flex-wrap: wrap; padding-bottom: .65rem; gap: 0 .85rem; }
  .js .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-light); background: #171719; }
  .menu-toggle span { width: 1.05rem; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .js .navigation { position: absolute; inset: 100% 0 auto; display: none; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; padding: .4rem var(--gutter) .75rem; border-bottom: 1px solid var(--line); background: var(--ink); box-shadow: 0 1rem 1.75rem #0008; }
  .js .navigation.is-open { display: grid; }
  .navigation a { padding-inline: .25rem; min-height: 2.75rem; }
  .js .navigation a + a { border-top: 1px solid var(--line); }
  .navigation a[aria-current]::after { right: auto; width: 1.4rem; }
  .student-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .about-grid { gap: 1.8rem; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .style-card:last-child .style-image img { height: 100%; max-height: 23rem; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root { --tile-width: min(76vw, 23rem); }
  .machine-parallax {
    --machine-width: 2.25rem;
    --machine-travel: .7rem;
    --machine-tilt: 3.5deg;
    top: auto;
    bottom: 8vh;
    bottom: calc(max(1.25rem, 8svh) + env(safe-area-inset-bottom, 0px));
    padding-right: .16rem;
  }
  .hero { --hero-zoom: 1.035; }
  .hero-inner { min-height: 0; }
  .hero-layer { inset: 0 0 auto 0; height: clamp(21rem, 101vw, 30rem); }
  .hero-layer img { object-position: 50% 22%; }
  .hero-media::after { background: linear-gradient(0deg, #0b0b0c 33%, #0b0b0cbe 57%, #0b0b0c12 90%), linear-gradient(90deg, #0b0b0c70, transparent 75%); }
  .hero-copy { padding: clamp(11.75rem, 50vw, 18rem) 0 1.9rem; }
  .hero h1 { font-size: clamp(3rem, 13.2vw, 5.25rem); }
  .hero-description { margin-top: .95rem; }
  .hero .actions { margin-top: 1.05rem; }
  .hero-social { display: none; }
  .about-grid, .style-grid, .course-audience { grid-template-columns: 1fr; }
  .about-copy { order: -1; }
  .credentials { grid-template-columns: minmax(5.7rem, .65fr) minmax(0, 1.35fr); }
  .experience { display: block; }
  .style-card:last-child { display: flex; }
  .style-card:last-child .style-image img { height: auto; max-height: none; }
  .style-image img { aspect-ratio: 4 / 5; }
  .gallery-track.is-filtered { --tile-width: min(76vw, 23rem); }
  .gallery-invite .button, .hero .button { width: 100%; }
  .course-photo { inset: 0; }
  .course-photo img { object-position: 54% 61%; }
  .course-photo::after { background: linear-gradient(90deg, #111113f0, #1111137f), linear-gradient(0deg, #111113eb, transparent 80%); }
  .course-details .actions > *, .closing .actions > * { flex-basis: 100%; }
  .modules { grid-template-columns: 1fr; }
  .students-intro { grid-template-columns: 1fr; }
  .student-gallery { grid-auto-columns: min(82vw, 25rem); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .students-invite .button { width: 100%; }
  .js .floating-contact:not(.can-float) { visibility: hidden; pointer-events: none; }
  .footer-bottom { padding-right: 3.4rem; }
}

@media (max-width: 600px) and (max-height: 710px) {
  .hero-copy { display: grid; padding-top: clamp(9.25rem, 42vw, 12rem); }
  .hero h1 { font-size: clamp(2.7rem, 12.4vw, 4.65rem); }
  .hero .actions { grid-row: 3; }
  .hero-description { grid-row: 4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .machine-parallax { display: none; }
  .module::before { display: none; }
  .module { border-color: #565156; }
  .student-progress::after { opacity: .45; }
}
