/* Photo edges follow the supplied logo ridge; scroll transforms stay on the outer figures. */
:root{--brand-photo-crop:polygon(0.000% 4.000%,1.562% 3.555%,3.125% 3.217%,4.688% 3.016%,6.250% 2.893%,7.812% 2.809%,9.375% 2.759%,10.938% 2.708%,12.500% 2.608%,14.062% 2.488%,15.625% 2.411%,17.188% 2.364%,18.750% 2.278%,20.312% 2.100%,21.875% 1.872%,23.438% 1.693%,25.000% 1.593%,26.562% 1.525%,28.125% 1.410%,29.688% 1.179%,31.250% 0.876%,32.812% 0.623%,34.375% 0.446%,35.938% 0.317%,37.500% 0.230%,39.062% 0.180%,40.625% 0.149%,42.188% 0.124%,43.750% 0.100%,45.312% 0.078%,46.875% 0.077%,48.438% 0.128%,50.000% 0.228%,51.562% 0.323%,53.125% 0.379%,54.688% 0.418%,56.250% 0.467%,57.812% 0.540%,59.375% 0.658%,60.938% 0.832%,62.500% 1.010%,64.062% 1.093%,65.625% 1.074%,67.188% 1.040%,68.750% 1.036%,70.312% 1.055%,71.875% 1.089%,73.438% 1.139%,75.000% 1.222%,76.562% 1.389%,78.125% 1.666%,79.688% 1.967%,81.250% 2.213%,82.812% 2.422%,84.375% 2.573%,85.938% 2.635%,87.500% 2.663%,89.062% 2.713%,90.625% 2.794%,92.188% 2.914%,93.750% 3.130%,95.312% 3.468%,96.875% 3.791%,98.438% 3.955%,100.000% 4.000%,100.000% 96.600%,95.833% 97.095%,91.667% 97.547%,87.500% 97.956%,83.333% 98.322%,79.167% 98.645%,75.000% 98.925%,70.833% 99.162%,66.667% 99.356%,62.500% 99.506%,58.333% 99.614%,54.167% 99.678%,50.000% 99.700%,45.833% 99.678%,41.667% 99.614%,37.500% 99.506%,33.333% 99.356%,29.167% 99.162%,25.000% 98.925%,20.833% 98.645%,16.667% 98.322%,12.500% 97.956%,8.333% 97.547%,4.167% 97.095%,0.000% 96.600%);--detail-time:420ms;--photo-time:1100ms;--detail-ease:cubic-bezier(.22,.68,.15,1)}

.brand-photo-surface{position:relative;width:100%;height:100%;overflow:hidden;clip-path:var(--brand-photo-crop);isolation:isolate}
.brand-photo-surface::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#071e3310,transparent 22%,transparent 66%,#071e33bf)}
.brand-photo-surface>img{width:100%;height:100%;object-fit:cover;transform:scale(1);transition:transform var(--photo-time) var(--detail-ease),filter var(--photo-time) var(--detail-ease)}
.brand-photo-trace{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;fill:none;stroke:#b4c7c7;stroke-width:.7;opacity:.38}
.brand-photo-trace path{vector-effect:non-scaling-stroke}
.portfolio-scene{background:transparent}
.portfolio-scene::after,.space-panel figure::after,.growth-visual::after{display:none}
.portfolio-scene .brand-photo-surface::after{background:linear-gradient(0deg,#081a27ed,transparent 82%)}
.portfolio-scene:is(:hover,:focus-visible){box-shadow:none;border-color:#8db9c955}
.portfolio-scene:hover img,.space-panel figure:hover img,.growth-visual:hover img{transform:scale(1);filter:saturate(.82)}
.growth-visual{-webkit-mask-image:none;mask-image:none}

/* One scale, one arrow distance, and one timing family across input methods. */
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.back-top,.chapter-next,.space-tabs button,.network-choices button,.chapter-browse,.chapter-directory-list button){touch-action:manipulation;transition:color var(--detail-time) var(--detail-ease),border-color var(--detail-time) var(--detail-ease),background-color var(--detail-time) var(--detail-ease),translate var(--detail-time) var(--detail-ease)}
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.back-top,.chapter-next)>:is(span[aria-hidden],b),.scene-arrow{display:inline-block;translate:var(--arrow-x,0px) var(--arrow-y,0px);transition:translate var(--detail-time) var(--detail-ease),border-color var(--detail-time) var(--detail-ease),background-color var(--detail-time) var(--detail-ease)}
.text-action:hover span{transform:none}
.circle-action:hover b{transform:none}
:is(.text-action,.header-contact,.regather){position:relative;border-bottom-color:#9ab9c445;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-size:0% 1px;background-position:0 100%;transition:background-size var(--detail-time) var(--detail-ease),color var(--detail-time) var(--detail-ease),translate var(--detail-time) var(--detail-ease)}
:is(.text-action,.header-contact,.regather):focus-visible{background-size:100% 1px}
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.portfolio-scene):focus-visible{--arrow-x:3px;--arrow-y:-3px}
.regather:focus-visible{--arrow-x:-3px}
.chapter-next:focus-visible{--arrow-x:0px;--arrow-y:3px}
.back-top:focus-visible{--arrow-y:-3px}
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.back-top,.chapter-next,.chapter-browse,.chapter-directory-list button):active{translate:0 1px}
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.portfolio-scene):active{--arrow-x:2px;--arrow-y:-2px}
:is(.space-tabs,.network-choices) button{position:relative}
:is(.space-tabs,.network-choices) button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:#c6dbe0;transform:scaleX(0);transform-origin:left;transition:transform var(--detail-time) var(--detail-ease);pointer-events:none}
:is(.space-tabs,.network-choices) button:is([aria-selected="true"],:focus-visible)::after{transform:scaleX(1)}
:is(.portfolio-scene:focus-visible,.portfolio-scene:active) img,.space-panel:focus-within .brand-photo-surface>img,.growth-layout:focus-within .brand-photo-surface>img{transform:scale(1.035)}
:is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.back-top,.chapter-next,.chapter-stops button,.chapter-browse,.chapter-directory-list button):focus-visible{outline:1px solid #d2b795;outline-offset:5px}
@media(hover:hover) and (pointer:fine){
  :is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.portfolio-scene):hover{--arrow-x:3px;--arrow-y:-3px}
  .regather:hover{--arrow-x:-3px}
  .chapter-next:hover{--arrow-x:0px;--arrow-y:3px}
  .back-top:hover{--arrow-y:-3px}
  :is(.text-action,.header-contact,.regather):hover{background-size:100% 1px}
  :is(.space-tabs,.network-choices) button:hover::after{transform:scaleX(1)}
  .portfolio-scene:hover img,.space-panel figure:hover img,.growth-visual:hover img{transform:scale(1.035);filter:saturate(.92)}
}

/* The lower brush arc becomes the quiet boundary above the chapter controls. */
.has-chapters .chapter-scene:not(.mountain-story){padding-bottom:125px}
.has-chapters .chapter-controls{border-top:0;padding-top:22px;gap:22px;background:none}
.chapter-rule{position:absolute;left:0;right:0;top:-6px;width:100%;height:22px;fill:none;stroke:#a3c1cc;stroke-width:.65;opacity:.34;pointer-events:none}
.chapter-rule path{vector-effect:non-scaling-stroke}
.chapter-current{display:block;min-width:182px}
.chapter-caption{display:flex;align-items:center;gap:16px;font-size:11px;line-height:1.5}
.chapter-name{color:#d5e0df;letter-spacing:.1em}
.chapter-number{font-size:10px;color:#88a8b8}
.chapter-reading{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:9px;line-height:1;color:#8eacbc}
.chapter-reading-track{position:relative;width:62px;height:1px;background:#a5c5d135}
.chapter-reading-track i{display:block;height:100%;background:#d8c9a8;transform-origin:left;transform:scaleX(var(--reading-progress,0))}
.chapter-percent{font:9px/1 Georgia,serif;font-variant-numeric:tabular-nums;min-width:27px;color:#adc3cc}
.chapter-stops{gap:10px;align-self:center}
.chapter-stops button{min-width:44px;min-height:44px;justify-content:center;padding:8px 0;position:relative;gap:6px;touch-action:manipulation}
.chapter-stops button i{width:25px}
.chapter-stops button i::before{content:"";position:absolute;inset:-3px 0;border-top:1px solid #b2cbd13b;opacity:0;scale:.6 1;transition:opacity var(--detail-time),scale var(--detail-time);pointer-events:none}
.chapter-stops button:is(:hover,:focus-visible) i::before{opacity:1;scale:1}
.chapter-next{min-height:44px;min-width:125px;justify-content:flex-end}
.chapter-browse{display:none;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;padding:7px 0;background:none;font-size:10px;color:#bbced4}
.chapter-browse i{position:relative;width:12px;height:8px;border-block:1px solid #9ab9c5}
.chapter-browse i::after{content:"";position:absolute;left:0;right:3px;top:3px;border-top:1px solid #9ab9c5}
.chapter-browse[aria-expanded="true"]{color:#ead8b8}
.chapter-preview{position:absolute;left:var(--preview-left,50%);bottom:calc(100% + 13px);translate:-50% 0;width:354px;display:grid;grid-template-columns:116px 1fr;gap:18px;align-items:center;padding:14px 25px 14px 14px;background:#092438f5;border:1px solid #88adbd3d;box-shadow:0 14px 38px #020e2059;backdrop-filter:blur(18px);color:#cddcdf;animation:chapter-preview-in var(--detail-time) var(--detail-ease)}
.chapter-preview::after{content:"";position:absolute;left:0;right:0;bottom:-15px;height:15px}
.chapter-preview img{width:116px;height:85px;object-fit:cover;clip-path:var(--brand-photo-crop);filter:saturate(.75)}
.chapter-preview img.is-mark{object-fit:contain;padding:14px;background:#0c2c37}
.chapter-preview small{display:block;font-size:8px;line-height:1.6;letter-spacing:.08em;color:#9bb3bd;margin-bottom:7px}
.chapter-preview strong{font:400 20px/1.4 var(--serif);color:#e3dfcf}
.chapter-preview p{font-size:10px;line-height:1.8;margin-top:6px;color:#9cb6c3}
.preview-arrow{position:absolute;right:12px;top:13px;color:#c9b390;font-size:14px}
.chapter-directory{position:absolute;left:0;right:0;bottom:calc(100% + 15px);max-width:580px;margin-inline:auto;max-height:calc(100svh - 175px);overflow-y:auto;overscroll-behavior:contain;background:#092438fa;border:1px solid #82a6b83d;box-shadow:0 18px 60px #020d1d66;backdrop-filter:blur(18px);padding:20px;animation:chapter-preview-in var(--detail-time) var(--detail-ease)}
.chapter-directory-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid #99b7c12b}
.chapter-directory-heading p{font:400 19px/1.5 var(--serif);color:#e1e1d5}
.chapter-directory-heading p span{display:block;font:9px/1.7 var(--sans);margin-top:4px;color:#91adbb}
.chapter-directory-close{display:grid;place-items:center;width:36px;height:36px;margin-right:-8px;background:none;border:0;color:#b0c6d1;font:25px/1 var(--sans)}
.chapter-directory-list{display:grid;gap:3px;margin-top:10px}
.chapter-directory-list button{display:grid;grid-template-columns:54px 1fr 19px;gap:14px;align-items:center;text-align:left;min-height:65px;width:100%;background:none;border:0;border-bottom:1px solid #82a8ba16;padding:8px;color:#b7ced6}
.chapter-directory-list img{width:54px;height:42px;object-fit:cover;clip-path:var(--brand-photo-crop);filter:saturate(.75)}
.chapter-directory-list img.is-mark{object-fit:contain;padding:5px;background:#102d38}
.chapter-directory-list strong{display:block;font:400 16px/1.5 var(--serif)}
.chapter-directory-list small{display:block;font:9px/1.7 var(--sans);color:#8daabb;margin-top:2px}
.chapter-directory-list b{font:9px/1 Georgia,serif;color:#8ca9b8}
.chapter-directory-list button[aria-current]{background:#8bb6c510;color:#ecd9b9}
.chapter-directory-list button:is(:hover,:focus-visible){background:#94bfcc18;color:#f1e5cf}
.chapter-directory-list button:active{background:#94bfcc28}
@keyframes chapter-preview-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}

/* The final brush signature closes the same composition. */
.footer{position:relative;isolation:isolate}
.brand-footer-rule{position:absolute;top:-19px;left:6%;width:88%;height:48px;fill:none;stroke:#9bbbc7;stroke-width:.65;opacity:.3;pointer-events:none}
.brand-footer-rule path{vector-effect:non-scaling-stroke}
.footer-top{border-top:0}
.footer-signature{text-align:center}
.footer-signature p{font-size:18px;letter-spacing:.12em}
.brand-footer-signature{display:block;width:130px;height:auto;margin:11px auto 0;fill:none;stroke-width:.7;pointer-events:none}
.signature-ridge{stroke:#bc7b62;opacity:.7}
.signature-sea{stroke:#8cb3be;opacity:.7}

@media(max-width:1000px){
  .chapter-current{min-width:155px}
  .chapter-caption{gap:11px;font-size:10px}
  .chapter-stops{gap:4px}.chapter-stops button{min-width:40px;gap:4px}.chapter-stops button i{width:20px}
  .chapter-next{min-width:98px;gap:15px}
}
@media(max-width:850px){
  .chapter-stops{display:none}.chapter-browse{display:flex}.chapter-preview{display:none!important}
}
@media(max-width:650px){
  .portfolio-scene .brand-photo-surface::after{background:linear-gradient(90deg,#081a27df,transparent 95%)}
  .brand-photo-trace{opacity:.28}
  .growth-visual{-webkit-mask-image:none;mask-image:none}
  .has-chapters .chapter-controls{padding-top:20px;gap:12px;bottom:18px}
  .chapter-rule{top:-2px;height:16px}
  .chapter-current{min-width:0;width:126px;flex-shrink:0}
  .chapter-caption{gap:8px;font-size:10px}.chapter-number{font-size:8px}.chapter-name{letter-spacing:0}
  .chapter-reading{gap:7px;font-size:9px;margin-top:8px}.chapter-reading-track{width:40px}.chapter-percent{font-size:9px;min-width:24px}
  .chapter-browse{font-size:9px;gap:6px;white-space:nowrap}
  .chapter-next{min-width:0;font-size:10px;gap:9px}
  .chapter-directory{padding:15px;bottom:calc(100% + 12px);max-height:calc(100svh - 165px)}
  .chapter-directory-heading{padding-bottom:10px}.chapter-directory-heading p{font-size:18px}
  .chapter-directory-list button{grid-template-columns:46px 1fr 14px;gap:11px;min-height:61px;padding:6px}
  .chapter-directory-list img{width:46px;height:37px}.chapter-directory-list strong{font-size:15px}.chapter-directory-list small{font-size:8px}
  .footer-signature{grid-column:1;grid-row:2;text-align:left}
  .footer-signature p{font-size:15px}.brand-footer-signature{width:104px;margin:10px 0 0}
}
@media(max-width:360px){.chapter-next span{display:none}.chapter-next{min-width:27px}.chapter-controls{column-gap:10px}.chapter-directory-list small{font-size:8px;letter-spacing:-.02em}}
.motion-paused .brand-photo-surface>img{transform:none!important}
.motion-paused :is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.portfolio-scene,.back-top,.chapter-next,.chapter-browse,.chapter-directory-list button){translate:none!important;--arrow-x:0px!important;--arrow-y:0px!important}
.motion-paused .chapter-preview,.motion-paused .chapter-directory{animation:none!important}
@media(prefers-reduced-motion:reduce){
  .brand-photo-surface>img{transform:none!important}
  :is(.outline-action,.text-action,.header-contact,.regather,.circle-action,.portfolio-scene,.back-top,.chapter-next){translate:none!important;--arrow-x:0px!important;--arrow-y:0px!important}
}
