/* An editorial timeline: native scroll, alternating pictures and stories. */
.content-v2 .group-history { padding-block:clamp(90px,8vw,136px); background:#fff; color:#141414; }
.history-introduction { display:grid; grid-template-columns:1fr 1fr; gap:clamp(72px,9vw,144px); align-items:start; margin-bottom:80px; }
.history-introduction .eyebrow { margin-bottom:22px; }
.content-v2 .history-introduction p { max-width:32ch; font-size:17px; line-height:1.6; }
.history-introduction h2 { font-size:clamp(32px,3.2vw,48px); line-height:1.13; max-width:21ch; }
.history-explorer,.history-stage { position:relative; min-width:0; }
.history-axis { position:absolute; left:50%; top:0; bottom:0; width:1px; background:#d5d5d5; pointer-events:none; }
.history-axis::before,.history-axis::after { content:''; position:absolute; left:50%; width:7px; height:7px; border-radius:50%; background:#23ADE3; transform:translateX(-50%); }
.history-axis::before { top:0; }
.history-axis::after { bottom:0; }
.history-progress { position:absolute; inset:0; display:block; background:#23ADE3; transform:scaleY(var(--history-progress,0)); transform-origin:top; }
.history-panel { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(72px,9vw,144px); align-items:center; padding-block:60px 80px; min-height:620px; scroll-margin-top:calc(var(--page-nav-offset,100px) + 24px); }
.history-panel + .history-panel { margin-top:36px; }
.history-node { position:absolute; top:50%; left:50%; width:13px; height:13px; margin:-6px 0 0 -6px; border-radius:50%; background:#aaaaaa; transition:background-color 400ms,transform 500ms cubic-bezier(.2,.65,.3,1); }
.history-panel.is-active .history-node { background:#23ADE3; transform:scale(1.35); }
.history-story { grid-column:2; grid-row:1; min-width:0; }
.history-portrait { grid-column:1; grid-row:1; min-width:0; margin:0; padding:0 0 0 24px; }
.history-panel:nth-of-type(even) .history-story { grid-column:1; }
.history-panel:nth-of-type(even) .history-portrait { grid-column:2; padding:0 24px 0 0; }
.history-chapter { display:block; color:#606060; font-size:14px; line-height:1.5; letter-spacing:.025em; }
.history-year-mask { margin:10px 0 16px; }
.history-year { display:table; font:700 clamp(92px,10vw,154px)/.94 var(--heading); letter-spacing:-.065em; color:var(--electric-blue); }
.history-present .history-year { font-size:clamp(42px,4.6vw,68px); line-height:1.1; letter-spacing:-.05em; }
.content-v2 .group-history .history-copy h3 { color:#141414; font-size:clamp(25px,2.4vw,35px); line-height:1.18; letter-spacing:-.035em; margin:0; }
.content-v2 .group-history .history-copy p { color:#5a5a5a; font-size:17px; line-height:1.7; margin:22px 0 0; text-wrap:pretty; }
.history-copy .button { margin-top:26px; }
.history-photo { --history-bevel:36px; position:relative; isolation:isolate; aspect-ratio:1; background:transparent; }
.history-photo::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(140deg,#23ADE3,#bce8f8); transform:translate(-24px,24px); transition:background-color 500ms; }
.history-photo::before,.history-photo-surface { border-radius:6px 0 6px 60px; clip-path:polygon(0 0,calc(100% - var(--history-bevel)) 0,100% var(--history-bevel),100% 100%,0 100%); }
.history-panel:nth-of-type(even) .history-photo::before { transform:translate(24px,24px); }
.history-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; transform:scale(1); transition:transform 800ms cubic-bezier(.2,.65,.3,1),filter 650ms; filter:grayscale(.65); }
.history-panel.is-active .history-photo img { filter:grayscale(0); }
.history-photo--portrait img { object-position:center 24%; }
.history-photo--cafe img { object-position:center 26%; }
.history-photo--team img { object-position:48% center; }
.history-portrait figcaption { margin:42px 0 0; color:#666666; font-size:13px; line-height:1.5; }
/* Clip only the photo plane, keeping the offset blue slab outside its frame. */
.history-photo-surface { position:absolute; inset:0; overflow:hidden; }
.history-photo-reflection { position:absolute; z-index:2; inset:-30% -50%; pointer-events:none; opacity:0; background:linear-gradient(112deg,transparent 27%,rgba(225,246,255,.05) 35%,rgba(255,255,255,.32) 49%,rgba(231,250,255,.16) 60%,transparent 72%); transform:translateX(-70%); }
@media(any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) {
 html[data-input-mode="pointer"] .history-photo:hover img { transform:scale(1.045); }
 html[data-input-mode="pointer"] .history-photo:hover .history-photo-reflection { animation:history-shine 950ms cubic-bezier(.2,.65,.3,1) 1; }
}
@keyframes history-shine { 0%{opacity:0;transform:translateX(-70%)} 15%{opacity:1} 75%{opacity:1} 100%{opacity:0;transform:translateX(70%)} }
@media(max-width:1000px) {
 .history-introduction,.history-panel { gap:64px; }
 .history-panel { min-height:540px; padding-block:45px 65px; }
 .content-v2 .group-history .history-copy p { font-size:16px; }
 .history-year { font-size:100px; }
}
@media(max-width:760px) {
 .content-v2 .group-history { padding-block:68px 76px; }
 .history-introduction { grid-template-columns:1fr; gap:30px; margin-bottom:44px; }
 .history-introduction h2 { font-size:34px; max-width:22ch; }
 .history-introduction .eyebrow { margin-bottom:16px; }
 .history-axis { left:5px; }
 .history-panel { grid-template-columns:minmax(0,1fr); gap:32px; padding:34px 0 30px 34px; min-height:0; }
 .history-panel + .history-panel { margin-top:42px; }
 .history-panel .history-story,.history-panel:nth-of-type(even) .history-story { grid-column:1; grid-row:1; }
 .history-panel .history-portrait,.history-panel:nth-of-type(even) .history-portrait { grid-column:1; grid-row:2; padding:0 16px 0 0; }
 .history-node { top:74px; left:5px; width:11px; height:11px; margin-left:-5px; }
 .history-year { font-size:86px; }
 .history-present .history-year { font-size:42px; }
 .content-v2 .group-history .history-copy h3 { font-size:27px; }
 .history-photo { max-width:450px; }
 .history-photo { --history-bevel:26px; }
 .history-photo::before,.history-photo-surface { border-bottom-left-radius:44px; }
 .history-photo::before,.history-panel:nth-of-type(even) .history-photo::before { transform:translate(16px,16px); }
 .history-portrait figcaption { margin-top:30px; }
 .history-photo img { filter:none; }
}
@media(forced-colors:active) {
 .history-year { background:none; -webkit-text-fill-color:CanvasText; color:CanvasText; }
}
@media(prefers-reduced-motion:reduce) {
 .history-photo-reflection { display:none; }
 .history-photo img,.history-photo::before,.history-node,.history-year { transition:none; }
 .history-photo img { filter:none; }
}
