@charset "UTF-8";

:root {
    --primary: #424e5c;
    --accent: #f4b43e;
    --surface: #e4e5e3;
    --dark: #000;
    --light: #fff;
    --ink: #17202a;
    --muted: #66707b;
    --line: rgba(66, 78, 92, .17);
    --container: 1240px;
    --radius: 2px;
    --font-display: "Avenir Next", "Segoe UI", sans-serif;
    --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--light); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, figure, blockquote { margin-top: 0; }
.rich-formatted > :first-child { margin-top: 0; }
.rich-formatted > :last-child { margin-bottom: 0; }
.rich-formatted p, .rich-formatted div { margin: 0 0 1em; }
.rich-formatted a { text-decoration: underline; text-underline-offset: .18em; }
.rich-formatted big { font-size: 1.25em; line-height: 1.35; }
.rich-formatted ul, .rich-formatted ol { padding-left: 1.35em; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 10px 16px; background: var(--light); color: var(--dark); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.page-progress { position: fixed; z-index: 1500; inset: 0 0 auto; height: 3px; pointer-events: none; }
.page-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: var(--accent); content: ""; }
.eyebrow--light { color: rgba(255, 255, 255, .76); }
.eyebrow--accent { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
h1, h2, h3, .rich-formatted { overflow-wrap: anywhere; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4vw, 4.45rem); }
.section-heading { max-width: 780px; margin-bottom: 60px; }
.section-heading h2 { margin: 18px 0 0; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); align-items: end; gap: 80px; max-width: none; }
.section-heading--split p { margin-bottom: 8px; color: var(--muted); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; color: var(--light); transition: background .35s, box-shadow .35s, color .35s; }
.site-header.is-scrolled { color: var(--ink); background: rgba(255, 255, 255, .95); box-shadow: 0 10px 40px rgba(23, 32, 42, .08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1; }
.brand__mark { display: grid; width: 44px; height: 44px; border: 1px solid currentColor; place-items: center; font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: -.08em; }
.brand__name { display: flex; flex-direction: column; font-size: .8rem; font-weight: 450; letter-spacing: .02em; text-transform: uppercase; }
.brand__name strong { margin-top: 5px; font-size: .63rem; font-weight: 800; letter-spacing: .24em; }
.brand--light { color: var(--light); }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: .81rem; font-weight: 650; }
.main-nav > a { position: relative; }
.main-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: 24px; padding: 13px 16px 13px 20px; border: 1px solid rgba(255, 255, 255, .55); }
.student-nav-link { color: var(--light); }
.is-scrolled .student-nav-link { color: var(--ink); }
.is-scrolled .nav-cta { border-color: var(--line); background: var(--accent); color: #17120a; }
.nav-cta span { font-size: 1.1rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 780px; overflow: hidden; color: var(--light); background: var(--primary); }
.hero__shape { position: absolute; inset: 0 0 0 67%; background: var(--accent); }
.hero__shape::before { position: absolute; inset: 0 auto 0 -160px; width: 240px; background: var(--primary); clip-path: polygon(0 0, 34% 0, 100% 100%, 66% 100%); content: ""; }
.hero__grid { position: relative; display: grid; grid-template-columns: 53% 47%; align-items: center; min-height: 715px; padding-top: 88px; }
.hero__content { position: relative; z-index: 2; max-width: 700px; padding: 60px 50px 50px 0; }
.hero h1 { max-width: 680px; margin: 22px 0 26px; font-size: clamp(3.5rem, 6.2vw, 6.75rem); letter-spacing: -.065em; }
.hero__lead { max-width: 610px; margin-bottom: 36px; color: rgba(255, 255, 255, .72); font-size: 1.07rem; }
.hero__actions { display: flex; align-items: center; gap: 34px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 28px; padding: 14px 22px; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: .83rem; font-weight: 750; line-height: 1.25; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--accent { background: var(--accent); color: #16120c; }
.button--dark { background: var(--dark); color: var(--light); }
.button--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 750; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link--light { color: var(--light); }
.hero__signature { display: flex; align-items: center; gap: 18px; margin-top: 50px; }
.signature-line { width: 34px; height: 1px; background: rgba(255, 255, 255, .5); }
.hero__signature > span:last-child { display: flex; flex-direction: column; }
.hero__signature strong { font-family: Georgia, serif; font-size: 1rem; font-style: italic; font-weight: 400; }
.hero__signature small { margin-top: 4px; color: rgba(255, 255, 255, .52); font-size: .65rem; }
.hero__visual { position: relative; z-index: 1; height: 626px; align-self: end; }
.hero__photo-wrap { position: absolute; inset: 0 -20px 0 0; overflow: hidden; }
.hero__photo-wrap::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(66, 78, 92, .3), transparent 35%); content: ""; }
.hero__photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform: translateY(var(--parallax-y, 0)) scale(1.08); will-change: transform; }
.hero__photo-line { position: absolute; z-index: 1; right: 18px; bottom: 24px; width: 55%; height: 1px; background: rgba(255, 255, 255, .6); }
.experience-seal { position: absolute; z-index: 2; right: -22px; bottom: 40px; display: flex; width: 168px; height: 168px; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; color: var(--light); background: rgba(0, 0, 0, .76); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.experience-seal > span { font-family: var(--font-display); font-size: 2.65rem; font-weight: 700; letter-spacing: -.08em; }
.experience-seal sup { color: var(--accent); font-size: .9rem; }
.experience-seal small { font-size: .57rem; font-weight: 700; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }
.hero__rail { position: relative; z-index: 3; min-height: 65px; background: var(--dark); }
.hero__rail-inner { display: flex; min-height: 65px; align-items: center; justify-content: center; gap: 20px; padding-block: 13px; color: rgba(255, 255, 255, .65); font-size: .7rem; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.hero__rail-inner span { min-width: 0; }
.hero__rail-inner strong { color: var(--light); font-weight: 700; }
.hero__rail-inner em { font-style: normal; }
.hero__rail-inner i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.specialties { background: #f9f9f7; }
.specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.specialty-card { display: flex; min-height: 430px; flex-direction: column; padding: 34px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f9f9f7; transition: background .3s, color .3s, transform .3s; }
.specialty-card:hover { z-index: 1; color: var(--light); background: var(--primary); transform: translateY(-8px); }
.specialty-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; }
.specialty-icon { display: grid; width: 58px; height: 58px; border: 1px solid currentColor; border-radius: 50%; color: var(--primary); place-items: center; transition: color .3s, background .3s; }
.specialty-icon svg { width: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.specialty-card:hover .specialty-icon { color: #17120a; background: var(--accent); }
.specialty-number { color: #9ba1a5; font-size: .7rem; letter-spacing: .1em; }
.specialty-card small { margin-bottom: 10px; color: #8c939a; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.specialty-card h3 { margin-bottom: 16px; font-size: 1.55rem; letter-spacing: -.035em; }
.specialty-card__description { color: var(--muted); font-size: .87rem; }
.specialty-card:hover .specialty-card__description { color: rgba(255, 255, 255, .7); }
.specialty-card .specialty-more { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); cursor: pointer; text-align: left; background: transparent; font-size: .72rem; font-weight: 750; }
.specialty-card:hover .specialty-more { border-color: rgba(255, 255, 255, .2); }
.specialty-more span { transition: transform .25s; }
.specialty-more:hover span { transform: translateX(5px); }

.specialty-modal[hidden] { display: none; }
.specialty-modal { position: fixed; z-index: 2300; inset: 0; display: grid; padding: 28px; opacity: 0; place-items: center; transition: opacity .28s ease; }
.specialty-modal.is-open { opacity: 1; }
.specialty-modal__backdrop { position: absolute; inset: 0; cursor: pointer; background: rgba(5, 8, 12, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.specialty-modal__dialog { position: relative; display: grid; width: min(1040px, 100%); height: min(760px, calc(100dvh - 56px)); max-height: calc(100dvh - 56px); grid-template-columns: .9fr 1.1fr; overflow: hidden; background: var(--light); box-shadow: 0 35px 120px rgba(0, 0, 0, .45); transform: translateY(24px) scale(.97); transition: transform .38s cubic-bezier(.2, .75, .25, 1); }
.specialty-modal.is-open .specialty-modal__dialog { transform: none; }
.specialty-modal__dialog--text { display: block; width: min(720px, 100%); height: auto; }
.specialty-modal__dialog figure { min-height: 570px; margin: 0; overflow: hidden; background: var(--primary); }
.specialty-modal__dialog figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s cubic-bezier(.2, .7, .25, 1); }
.specialty-modal.is-open figure img { transform: scale(1.035); }
.specialty-modal__content { display: flex; min-width: 0; min-height: 0; overflow-y: scroll; flex-direction: column; justify-content: flex-start; padding: 70px 64px 54px; scrollbar-color: var(--accent) #e7e8e6; scrollbar-gutter: stable; scrollbar-width: thin; }
.specialty-modal__content::-webkit-scrollbar, .specialty-modal__dialog::-webkit-scrollbar { width: 10px; }
.specialty-modal__content::-webkit-scrollbar-track, .specialty-modal__dialog::-webkit-scrollbar-track { background: #e7e8e6; }
.specialty-modal__content::-webkit-scrollbar-thumb, .specialty-modal__dialog::-webkit-scrollbar-thumb { border: 2px solid #e7e8e6; border-radius: 10px; background: var(--accent); }
.specialty-modal__content h2 { margin: 20px 0 24px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.055em; }
.specialty-modal__content > div { color: var(--muted); white-space: normal; }
.specialty-modal__content .button { align-self: flex-start; margin-top: 32px; }
.specialty-modal__close { position: absolute; z-index: 3; top: 18px; right: 20px; display: grid; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .88); place-items: center; font-size: 1.5rem; }
.specialty-modal-open { overflow: hidden; }

.method { background: var(--surface); }
.method__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; }
.method__intro { position: sticky; top: 130px; align-self: start; }
.method__intro h2 { margin-top: 20px; font-size: clamp(2.7rem, 4vw, 4.4rem); }
.method__lead { max-width: 500px; margin-bottom: 30px; color: #59616a; }
.method__steps { border-top: 1px solid rgba(0, 0, 0, .16); }
.method-step { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 44px 0; border-bottom: 1px solid rgba(0, 0, 0, .16); }
.method-step > span { color: var(--primary); font-size: .72rem; font-weight: 800; }
.method-step h3 { margin-bottom: 12px; font-size: 1.65rem; }
.method-step p { max-width: 560px; margin: 0; color: #5b646c; }

.about { padding: 140px 0; overflow: hidden; color: var(--light); background: var(--dark); }
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 110px; }
.about__visual { position: relative; min-height: 700px; }
.about__visual > img { position: absolute; z-index: 1; inset: 28px 0 0 42px; width: calc(100% - 42px); height: 620px; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); }
.about__frame { position: absolute; inset: 0 52px 80px 0; border: 1px solid rgba(244, 180, 62, .65); }
.about__quote { position: absolute; z-index: 2; right: -28px; bottom: 0; width: 330px; padding: 25px 30px; background: var(--primary); }
.about__quote span { color: var(--accent); font-family: Georgia, serif; font-size: 2.5rem; line-height: .7; }
.about__quote p { margin: 8px 0 0; font-family: Georgia, serif; font-size: .95rem; font-style: italic; line-height: 1.5; }
.about__content h2 { margin: 22px 0 30px; font-size: clamp(2.8rem, 4.5vw, 5rem); }
.rich-copy { color: rgba(255, 255, 255, .67); font-size: .98rem; white-space: pre-line; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 45px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .17); }
.credentials > div { display: flex; align-items: center; gap: 16px; }
.credentials span { color: var(--accent); font-family: var(--font-display); font-size: 2.7rem; font-weight: 650; letter-spacing: -.07em; }
.credentials sup { font-size: .9rem; }
.credentials p { max-width: 110px; margin: 0; color: rgba(255, 255, 255, .58); font-size: .68rem; line-height: 1.4; text-transform: uppercase; }
.cro-label { margin-top: 30px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

.custom-section { position: relative; overflow: hidden; padding: 130px 0; background: var(--light); }
.custom-section--surface { background: var(--surface); }
.custom-section--primary { color: var(--light); background: var(--primary); }
.custom-section--dark { color: var(--light); background: var(--dark); }
.custom-section--accent { background: var(--accent); }
.custom-section__accent { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(128, 128, 128, .22); transform: scaleY(0); transform-origin: top; transition: transform 1.2s cubic-bezier(.2, .7, .25, 1); }
.custom-section.is-section-visible .custom-section__accent { transform: scaleY(1); }
.custom-section__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.custom-section--no-image .custom-section__grid { display: block; }
.custom-section--no-image .custom-section__content { max-width: 820px; margin-inline: auto; text-align: center; }
.custom-section--no-image .custom-section__content .button { justify-self: center; }
.custom-section--image_right .custom-section__visual { order: 2; }
.custom-section__visual { position: relative; min-height: 610px; }
.custom-section__visual span { position: absolute; inset: 0 55px 55px 0; border: 1px solid var(--accent); }
.custom-section__visual img { position: absolute; inset: 35px 0 0 38px; width: calc(100% - 38px); height: 540px; object-fit: cover; object-position: 50% 25%; transform: translateY(var(--parallax-y, 0)) scale(1.045); }
.custom-section__content { position: relative; z-index: 1; max-width: 600px; }
.custom-section__content h2 { margin: 22px 0 28px; font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.06em; }
.custom-section__copy { color: var(--muted); font-size: .96rem; }
.custom-section__content .button { margin-top: 34px; }
.custom-section--primary .custom-section__copy, .custom-section--dark .custom-section__copy { color: rgba(255, 255, 255, .68); }
.custom-section--primary .eyebrow, .custom-section--dark .eyebrow { color: var(--accent); }
.custom-section--accent .eyebrow { color: var(--dark); }

.gallery .section-heading { max-width: 820px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.gallery-item { position: relative; display: block; width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--light); box-shadow: 0 12px 40px rgba(23, 32, 42, .055); }
.gallery-item button { position: relative; display: block; width: 100%; height: 245px; padding: 0; overflow: hidden; border: 0; cursor: zoom-in; background: var(--surface); }
.gallery-item--1 button { height: 300px; }
.gallery-item--2 button { height: 215px; }
.gallery-item--3 button { height: 255px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .65, .3, 1); }
.gallery-item--1 img { object-position: 50% 30%; }
.gallery-item--2 img { object-position: 50% 20%; }
.gallery-item--3 img { object-position: 50% 28%; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: relative; z-index: 2; min-height: 142px; padding: 25px 28px 27px; color: var(--ink); background: var(--light); }
.gallery-item figcaption::before { position: absolute; top: 0; left: 28px; width: 52px; height: 3px; background: var(--accent); content: ""; }
.gallery-item figcaption small { color: var(--primary); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gallery-item figcaption h3 { margin: 8px 0 8px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.gallery-item__caption { max-width: 520px; margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.6; }
.gallery-item__zoom { position: absolute; z-index: 3; top: 22px; right: 22px; display: grid; width: 42px; height: 42px; border-radius: 50%; color: var(--dark); background: var(--accent); place-items: center; }

.instagram-section { overflow: hidden; color: var(--light); background: var(--primary); }
.instagram-section::before { position: absolute; z-index: -1; top: -240px; right: -170px; width: 560px; height: 560px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; content: ""; }
.instagram-section__header { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); align-items: end; gap: 80px; margin-bottom: 54px; }
.instagram-section__intro { max-width: 760px; }
.instagram-section__intro h2 { margin: 18px 0 22px; font-size: clamp(2.65rem, 4.8vw, 5rem); }
.instagram-section__text { max-width: 650px; color: rgba(255, 255, 255, .67); }
.instagram-profile { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px 18px; padding: 22px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .14); }
.instagram-profile__avatar { display: grid; width: 64px; height: 64px; border: 2px solid var(--accent); border-radius: 50%; color: var(--light); background: var(--dark); place-items: center; font-family: Georgia, serif; font-size: 1.1rem; }
.instagram-profile > div { display: flex; min-width: 0; flex-direction: column; }
.instagram-profile small { color: rgba(255, 255, 255, .55); font-size: .62rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.instagram-profile strong { overflow: hidden; margin-top: 3px; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.instagram-profile .button { grid-column: 1 / -1; width: 100%; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.instagram-grid--embeds { align-items: start; }
.instagram-swipe-hint { display: none; }
.instagram-embed-card { position: relative; min-width: 0; height: 820px; overflow: hidden; color: var(--ink); background: var(--light); }
.instagram-embed-card .instagram-media { width: calc(100% - 2px) !important; min-width: 0 !important; max-width: none !important; margin: 1px auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.instagram-embed-card iframe { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.instagram-direct-embed { display: block; height: 100%; border: 0; background: #fff; }
.instagram-embed-open { position: absolute; z-index: 3; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 10px 13px; color: var(--dark); background: rgba(244, 180, 62, .96); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: .72rem; font-weight: 800; text-decoration: none; }
.instagram-embed-open span { font-size: 1rem; }
.instagram-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--dark); }
.instagram-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2, .7, .25, 1), filter .4s; }
.instagram-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .04) 35%, rgba(0, 0, 0, .82)); opacity: .78; transition: opacity .35s; }
.instagram-card__icon { position: absolute; top: 20px; right: 20px; display: grid; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(0, 0, 0, .2); place-items: center; }
.instagram-card__icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.instagram-card__caption { position: absolute; right: 25px; bottom: 24px; left: 25px; display: flex; flex-direction: column; transform: translateY(7px); transition: transform .35s; }
.instagram-card--post { min-height: 0; border: 1px solid rgba(255, 255, 255, .12); }
.instagram-card__caption strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.03em; }
.instagram-card__caption small { display: -webkit-box; overflow: hidden; margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .74rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.instagram-card:hover img { filter: saturate(1.08); transform: scale(1.055); }
.instagram-card:hover .instagram-card__shade { opacity: 1; }
.instagram-card:hover .instagram-card__caption { transform: none; }

.testimonials { background: #f9f9f7; }
.testimonial-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-slider blockquote { padding: 36px; border: 1px solid var(--line); background: var(--light); }
.testimonial-slider blockquote > span { color: var(--accent); font-family: Georgia, serif; font-size: 3rem; }
.testimonial-quote { min-height: 130px; font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; }
.testimonial-slider footer { display: flex; flex-direction: column; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial-slider footer small { color: var(--muted); }

.faq { background: #f9f9f7; }
.faq__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; }
.faq__intro { position: sticky; top: 130px; align-self: start; }
.faq__intro h2 { margin-top: 20px; font-size: clamp(2.7rem, 4vw, 4.1rem); }
.faq__intro p { margin-bottom: 30px; color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item h3 { margin: 0; font-family: var(--font-body); }
.accordion__item button { display: grid; width: 100%; grid-template-columns: 1fr 28px; gap: 20px; padding: 29px 0; border: 0; cursor: pointer; text-align: left; background: transparent; font-weight: 700; }
.accordion__item button i { position: relative; width: 24px; height: 24px; }
.accordion__item button i::before, .accordion__item button i::after { position: absolute; top: 11px; left: 4px; width: 16px; height: 1px; background: var(--ink); content: ""; transition: transform .25s; }
.accordion__item button i::after { transform: rotate(90deg); }
.accordion__item.is-open button i::after { transform: rotate(0); }
.accordion__content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.accordion__answer { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); }
.accordion__item.is-open .accordion__content { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__answer { padding: 0 55px 28px 0; }

.contact { padding: 120px 0; background: var(--accent); }
.contact__grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 100px; }
.contact__intro h2 { margin: 20px 0 24px; font-size: clamp(3rem, 5vw, 5.4rem); }
.contact__lead { max-width: 520px; }
.contact__channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .22); }
.contact__channels > * { display: flex; min-width: 0; flex-direction: column; }
.contact__channels span { margin-bottom: 5px; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact__channels strong { overflow: hidden; font-size: .85rem; text-overflow: ellipsis; }
.contact__form-wrap { padding: 44px; background: var(--light); box-shadow: 0 30px 80px rgba(0, 0, 0, .14); }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field label { font-size: .7rem; font-weight: 750; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #c8ccd0; outline: 0; color: var(--ink); background: transparent; border-radius: 0; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field textarea { resize: vertical; }
.hp-field { position: absolute !important; left: -10000px !important; }
.consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.consent input { margin: 3px 0 0; accent-color: var(--primary); }
.consent a { color: var(--ink); text-decoration: underline; }
.form-disclaimer { color: var(--muted); text-align: center; font-size: .62rem; }
.form-notice { display: flex; flex-direction: column; margin-bottom: 22px; padding: 16px; border-left: 3px solid; font-size: .8rem; }
.form-notice--success { border-color: #2f8160; background: #edf8f2; }
.form-notice--error { border-color: #a34040; background: #fff0f0; }

.site-footer { color: rgba(255, 255, 255, .68); background: var(--dark); }
.footer__top { display: grid; grid-template-columns: .8fr 1.4fr .7fr; align-items: center; gap: 60px; padding: 70px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__note { max-width: 530px; margin: 0; font-size: .75rem; }
.footer__back { justify-self: end; font-size: .72rem; font-weight: 750; }
.footer__back span { margin-left: 12px; color: var(--accent); }
.footer__bottom { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 30px; font-size: .65rem; }
.footer__bottom > div { display: flex; gap: 26px; }

.whatsapp-float { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: grid; width: 56px; height: 56px; border-radius: 50%; background: #25d366; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); place-items: center; transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 27px; fill: #fff; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 2100; inset: 0; display: grid; padding: 60px; background: rgba(0, 0, 0, .94); place-items: center; }
.lightbox img { max-width: min(100%, 1200px); max-height: calc(100vh - 100px); object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 26px; border: 0; cursor: pointer; color: var(--light); background: transparent; font-size: 2.5rem; }

.section-scene { position: relative; isolation: isolate; }
.section-scene::after { position: absolute; z-index: 4; top: 0; left: 50%; width: 0; height: 2px; background: var(--accent); content: ""; transition: width .9s cubic-bezier(.2, .7, .25, 1), left .9s cubic-bezier(.2, .7, .25, 1); }
.section-scene.is-section-visible::after { left: 8%; width: 84%; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .82s ease, transform .82s cubic-bezier(.2, .7, .25, 1), clip-path .95s cubic-bezier(.2, .7, .25, 1); transition-delay: var(--delay, 0ms); }
.reveal-from-left { transform: translateX(-65px); clip-path: inset(0 18% 0 0); }
.reveal-from-right { transform: translateX(65px); clip-path: inset(0 0 0 18%); }
.reveal--delay { --delay: 140ms; }
.reveal.is-visible { opacity: 1; clip-path: inset(0); transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

.legal-page { background: #f9f9f7; }
.legal-header { border-bottom: 1px solid var(--line); background: var(--light); }
.legal-header .container { display: flex; min-height: 88px; align-items: center; justify-content: space-between; }
.legal-content { max-width: 850px; padding-block: 100px; }
.legal-content h1 { max-width: 700px; margin: 18px 0 20px; font-size: clamp(3rem, 6vw, 5.5rem); }
.legal-lead { margin-bottom: 10px; color: var(--muted); font-size: 1.2rem; }
.legal-content h2 { margin: 50px 0 12px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content p { color: #4f5963; }
.legal-content aside { margin-top: 50px; padding: 22px; border-left: 3px solid var(--accent); background: var(--light); }
.legal-footer { padding: 30px 0; color: rgba(255, 255, 255, .6); background: var(--dark); font-size: .7rem; }

@media (max-width: 1080px) {
    .main-nav { gap: 22px; }
    .hero__grid { grid-template-columns: 55% 45%; }
    .hero__content { padding-right: 15px; }
    .specialty-grid { grid-template-columns: repeat(2, 1fr); }
    .specialty-modal__dialog { grid-template-columns: .8fr 1.2fr; }
    .specialty-modal__content { padding: 60px 42px 45px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .instagram-section__header { grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 48px; }
    .method__grid, .faq__grid { gap: 65px; }
    .about__grid { gap: 70px; }
    .contact__grid { gap: 60px; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 86px 0; }
    .main-nav { position: fixed; inset: 0; display: flex; overflow-y: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px; padding: max(110px, env(safe-area-inset-top)) 32px 40px; color: var(--light); background: var(--primary); font-size: 1.4rem; opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .25s, visibility .25s, transform .25s; }
    .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .main-nav .nav-cta { margin-top: 12px; border-color: var(--accent); background: var(--accent); color: var(--dark); }
    .main-nav .student-nav-link { color: var(--light); }
    .menu-toggle { position: relative; z-index: 2; display: block; }
    .menu-open .menu-toggle { color: var(--light); }
    .menu-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
    .hero { min-height: auto; }
    .hero__shape { inset: auto 0 0; height: 48%; }
    .hero__shape::before { display: none; }
    .hero__grid { display: flex; min-height: auto; flex-direction: column; padding-top: 96px; }
    .hero__content { max-width: 100%; padding: 65px 0 40px; }
    .hero h1 { font-size: clamp(3.25rem, 12vw, 5.6rem); }
    .hero__visual { width: 100%; height: 640px; }
    .hero__photo-wrap { inset: 0 -16px; }
    .experience-seal { right: 5px; }
    .hero__rail-inner { flex-wrap: wrap; justify-content: center; padding-block: 16px; text-align: center; }
    .method__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 65px; }
    .custom-section { padding: 95px 0; }
    .custom-section__grid { grid-template-columns: 1fr; gap: 55px; }
    .custom-section--image_right .custom-section__visual { order: initial; }
    .custom-section__accent { left: 16px; }
    .method__intro, .faq__intro { position: static; }
    .about__visual { min-height: 660px; }
    .about__quote { right: 0; }
    .gallery-grid { gap: 18px; }
    .instagram-section__header { grid-template-columns: 1fr; gap: 36px; }
    .instagram-profile { max-width: 520px; }
    .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-slider { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 30px; }
    .footer__back { justify-self: start; }
}

@media (max-width: 560px) {
    .header-inner { height: 74px; }
    .site-header.is-scrolled .header-inner { height: 68px; }
    .brand__mark { width: 39px; height: 39px; }
    .hero__content { padding-top: 48px; }
    .hero h1 { font-size: clamp(2.75rem, 13.5vw, 4.2rem); }
    .hero__lead { font-size: .95rem; }
    .hero__actions { align-items: flex-start; flex-direction: column; gap: 24px; }
    .hero__signature { margin-top: 36px; }
    .hero__visual { height: 510px; }
    .experience-seal { width: 135px; height: 135px; }
    .experience-seal > span { font-size: 2.2rem; }
    .hero__rail-inner { flex-direction: column; gap: 9px; }
    .hero__rail-inner i { display: none; }
    .specialty-grid { grid-template-columns: 1fr; }
    .specialty-card { min-height: 370px; }
    .specialty-modal { padding: 12px; }
    .specialty-modal__dialog { display: block; height: auto; max-height: calc(100dvh - 24px); overflow-y: scroll; overscroll-behavior: contain; scrollbar-color: var(--accent) #e7e8e6; scrollbar-gutter: stable; scrollbar-width: thin; }
    .specialty-modal__dialog figure { min-height: 250px; height: 32vh; }
    .specialty-modal__content { overflow: visible; padding: 38px 24px 32px; }
    .specialty-modal__content h2 { font-size: 2.25rem; }
    .specialty-modal__content .button { width: 100%; text-align: center; }
    .specialty-modal__close { position: fixed; top: 22px; right: 22px; }
    .method-step { grid-template-columns: 55px 1fr; }
    .about { padding: 90px 0; }
    .about__visual { min-height: 530px; }
    .about__visual > img { inset: 20px 0 0 20px; width: calc(100% - 20px); height: 455px; }
    .about__frame { right: 25px; bottom: 55px; }
    .about__quote { width: 275px; padding: 20px; }
    .credentials { grid-template-columns: 1fr; }
    .custom-section { padding: 80px 0; }
    .custom-section__visual { min-height: 470px; }
    .custom-section__visual img { inset: 25px 0 0 20px; width: calc(100% - 20px); height: 410px; }
    .custom-section__visual span { right: 25px; bottom: 40px; }
    .custom-section__content h2 { font-size: 2.75rem; }
    .custom-section__content .button { width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item button { height: 240px; }
    .gallery-item--1 button { height: 285px; }
    .gallery-item--2 button { height: 215px; }
    .gallery-item--3 button { height: 250px; }
    .gallery-item figcaption { min-height: 0; padding: 23px 20px 24px; }
    .gallery-item figcaption::before { left: 20px; }
    .instagram-section__intro h2 { font-size: 2.75rem; }
    .instagram-grid { gap: 10px; }
    .instagram-swipe-hint { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: rgba(255, 255, 255, .68); font-size: .72rem; }
    .instagram-swipe-hint span { color: var(--accent); font-size: 1.15rem; }
    .instagram-grid--embeds { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) rgba(255, 255, 255, .12); scrollbar-width: thin; }
    .instagram-grid--embeds .instagram-embed-card { height: 800px; scroll-snap-align: start; }
    .instagram-card__caption { right: 16px; bottom: 16px; left: 16px; }
    .instagram-card__caption strong { font-size: 1.08rem; }
    .instagram-card__caption small { display: none; }
    .instagram-card__icon { top: 12px; right: 12px; width: 36px; height: 36px; }
    .contact__channels, .field-row { grid-template-columns: 1fr; }
    .contact__form-wrap { margin-inline: -4px; padding: 30px 22px; }
    .footer__bottom { align-items: flex-start; flex-direction: column; padding-block: 25px; }
    .footer__bottom > div { flex-wrap: wrap; gap: 12px 20px; }
    .lightbox { padding: 45px 14px; }
    .legal-header .brand__name { display: none; }
    .legal-content { padding-block: 70px; }
}

@media (max-width: 380px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .section { padding: 72px 0; }
    .brand__name { font-size: .72rem; }
    .hero h1 { font-size: 2.65rem; }
    .hero__visual { height: 455px; }
    .experience-seal { right: 0; bottom: 24px; width: 118px; height: 118px; }
    .experience-seal > span { font-size: 1.95rem; }
    .specialty-modal { padding: 8px; }
    .specialty-modal__dialog { max-height: calc(100dvh - 16px); }
    .specialty-modal__dialog figure { min-height: 210px; height: 28vh; }
    .specialty-modal__content { padding: 34px 18px 26px; }
    .specialty-modal__content h2 { font-size: 1.95rem; }
    .specialty-modal__close { top: 16px; right: 16px; }
    .method-step { grid-template-columns: 38px 1fr; gap: 14px; }
    .about__quote { width: min(255px, calc(100% - 20px)); }
    .custom-section__content h2 { font-size: 2.35rem; }
    .contact__form-wrap { padding-inline: 17px; }
}
