/* Section 02 only: a bounded, wider stage with stable carousel geometry. */
.hp-showcase-carousel { position:relative; width:min(1560px,calc(100vw - 48px)); left:50%; transform:translateX(-50%); }
.hp-showcase-carousel[data-enhanced] .hp-projects { --showcase-side-scale:.84; --showcase-side-shift:.68; display:block; position:relative; aspect-ratio:16/7; margin-top:var(--hp-visual-gap); overflow:hidden; isolation:isolate; touch-action:pan-y; }
.hp-showcase-carousel[data-enhanced] .hp-project { position:absolute; width:min(74%,1092px); top:50%; left:50%; margin:0; transform:translate(-50%,-50%) translateX(var(--showcase-offset,0%)) scale(var(--showcase-scale,1)); opacity:var(--showcase-opacity,1); transition:transform 520ms cubic-bezier(.22,.61,.36,1),opacity 520ms ease; z-index:1; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] { --showcase-offset:0%; --showcase-scale:1; --showcase-opacity:1; z-index:3; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=left] { --showcase-offset:calc(-100% * var(--showcase-side-shift)); --showcase-scale:var(--showcase-side-scale); --showcase-opacity:.4; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=right] { --showcase-offset:calc(100% * var(--showcase-side-shift)); --showcase-scale:var(--showcase-side-scale); --showcase-opacity:.4; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=distant] { --showcase-opacity:0; visibility:hidden; pointer-events:none; }
.hp-showcase-carousel[data-enhanced] .hp-project:has(a:is(:hover,:focus-visible)):not([data-position=center]) { --showcase-opacity:.58; }
.hp-showcase-carousel[data-enhanced] .hp-project img { filter:none; border-color:#7d8fa044; border-radius:10px; }
.hp-showcase-carousel[data-enhanced] .hp-project figcaption { display:none; }
.hp-showcase-carousel[data-enhanced] .hp-project a { position:relative; background:#0c141f; }
.hp-showcase-carousel[data-enhanced] .hp-project a:focus-visible { outline-offset:-5px; }
.hp-showcase-arrow { position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border:1px solid #a7b4c455; background:#0c1822e8; color:#e5edf5; border-radius:50%; display:grid; place-items:center; opacity:0; font-size:21px; transition:opacity 160ms; pointer-events:none; }
[data-position=left] .hp-showcase-arrow { left:var(--showcase-arrow-inset,50%); }
[data-position=right] .hp-showcase-arrow { right:var(--showcase-arrow-inset,50%); }
[data-position=center] .hp-showcase-arrow { display:none; }
.hp-project a:is(:hover,:focus-visible) .hp-showcase-arrow { opacity:1; }
.hp-showcase-controls { display:flex; align-items:center; justify-content:center; gap:4px; width:max-content; max-width:100%; padding:0 8px; margin:16px auto 0; border:1px solid #67758480; border-radius:999px; background:linear-gradient(160deg,#ffffff05,transparent),#0c151ee8; color:#bdcbd8; }
.hp-showcase-controls[hidden],.hp-showcase-details[hidden] { display:none; }
.hp-showcase-progress { display:flex; align-items:center; }
.hp-showcase-segment { display:grid; place-items:center; width:48px; height:44px; padding:0 5px; border:0; background:transparent; cursor:pointer; }
.hp-showcase-segment>span { display:block; width:100%; height:3px; overflow:hidden; border-radius:4px; background:#43505d; }
.hp-showcase-segment i { display:block; width:100%; height:100%; background:#c6d6e4; transform-origin:left; transform:scaleX(0); }
.hp-showcase-segment[aria-pressed=false] i { visibility:hidden; }
.hp-showcase-segment[aria-pressed=true]>span { background:#56687a; }
.hp-showcase-play { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-left:1px solid #7e8b9b30; background:transparent; color:inherit; cursor:pointer; }
.hp-showcase-play svg { width:16px; height:16px; }
.hp-showcase-play-icon,.hp-showcase-play[data-paused=true] .hp-showcase-pause-icon { display:none; }
.hp-showcase-play[data-paused=true] .hp-showcase-play-icon { display:block; }
.hp-showcase-play:disabled { opacity:.5; cursor:default; }
.hp-showcase-controls button:focus-visible { outline:2px solid #b3ceff; outline-offset:-3px; border-radius:16px; }
.hp-showcase-details { text-align:center; width:calc(100% - 24px); max-width:620px; min-height:7rem; margin:12px auto 0; }
.hp-showcase-details h3 { margin:0; font-size:clamp(18px,2vw,22px); font-weight:500; line-height:1.35; }
.hp-showcase-details .hp-showcase-category { color:#b5bfcc; font-size:13px; margin:4px 0 0; line-height:1.5; }
.hp-showcase-details a { color:#e2eaf5; display:inline-flex; align-items:center; min-height:44px; padding:10px 8px; font-size:13px; text-underline-offset:4px; }
.hp-showcase-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.hp-showcase-image-fallback { display:none; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-image-failed] img { opacity:0; }
.hp-showcase-carousel[data-enhanced] .hp-project[data-image-failed] .hp-showcase-image-fallback { display:grid; place-items:center; position:absolute; inset:0; padding:16px; text-align:center; font-size:clamp(12px,2vw,18px); color:#c5d0df; }
@media(max-width:760px) {
  .hp-showcase-carousel { width:calc(100vw - 24px); }
  .hp-showcase-carousel[data-enhanced] .hp-projects { --showcase-side-shift:.8; aspect-ratio:16/8.4; }
  .hp-showcase-carousel[data-enhanced] .hp-project { width:84%; }
  .hp-showcase-arrow { display:none; }
  .hp-showcase-details { min-height:8rem; }
}
@media(prefers-reduced-motion:reduce) {
  .hp-showcase-carousel[data-enhanced] .hp-project,.hp-showcase-arrow { transition:none!important; }
  .hp-showcase-segment[aria-pressed=true] i { transform:scaleX(1)!important; }
}

/* Project information belongs to the featured preview, not a detached caption. */
.hp-showcase-carousel[data-enhanced] .hp-project { border-radius:12px; overflow:hidden; }
.hp-project-overlay { display:none; }
.hp-showcase-carousel[data-enhanced] .hp-project-overlay {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  position:absolute;inset:0;z-index:2;padding:clamp(20px,3vw,42px);
  background:linear-gradient(90deg,rgba(3,7,12,.92),rgba(3,7,12,.65) 43%,transparent 85%);
  opacity:0;pointer-events:none;transition:opacity 240ms ease;
}
.hp-showcase-carousel[data-enhanced] [data-position=center] .hp-project-overlay { opacity:1;pointer-events:none; }
.hp-project-overlay h3 { max-width:70%;margin:0;font-size:clamp(22px,2.7vw,36px);font-weight:500;line-height:1.15;letter-spacing:-.025em;text-wrap:balance; }
.hp-project-overlay .hp-project-summary { max-width:340px;margin:12px 0 0;font-size:14px;line-height:1.5;color:#d1dae3; }
.hp-project-tags { display:flex;margin:0 0 10px; }
.hp-project-tags span { font-size:12px;line-height:1.4;color:#bccbd8;letter-spacing:.025em; }
.hp-project-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:18px; }
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a { pointer-events:auto;display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #9aa7b280;border-radius:14px;background:#24303be8;color:#f5f7fa;font-size:13px; }
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a:last-child { background:#10171dcc;border-color:#65758380; }
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a:hover { background:#35434f;border-color:#bac5ce; }
.hp-project-overlay > * { opacity:0;transform:translateY(10px); }
[data-position=center] .hp-project-overlay > * { animation:hp-project-copy 420ms cubic-bezier(.22,1,.36,1) both; }
[data-position=center] .hp-project-overlay > :nth-child(1) { animation-delay:120ms; }
[data-position=center] .hp-project-overlay > :nth-child(2) { animation-delay:200ms; }
[data-position=center] .hp-project-overlay > :nth-child(3) { animation-delay:280ms; }
[data-position=center] .hp-project-overlay > :nth-child(4) { animation-delay:360ms; }
@keyframes hp-project-copy { to {opacity:1;transform:translateY(0)} }
.hp-showcase-carousel[data-enhanced] .hp-project img { transform:scale(1);transition:transform 900ms cubic-bezier(.22,1,.36,1); }
.hp-showcase-carousel[data-enhanced] [data-position=center] img { transform:scale(1.025); }
/* Shared visual rhythm: active track expands; quiet dots identify other slides. */
.hp-showcase-controls { gap:0;padding:0 4px;margin-top:20px;background:linear-gradient(160deg,#ffffff05,transparent),#0c151ee8; }
.hp-showcase-segment { width:32px;padding:0 10px;transition:width 240ms ease; }
.hp-showcase-segment[aria-pressed=true] { width:64px; }
.hp-showcase-segment>span { height:4px; }
.hp-showcase-play { margin-left:4px;border-left-color:#7e8b9b30; }
@media(max-width:760px) {
  .hp-showcase-carousel[data-enhanced] .hp-projects { aspect-ratio:16/13; }
  .hp-showcase-carousel[data-enhanced] .hp-project img { aspect-ratio:4/3; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay { padding:16px;background:linear-gradient(90deg,#03070ceb,#03070caa 65%,#03070c40); }
  .hp-project-overlay h3 { max-width:100%;font-size:20px; }
  .hp-project-overlay .hp-project-summary { margin-top:7px;font-size:12px;line-height:1.4; }
  .hp-project-tags { margin:0 0 7px; }
  .hp-project-tags span { font-size:11px; }
  .hp-project-actions { margin-top:10px;gap:8px; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay a { padding:8px 10px;font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .hp-project-overlay,.hp-project-overlay > *,.hp-showcase-carousel[data-enhanced] .hp-project img,.hp-showcase-segment { animation:none!important;transition:none!important; }
  [data-position=center] .hp-project-overlay > * { opacity:1;transform:none; }
  .hp-showcase-carousel[data-enhanced] [data-position=center] img { transform:none; }
}

.hp-showcase-segment { width:32px;padding:0;transition:none; }
.hp-showcase-segment[aria-pressed=true] { width:32px; }


/* Compact dots with a visible countdown pill for the active website. */
.hp-showcase-segment>span { width:6px;height:6px;border-radius:50%;background:#536575; }
.hp-showcase-segment[aria-pressed=true]>span { width:24px;border-radius:999px;background:#536575; }
.hp-showcase-segment i { opacity:1;background:#d5e4f0; }
/* Give the capsule rim breathing room around its 44px controls. */
.hp-showcase-controls {
 padding:2px 4px;
 overflow:hidden;
 isolation:isolate;
 border-radius:999px;
 box-shadow:inset 0 -1px 0 rgba(192,209,224,.12),inset 0 1px 0 rgba(224,235,244,.04);
}
.hp-showcase-carousel { padding-bottom:2px; }
/* Slide a full-size fill under the rounded mask rather than rescaling its pixels. */
.hp-showcase-segment i { transform:translate3d(-100%,0,0);backface-visibility:hidden; }
.hp-showcase-segment[aria-pressed=true] i { will-change:transform; }
.hp-showcase-segment[aria-pressed=true]>span { transform:translateZ(0); }
@media(prefers-reduced-motion:reduce) { .hp-showcase-segment[aria-pressed=true] i {transform:none!important;will-change:auto;} }
/* One continuous glass rim and matching corners on every preview. */
.hp-showcase-carousel[data-enhanced] .hp-project::after {
 content:"";position:absolute;inset:0;z-index:6;pointer-events:none;
 border-radius:inherit;border:1px solid rgba(204,222,237,.55);
 box-shadow:inset 0 1px 1px rgba(245,250,255,.2),inset 0 -1px 1px rgba(117,151,177,.14);
}
/* Fixed-size paint surface avoids low-resolution transform stepping on iPad Safari. */
.hp-showcase-segment i {
 transform:none;backface-visibility:visible;
 background:linear-gradient(90deg,#d5e4f0 calc(var(--showcase-fill,0%) - .65px),rgba(213,228,240,.6) var(--showcase-fill,0%),transparent calc(var(--showcase-fill,0%) + .65px));
}
.hp-showcase-segment[aria-pressed=true] i { will-change:auto; }
.hp-showcase-segment[aria-pressed=true]>span { transform:none; }
@media(prefers-reduced-motion:reduce) { .hp-showcase-segment[aria-pressed=true] i {background:#d5e4f0;} }
/* Landscape tablets: fit the complete showcase beneath the pinned navigation. */
@media (min-width:768px) and (max-width:1440px) and (max-height:1000px) and (orientation:landscape) and (pointer:coarse) {
 .hp-main #work.hp-showcase { padding-block:24px;scroll-margin-top:88px; }
 body.hp-body .hp-main #work #workTitle { font-size:clamp(30px,3.1vw,40px);line-height:1.1; }
 body.hp-body .hp-main #work .hp-subtitle { font-size:clamp(17px,1.6vw,21px);line-height:1.3;margin-top:8px; }
 .hp-showcase-carousel[data-enhanced] .hp-projects {
   margin-top:20px;
   aspect-ratio:auto;
   height:min(420px,max(210px,calc(100svh - 340px)));
 }
 .hp-showcase-carousel[data-enhanced] .hp-project {
   width:min(74%,1092px,calc(min(410px,max(200px,100svh - 350px)) * 1.77778));
 }
 .hp-showcase-controls { margin-top:16px; }
}
/* Resting glass edges stay quiet; the featured preview catches light on hover. */
.hp-showcase-carousel[data-enhanced] .hp-project::after {
 border-color:rgba(166,188,205,.24);
 box-shadow:inset 0 1px 1px rgba(225,237,247,.08),inset 0 -1px 1px rgba(117,151,177,.07);
 transition:border-color 180ms ease,box-shadow 180ms ease;
}
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=center][data-preview-hover]::after,
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=center]:focus-within::after {
 border-color:rgba(218,235,248,.66);
 box-shadow:inset 0 1px 2px rgba(245,250,255,.34),inset 0 -1px 2px rgba(218,235,248,.22);
 background:radial-gradient(28px 28px at top left,#e2effa38,transparent),radial-gradient(28px 28px at top right,#e2effa38,transparent),radial-gradient(28px 28px at bottom left,#e2effa28,transparent),radial-gradient(28px 28px at bottom right,#e2effa28,transparent);
}
@media(prefers-reduced-motion:reduce) { .hp-showcase-carousel[data-enhanced] .hp-project::after {transition:none;} }
/* Signature light catches only the one-pixel glass rim, following mouse or Pencil. */
.hp-preview-reflection {display:none;}
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
 .hp-showcase-carousel[data-enhanced] .hp-preview-reflection {
  display:block;position:absolute;inset:0;z-index:7;pointer-events:none;
  padding:1px;border-radius:inherit;
  background:radial-gradient(140px 110px at var(--preview-light-x,50%) var(--preview-light-y,50%),#f1f7fc 0%,rgba(214,234,249,.65) 30%,transparent 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:var(--preview-light-opacity,0);transition:opacity 180ms ease;
 }
}
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=center][data-preview-hover]::after {
 border-color:rgba(188,210,227,.32);
 box-shadow:inset 0 1px 1px rgba(225,237,247,.12);
 background:none;
}
@media(prefers-reduced-motion:reduce) {.hp-showcase-carousel[data-enhanced] .hp-preview-reflection {display:none;}}
/* A quiet whole-rim hover lift sits underneath the localized pointer reflection. */
.hp-showcase-carousel[data-enhanced] .hp-project[data-preview-hover]::after {
 border-color:rgba(196,215,230,.42);
 box-shadow:inset 0 1px 1px rgba(230,240,248,.16),inset 0 -1px 1px rgba(192,211,227,.1);
 background:none;
}
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=center][data-preview-hover]::after {
 border-color:rgba(196,215,230,.42);
 box-shadow:inset 0 1px 1px rgba(230,240,248,.16),inset 0 -1px 1px rgba(192,211,227,.1);
}

/* Mobile keeps the original image-led, layered carousel composition. */
@media(max-width:760px) {
 body.hp-body .hp-main #work.hp-showcase {padding-block:44px;scroll-margin-top:100px;}
 body.hp-body .hp-main #work #workTitle {font-size:clamp(28px,7.6vw,38px);line-height:1.12;max-width:22ch;margin-inline:auto;text-wrap:balance;}
 body.hp-body .hp-main #work .hp-subtitle {font-size:16px;line-height:1.5;max-width:30ch;margin:12px auto 0;}
 .hp-showcase-carousel {width:100vw;}
 .hp-showcase-carousel[data-enhanced] .hp-projects {aspect-ratio:auto;height:clamp(304px,88vw,440px);margin-top:28px;--showcase-side-scale:.88;--showcase-side-shift:.86;}
 .hp-showcase-carousel[data-enhanced] .hp-project {width:86%;border-radius:18px;}
 .hp-showcase-carousel[data-enhanced] .hp-project img {display:block;width:100%;height:clamp(264px,86vw,420px);aspect-ratio:auto;object-fit:cover;border-radius:18px;transform:none;}
 .hp-showcase-carousel[data-enhanced] .hp-project-overlay {position:absolute;inset:0;padding:22px;background:linear-gradient(135deg,rgba(3,7,12,.9),rgba(3,7,12,.55) 55%,rgba(3,7,12,.08));}
 .hp-project-overlay h3 {max-width:100%;font-size:clamp(23px,6.2vw,30px);line-height:1.12;letter-spacing:-.035em;}
 .hp-project-overlay .hp-project-summary {max-width:28ch;font-size:14px;line-height:1.45;margin-top:9px;}
 .hp-project-tags {margin-bottom:9px;}
 .hp-project-tags span {font-size:11px;line-height:1.5;}
 .hp-project-actions {gap:8px;margin-top:16px;}
 .hp-showcase-carousel[data-enhanced] .hp-project-overlay a {font-size:13px;min-height:44px;padding:10px 13px;border-radius:999px;background:rgba(9,17,24,.56);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
 .hp-showcase-controls {margin-top:20px;}
}
/* Compact slideshow capsule, with one pointer-reactive PLM glass surface. */
.hp-showcase-controls {
 position:relative;box-sizing:border-box;height:42px;min-height:0;gap:2px;
 padding:3px 4px;margin-top:12px;border:1px solid rgba(164,188,207,.3);
 background:linear-gradient(150deg,rgba(219,238,252,.055),transparent 55%),rgba(10,19,28,.76);
 -webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);
 box-shadow:inset 0 1px 0 rgba(235,247,255,.1),inset 0 -1px 0 rgba(177,204,224,.06),0 5px 18px #0002;
 transition:border-color 160ms ease,box-shadow 160ms ease;
}
.hp-showcase-controls::after {
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
 background:radial-gradient(90px 65px at var(--showcase-light-x,50%) var(--showcase-light-y,50%),rgba(246,251,255,.17),rgba(213,236,253,.055) 45%,transparent 100%);
 opacity:0;transition:opacity 160ms ease;
}
.hp-showcase-controls[data-glass-hover],.hp-showcase-controls:focus-within {border-color:rgba(205,228,245,.51)}
.hp-showcase-controls[data-glass-hover]::after,.hp-showcase-controls:focus-within::after {opacity:1}
.hp-showcase-controls>.hp-showcase-progress,.hp-showcase-controls>.hp-showcase-play {position:relative;z-index:1}
.hp-showcase-controls .hp-showcase-segment {box-sizing:border-box;width:32px;height:34px;min-height:0;padding:0;line-height:1;border-radius:999px;}
.hp-showcase-controls .hp-showcase-play {box-sizing:border-box;width:36px;height:34px;min-height:0;padding:0;border:0;border-radius:999px;line-height:1;color:#b6c6d3;transition:color 140ms ease;}
.hp-showcase-controls .hp-showcase-play::before {content:'';position:absolute;left:0;top:50%;width:1px;height:18px;transform:translateY(-50%);background:rgba(174,199,219,.18);pointer-events:none;}
.hp-showcase-controls .hp-showcase-play svg {display:block;width:16px;height:16px;flex:none;}
.hp-showcase-controls .hp-showcase-play .hp-showcase-play-icon,.hp-showcase-controls .hp-showcase-play[data-paused=true] .hp-showcase-pause-icon {display:none}
.hp-showcase-controls .hp-showcase-play[data-paused=true] .hp-showcase-play-icon {display:block}
.hp-showcase-controls .hp-showcase-play:is(:hover,:focus-visible),.hp-showcase-controls .hp-showcase-segment:is(:hover,:focus-visible) {color:#fff}
.hp-showcase-controls .hp-showcase-segment:hover>span {background:#849aa9}
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
 .hp-showcase-controls::before {
  content:'';position:absolute;inset:0;z-index:2;pointer-events:none;padding:1px;border-radius:inherit;
  background:radial-gradient(72px 48px at var(--showcase-light-x,50%) var(--showcase-light-y,50%),#f4fbff,rgba(213,236,253,.7) 30%,transparent 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity 160ms ease;
 }
 .hp-showcase-controls[data-glass-hover]::before,.hp-showcase-controls:focus-within::before {opacity:1}
}
@media(pointer:coarse),(max-width:760px) {
 .hp-showcase-controls {height:48px;padding:1px 4px;margin-top:16px;}
 .hp-showcase-controls .hp-showcase-segment,.hp-showcase-controls .hp-showcase-play {width:44px;height:44px;}
}
@media(prefers-reduced-motion:reduce) {
 .hp-showcase-controls,.hp-showcase-controls::before,.hp-showcase-controls::after,.hp-showcase-controls .hp-showcase-play {transition:none;}
}

/* Brighter project imagery with contrast concentrated around the copy. */
.hp-showcase-carousel[data-enhanced] .hp-project img{filter:brightness(1.12) saturate(1.08)}
.hp-showcase-carousel[data-enhanced] .hp-project[data-position=left],.hp-showcase-carousel[data-enhanced] .hp-project[data-position=right]{--showcase-opacity:.64}
.hp-showcase-carousel[data-enhanced] .hp-project:has(a:is(:hover,:focus-visible)):not([data-position=center]){--showcase-opacity:.8}
.hp-showcase-carousel[data-enhanced] .hp-project-overlay{background:radial-gradient(ellipse 75% 90% at 0 0,rgba(3,7,12,.88),rgba(3,7,12,.46) 48%,transparent 85%)}
.hp-project-overlay h3{color:#fff;font-weight:650;max-width:75%;text-shadow:0 2px 14px #0008}
.hp-project-overlay .hp-project-summary{color:#f0f4f8;font-size:15px;line-height:1.55;text-shadow:0 1px 8px #000c}
.hp-project-tags{gap:11px;align-items:center;margin-bottom:13px}
.hp-project-tags span{color:#f0f4f8;font-weight:500}
.hp-project-tags .hp-project-brand{display:block;flex:none;width:40px;height:40px;border-radius:10px;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:34px 34px;box-shadow:0 2px 14px #0003}
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a{background:#edf5f9;color:#101d28;border-color:#ffffffc4;font-weight:600;box-shadow:0 2px 10px #0003;text-decoration:none}
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a:last-child{background:#10202fe0;color:#fff;border-color:#d2e4f58c}
.hp-showcase-carousel[data-enhanced] .hp-project-overlay a:hover{background:#fff;color:#0c1925;border-color:#fff}
@media(max-width:760px){.hp-showcase-carousel[data-enhanced] .hp-project-overlay{background:linear-gradient(110deg,#03070ce0,#03070c6e 65%,#03070c08)}.hp-project-overlay h3{max-width:100%;font-size:21px}.hp-project-overlay .hp-project-summary{font-size:12px;line-height:1.45;max-width:270px}.hp-project-tags{gap:8px;margin-bottom:8px}.hp-project-tags .hp-project-brand{width:30px;height:30px;background-size:26px 26px;border-radius:8px}}

body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a{color:#fff;border-color:#deecf591}
body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a:first-child{background:linear-gradient(140deg,#344b5eea,#1d2c3deb);box-shadow:inset 0 1px 0 #ffffff29,0 2px 12px #0003}
body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a:hover{background:#3a5267;color:#fff;border-color:#fff}

/* Reuse the hero CTA material and capsule geometry on project actions. */
body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:11px 24px;border-radius:999px;background:rgba(3,8,17,.76);border:1px solid rgba(205,219,231,.28);box-shadow:inset 0 1px 0 rgba(218,231,243,.07),inset 0 -1px 0 rgba(192,209,224,.07);color:#f5f7fa;font-size:14px;font-weight:600;line-height:1.4;text-shadow:none}
body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button-secondary{border-color:rgba(205,219,231,.18)}
body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button:hover{background:rgba(8,14,23,.92);border-color:rgba(205,219,231,.5)}
@media(max-width:760px){body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button{padding:10px 16px;gap:12px;font-size:12px}}

/* Large, clean directional chevrons on the neighboring project previews. */
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow{width:64px;height:64px;border-radius:50%;border:1px solid #d3e5f575;background:linear-gradient(145deg,#ffffff0d,transparent 70%),#030811c2;color:#fff;backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px 0 #ffffff24,inset 0 -1px 0 #c0d1e019,0 6px 22px #0005;opacity:.8;transition:opacity 180ms ease,background-color 180ms ease,border-color 180ms ease}
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow::after{content:'';width:15px;height:15px;border-top:2.5px solid currentColor;border-right:2.5px solid currentColor;transform:translateX(-3px) rotate(45deg)}
.hp-showcase-carousel[data-enhanced] [data-position=left] .hp-showcase-arrow::after{transform:translateX(3px) rotate(-135deg)}
.hp-showcase-carousel[data-enhanced] .hp-project a:is(:hover,:focus-visible) .hp-showcase-arrow{opacity:1;background-color:#152536eb;border-color:#e1efffc7}
.hp-showcase-carousel[data-enhanced] [data-position=center] .hp-showcase-arrow{display:none}
@media(max-width:760px){.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow{display:none}}
@media(prefers-reduced-motion:reduce){.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow{transition:none}}

/* Share the hero's pointer-driven glass layers on directional controls. */
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow.hp-button-reflect{position:absolute;isolation:isolate;background:rgba(3,8,17,.76);border-color:rgba(205,219,231,.28);box-shadow:inset 0 1px 0 rgba(218,231,243,.07),inset 0 -1px 0 rgba(192,209,224,.07),0 6px 22px #0003;--cta-diffusion-intensity:.18}
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow.hp-button-reflect::before{inset:0;z-index:1}
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow.hp-button-reflect>.hp-cta-diffusion{inset:0;z-index:0}
.hp-showcase-carousel[data-enhanced] .hp-showcase-arrow.hp-button-reflect::after{position:relative;z-index:2}
.hp-showcase-carousel[data-enhanced] .hp-project a:is(:hover,:focus-visible) .hp-showcase-arrow.hp-button-reflect{background:rgba(8,14,23,.92);border-color:rgba(205,219,231,.5)}

/* Mobile: give the photography a taller, brighter product-showcase moment. */
@media(max-width:760px){
 .hp-showcase-carousel[data-enhanced] .hp-projects{--showcase-mobile-height:clamp(380px,58svh,600px);height:calc(var(--showcase-mobile-height) + 24px);margin-top:24px}
 .hp-showcase-carousel[data-enhanced] .hp-project img{height:var(--showcase-mobile-height);filter:brightness(1.24) saturate(1.12) contrast(1.03)}
 .hp-showcase-carousel[data-enhanced] .hp-project-overlay{background:linear-gradient(180deg,rgba(3,7,12,.78),rgba(3,7,12,.46) 30%,rgba(3,7,12,.12) 57%,transparent 78%)}
 .hp-showcase-carousel[data-enhanced] .hp-project[data-position=left],.hp-showcase-carousel[data-enhanced] .hp-project[data-position=right]{--showcase-opacity:.76}
 .hp-project-overlay h3{font-size:clamp(22px,6vw,27px);font-weight:650}
 .hp-project-overlay .hp-project-summary{font-size:14px;line-height:1.45;max-width:30ch;color:#f5f7fa}
 .hp-project-tags span{font-size:12px;color:#f5f7fa}
 .hp-project-tags .hp-project-brand{width:32px;height:32px;background-size:28px 28px}
}
@media(max-width:760px) and (max-height:550px) and (orientation:landscape){.hp-showcase-carousel[data-enhanced] .hp-projects{--showcase-mobile-height:360px}}

.hp-showcase-count { display:none; }

@media (max-width:767px), (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  #work.hp-showcase .hp-heading { width:calc(100vw - 40px); margin-inline:auto; text-align:left; }
  #work.hp-showcase .hp-heading .hp-subtitle { margin-inline:0; }
  .hp-showcase-carousel[data-enhanced] { width:calc(100vw - 40px); }
  .hp-showcase-carousel[data-enhanced] .hp-projects {
    height:auto; aspect-ratio:auto; margin-top:24px;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project:not([data-position=center]) { display:none; }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] {
    position:relative; inset:auto; width:100%; transform:none;
    transition:none; overflow:hidden; border:1px solid #344151; border-radius:18px;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project img {
    display:block; width:100%; height:auto; aspect-ratio:16/9;
    object-fit:contain; filter:none; border:0; border-radius:0;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay {
    position:static; display:block; padding:18px; opacity:1; transform:none;
    background:#101923; color:#f5f7fa; text-shadow:none;
  }
  .hp-showcase-carousel[data-enhanced] [data-position=center] .hp-project-overlay > * {
    animation:none; opacity:1; transform:none;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay h3 {
    font-size:clamp(20px,5.6vw,26px); line-height:1.14; text-shadow:none;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project-summary { max-width:none; text-shadow:none; }
  .hp-showcase-carousel[data-enhanced] .hp-project-actions { flex-wrap:wrap; gap:8px; }
  body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button {
    background:#e8f2fa; color:#112133; border-color:transparent; box-shadow:none;
    min-height:44px; padding:10px 14px; gap:8px; font-size:13px;
  }
  body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button-secondary {
    background:transparent; color:#f5f7fa; border-color:#687687;
  }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-controls {
    background:none; border:0; box-shadow:none; backdrop-filter:none; margin-top:8px; gap:8px;
  }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-controls::after,
  .hp-showcase-carousel[data-enhanced] .hp-showcase-play,
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment i { display:none; }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment { width:44px; height:44px; }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment > span { width:7px; height:7px; }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment[aria-pressed=true] > span {
    width:19px; background:#d4e6f4;
  }
  .hp-showcase-count { display:block; font-size:12px; white-space:nowrap; }
}

@media (max-width:767px), (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  body.hp-body .hp-main #work.hp-showcase { padding-block:32px 40px; }
  body.hp-body .hp-main #work #workTitle { margin-inline:0; max-width:none; text-wrap:pretty; }
  body.hp-body .hp-main #work .hp-subtitle { margin:8px 0 0; text-align:left; }
  .hp-showcase-carousel[data-enhanced] { width:100vw; }
  .hp-showcase-carousel[data-enhanced] .hp-projects { margin-top:22px; }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] {
    width:calc(100% - 40px); margin-inline:auto; background:#0c141d;
    border-color:#a4b9cf46;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project:is([data-position=left],[data-position=right]) {
    display:block; width:calc(100% - 40px); top:16px; left:50%;
    overflow:hidden; border-radius:17px; border:1px solid #a4b9cf46;
    transform:translateX(-50%) translateX(var(--showcase-peek));
    opacity:.6; pointer-events:none; transition:none;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=left] { --showcase-peek:-36px; }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=right] { --showcase-peek:36px; }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] > a img {
    mask-image:linear-gradient(#000 88%,transparent);
  }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] > a { background:#0c141d; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay { background:linear-gradient(#0c141d,#111b26); }
  body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button {
    background:#203143; color:#f5f7fa; border-color:#a4b9cf57;
    box-shadow:inset 0 1px 0 #ffffff12;
  }
  body.hp-body .hp-main .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-actions a.hp-button-secondary {
    background:#0a121b; border-color:#a4b9cf38;
  }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-controls {
    background:#0c151ee8; border:1px solid #a4b9cf40;
    padding-inline:5px 13px; margin-top:14px; gap:4px;
  }
}

@keyframes hp-phone-project-in {
  from { opacity:.82; transform:translate3d(var(--showcase-enter-x,0px),0,0); }
  to { opacity:1; transform:none; }
}
@media (max-width:767px), (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  #work.hp-showcase .hp-heading { text-align:center; }
  body.hp-body .hp-main #work #workTitle { margin-inline:auto; text-wrap:balance; }
  body.hp-body .hp-main #work .hp-subtitle { margin-inline:auto; text-align:center; }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-play { display:grid; }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment[aria-pressed=true] > span {
    background:#56687a;
  }
  .hp-showcase-carousel[data-enhanced] .hp-showcase-segment[aria-pressed=true] i { display:block; }
}
@media (max-width:767px) and (prefers-reduced-motion:no-preference),
       (orientation:landscape) and (max-height:500px) and (pointer:coarse) and (prefers-reduced-motion:no-preference) {
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] {
    animation:hp-phone-project-in 320ms cubic-bezier(.22,.75,.3,1) both;
  }
}

@media (orientation:landscape) and (max-height:500px) and (pointer:coarse) {
  body.hp-body .hp-main section.hp-plm-hero {
    height:auto; min-height:0; max-height:none; padding:24px 0 30px;
  }
  body.hp-body .hp-main .hp-plm-hero > .hp-shell {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:clamp(20px,4vw,40px); align-items:center; width:min(88vw,900px); margin-inline:auto;
    height:auto; min-height:0;
  }
  body.hp-body .hp-main .hp-plm-hero .hp-heading { text-align:left; margin:0; }
  body.hp-body .hp-main .hp-plm-hero h1 { font-size:clamp(24px,3.8vw,38px); }
  body.hp-body .hp-main .hp-plm-hero .hp-subtitle { font-size:15px; margin:10px 0 0; }
  body.hp-body .hp-main .hp-plm-hero .hp-actions { justify-content:flex-start; gap:8px; margin-top:14px; }
  body.hp-body .hp-main .hp-plm-hero .hp-actions a { min-height:44px; padding-inline:12px; }
  body.hp-body .hp-main .hp-plm-hero .hp-hero-work,
  body.hp-body .hp-main .hp-plm-hero .hp-hero-site {
    width:100%; height:auto; min-height:0; max-height:none; margin:0; aspect-ratio:3/2;
  }
  body.hp-body .hp-main .hp-plm-hero .hp-hero-viewport { height:auto; aspect-ratio:3/2; }
  body.hp-body .hp-main #work.hp-showcase { scroll-margin-top:84px; }
  .hp-showcase-carousel[data-enhanced] .hp-projects { width:min(88vw,900px); margin-inline:auto; }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] {
    display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project[data-position=center] > a img { mask-image:none; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay { padding:14px; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay h3 { font-size:clamp(19px,3vw,25px); }
}

@media (max-width:767px) and (orientation:portrait) {
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay {
    display:grid;
    grid-template-rows:auto minmax(2.28em,auto) minmax(2.9em,auto) auto;
    align-content:start;
  }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay h3 { min-height:2.28em; }
  .hp-showcase-carousel[data-enhanced] .hp-project-overlay .hp-project-summary { min-height:2.9em; }
}
