/* Shared spacing: block padding must not erase the wrapper's inline gutters. */
.section.wrap{padding-inline:56px}
.program-grid,.about-grid,.place-grid,.contact-grid,.faq-grid,.form-grid{min-width:0}
.course-row>div,.about-text,.contact-grid>div,.faq-grid>div{min-width:0}
.course-row h3{overflow-wrap:anywhere}
.hero{min-height:900px}
.hero:after{display:none}
.hero-scene{position:absolute;inset:0;z-index:0}
.hero-scene:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#052b3bea 0%,#052b3b99 34%,#052b3b18 76%),linear-gradient(0deg,#052b3bc9,transparent 36%)}
.hero-scene .hero-photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;opacity:1}
.hero-content{padding-top:180px;padding-bottom:360px;z-index:2;pointer-events:none}
.hero h1{max-width:min(540px,42vw);font-size:clamp(52px,5vw,72px)}
.hero-content p{max-width:min(460px,37vw)}
.hero-cta{position:absolute;left:0;right:0;bottom:125px;z-index:3}
.hero-actions{margin-top:0}
.hero-note{font-size:13px;color:#e2f3ec}
.hero-caption{z-index:2}
.hero-bottom{z-index:3}
.portrait{height:540px;position:relative;border-radius:140px 140px 18px 18px;overflow:hidden;background:#dce6da;display:flex;flex-direction:column;justify-content:center;text-align:center;border:1px solid #b8ccbf}
.portrait img{height:100%;object-fit:cover;object-position:center}
.portrait figcaption{padding:20px;position:absolute;bottom:0;left:0;right:0;background:#062c3bf0;color:#e1efe4;font-size:14px}
.portrait-placeholder{padding:36px}
.portrait-placeholder p{font-size:16px;color:#4e6c65;margin:22px auto 0;max-width:250px}
.portrait-monogram{font-family:Georgia,serif;letter-spacing:-.1em;font-size:100px;color:#708d7c}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.media-grid:has(.media-empty){grid-template-columns:1fr}
.media-card{margin:0;border-radius:18px;overflow:hidden;background:#e8eee7;border:1px solid var(--line);min-width:0}
.media-card.photo img{aspect-ratio:4/5;height:auto;object-fit:cover}
.photo-open{display:block;border:0;background:none;padding:0;width:100%;cursor:zoom-in}
.media-card video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:var(--deep)}
.media-card figcaption{font-size:14px;line-height:1.5;padding:18px 20px}
.media-empty{border:1px dashed #a8beb2;border-radius:18px;min-height:260px;padding:32px;display:flex;flex-direction:column;justify-content:flex-end;background:#eaf0e9}
.media-empty>span{margin-bottom:auto;font-size:13px;color:#698a78}
.media-empty h3{font-size:24px;margin:24px 0 14px}
.media-empty p{font-size:15px;color:var(--muted);max-width:400px}
.video-empty{background:#e0ebe1}
.video-empty .text-link{align-self:flex-start}
.instagram-strip{border-top:1px solid var(--line);padding-top:26px;margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.instagram-strip p{margin:0;color:var(--muted);font-size:15px}
.instagram-strip a{white-space:nowrap}
.reel{padding:20px}.reel-stage{aspect-ratio:9/16;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px}
.reel-stage h3{font-size:20px}.reel-stage p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.reel-symbol{font-size:48px}.reel-stage iframe{border:0;width:100%;height:100%;min-height:440px}.reel>.text-link{margin-top:20px;font-size:14px}
.reviews-section{background:#e9eee7}.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:36px}.review{background:#f9faf6;border-radius:16px;padding:28px;margin:0}.review blockquote{margin:0 0 26px;font-size:17px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.review figcaption strong,.review figcaption span{display:block}.review figcaption strong{font-size:15px;font-weight:500}.review figcaption span{font-size:13px;color:var(--muted);margin-top:8px}.review figcaption a{display:inline-block;font-size:13px;text-decoration:underline;margin-top:16px}.reviews-empty{display:flex;gap:30px;align-items:center;margin-top:36px;border-top:1px solid #cbd9ce;padding-top:32px}.quote-mark{font-family:Georgia,serif;color:#819d8b;font-size:100px;line-height:1}.reviews-empty h3{font-size:23px;margin-bottom:13px}.reviews-empty p{font-size:15px;margin:0;color:var(--muted)}
.reply-info{border-top:1px solid #ffffff2b;margin-top:28px;padding-top:22px}.reply-info h3{font-size:20px;letter-spacing:-.02em;margin-bottom:12px}.reply-info p{font-size:14px;line-height:1.7}
.photo-dialog{border:0;padding:12px;border-radius:16px;max-width:95vw;max-height:95vh;background:#f6f7f2;color:var(--ink)}.photo-dialog::backdrop{background:#00131ddd}.photo-dialog img{height:auto;width:auto;max-width:87vw;max-height:75vh;object-fit:contain}.photo-dialog p{max-width:800px;margin:14px 0;font-size:14px}.photo-dialog form{text-align:right}.photo-dialog button{min-height:42px;padding:8px 15px}
.mobile-cta.at-hero{display:none}
@media(max-width:1100px){.section.wrap{padding-inline:32px}.hero-content{padding-top:160px;padding-bottom:350px}.hero h1{font-size:60px}.hero-scene .hero-photo{object-position:75% center}.media-grid,.reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .section.wrap{padding-inline:24px}.wrap{padding-inline:24px}.hero{min-height:0;display:flex;flex-direction:column}.hero-content{order:0;padding-top:136px;padding-bottom:28px;margin:0;width:100%;pointer-events:auto}.hero h1{font-size:clamp(43px,10.8vw,66px)}.hero-content p{margin-bottom:0;max-width:460px}.hero-scene{position:relative;inset:auto;order:1;height:660px;width:100%;flex:none}.hero-scene .hero-photo{inset:0;width:100%;height:100%;object-position:73% center}.hero-scene:after{background:linear-gradient(180deg,#062c3b08 0%,#062c3b00 52%,#062c3bb0 83%,#062c3bdd 100%)}.hero-cta{bottom:34px;z-index:3}.hero-actions{flex-direction:column;align-items:flex-start;gap:20px;flex-wrap:nowrap}.hero-note{max-width:100%;line-height:1.5;font-size:12px;margin-top:20px}.hero-note span{flex:none}.hero-caption{top:15px;bottom:auto;right:10px;font-size:9px;max-height:330px}.hero-bottom{position:relative;order:2;width:100%;bottom:auto}.hero-bottom .wrap{min-height:112px;padding-block:20px;font-size:12px}.hero-bottom .wrap>span:nth-child(3){grid-column:1/-1}.hero-bottom .hero-coordinate{display:none}.portrait{height:430px;order:0;max-width:430px;width:100%;margin-inline:auto}.about-text{order:1}.about-grid{gap:32px}.about-text h2{font-size:36px}.course-row{grid-template-columns:minmax(0,1fr) 42px;gap:12px 14px}.course-row h3{font-size:20px;line-height:1.3}.course-row p{font-size:14px}.program-detail{font-size:13px}.media-grid,.media-grid:has(.media-empty),.reviews-grid{grid-template-columns:1fr}.media-empty{min-height:220px;padding:26px}.instagram-strip{flex-direction:column;align-items:flex-start;gap:15px}.reviews-empty{gap:18px;align-items:flex-start}.reviews-empty h3{font-size:21px}.reviews-empty p{font-size:14px}.quote-mark{font-size:65px}.form-note{font-size:13px!important}.field input,.field select,.field textarea{font-size:16px}.mobile-cta{bottom:max(12px,env(safe-area-inset-bottom));font-size:14px}.contact form{padding:20px}.footer-top{font-size:13px}.photo-dialog img{max-width:85vw}.photo-dialog{max-width:94vw}
}
@media(max-width:360px){.wrap,.section.wrap{padding-inline:20px}.brand{gap:8px}.brand-mark{width:30px;height:30px}.brand strong{font-size:12px}.brand small{font-size:8px}.header-inner{gap:7px}.languages a{padding:6px}.hero-scene{height:620px}.hero h1{font-size:42px}.hero-cta{bottom:28px}}
@media(max-width:760px){.hero h1{max-width:100%}.hero-content p{max-width:460px}}

.about-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:24px}

.contact-hint{font-size:14px!important;line-height:1.6!important;margin:0!important}.contact-error{color:#ffd2bc!important;font-size:14px;margin:0}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.field input[aria-invalid="true"]{border-color:#ffbd9d}.form-result[data-state="error"]{color:#ffd2bc}.form-result[data-state="success"]{color:var(--mint)}

.about-intro{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;margin:28px 0 20px}.about-intro .about-name{margin:0}.about-intro .button{flex:none}

.about-reels[hidden]{display:none}.about-reels{margin:24px 0 28px;max-width:560px}.reels-heading{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}.reels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reel-preview{position:relative;display:block;isolation:isolate;aspect-ratio:9/16;min-width:0;overflow:hidden;border-radius:12px;background:linear-gradient(160deg,#2f6772,#062c3b);color:#fff;text-decoration:none}.reel-preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.reel-preview:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#062c3bbf);z-index:1}.reel-preview-play{position:absolute;inset:0;display:grid;place-items:center;font-size:24px;z-index:2;text-shadow:0 2px 12px #0009}.reel-preview-label{position:absolute;bottom:12px;left:12px;right:12px;z-index:2;font-size:12px;font-weight:600}.reel-preview:hover img{transform:scale(1.04)}.reel-preview:focus-visible{outline:3px solid #137b69;outline-offset:4px}.about-text .reels-note{font-size:12px;line-height:1.5;margin:10px 0 0;color:var(--muted)}
@media(max-width:760px){.reels-grid{gap:8px}.reel-preview{border-radius:9px}.reel-preview-label{font-size:10px;left:8px;bottom:10px}.reel-preview-play{font-size:20px}.about-reels{margin-block:20px 24px}}
@media(prefers-reduced-motion:reduce){.reel-preview img{transition:none}}

.course-bundle{margin-top:32px;padding:28px;border:1px solid var(--line);border-radius:18px;background:#eaf0e9;display:flex;align-items:center;justify-content:space-between;gap:28px}.course-bundle h3{font-size:24px;margin-bottom:12px}.course-bundle p{font-size:16px;line-height:1.7;color:var(--muted);max-width:720px;margin:0}.course-bundle a{flex-shrink:0}.course-bundle a svg{flex-shrink:0}@media(max-width:760px){.course-bundle{padding:24px;flex-direction:column;align-items:flex-start;gap:20px}.course-bundle h3{font-size:21px}.course-bundle p{font-size:14px}.course-bundle a{max-width:100%;font-size:14px}}

/* Dive gallery: square previews and a bounded photo viewer. */
.media-card.photo{border:0;border-radius:10px;background:var(--deep)}
.media-card.photo img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;transition:transform .25s ease}
.photo-open{aspect-ratio:1;overflow:hidden}.photo-open:hover img{transform:scale(1.025)}.photo-open:focus-visible{outline:3px solid var(--mint);outline-offset:-4px}
.photo-dialog{border:0;padding:0;overflow:visible;width:min(920px,calc(100vw - 40px),calc(100dvh - 64px));max-width:none;max-height:none;aspect-ratio:1;background:var(--deep);border-radius:12px;box-shadow:0 24px 100px #0006}
.photo-dialog::backdrop{background:#03141cdb;backdrop-filter:blur(5px)}
.photo-dialog img{display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:1;object-fit:cover;border-radius:12px}
.photo-dialog form{position:absolute;top:12px;right:12px;margin:0}.photo-dialog .photo-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #ffffff70;border-radius:50%;background:#092d3bd9;color:#fff;cursor:pointer}.photo-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
body:has(.photo-dialog[open]){overflow:hidden}
@media(max-width:760px){.media-grid:not(:has(.media-empty)){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media-card.photo{border-radius:7px}.photo-dialog{width:min(calc(100vw - 24px),calc(100dvh - 64px));max-width:none}}
@media(prefers-reduced-motion:reduce){.media-card.photo img{transition:none}}
