/* Distinct editorial openings, grounded in Pinecrest's team-first brand. */
:root{--blue:#203e83;--cyan:#00bfed;--paper:#fff}
.header{background:#0a1770;border-bottom:1px solid #ffffff18}
.header nav a{font-size:14px;letter-spacing:0}
.header nav a[aria-current="page"]{color:#8adff3}
.chapter-hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:5%;align-items:center;padding:64px var(--gutter) 72px;min-height:660px;overflow:hidden;background:linear-gradient(120deg,#0a1770,#203e83 68%,#225294)}
.chapter-hero .page-hero-copy{width:100%;min-width:0}
.chapter-hero .eyebrow{font-size:14px;letter-spacing:.09em;margin-bottom:24px}
.chapter-hero h1{font-size:clamp(42px,4.5vw,80px);line-height:1.05;letter-spacing:-.045em;text-wrap:balance;max-width:14ch}
.chapter-hero .headline-secondary{display:block;font-size:.65em;line-height:1.15;letter-spacing:-.03em;margin-top:20px;color:#8adff3;max-width:22ch}
.chapter-hero .page-hero-copy>p{font-size:clamp(17px,1.3vw,21px);line-height:1.55;letter-spacing:0;max-width:46ch;margin-top:28px;color:#dce7f8;text-wrap:pretty}
.chapter-hero .text-link{font-size:16px;margin-top:26px;gap:30px;padding-bottom:9px}
.chapter-visual{position:relative;min-width:0;width:100%;isolation:isolate}
.story-visual{align-self:center}
.story-frames{height:460px;position:relative}
.story-frame{position:absolute;margin:0;background:#fff;color:#203e83;padding:8px;box-shadow:0 22px 50px #06144930}
.story-frame img{width:100%;height:calc(100% - 32px);object-fit:cover;object-position:center 35%}
.story-frame figcaption{height:32px;display:flex;align-items:center;padding:4px 3px 0;font-size:14px;letter-spacing:.04em}
.story-early{left:0;top:14%;width:54%;height:76%;transform:rotate(-5deg)}
.story-now{right:0;top:0;width:65%;height:72%;transform:rotate(4deg)}
.story-chapters{display:flex;justify-content:space-between;gap:4px;border-top:1px solid #b6e6f870;padding-top:18px;margin-top:5px}
.story-chapters a{font-size:14px;padding:8px 1px;color:#dce7f8;transition:color .2s}
.story-chapters a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.timeline{padding-top:45px}
.timeline-year{scroll-margin-top:32px}
.year-story>p{font-size:clamp(19px,1.6vw,26px);line-height:1.55;letter-spacing:-.01em;max-width:65ch}
@media(min-width:1600px){.chapter-hero{padding-top:80px;padding-bottom:90px;min-height:730px}.story-frames{height:520px}}
@media(max-width:1100px) and (min-width:761px){.chapter-hero{gap:4%;padding-top:48px;padding-bottom:58px;min-height:610px}.chapter-hero h1{font-size:clamp(40px,4.9vw,54px)}.story-frames{height:390px}}
@media(max-width:760px){.chapter-hero{grid-template-columns:1fr;gap:34px;min-height:0;padding:36px 24px 40px}.chapter-hero h1{font-size:clamp(38px,8.9vw,62px);max-width:17ch}.chapter-hero .eyebrow{margin-bottom:20px}.chapter-hero .headline-secondary{font-size:.64em;margin-top:14px;max-width:26ch}.chapter-hero .page-hero-copy>p{font-size:16px;line-height:1.5;margin-top:20px;max-width:50ch}.story-frames{height:clamp(255px,66vw,410px)}.story-chapters{padding-top:10px}.story-chapters a{font-size:12px}.story-frame{padding:5px}.story-frame figcaption{font-size:12px}.timeline{padding-top:20px}.year-story>p{font-size:19px}}

/* People: one large portrait paired with two smaller, clickable portraits. */
.chapter-people{background:#0a1770}
.chapter-people h1{max-width:16ch}
.people-mosaic{display:grid;grid-template-columns:1.13fr 1fr;grid-template-rows:1fr 1fr;gap:14px;height:510px}
.mosaic-person{min-width:0;min-height:0;position:relative}
.mosaic-person:first-child{grid-row:1/3;margin-top:48px;margin-bottom:38px}
.mosaic-photo{display:block;width:100%;height:100%;text-align:left;position:relative}
.mosaic-photo .person-image{width:100%;height:calc(100% - 37px);aspect-ratio:auto;object-fit:cover;object-position:50% 0;background:#e7edf3}
.mosaic-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;height:37px;color:#e8f2ff;font-size:14px;letter-spacing:0;padding-top:5px}
.mosaic-caption>span{color:#8adff3}
.founders{background:#0a1770;padding-top:15px}
.founder-picture{height:clamp(360px,34vw,540px);max-width:1000px}
.founder-bios{max-width:1200px;gap:6%}
.founder-bio summary{font-size:clamp(25px,2.5vw,40px)}
.people-section{padding-top:72px}
.people-section h2{font-size:clamp(42px,5vw,78px)}
.people-grid{align-items:start}
.person summary{font-size:22px;line-height:1.2}
.person .bio{max-width:60ch}
.person .bio p{line-height:1.6}

/* Services: the service intake visualization becomes the opening itself. */
.chapter-services{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:2%;background:linear-gradient(120deg,#0a1770,#163972)}
.chapter-services .service-visual{display:block;padding:0;overflow:visible;background:none}
.chapter-services .spiral-stage{height:480px;width:100%;margin:0;--icon-size:62px;--hub-size:102px}
.chapter-services .spiral-center{font-size:16px}
.chapter-services .spiral-center img{width:31px;height:35px}
.chapter-services .service-visual-caption{text-align:center;font-size:16px;line-height:1.5;letter-spacing:0;color:#cbdcf0;margin:0;max-width:none}
.service-visual-caption strong{display:block;font-weight:500;color:#fff;font-size:clamp(24px,2.4vw,36px);letter-spacing:-.025em}

/* Careers: an offset triptych with counter-moving image windows. */
.chapter-careers{background:linear-gradient(115deg,#203e83,#0a1770)}
.career-visual{height:500px}
.career-window{position:absolute;overflow:hidden;background:#e4eaf0}
.career-window img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.career-window-main{width:57%;height:78%;left:6%;top:4%;z-index:2}
.career-window-back{width:38%;height:57%;right:0;top:0;z-index:1}
.career-window-front{width:42%;height:50%;right:2%;bottom:2%;z-index:3;border:7px solid #203e83}
.career-outline{position:absolute;bottom:6%;left:-1%;z-index:4;font-size:clamp(46px,6vw,95px);font-weight:600;letter-spacing:-.05em;line-height:1;color:transparent;-webkit-text-stroke:1px #fff;pointer-events:none}
.careers-photo-strip{padding-top:45px;padding-bottom:50px}
.careers-photo-strip img{height:330px;object-position:50% 20%}
.careers-photo-strip img:nth-child(even){height:300px}
.careers-list{gap:6%;padding-top:38px;scroll-margin-top:32px}
.job h3{font-size:clamp(22px,2.1vw,30px);line-height:1.2}

/* Contact: converging signal paths beside a clear, light form surface. */
.chapter-contact{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:8%;padding:60px var(--gutter) 72px;min-height:0;align-items:start;background:linear-gradient(115deg,#0a1770,#203e83)}
.chapter-contact .eyebrow{display:block;font-size:14px;letter-spacing:.09em;margin-bottom:25px}
.chapter-contact h1{font-size:clamp(44px,4.9vw,82px);line-height:1.05;letter-spacing:-.045em;margin:0;text-wrap:balance}
.chapter-contact .headline-secondary{display:block;font-size:.68em;color:#8adff3;margin-top:20px}
.contact-visual{margin-top:26px}
.contact-signal{display:block;width:100%;max-width:520px;height:auto;color:#8adff3;overflow:visible}
.signal-track{stroke-width:1;opacity:.25}
.signal-flow{stroke-width:2;stroke-dasharray:25 280;animation:connection-flow 9s linear infinite}
@keyframes connection-flow{to{stroke-dashoffset:-610}}
.contact-direct{padding-top:20px;border-top:1px solid #ffffff35;margin-top:14px;max-width:480px}
.contact-direct a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;color:#fff;font-size:clamp(16px,1.5vw,22px);overflow-wrap:anywhere}
.contact-direct a:hover{color:#8adff3}
.contact-direct a>span{color:#8adff3}
.contact-direct p{font-size:14px;line-height:1.6;color:#cedcf0;margin-top:18px}
.chapter-contact #contact-form{background:#fff;color:#203e83;padding:34px 34px 28px}
.chapter-contact #contact-form label{font-size:14px;color:#203e83}
.chapter-contact #contact-form input,.chapter-contact #contact-form textarea{color:#142956;border-color:#203e8355;font-size:19px;padding:10px 0;margin-bottom:25px}
.chapter-contact #contact-form textarea{min-height:160px}
.chapter-contact #contact-form .submit{background:#203e83;color:white;font-size:17px;padding:18px 20px}
.chapter-contact #contact-form .submit:hover{background:#0a1770}
.chapter-contact #contact-form .form-note{color:#526281;font-size:13px}
.motion-paused .signal-flow,.chapter-offscreen .signal-flow{animation-play-state:paused}
@media(min-width:1600px){.people-mosaic{height:590px}.career-visual{height:560px}.chapter-services .spiral-stage{height:540px}}
@media(max-width:1100px) and (min-width:761px){.header nav{gap:18px}.header nav a{font-size:13px}.people-mosaic{height:420px;gap:10px}.mosaic-caption{font-size:12px}.chapter-services .spiral-stage{height:390px;--icon-size:55px;--hub-size:90px}.career-visual{height:415px}.chapter-contact{gap:5%;padding-top:48px}.chapter-contact #contact-form{padding:26px}.chapter-contact h1{font-size:46px}}
@media(max-width:760px){
 .chapter-people h1{max-width:19ch}.people-mosaic{height:330px;max-width:510px;margin:auto;gap:12px}.mosaic-person:first-child{margin-top:25px;margin-bottom:24px}.mosaic-caption{font-size:12px;height:32px}.mosaic-photo .person-image{height:calc(100% - 32px)}
 .founders{padding-top:15px}.founder-picture{height:340px;width:100%}.people-section{padding-top:55px}.people-section h2{font-size:43px}
 .chapter-services{grid-template-columns:1fr;gap:15px}.chapter-services .spiral-stage{height:clamp(480px,100vw,740px);--icon-size:51px;--hub-size:82px}.chapter-services .service-visual-caption{font-size:14px}.service-visual-caption strong{font-size:26px}
 .career-visual{height:clamp(290px,80vw,430px);max-width:540px;margin:auto}.career-outline{font-size:15vw}.career-window-front{border-width:5px}.careers-photo-strip img{height:260px}.careers-photo-strip img:nth-child(even){height:235px}
 .chapter-contact{grid-template-columns:1fr;gap:35px;padding:36px 24px 45px}.chapter-contact h1{font-size:clamp(40px,9.8vw,66px)}.contact-visual{margin-top:16px}.contact-signal{max-width:330px}.contact-direct{padding-top:8px}.contact-direct a{font-size:17px}.contact-direct p{font-size:14px;margin-top:10px}.chapter-contact #contact-form{padding:26px 22px}.chapter-contact #contact-form textarea{min-height:140px}
}
@media(prefers-reduced-motion:reduce){.signal-flow{animation:none}}

/* Careers portraits travel around a circle while staying upright. */
.career-orbit{--orbit-radius:clamp(82px,11.8vw,154px);--orbit-photo-width:clamp(104px,11vw,164px);--orbit-duration:36s}
.career-orbit:before{content:'';position:absolute;left:50%;top:50%;width:calc(var(--orbit-radius)*2);height:calc(var(--orbit-radius)*2);transform:translate(-50%,-50%);border:1px solid #8adff34d;border-radius:50%;pointer-events:none}
.career-orbit-rotor,.career-orbit-arm{position:absolute;inset:0}
.career-orbit-rotor{animation:career-orbit-turn var(--orbit-duration) linear infinite;will-change:transform}
.career-orbit-arm{transform:rotate(var(--orbit-start));pointer-events:none}
.career-orbit-position{position:absolute;left:50%;top:50%;width:var(--orbit-photo-width);height:calc(var(--orbit-photo-width)*1.15);transform:translate(-50%,-50%) translateY(calc(-1*var(--orbit-radius)))}
.career-orbit-photo{width:100%;height:100%;overflow:hidden;border:5px solid #fff;background:#e7edf3;box-shadow:0 12px 35px #060e3d30;transform:rotate(calc(-1*var(--orbit-start)));animation:career-orbit-upright var(--orbit-duration) linear infinite;pointer-events:auto;will-change:transform}
.career-orbit-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.career-orbit .career-outline{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);font-size:clamp(32px,3.3vw,49px);white-space:nowrap;z-index:0;-webkit-text-stroke:1px #8adff3}
.career-orbit-rotor{z-index:1}
@keyframes career-orbit-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes career-orbit-upright{from{transform:rotate(calc(-1*var(--orbit-start)))}to{transform:rotate(calc(-360deg - var(--orbit-start)))}}
.motion-paused .career-orbit-rotor,.motion-paused .career-orbit-photo,
.career-orbit.chapter-offscreen .career-orbit-rotor,.career-orbit.chapter-offscreen .career-orbit-photo,
.career-orbit:has(.career-orbit-photo:hover) .career-orbit-rotor,.career-orbit:has(.career-orbit-photo:hover) .career-orbit-photo{animation-play-state:paused}

/* People shows shared team moments instead of repeating directory portraits. */
.people-moments{height:490px;max-width:680px;margin:auto}
.people-moment{position:absolute;margin:0;overflow:hidden;border:7px solid #fff;background:#fff}
.people-moment-main{left:0;top:0;width:91%;aspect-ratio:1.4}
.people-moment-wide{right:0;bottom:0;width:87%;aspect-ratio:1.82;box-shadow:0 16px 35px #030b3230}
.candid-team-image{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .45s ease}
.people-moment:hover .candid-team-image{filter:grayscale(0)}
@media(min-width:1600px){.people-moments{height:560px}}
@media(max-width:1100px) and (min-width:761px){.people-moments{height:390px}}
@media(max-width:760px){.career-orbit{--orbit-radius:clamp(68px,21vw,120px);--orbit-photo-width:clamp(88px,27vw,132px)}.career-orbit-photo{border-width:4px}.career-orbit .career-outline{font-size:32px}.people-moments{height:clamp(295px,84vw,480px);max-width:520px}.people-moment{border-width:5px}}
@media(prefers-reduced-motion:reduce){.career-orbit-rotor,.career-orbit-photo{animation:none;will-change:auto}.candid-team-image{transition:none}}

/* The official mark follows the pointer; a ripple stays at the click location. */
