/* Home art direction · Island Value. Actual work, deliberate framing, quiet motion. */
.cinematic-home { --home-gutter:max(6%,calc((100vw - 1280px)/2)); }
.cinematic-home .cinematic-hero { height:205svh; }
.cinematic-home .cinematic-scene { background:#102f42; }
.cinematic-home .cinematic-image { left:auto;right:0;width:70%;object-position:50% 46%;mask-image:linear-gradient(90deg,transparent,#000 28%); }
.cinematic-home .cinematic-shade { background:linear-gradient(90deg,#102f42 0%,#102f42db 28%,#102f4255 62%,#102f4210 100%); }
.cinematic-home .cinematic-copy { padding-left:var(--home-gutter);padding-right:var(--home-gutter);padding-top:50px;padding-bottom:100px;justify-content:center; }
.cinematic-home .cinematic-copy h1 { font-size:clamp(54px,6.7vw,96px);font-weight:600;line-height:1.08;letter-spacing:-.04em;max-width:790px;margin:0 0 32px;text-shadow:0 3px 24px #06182655; }
.cinematic-home .cinematic-detail { max-width:43ch;width:43%; }
.cinematic-home .cinematic-detail p { font-size:clamp(17px,1.4vw,20px);line-height:1.7;font-weight:400;margin:0 0 24px; }
.cinematic-home .cinematic-detail .text-link { font-size:15px;font-weight:500; }
.cinematic-home .cinematic-foot { left:var(--home-gutter);right:var(--home-gutter);bottom:30px;padding-top:18px;border-top:1px solid #b9d6e43d; }
.cinematic-home .hero-beats { top:26px;right:var(--home-gutter);gap:26px; }
.cinematic-home .hero-beats span { font-size:12px;letter-spacing:0;border-top-width:1px; }
.cinematic-home .hero-skip { font-size:14px;font-weight:500; }
/* The anniversary is the transition from the work to the people behind it. */
.cinematic-home .trust-story { padding:78px var(--home-gutter);gap:9%;grid-template-columns:.7fr 1.3fr;align-items:center; }
.cinematic-home .trust-years { padding-right:35px;border-right:1px solid #7098ad; }
.cinematic-home .trust-number { font-size:clamp(180px,21vw,290px); }
.cinematic-home .trust-years-label { border:0;padding:0;font-size:19px;line-height:1.6;margin-top:22px; }
.cinematic-home .trust-copy h2 { font-size:clamp(35px,3.6vw,52px);font-weight:600;line-height:1.16;letter-spacing:-.035em;max-width:22ch;margin:0 0 24px; }
.cinematic-home .trust-copy .trust-lead { font-size:22px;line-height:1.55;margin-bottom:20px; }
.cinematic-home .trust-copy p { max-width:50ch;font-size:17px;line-height:1.8; }
/* A single, legible story. Captions no longer cover the work. */
.cinematic-home .journey { padding:86px var(--home-gutter) 36px;background:#14384d; }
.cinematic-home .journey-heading { grid-template-columns:1.2fr 1fr;gap:10%;align-items:end;padding-bottom:42px; }
.cinematic-home .journey-heading h2 { font-size:clamp(44px,4.8vw,68px);line-height:1.1;font-weight:600;letter-spacing:-.035em; }
.cinematic-home .journey-heading>p { font-size:18px;line-height:1.8;max-width:38ch; }
.cinematic-home .journey-nav { background:#14384d; }
.cinematic-home .journey-nav a { padding:17px 20px;font-size:14px;gap:12px;min-height:54px; }
.cinematic-home .journey-nav a[aria-current=step] { background:#d1e8f3;color:#173b50; }
.cinematic-home .journey-layout { grid-template-columns:.85fr 1.15fr;gap:8%; }
.cinematic-home .journey-chapter { min-height:76svh;padding:50px 0; }
.cinematic-home .journey-chapter-top { gap:20px;margin-bottom:25px; }
.cinematic-home .journey-number { font-size:64px;letter-spacing:-.04em; }
.cinematic-home .journey-chapter h3 { font-size:clamp(34px,3.3vw,46px);line-height:1.16;margin:0 0 24px; }
.cinematic-home .journey-chapter p { font-size:17px;line-height:1.85;max-width:44ch; }
.cinematic-home .journey-detail { font-size:14px!important; }
.cinematic-home .journey-stage { margin-top:32px; }
.cinematic-home .journey-pictures { height:clamp(300px,calc(100svh - var(--header-height) - 205px),600px);border-radius:18px;background:#102f42;outline:1px solid #a5cddd26; }
.cinematic-home .journey-frame { display:grid;grid-template-rows:minmax(0,1fr) auto; }
.cinematic-home .journey-photo { min-height:0;object-fit:cover;object-position:50% 50%;background:#102f42; }
.cinematic-home .journey-frame figcaption { position:static;padding:20px 24px;background:#102f42;gap:6px;border-top:1px solid #a5cddd26; }
.cinematic-home .journey-frame figcaption strong { font-size:18px;font-weight:600; }
.cinematic-home .journey-frame figcaption span { font-size:13px; }
.cinematic-home .journey-progress { margin-top:18px;height:2px; }
.cinematic-home .journey-stage-note { font-size:12px; }
/* Four equal frames. The crop belongs to the photograph, never to a generic grid. */
.cinematic-home .work-selection { padding:84px var(--home-gutter);background:#e5dfd3; }
.cinematic-home .selection-heading { align-items:end;gap:10%;margin-bottom:40px; }
.cinematic-home .selection-heading h2 { font-size:clamp(42px,4.5vw,64px);font-weight:600;line-height:1.12;letter-spacing:-.035em; }
.cinematic-home .selection-heading p { font-size:17px;line-height:1.8;max-width:35ch; }
.cinematic-home .selected-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 30px; }
.cinematic-home .selected-project { margin:0;overflow:hidden;border-radius:18px;background:#f5f2eb;border:1px solid #173b501a;display:flex;flex-direction:column; }
.cinematic-home .project-photo { aspect-ratio:16/9;border-radius:0; }
.cinematic-home .project-bacan .project-photo img { object-position:50% 58%; }
.cinematic-home .project-policia .project-photo img { object-position:50% 48%; }
.cinematic-home .project-costa .project-photo img { object-position:50% 46%; }
.cinematic-home .project-centrogar .project-photo img { object-position:50% 50%;object-fit:cover;background:#263e4b; }
.cinematic-home .selected-copy { padding:26px 28px 28px;flex:1;display:flex;flex-direction:column; }
.cinematic-home .project-meta { gap:8px;margin-bottom:18px; }
.cinematic-home .project-meta h3 { font-size:28px;line-height:1.25;min-height:0; }
.cinematic-home .project-meta span { font-size:13px;color:#486273; }
.cinematic-home .selected-copy p { font-size:16px;line-height:1.8;margin-bottom:22px; }
.cinematic-home .selected-copy .text-link { font-size:14px;line-height:1.6;margin-top:auto;align-self:flex-start; }
.cinematic-home .more-work { margin-top:36px;padding-top:25px; }
.cinematic-home .more-work p { font-size:16px; }
/* The overhead photograph is shown in full: the workshop is the evidence. */
.cinematic-home .workshop-feature { padding:80px var(--home-gutter);background:#cbdfe9; }
.cinematic-home .workshop-intro { grid-template-columns:1.1fr 1fr;gap:10%;margin-bottom:38px; }
.cinematic-home .workshop-intro h2 { font-size:clamp(42px,4.5vw,64px);font-weight:600;line-height:1.12;letter-spacing:-.035em; }
.cinematic-home .workshop-intro p { font-size:17px;line-height:1.8;max-width:48ch; }
.cinematic-home .workshop-panorama { display:grid;grid-template-columns:minmax(0,1fr) 260px;border-radius:16px;overflow:hidden;background:#173b50; }
.cinematic-home .workshop-panorama img { width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:contain; }
.cinematic-home .workshop-panorama figcaption { position:static;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:30px;background:#173b50;color:#fff;font-size:21px;line-height:1.5;letter-spacing:-.02em; }
.cinematic-home .workshop-panorama figcaption span { font-size:14px;line-height:1.8;letter-spacing:0;color:#d4e5ee; }
.cinematic-home .workshop-capabilities { gap:28px;padding:32px 0 24px; }
.cinematic-home .workshop-capabilities>div { border:0;padding:0; }
.cinematic-home .workshop-capabilities img { aspect-ratio:16/10;height:auto;max-height:none;border-radius:12px;margin-bottom:18px; }
.cinematic-home .workshop-capabilities h3 { font-size:23px;font-weight:600;line-height:1.3; }
.cinematic-home .workshop-capabilities p { font-size:15px;line-height:1.8; }
.cinematic-home .contact { padding:64px var(--home-gutter);background:#173b50;color:#fff; }
.cinematic-home .contact h2 { color:#fff;font-size:clamp(36px,4vw,56px);font-weight:600;line-height:1.15;letter-spacing:-.035em; }
.cinematic-home .contact .button { background:#d1e8f3;color:#173b50;border:0;border-radius:8px;padding:15px 24px; }
.cinematic-home .contact small { color:#cfe1ec; }
@media(max-width:1050px) and (min-width:761px) {
  .cinematic-home .cinematic-detail { width:49%; }
  .cinematic-home .cinematic-copy h1 { font-size:clamp(52px,6.6vw,70px); }
  .cinematic-home .journey-layout { grid-template-columns:1fr 1.05fr;gap:5%; }
  .cinematic-home .journey-chapter h3 { font-size:34px; }
  .cinematic-home .journey-chapter p { font-size:16px; }
  .cinematic-home .workshop-panorama { grid-template-columns:minmax(0,1fr) 210px; }
  .cinematic-home .workshop-panorama figcaption { padding:24px;font-size:18px; }
}
@media(max-width:760px) {
  .cinematic-home .cinematic-hero { height:190svh; }
  .cinematic-home .cinematic-image { left:0;width:100%;mask-image:none;object-position:46% 44%; }
  .cinematic-home .cinematic-shade { background:linear-gradient(180deg,#102f4215 5%,#102f4244 28%,#102f42e8 64%,#102f42fa 100%); }
  .cinematic-home .cinematic-copy { padding:20px 6% 24px;justify-content:flex-end; }
  .cinematic-home .cinematic-copy h1 { font-size:clamp(34px,10.3vw,52px);line-height:1.12;letter-spacing:-.035em;margin-bottom:22px; }
  .cinematic-home .cinematic-detail { width:100%;max-width:36ch; }
  .cinematic-home .cinematic-detail p { font-size:16px;line-height:1.65;margin-bottom:18px; }
  .cinematic-home .cinematic-detail .text-link { font-size:14px; }
  .cinematic-home .hero-beats { top:auto;right:auto;gap:12px; }
  .cinematic-home .hero-beats span { font-size:10px; }
  .cinematic-home .cinematic-foot { left:auto;right:auto;bottom:auto;margin:0 6%;padding:8px 0 10px; }
  .cinematic-home .hero-skip { font-size:13px; }
  .cinematic-home .trust-story { padding:44px 6%;display:block; }
  .cinematic-home .trust-years { display:flex;flex-wrap:nowrap;align-items:center;gap:22px;border-right:0;border-bottom:1px solid #7098ad;padding:0 0 28px;margin-bottom:28px; }
  .cinematic-home .trust-number { font-size:clamp(125px,38vw,176px);flex:none; }
  .cinematic-home .trust-years-label { font-size:15px;margin:0;padding:0; }
  .cinematic-home .trust-copy h2 { font-size:34px;line-height:1.18; }
  .cinematic-home .trust-copy .trust-lead { font-size:20px; }
  .cinematic-home .trust-copy p { font-size:16px; }
  .cinematic-home .journey { padding:46px 6% 10px; }
  .cinematic-home .journey-heading { display:block;padding-bottom:28px; }
  .cinematic-home .journey-heading h2 { font-size:39px; }
  .cinematic-home .journey-heading>p { font-size:16px;margin-top:22px; }
  .cinematic-home .journey-nav { width:auto;margin-left:-6.8181818%;margin-right:-6.8181818%; }
  .cinematic-home .journey-nav a { padding:13px 1px;gap:5px;font-size:11px;min-height:46px; }
  .cinematic-home .journey-nav a>span { font-size:10px; }
  .cinematic-home .journey-layout { display:block; }
  .cinematic-home .journey-stage { display:none; }
  .cinematic-home .journey-chapter { min-height:0;padding:34px 0; }
  .cinematic-home .journey-chapter-top { margin-bottom:20px; }
  .cinematic-home .journey-number { font-size:52px; }
  .cinematic-home .journey-chapter h3 { font-size:33px; }
  .cinematic-home .journey-chapter p { font-size:16px;line-height:1.8; }
  .cinematic-home .journey-mobile-photo { overflow:hidden;border-radius:12px;background:#102f42; }
  .cinematic-home .journey-mobile-photo img { width:100%;height:auto;max-height:none;object-fit:contain; }
  .cinematic-home .journey-mobile-photo figcaption { padding:14px 16px;font-size:13px; }
  .cinematic-home .work-selection,.cinematic-home .workshop-feature { padding:46px 6%; }
  .cinematic-home .selection-heading { display:block;margin-bottom:28px; }
  .cinematic-home .selection-heading h2,.cinematic-home .workshop-intro h2 { font-size:38px; }
  .cinematic-home .selection-heading p { font-size:16px;margin-top:20px; }
  .cinematic-home .selected-grid { grid-template-columns:1fr;gap:25px; }
  .cinematic-home .selected-project { grid-column:auto;grid-row:auto;margin:0; }
  .cinematic-home .selected-copy { padding:22px; }
  .cinematic-home .project-meta h3 { font-size:26px; }
  .cinematic-home .selected-copy p { font-size:16px; }
  .cinematic-home .more-work { display:block; }
  .cinematic-home .more-work p { margin-bottom:20px; }
  .cinematic-home .workshop-intro { display:block;margin-bottom:28px; }
  .cinematic-home .workshop-intro p { font-size:16px;margin-top:22px; }
  .cinematic-home .workshop-panorama { display:block; }
  .cinematic-home .workshop-panorama figcaption { padding:24px;font-size:23px;gap:12px; }
  .cinematic-home .workshop-capabilities { grid-template-columns:1fr;gap:28px;padding-top:28px; }
  .cinematic-home .workshop-capabilities>div { margin:0; }
  .cinematic-home .workshop-capabilities p { font-size:16px; }
  .cinematic-home .contact { padding:42px 6%; }
  .cinematic-home .contact h2 { font-size:35px; }
}
@media(max-width:760px) and (max-height:700px) {
  .cinematic-home .cinematic-copy { padding:12px 6% 16px; }
  .cinematic-home .cinematic-copy h1 { font-size:clamp(30px,10vw,38px);margin-bottom:16px; }
  .cinematic-home .cinematic-detail p { font-size:15px;line-height:1.55; }
}
@media(max-width:1024px) and (max-height:520px) {
  .cinematic-home .cinematic-hero { height:auto; }
  .cinematic-home .cinematic-scene { display:block;position:relative;top:0;height:auto; }
  .cinematic-home .cinematic-copy { padding:40px 6% 20px; }
  .cinematic-home .cinematic-copy h1 { font-size:40px; }
  .cinematic-home .cinematic-detail { width:70%; }
  .cinematic-home .cinematic-foot { position:relative;inset:auto;margin:0 6%;padding:8px 0 24px; }
  .cinematic-home .journey-layout { display:block; }
  .cinematic-home .journey-stage { display:none; }
  .cinematic-home .journey-chapter { min-height:0; }
}
@media(prefers-reduced-motion:reduce) {
  .cinematic-home .cinematic-hero { height:auto; }
  .cinematic-home .cinematic-scene { position:relative;top:0;height:auto;min-height:620px; }
  .cinematic-home .cinematic-copy { position:relative;min-height:520px; }
  .cinematic-home .journey-layout { display:block; }
  .cinematic-home .journey-stage { display:none; }
  .cinematic-home .journey-chapter { min-height:0; }
  .cinematic-home .journey-mobile-photo { display:block;max-width:900px; }
}

/* The original wordmark becomes the masthead as the visitor scrolls. */
.brand-intro[hidden] { display:none; }
.brand-intro { position:absolute;top:0;left:0;width:0;height:105svh;pointer-events:none; }
.brand-intro-surface { position:fixed;inset:0;z-index:19;background:radial-gradient(ellipse at 12% 65%,#b7d3e2 0%,transparent 60%),radial-gradient(ellipse at 90% 75%,#ded6c7 0%,transparent 56%),#e7eff4;pointer-events:none; }
.brand-intro-mark { position:fixed;top:0;left:0;z-index:22;display:block;width:88vw;height:auto;max-width:none;transform-origin:0 0;mix-blend-mode:multiply;pointer-events:none;will-change:transform,opacity; }
.brand-intro-caption { position:fixed;left:6%;right:6%;bottom:44px;z-index:22;display:flex;justify-content:space-between;align-items:end;gap:24px;color:#284c60;pointer-events:none; }
.brand-intro-caption p { margin:0;font-size:17px;line-height:1.6; }
.brand-intro-caption p span { display:block;font-size:13px;margin-top:7px; }
.brand-intro-skip { appearance:none;border:0;border-bottom:1px solid #5f7e90;background:transparent;color:#173b50;font:inherit;font-size:14px;font-weight:500;padding:12px 0;cursor:pointer;pointer-events:auto; }
.cinematic-home.brand-intro-enabled .cinematic-hero { height:310svh; }
.cinematic-home.brand-intro-enabled .funding-notice { position:relative;z-index:20; }
.cinematic-home.brand-intro-enabled header .brand img { transition:none; }
.cinematic-home.brand-intro-enabled .mobile-nav.open { z-index:24; }
@media(hover:hover) and (pointer:fine) {
  .brand-intro-skip:hover { color:#087eae;border-color:#087eae; }
}
@media(max-width:760px) {
  .cinematic-home.brand-intro-enabled .cinematic-hero { height:295svh; }
  .brand-intro-caption { bottom:32px;display:block; }
  .brand-intro-caption p { font-size:16px; }
  .brand-intro-caption p span { font-size:13px; }
  .brand-intro-skip { margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) {
  .brand-intro { display:none!important; }
  .cinematic-home.brand-intro-enabled .cinematic-hero { height:auto; }
}
@media(max-width:1024px) and (max-height:520px) {
  .brand-intro { display:none!important; }
  .cinematic-home.brand-intro-enabled .cinematic-hero { height:auto; }
}

/* A quiet first screen: the original logo and one invitation to scroll. */
.brand-intro-art { display:block;width:100%;height:auto; }
.brand-intro-shine { position:absolute;inset:0;overflow:hidden;mask:url('assets/logo-largo-ink-mask.svg') center/100% 100% no-repeat; }
.brand-intro-shine::before { content:"";position:absolute;top:0;bottom:0;left:0;width:34%;background:var(--logo-reflection);animation:brand-light-pass 4.2s cubic-bezier(.45,0,.55,1) infinite alternate;will-change:transform; }
@keyframes brand-light-pass { 0% { transform:translateX(-100%); } 100% { transform:translateX(300%); } }
.intro-complete .brand-intro-shine::before { animation-play-state:paused; }
.brand-intro-caption { display:flex;justify-content:center;align-items:center;bottom:max(42px,6svh); }
.brand-intro-skip { margin:0;padding:12px 2px;font-size:15px;letter-spacing:.02em;font-weight:500;border-bottom-color:#8ca4b2; }
.cinematic-home.brand-intro-enabled .funding-notice { z-index:auto; }
@media(max-width:760px) { .brand-intro-caption { display:flex;bottom:max(36px,7svh); }.brand-intro-skip { margin:0;font-size:14px; } }
@media(prefers-reduced-motion:reduce) { .brand-intro-shine::before { animation:none; } }



/* One continuous gesture: reflected light, opening photograph, settled masthead. */
.brand-intro-mark { --logo-reflection:linear-gradient(110deg,transparent 4%,#9fdcff88 22%,#effaffed 38%,#fff 46%,#fff 56%,#e4f6fff2 64%,#a3dcff99 78%,transparent 96%); }
.brand-intro-surface { overflow:hidden; }
.brand-intro-light { position:absolute;inset:-15%;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 35% 38%,#fff9 0%,#c4eaff55 24%,transparent 58%),radial-gradient(ellipse at 80% 70%,#d7c49f88 0%,transparent 55%); }
.brand-intro-scroll-shine { position:absolute;inset:0;overflow:hidden;opacity:0;mask:url('assets/logo-largo-ink-mask.svg') center/100% 100% no-repeat; }
.brand-intro-ray { position:absolute;inset:0 auto 0 0;width:34%;background:var(--logo-reflection);transform:translateX(-100%); }
@media(prefers-reduced-motion:reduce) { .brand-intro-light,.brand-intro-scroll-shine { display:none; } }

/* Keep the same aperture, but move a simple scene clip above a cached backdrop. */
.brand-intro-surface { z-index:18;will-change:opacity; }
.cinematic-home.brand-intro-enabled .cinematic-hero { z-index:19;background:transparent; }
.cinematic-home.brand-intro-enabled .cinematic-scene { clip-path:inset(50% 50% 50% 50%); }
.cinematic-home.intro-transition-active .cinematic-scene { will-change:clip-path; }
.brand-intro-light,.brand-intro-ray { will-change:transform,opacity; }
.brand-intro-shine,.brand-intro-scroll-shine { will-change:opacity; }
.intro-moving .brand-intro-shine::before { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) { .cinematic-home .cinematic-scene { clip-path:none!important;will-change:auto; } }

/* The real hero is revealed through IV; a single cached vector veil expands. */
.brand-iv-aperture { position:fixed;inset:0;z-index:21;pointer-events:none;overflow:clip;contain:strict;will-change:opacity; }
.brand-iv-aperture svg { display:block;width:100%;height:100%;will-change:transform;backface-visibility:hidden; }
.brand-intro-surface { z-index:22; }
.brand-intro-mark,.brand-intro-caption { z-index:24; }
.cinematic-home.brand-intro-enabled .opening-header { z-index:23; }
.cinematic-home.brand-intro-enabled .mobile-nav.open { z-index:25; }
.cinematic-home.brand-intro-enabled .cinematic-scene { clip-path:none;will-change:auto; }
.cinematic-home .cinematic-image { left:0;width:100%;mask-image:none;object-position:46% 44%; }
.brand-intro-shine::before { animation-duration:3.4s;animation-timing-function:cubic-bezier(.77,0,.175,1);animation-iteration-count:2;animation-fill-mode:both; }
.intro-complete .brand-iv-aperture { visibility:hidden; }
/* Retain the small composited layer for a smooth reversal at the end. */
@media(prefers-reduced-motion:reduce) { .brand-iv-aperture { display:none!important; } }
@media(max-width:1024px) and (max-height:520px) { .brand-iv-aperture { display:none!important; } }

/* Individual focal points keep lettering and installation visible. */
.cinematic-home .journey-frame[data-scene="0"] .journey-photo { object-position:50% 58%; }
.cinematic-home .journey-frame[data-scene="2"] .journey-photo { object-position:48% 48%; }
.cinematic-home .project-photo { flex:none; }
@media(max-width:760px){
.cinematic-home .journey-mobile-photo { overflow:hidden;border-radius:14px;background:#102f42;border:1px solid #a5cddd26; }
.cinematic-home .journey-mobile-photo img { display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0; }
.cinematic-home #etapa-0 .journey-mobile-photo img { object-position:50% 58%; }
.cinematic-home .journey-mobile-photo figcaption { margin:0;padding:15px 18px;color:#e4f1f7;line-height:1.5; }
.cinematic-home .selected-copy { padding:22px; }
}
