/* Reference-driven geometry: the compact masthead expands into one continuous panel. */
.header{width:326px;height:64px;align-items:flex-start;transition:width .32s cubic-bezier(.76,0,.24,1) .66s,height .38s cubic-bezier(.76,0,.24,1) .20s;overflow:hidden;z-index:70}
.header .brand{height:48px;font-size:13px;gap:6px}.header .brand img{width:28px;height:28px}
.header .menu-button{height:48px;flex-shrink:0;font-size:14px;min-width:110px;justify-content:space-between;position:absolute;right:8px;top:8px}
.header.menu-open{transition:width .32s cubic-bezier(.76,0,.24,1),height .44s cubic-bezier(.76,0,.24,1) .40s;width:448px;height:624px;max-height:calc(100svh - 48px)}
.menu-button i{position:relative;border:0;height:20px;width:20px}
.menu-button i:before,.menu-button i:after{content:'';position:absolute;left:0;top:6px;width:20px;height:1.5px;background:currentColor;transition:transform .45s,top .45s}
.menu-button i:after{top:13px}.menu-open .menu-button i:before{top:10px;transform:rotate(45deg)}.menu-open .menu-button i:after{top:10px;transform:rotate(-45deg)}
.mobile-nav{top:64px;height:calc(100% - 64px);padding:55px 42px 26px;display:flex;flex-direction:column;gap:0;opacity:0;transform:translateY(-12px);transition:opacity .16s,transform .16s;overflow:auto;background:transparent}
.menu-open .mobile-nav{opacity:1;transform:none;transition:opacity .24s .92s,transform .4s .92s}
.menu-links{display:grid;gap:8px}.mobile-nav .menu-links a{font-size:38px;font-weight:600;line-height:1.08;display:block;transform:translateY(22px);opacity:0;clip-path:inset(0 0 100% 0);transition:transform .16s,opacity .16s,clip-path .16s}
.menu-open .menu-links a{transform:none;opacity:1;clip-path:inset(0);transition:transform .48s cubic-bezier(.16,1,.3,1),opacity .35s,clip-path .48s cubic-bezier(.16,1,.3,1);transition-delay:calc(.94s + var(--item,0)*.045s)}
.menu-links a:nth-child(2){--item:1}.menu-links a:nth-child(3){--item:2}.menu-links a:nth-child(4){--item:3}.menu-links a:nth-child(5){--item:4}.menu-links a:nth-child(6){--item:5}
.mobile-nav .menu-links a:hover{transform:translateX(8px)}
.menu-bottom{margin-top:auto;padding-top:34px;display:grid;grid-template-columns:1fr auto;gap:16px 12px;align-items:end}
.mobile-nav .menu-bottom a{font-size:14px;letter-spacing:0;line-height:1.4;margin:0}.menu-bottom p{font-size:12px;grid-column:1/-1;text-align:center;width:100%}
.header.nav-away{transform:translateX(-50%)}
/* Hero hands the screen to the next scene instead of remaining a static poster. */
.hero.is-live{height:155svh}.hero h1{font-size:clamp(44px,4.6vw,66px)}
.motion-on .hero-content{padding-top:36svh;will-change:transform,opacity}
.hero-stage:after{background:linear-gradient(180deg,rgba(0,34,51,.32) 0%,rgba(0,34,51,.48) 48%,rgba(0,34,51,.82) 100%);pointer-events:none}.hero-landscape{filter:none;object-fit:cover}
.hero p{margin:24px auto}.hero-content>.button{min-height:50px;font-size:16px}
.about-journey{position:relative;background:var(--paper);z-index:2}.about-pin{background:var(--paper)}
.rail-navigation{padding-top:20px;padding-bottom:20px}.rail-navigation p{max-width:260px}.rail-count{min-width:60px}
.scroll-rail .about-pin{position:sticky;top:var(--rail-top,110px)}
.scroll-rail .about-rail-stage{scroll-snap-type:none;scroll-behavior:auto;cursor:default;touch-action:pan-y}
/* Services become a full-screen sequence, with one service occupying the stage. */
.services.scene-services{padding:0;height:310svh;background:var(--navy);color:var(--paper);--focus:var(--lime)}
.service-stage{position:sticky;top:0;height:100svh;min-height:650px;padding:14svh var(--margin) 7svh;overflow:hidden;isolation:isolate}
.service-stage>.service-landscape{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;object-position:80% center;filter:brightness(.28);z-index:-1}
.scene-services .section-heading{display:block;margin:0}.scene-services .section-heading h2{font-size:18px;letter-spacing:0;font-weight:400;margin-bottom:10px}.scene-services .section-heading>p{font-size:14px;color:var(--mist);max-width:none}
.scene-services .service-list{position:relative;margin:10svh 0 0;min-height:300px}
.scene-services .service{padding:0!important;margin:0;background:none;position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(70px);transition:opacity .6s,transform .8s cubic-bezier(.16,1,.3,1),visibility .6s}
.scene-services .service.service-active{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.scene-services .service summary{cursor:default;display:block;min-height:0;pointer-events:none}.scene-services .plus{display:none}
.scene-services .service h3{font-size:clamp(64px,8vw,116px);font-weight:500;max-width:1100px;transform:none;letter-spacing:-.055em}
.scene-services .service-body{padding-top:32px;max-width:980px;gap:7vw;grid-template-columns:1.2fr 1fr;font-size:18px}.scene-services .service-body>div{color:var(--mist)}
.service-scene-nav{position:absolute;left:var(--margin);right:var(--margin);bottom:7svh;display:flex;gap:28px;flex-wrap:wrap}
.service-scene-nav button{background:none;color:var(--mist);padding:12px 0;min-height:44px;font-size:16px;border-bottom:2px solid transparent}
.service-scene-nav button[aria-pressed=true]{color:var(--lime);border-color:var(--lime)}
@media(max-width:900px){.hero.is-live{height:145svh}.motion-on .hero-content{padding-top:35svh}}
@media(max-width:600px){.header{width:326px;top:16px}.header.menu-open{width:calc(100% - 32px);max-width:calc(100% - 32px);height:600px;max-height:calc(100svh - 32px)}.mobile-nav{padding:40px 28px 24px}.mobile-nav .menu-links a{font-size:36px}.menu-bottom{grid-template-columns:1fr;gap:12px;padding-top:24px}.menu-bottom p{grid-column:auto}.hero h1{font-size:44px}.hero p{font-size:16px}.hero-content>.button{font-size:16px}.hero-content{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){.header,.mobile-nav,.menu-links a,.menu-button i:before,.menu-button i:after{transition:none!important}.hero-content{opacity:1!important;transform:none!important}}

@media(max-width:900px){.services{background:var(--slate-2) url('assets/coast-900.webp') center/cover;background-blend-mode:multiply;color:var(--paper);--focus:var(--lime)}.services .service[open]{background:transparent;padding-left:0;padding-right:0}.services .service-body>div{color:var(--mist)}.services .service h3{font-size:clamp(36px,6vw,52px)}.services .text-link{color:var(--lime)}}
/* Outgoing copy clears before the next title enters, so words never stack. */
.scene-services .service{transition:none}
.scene-services .service.service-active{transition:opacity .45s,transform .7s cubic-bezier(.16,1,.3,1)}

/* Reveal the secondary row after the navigation links. */
.menu-bottom{opacity:0;transform:translateY(12px);transition:opacity .16s,transform .16s}
.menu-open .menu-bottom{opacity:1;transform:none;transition:opacity .35s 1.12s,transform .4s 1.12s}
@media(prefers-reduced-motion:reduce){.menu-bottom{transition:none!important}}

/* November editorial revisions: distinct type tiers and a photographic close. */
.hero-line-mask{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.hero-line{display:block;will-change:transform,opacity}
.about .about-story{flex-direction:column;align-items:flex-start;justify-content:center;gap:28px}
.about-story h3{font-size:var(--statement);line-height:1.15;font-weight:400;letter-spacing:-.025em}
.about .about-story p{font-size:22px;line-height:1.4;letter-spacing:-.015em}
.method-chapters h3{font-size:clamp(76px,10.5vw,160px);line-height:.95;margin-bottom:28px;letter-spacing:-.05em}
.method-chapters p{font-size:clamp(24px,2.5vw,36px);line-height:1.2;max-width:820px;letter-spacing:-.025em}
.contact-journey{position:relative;isolation:isolate}
.contact-journey .finder{position:sticky;top:var(--finder-top,0px);z-index:0}
.contact{position:relative;isolation:isolate;overflow:hidden;z-index:1;background:var(--navy)}
.contact-background{position:absolute;left:15%;top:0;width:70%;height:78.4%;max-width:none;object-fit:cover;object-position:50% 0%;z-index:-2;will-change:transform;mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,#000 75%,transparent);mask-composite:intersect}
.contact::before{content:'';position:absolute;inset:0;background:rgba(0,34,51,.84);z-index:-1}
.contact-top{display:block}
.footer-name{justify-content:center;text-align:center}
@media(min-width:901px){.method.is-live .method-title{top:14%;width:42%}.method.is-live .method-title h2{font-size:44px}.method.is-live .method-title p{font-size:18px;max-width:360px}.method.is-live .method-chapters{left:28%;top:43%;right:var(--margin)}.method.is-live .chapter-nav{bottom:7%}}
@media(max-width:900px){.method-chapters{grid-template-columns:1fr;gap:64px}.method-chapters h3{font-size:clamp(64px,12vw,110px)}.method-chapters p{max-width:620px;font-size:26px}}
@media(max-width:600px){.about-story h3{font-size:24px;line-height:1.25}.about .about-story p{font-size:18px;line-height:1.4}.about .about-story{gap:22px}.method-chapters p{font-size:22px}.contact-background{object-position:50% 0%}}
@media(prefers-reduced-motion:reduce){.hero-line{opacity:1!important;visibility:visible!important;transform:none!important}.contact-journey .finder{position:relative;top:auto}.contact-background{transform:none!important;will-change:auto}}
.method-chapters article{max-width:none}

/* Method: oversized, heavy chapter typography. */
.method-chapters h3{font-size:clamp(112px,15.8vw,220px);font-weight:800;line-height:.9;letter-spacing:-.055em;margin-bottom:30px}
.method-chapters p{font-size:clamp(28px,3vw,42px);font-weight:550;line-height:1.12;max-width:780px;letter-spacing:-.025em}
@media(min-width:901px){.method.is-live .method-chapters{left:16%;top:43%;right:var(--margin)}}
@media(min-width:901px) and (max-height:760px){.method.is-live .method-title{top:12%;width:36%}.method.is-live .method-title h2{font-size:36px}.method.is-live .method-title p{font-size:16px;margin-top:24px}.method-chapters h3{font-size:clamp(112px,13vw,150px);margin-bottom:24px}.method-chapters p{font-size:26px;max-width:740px}}
@media(max-width:900px){.method-chapters h3{font-size:clamp(76px,16vw,136px)}.method-chapters p{font-size:clamp(24px,4vw,32px)}}
@media(max-width:600px){.method-chapters h3{font-size:clamp(64px,18vw,100px);margin-bottom:24px}.method-chapters p{font-size:24px}}

/* Center each method chapter independently of its text length. */
.method-chapters{text-align:center}
.method-chapters p{margin-inline:auto}
@media(min-width:901px){
  .method.is-live .method-chapters{left:50%;top:50%;right:auto;width:calc(100% - 2*var(--margin));min-height:0;transform:translate(-50%,-50%)}
  .method.is-live .method-title{left:var(--margin);right:var(--margin);top:14%;width:auto;display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:start}
  .method.is-live .method-title p{margin-top:0;max-width:420px}
}
@media(min-width:901px) and (max-height:760px){.method.is-live .method-title{top:14%}.method.is-live .method-title p{margin-top:0}}
.finder-intro{display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:start}
.finder-intro p{max-width:none}
.finder-grid{align-items:stretch}
.finder .choices button{flex:1}
.recommendation{display:flex;flex-direction:column;align-items:flex-start}
.recommendation h3{margin-bottom:20px}
.recommendation p{margin-bottom:16px}
.recommendation .button{margin-top:auto}
.contact-socials{display:flex;align-items:center;gap:18px;margin-top:28px}
.contact-socials a{display:grid;place-items:center;width:48px;height:48px;color:var(--paper);transition:color .2s,transform .2s}
.contact-socials svg{width:28px;height:28px}
.contact-socials a:hover{color:var(--lime);transform:translateY(-3px)}
@media(max-width:900px){.finder-intro{gap:40px}}
@media(max-width:600px){.finder-intro{grid-template-columns:1fr;gap:0}.recommendation .button{margin-top:8px}.contact-socials{gap:14px}}

/* The closing frame opens from the center into the coastal hero. */
.intro-veil{z-index:100;pointer-events:auto;background:var(--navy);clip-path:polygon(evenodd,0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,50% 50%,50% 50%,50% 50%,50% 50%,50% 50%);transform:none;transition:clip-path 1.25s cubic-bezier(.76,0,.24,1),visibility 0s 1.25s}
.intro-veil[hidden],.intro-controls button[hidden]{display:none}
.intro-video{width:100%;height:100%;object-fit:contain;display:block}
.intro-finished{transform:none;clip-path:polygon(evenodd,0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,0% 0%,100% 0%,100% 100%,0% 100%,0% 0%);visibility:hidden;pointer-events:none}
.intro-controls{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));right:5vw;left:5vw;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.intro-controls button{position:static;min-height:44px;padding:10px 12px;font-size:12px;font-weight:400;background:rgba(0,34,51,.26);color:#ffffffc7;border:0;transition:color .2s,background .2s}
.intro-controls button:hover{background:rgba(0,34,51,.48);color:var(--white)}.intro-controls button:focus-visible{outline:1px solid white;outline-offset:3px}
.intro-running .hero-stage>.hero-object{visibility:hidden}
@media(prefers-reduced-motion:reduce){.intro-veil{display:none!important}}

.intro-video{transition:opacity .45s ease}
.intro-finished .intro-video,.intro-finished .intro-controls{opacity:0}
.intro-controls{transition:opacity .18s ease}
@supports not (clip-path:polygon(evenodd,0% 0%,100% 0%,100% 100%,0% 100%)){.intro-veil{transition:opacity 1s ease}.intro-finished{opacity:0;visibility:visible}}

/* Professional profile: quiet invitation, focused document reader. */
.about .about-profile{flex-direction:column;justify-content:center;align-items:flex-start;gap:32px}
.about-profile h2{margin:0}
.profile-link{display:inline-flex;align-items:center;gap:24px;min-height:48px;font-size:17px;font-weight:500;line-height:1.4;color:var(--navy);text-decoration:none}
.profile-link svg{width:36px;height:36px;padding:8px;border:1px solid #00223340;transition:background .25s,border-color .25s,transform .25s}
.profile-link:hover svg{background:var(--lime);border-color:var(--lime);transform:translate(2px,-2px)}
.profile-link:focus-visible{outline:2px solid var(--navy);outline-offset:6px}
.cv-open{overflow:hidden}
.cv-dialog{padding:0;border:0;margin:auto;width:min(960px,94vw);max-width:94vw;height:92dvh;max-height:1000px;color:var(--navy);background:var(--paper)}
.cv-dialog:not([open]){display:none}
.cv-dialog::backdrop{background:rgba(0,34,51,.88)}
.cv-dialog-shell{height:100%;display:flex;flex-direction:column}
.cv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 28px}
.cv-toolbar h2{font-size:22px;font-weight:500;line-height:1.2;letter-spacing:-.02em;margin:0}
.cv-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}
.cv-download,.cv-close{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;font:inherit;font-size:15px;line-height:1.2;cursor:pointer;transition:background .2s,color .2s}
.cv-download{padding:12px 18px;background:var(--navy);color:var(--paper)}
.cv-download:hover{background:var(--lime);color:var(--navy)}
.cv-close{width:44px;padding:10px;background:transparent;color:var(--navy)}
.cv-close:hover{background:#00223312}
.cv-actions svg{width:20px;height:20px}
.cv-document{width:100%;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:var(--slate);padding:32px;scrollbar-color:var(--steel) var(--slate);scrollbar-width:thin}
.cv-document img{display:block;width:100%;height:auto;max-width:720px;margin:0 auto}
.cv-document.is-zoomed img{width:1323px;max-width:none}
.cv-fallback{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:8px 28px;font-size:14px;line-height:1.5}
.cv-fallback a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.cv-fallback a:hover{text-decoration:underline;text-underline-offset:4px}
.cv-zoom{font:inherit;color:var(--navy);background:transparent;min-height:44px;padding:0;cursor:pointer;text-decoration:none}
.cv-zoom:hover{text-decoration:underline;text-underline-offset:4px}
.cv-dialog :is(a,button):focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.cv-document:focus-visible{outline:2px solid var(--lime);outline-offset:-4px}
@media(max-width:600px){
 .cv-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}
 .cv-toolbar{padding:16px;gap:12px;flex-wrap:wrap}
 .cv-toolbar h2{font-size:20px}
 .cv-actions{gap:8px}
 .cv-download{padding:12px;font-size:14px;gap:8px}
 .cv-document{padding:16px 8px}
 .cv-fallback{padding:8px 16px;font-size:13px}
 .profile-link{font-size:16px}
}
@media(max-width:380px){.cv-toolbar h2{font-size:18px}.cv-toolbar{gap:8px}.cv-actions{gap:0}.cv-download{padding:10px}}
@media(prefers-reduced-motion:no-preference){.cv-dialog[open]{animation:cv-arrive .32s cubic-bezier(.16,1,.3,1)}@keyframes cv-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.profile-link svg{transition:none}}

.about .about-logo{background:var(--navy)}.about .about-logo img{object-fit:contain;object-position:center;aspect-ratio:auto}

/* Isolate the supplied review footer from the site's page-footer styles. */
.rv .rv-meta{background:transparent;padding:12px 0 0;margin:0}

/* The review sheet covers the final service scene as the page advances. */
.service-review-journey{position:relative;isolation:isolate}
.service-review-journey>#servicios{position:sticky;top:var(--service-pin-top,0px);z-index:0}
.service-review-journey>.rv{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.service-review-journey>#servicios{position:relative;top:auto}}

/* Scroll-linked service film, retaining the dark treatment for readable copy. */
.service-stage>video.service-landscape{object-position:center;filter:brightness(.28)}
.services:not(.scene-services){position:relative;isolation:isolate;background:var(--navy)}
.services:not(.scene-services)>video.service-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.28);z-index:-1}

/* One photographic surface shared by contact and the closing signature. */
.contact-sheet{position:relative;isolation:isolate;overflow:hidden;z-index:1;background:var(--navy);color:var(--paper)}
.contact-sheet::before{content:'';position:absolute;inset:0;background:rgba(0,34,51,.84);z-index:-1;pointer-events:none}
.contact-sheet .contact{background:transparent;isolation:auto;overflow:visible}
.contact-sheet .contact::before{display:none}
.contact-sheet .site-footer{position:relative;background:transparent;color:var(--paper);--focus:var(--lime)}
.site-footer .footer-logo-slot img{filter:brightness(0) invert(1)}

#form-status:empty{display:none}
