html:has(.hp-kit) { scroll-behavior: smooth; }

.hp-kit {
  --hp-ink: #142d32;
  --hp-muted: #496167;
  --hp-water: #075e59;
  --hp-night: #0d2b31;
  --hp-mint: #c5ecce;
  --hp-sand: #f6f1e7;
  --hp-border: #d9e1dc;
  background: #fff;
  color: var(--hp-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

.hp-kit *, .hp-kit *::before, .hp-kit *::after { box-sizing: border-box; }
.hp-kit :is(h1, h2, h3, p, figure, dl, dd, ul) { margin: 0; }
.hp-kit a { color: inherit; }
.hp-kit :focus-visible { outline: 3px solid #198575; outline-offset: 4px; }
.hp-kit :is(.hp-hero, .hp-dark) :focus-visible { outline-color: var(--hp-mint); }
.hp-kit [id] { scroll-margin-top: 5.5rem; }
.hp-wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.hp-hero { background: var(--hp-night); color: #fff; padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.hp-hero-grid { display: grid; grid-template-columns: 1.05fr minmax(0, .95fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hp-kit .hp-kicker { margin-bottom: .75rem; color: var(--hp-mint); font-size: .79rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hp-kit h1, .hp-kit h2 { font-weight: 760; letter-spacing: -.045em; line-height: 1.07; text-wrap: balance; }
.hp-kit h1 { font-size: clamp(2.7rem, 5.5vw, 5.25rem); max-width: 12ch; }
.hp-kit h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.hp-kit h3 { font-weight: 720; letter-spacing: -.025em; line-height: 1.22; }
.hp-kit .hp-intro { margin-top: 1.4rem; max-width: 45ch; color: #e2eded; font-size: clamp(1rem, 2vw, 1.2rem); }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 1.65rem; }
.hp-kit .hp-button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .7rem; border-radius: 50px; background: var(--hp-mint); padding: .65rem 1.15rem; color: #112f29; font-weight: 750; text-align: center; text-decoration: none; transition: background-color .2s, transform .2s; }
.hp-kit .hp-button:hover { background: #e2f6df; transform: translateY(-2px); }
.hp-kit .hp-text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-weight: 650; text-underline-offset: .26em; text-decoration: underline; }
.hp-hero-photo { overflow: hidden; border-radius: clamp(.9rem, 2vw, 1.4rem); background: #193b41; }
.hp-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; object-position: 50% 78%; }
.hp-hero-photo figcaption { padding: .55rem .95rem .65rem; color: #e2eded; font-size: .8rem; font-weight: 570; }
.hp-nav { background: #fff; box-shadow: 0 1px 0 var(--hp-border); }
.hp-nav .hp-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem clamp(1rem, 4vw, 2.65rem); padding-block: .2rem; }
.hp-kit .hp-nav a { display: inline-flex; align-items: center; min-height: 2.85rem; color: var(--hp-water); font-size: .9rem; font-weight: 720; text-decoration: none; }
.hp-nav a:hover { text-decoration: underline; text-underline-offset: .23em; }
.hp-section { padding-block: clamp(2.6rem, 6.4vw, 5.6rem); }
.hp-heading { margin-bottom: 1.65rem; }
.hp-kit .hp-heading p { margin-top: .7rem; max-width: 62ch; color: var(--hp-muted); }
.hp-kit .hp-heading .hp-date { display: flex; flex-wrap: wrap; gap: .15rem .55rem; font-size: .9rem; }
.hp-date time { color: var(--hp-water); font-weight: 730; }
.hp-stats, .hp-platforms, .hp-editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.hp-stats > div { display: flex; min-height: 9rem; flex-direction: column; justify-content: center; border: 1px solid #d6e7e0; border-radius: 1rem; background: #eef7f0; padding: 1.15rem 1.4rem; }
.hp-stats dt { color: var(--hp-ink); font-weight: 680; }
.hp-stats dd { order: -1; color: var(--hp-water); font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 760; letter-spacing: -.065em; line-height: 1.05; }
.hp-stats dt span, .hp-kit .hp-note, .hp-period { color: var(--hp-muted); font-size: .86rem; }
.hp-stats dt span { display: block; font-weight: 400; }
.hp-kit .hp-note { margin-top: .8rem; }
.hp-platforms { margin-top: 1.4rem; }
.hp-platform { min-width: 0; border: 1px solid var(--hp-border); border-radius: 1rem; padding: clamp(1rem, 2.8vw, 1.55rem); }
.hp-platform-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .6rem; }
.hp-platform-head h3 { font-size: 1.45rem; }
.hp-platform-head a { color: var(--hp-water); font-size: .88rem; font-weight: 680; text-underline-offset: .18em; text-decoration: underline; }
.hp-kit .hp-period { margin-top: .25rem; }
.hp-kit .hp-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin-block: 1.1rem; }
.hp-metrics > div { display: flex; flex-direction: column; }
.hp-metrics dt { color: var(--hp-muted); font-size: .83rem; }
.hp-metrics dd { order: -1; color: var(--hp-water); font-size: clamp(1.2rem, 3.2vw, 1.7rem); font-weight: 740; line-height: 1.2; }
.hp-detail { border-top: 1px solid var(--hp-border); }
.hp-detail summary { display: flex; min-height: 2.75rem; cursor: pointer; align-items: center; justify-content: space-between; gap: .6rem; color: var(--hp-water); font-weight: 700; list-style: none; }
.hp-detail summary::-webkit-details-marker { display: none; }
.hp-detail summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.hp-detail[open] > summary::after { content: "−"; }
.hp-detail-body { padding-top: .2rem; color: var(--hp-muted); font-size: .9rem; }
.hp-detail-body p + p { margin-top: .65rem; }
.hp-dark { background: var(--hp-night); color: #fff; }
.hp-sand { background: var(--hp-sand); }
.hp-kit .hp-dark :is(.hp-heading p, .hp-detail-body, .hp-contact p) { color: #d9e8e9; }
.hp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hp-kit .hp-story { display: block; overflow: hidden; border: 1px solid #486169; border-radius: .9rem; background: #18383f; text-decoration: none; }
.hp-story img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: filter .25s; }
.hp-story:hover img { filter: brightness(1.12); }
.hp-story-copy { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .75rem .9rem; }
.hp-story-copy > span { color: var(--hp-mint); }
.hp-featured { overflow: hidden; max-width: 56rem; margin: 0 auto 1.8rem; border: 1px solid #486169; border-radius: 1rem; background: #18383f; }
.hp-featured iframe { display: block; width: 100%; height: auto; min-height: 200px; aspect-ratio: 16 / 9; border: 0; background: #09191d; }
.hp-featured-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem 1rem; padding: .9rem 1.15rem 1rem; }
.hp-featured-info h3 { font-size: clamp(1.1rem, 3vw, 1.37rem); }
.hp-featured-info p { margin-top: .25rem; color: #d9e8e9; font-size: .87rem; }
.hp-featured-info a { color: var(--hp-mint); font-size: .87rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.hp-slideshow { min-width: 0; margin: 0; padding: 0; border: 0; }
.hp-slide-control { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp-slideshow .hp-slide { display: none; }
.hp-slideshow .hp-slide img { aspect-ratio: 1.72; object-position: center; }
.hp-slideshow .hp-slide-2 img { object-fit: contain; background: #0b2023; }
#hp-slide-1:checked ~ .hp-slide-1, #hp-slide-2:checked ~ .hp-slide-2, #hp-slide-3:checked ~ .hp-slide-3 { display: block; animation: hp-slide-in .28s ease-out; }
.hp-slide-nav { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .7rem; }
.hp-slide-nav label { display: inline-flex; align-items: center; min-height: 2.45rem; padding: .35rem .8rem; border: 1px solid #638083; border-radius: 2rem; color: #e2eded; font-size: .84rem; cursor: pointer; }
.hp-slide-nav label:hover { border-color: var(--hp-mint); }
#hp-slide-1:checked ~ .hp-slide-nav [for="hp-slide-1"], #hp-slide-2:checked ~ .hp-slide-nav [for="hp-slide-2"], #hp-slide-3:checked ~ .hp-slide-nav [for="hp-slide-3"] { border-color: var(--hp-mint); background: var(--hp-mint); color: #112f29; font-weight: 750; }
#hp-slide-1:focus-visible ~ .hp-slide-nav [for="hp-slide-1"], #hp-slide-2:focus-visible ~ .hp-slide-nav [for="hp-slide-2"], #hp-slide-3:focus-visible ~ .hp-slide-nav [for="hp-slide-3"] { outline: 3px solid var(--hp-mint); outline-offset: 3px; }

@keyframes hp-slide-in { from { opacity: .65; } to { opacity: 1; } }

.hp-portfolio-details { margin-top: 1.6rem; border-color: #486169; }
.hp-portfolio-details summary { color: var(--hp-mint); }
.hp-portfolio-details .hp-platforms { margin-top: .35rem; }
.hp-kit .hp-results { margin-top: .55rem; padding: 0; list-style: none; }
.hp-results li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px solid #486169; padding-block: .43rem; }
.hp-results strong { white-space: nowrap; color: #fff; font-weight: 650; }
.hp-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hp-offers article { display: flex; min-width: 0; flex-direction: column; border: 1px solid #e5dbcb; border-radius: 1rem; background: #fff; padding: clamp(1rem, 2.6vw, 1.45rem); }
.hp-offers h3, .hp-market h3 { font-size: 1.28rem; }
.hp-kit .hp-offers h3 + p { margin-top: .5rem; color: var(--hp-muted); font-size: .94rem; }
.hp-editorial { gap: clamp(1.3rem, 5vw, 4rem); }
.hp-kit .hp-editorial p, .hp-kit .hp-terms p { margin-top: .9rem; color: var(--hp-muted); }
.hp-kit .hp-market { border-radius: 1rem; background: #eef7f0; padding: 1.35rem; }
.hp-kit .hp-market ul { margin-top: .65rem; padding-left: 1.2rem; list-style: disc; }
.hp-market li + li { margin-top: .35rem; }
.hp-terms { max-width: 58rem; margin-inline-start: max(1.5rem, (100% - 70rem) / 2); }
.hp-contact p { max-width: 58ch; }
.hp-kit .hp-contact h2 + p { margin-block: .85rem 1.2rem; color: #d9e8e9; }
.hp-kit .hp-social { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; margin-top: 1.4rem; }
.hp-social a { text-decoration: underline; text-underline-offset: .2em; }
.hp-kit .hp-updated { margin-top: 1.1rem; color: #b7ccd0; font-size: .83rem; }

@keyframes hp-rise-in {
  from { opacity: .5; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .hp-reveal { animation: hp-rise-in auto linear both; animation-timeline: view(); animation-range: entry 0% entry 33%; }
  .hp-reveal:focus-within { animation: none; }
}

@media (max-width: 49rem) {
  .hp-wrap { width: min(100% - 2rem, 70rem); }
  .hp-hero-grid, .hp-editorial { grid-template-columns: 1fr; }
  .hp-hero-grid { gap: 1.5rem; }
  .hp-kit h1 { max-width: 16ch; }
  .hp-hero-photo img { aspect-ratio: 1.6; object-position: 50% 82%; }
  .hp-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-terms { margin-inline: auto; }
}

@media (max-width: 36rem) {
  .hp-stats, .hp-platforms, .hp-gallery, .hp-offers { grid-template-columns: 1fr; }
  .hp-stats > div { min-height: 0; }
  .hp-gallery { gap: .75rem; }
  .hp-story img { aspect-ratio: 1.8; }
  .hp-nav .hp-wrap { gap: 0 .75rem; }
  .hp-kit .hp-nav a { font-size: .81rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.hp-kit) { scroll-behavior: auto; }
  .hp-kit *, .hp-kit *::before, .hp-kit *::after { animation: none !important; transition: none !important; }
  .hp-kit .hp-button:hover { transform: none; }
}
