/* Project identity: shared Arcada typography, individual colour and editorial rhythm. */
body[data-project-theme="alushta"],.project-transition.theme-alushta{--project-ink:#061F3F;--project-paper:#FFFFFF;--project-soft:#E8F4F1;--project-accent:#C8A45D;--project-muted:#526477;--project-line:#CADCDD;--riviera-turquoise:#4AA9AA;--riviera-sand:#E8DCC5;--riviera-graphite:#252B33}
body[data-project-theme="cuvee"],.project-transition.theme-cuvee{--project-ink:#49382f;--project-paper:#f5f0e7;--project-soft:#e9e1d5;--project-accent:#87654b;--project-muted:#70685e;--project-line:#d5cbbd}
body[data-project-theme="kokur"],.project-transition.theme-kokur{--project-ink:#6c382d;--project-paper:#f7efe5;--project-soft:#eddfcf;--project-accent:#a35b3f;--project-muted:#746457;--project-line:#d8c8b9}
body[data-project-theme="santorini"],.project-transition.theme-santorini{--project-ink:#22516c;--project-paper:#f6f9f9;--project-soft:#e5eff1;--project-accent:#367d98;--project-muted:#526b76;--project-line:#c8dadd}
body[data-project-theme="uyutnoe"],.project-transition.theme-uyutnoe{--project-ink:#344d3e;--project-paper:#f1f3e9;--project-soft:#e2e8d9;--project-accent:#647e53;--project-muted:#5e6d58;--project-line:#cbd4c0}
body[data-project-theme="pobeda"],.project-transition.theme-pobeda{--project-ink:#2c3a42;--project-paper:#f1f0eb;--project-soft:#e0e2de;--project-accent:#846a50;--project-muted:#616965;--project-line:#c9ceca}
body[data-project-theme="mayak"],.project-transition.theme-mayak{--project-ink:#233b58;--project-paper:#f0f3f5;--project-soft:#dfe7ed;--project-accent:#8d6e45;--project-muted:#586d7d;--project-line:#c5d2dc}
.project-experience{--ink:var(--project-ink);--navy:var(--project-ink);--paper:var(--project-paper);--muted:var(--project-muted);--accent:var(--project-accent);--line:var(--project-line);background:var(--paper);color:var(--ink)}
.project-experience h1,.project-experience h2{font-weight:400}.project-experience .project-hero{height:90svh;min-height:640px}.project-experience .project-hero-copy{bottom:60px}.project-experience .project-hero-copy h1{font-size:clamp(40px,5.7vw,88px);margin:20px 0}.project-experience .project-story-tagline{font-size:clamp(18px,1.7vw,26px);max-width:800px;margin:0 auto 18px;line-height:1.4}.project-experience .project-hero-copy>p:last-child{font-size:14px;max-width:820px;margin:auto}.project-experience .project-hero:after{background:linear-gradient(0deg,rgba(9,20,26,.82),rgba(9,20,26,.02) 84%),linear-gradient(180deg,rgba(9,20,26,.45),transparent 35%)}
.project-experience .project-subnav{background:var(--paper)}.project-experience .site-header.scrolled,.project-experience #mobile-nav{background:var(--navy)}.project-experience .project-dropdown[open] summary{color:#fff}.project-experience .project-menu{background:var(--paper);color:var(--ink)}.project-experience .project-menu .menu-project{border-color:var(--line)}.project-experience .menu-all,.project-experience .project-menu-tools{color:var(--ink)}.project-experience .project-description .lead{font-size:24px;line-height:1.5}.project-experience .source-note{font-size:14px!important;line-height:1.7}.project-experience #overview .intro-grid h2{max-width:650px}.project-experience .project-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.project-experience .project-specs strong{overflow-wrap:anywhere}.project-experience .project-specs>div span{font-size:14px}
.project-story{display:grid;grid-template-columns:1fr 1fr;min-height:570px;background:var(--project-soft)}.project-story-copy{align-self:center;min-width:0;padding:clamp(40px,6vw,88px)}.project-story-copy .eyebrow{font-size:12px;color:var(--muted);letter-spacing:.12em}.project-story-copy h2{font-size:clamp(32px,3.25vw,52px);line-height:1.12;margin:28px 0;max-width:700px;overflow-wrap:break-word}.project-story-copy>p:last-child{font-size:17px;line-height:1.75;max-width:600px}.project-story-visual{min-width:0;overflow:hidden}.project-story-visual img{width:100%;height:100%;min-height:570px;object-fit:cover}.project-story:nth-child(odd) .project-story-visual{order:-1}.project-story:nth-child(2){background:var(--ink);color:#fff}.project-story:nth-child(2) .eyebrow{color:#e1e5e1}.project-story.story-text-only{display:block;min-height:0}.story-text-only .project-story-copy{max-width:1200px;margin:auto;padding-top:90px;padding-bottom:90px}.story-text-only .project-story-copy>p:last-child{max-width:800px}.project-experience .gallery-nav button{background:var(--paper);border-color:var(--line);color:var(--ink)}.project-experience .gallery-rail{padding-bottom:12px}.project-experience .gallery-rail figure{margin:0}.project-experience .gallery-rail figcaption{padding:16px 0;font-size:14px;line-height:1.5;text-align:left;color:var(--ink)}.project-experience .gallery-rail button{color:var(--ink)}.project-experience .tour-section,.project-experience .arcada-tour{background:var(--navy);color:#fff}.project-experience .value-grid article>span{color:var(--accent)}.project-experience .contacts-section{background:var(--project-soft)}.project-experience .premium-footer{background:var(--paper)}.project-experience .button.dark{background:var(--navy)}.project-experience .button.dark:hover{filter:brightness(1.12)}
/* No scroll hijacking: normal document flow, touch, keyboard and anchors stay native. */
.project-transition{position:fixed;inset:0;z-index:1000;display:grid;place-content:center;text-align:center;background:var(--project-ink,#092b52);color:#fff;pointer-events:none;animation:projectCurtainIn 240ms cubic-bezier(.22,1,.36,1) both}.project-transition small{font-size:12px;letter-spacing:.24em}.project-transition strong{font-size:clamp(28px,5vw,64px);font-weight:400;letter-spacing:-.035em;margin:20px 24px;line-height:1.15}.project-transition span{display:block;width:60px;height:1px;background:#ffffff80;margin:10px auto}.project-arriving .project-hero{animation:projectArrival 650ms cubic-bezier(.22,1,.36,1) both}.project-arriving .project-hero-copy{animation:projectCopyArrival 800ms cubic-bezier(.22,1,.36,1) both}@keyframes projectCurtainIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes projectArrival{from{opacity:.15}to{opacity:1}}@keyframes projectCopyArrival{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
/* Fullscreen gallery: retained photos, keyboard arrows, swipe and readable captions. */
body.gallery-open{overflow:hidden}.gallery-dialog{background:var(--navy);padding:12px 70px 64px;overflow:auto}.gallery-dialog img{height:auto;max-height:76svh;min-height:120px;object-fit:contain}.gallery-dialog>.gallery-close{top:16px;right:16px}.gallery-dialog>.gallery-prev,.gallery-dialog>.gallery-next{top:calc(50% - 24px);background:#fff;color:#092b52;width:48px;height:48px;border:0;border-radius:0;font-size:24px}.gallery-dialog>.gallery-prev{left:12px;right:auto}.gallery-dialog>.gallery-next{right:12px}.gallery-dialog>.gallery-caption{position:absolute;bottom:16px;left:70px;right:70px;color:#fff;font-size:14px;line-height:1.5;max-height:44px;overflow:auto;text-align:center;margin:0}.gallery-dialog>.gallery-count{position:absolute;top:16px;left:20px;font-size:13px;color:#fff;background:#092b52d9;padding:4px 9px}
@media(max-width:800px){.project-experience .project-hero{height:86svh;min-height:620px}.project-experience .project-hero-copy{bottom:44px;left:24px;right:24px}.project-experience .project-hero-copy h1{font-size:38px}.project-experience .project-hero-copy .eyebrow{font-size:10px}.project-experience .project-story-tagline{font-size:18px}.project-experience .project-specs{grid-template-columns:1fr}.project-experience .project-description .lead{font-size:22px}.project-story{grid-template-columns:1fr;min-height:0}.project-story-visual,.project-story:nth-child(odd) .project-story-visual{order:-1}.project-story-visual img{height:310px;min-height:0}.project-story-copy{padding:40px 24px 48px}.project-story-copy h2{font-size:32px;margin:22px 0}.project-story-copy>p:last-child{font-size:16px}.story-text-only .project-story-copy{padding:56px 24px}.project-experience .project-subnav{font-size:13px}.gallery-dialog{padding:56px 10px 80px;width:96vw}.gallery-dialog img{max-height:68svh}.gallery-dialog>.gallery-prev,.gallery-dialog>.gallery-next{top:auto;bottom:14px}.gallery-dialog>.gallery-caption{bottom:70px;left:16px;right:16px;font-size:13px}.project-experience .gallery-toolbar h2{font-size:30px}.project-experience .gallery-toolbar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.project-transition{display:none}.project-arriving .project-hero,.project-arriving .project-hero-copy{animation:none}}
/* Caption and controls are in document flow: never overprint the photograph. */
.gallery-dialog[open]{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:12px;padding:64px 20px 20px}.gallery-dialog>img{grid-column:1/-1;grid-row:1;max-height:65svh;width:100%;min-height:0}.gallery-dialog>.gallery-caption{position:static;grid-column:1/-1;grid-row:2;margin:0;max-height:100px;font-size:14px;overflow:auto}.gallery-dialog>.gallery-prev,.gallery-dialog>.gallery-next{position:static;grid-row:3;margin:0}.gallery-dialog>.gallery-prev{grid-column:1}.gallery-dialog>.gallery-next{grid-column:3}.gallery-dialog>.gallery-close{position:absolute;top:12px;right:12px}.gallery-dialog>.gallery-count{position:absolute;top:16px;left:20px}
@media(max-width:800px){.gallery-dialog[open]{padding:62px 12px 12px;gap:12px}.gallery-dialog>img{max-height:58svh}.gallery-dialog>.gallery-caption{font-size:13px}}

/* Alushta-Riviera brandbook v1.5: light Riviera for web, sea blue anchors. */
body.project-experience[data-project-theme="alushta"]{color:var(--riviera-graphite)}
body[data-project-theme="alushta"] h1,body[data-project-theme="alushta"] h2,body[data-project-theme="alushta"] h3{color:var(--project-ink)}
body[data-project-theme="alushta"] .project-hero h1{color:#fff}
body[data-project-theme="alushta"] .project-story:nth-child(2) h2{color:#fff}
body[data-project-theme="alushta"] .project-story:nth-child(2){background:#061F3F;color:#fff;border-top:4px solid #4AA9AA}
body[data-project-theme="alushta"] .project-story:nth-child(3){background:#E8DCC5}
body[data-project-theme="alushta"] .project-subnav{border-bottom:2px solid #4AA9AA}
body[data-project-theme="alushta"] .value-grid article>span{color:#061F3F;border-bottom:3px solid #C8A45D}
body[data-project-theme="alushta"] .button.dark{background:#061F3F;border-color:#061F3F;color:#fff}
body[data-project-theme="alushta"] .button.dark:hover{background:#123758;filter:none}
body[data-project-theme="alushta"] .project-specs strong{color:#061F3F}
body[data-project-theme="alushta"] .contacts-section{border-top:4px solid #4AA9AA;background:#E8F4F1}
body[data-project-theme="alushta"] .tour-section h2,body[data-project-theme="alushta"] .arcada-tour h2{color:#fff}
body[data-project-theme="alushta"] .project-hero:after{background:linear-gradient(0deg,#061f3fe6,transparent 84%),linear-gradient(180deg,#061f3f80,transparent 35%)}
body[data-project-theme="alushta"] .project-story .eyebrow:before{content:"";display:block;width:64px;height:3px;margin-bottom:20px;background:#4AA9AA}
