:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --white: #fff;
  --ink: #182226;
  --muted: #4d585a;
  --teal: #075962;
  --line: #d7deda;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #078591; outline-offset: 4px; }
.shell { width: min(100% - 4rem, 83rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .75rem; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, nav { display: flex; align-items: center; }
.header-inner { min-height: 4.5rem; justify-content: space-between; gap: 1rem; }
.wordmark { display: block; flex: 0 1 12.5rem; }
.wordmark img { display: block; width: 100%; height: auto; }
nav { gap: clamp(1rem, 3vw, 2.5rem); }
nav a { font-weight: 650; text-decoration: none; }
.nav-jump:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .25em; }
.header-store { border: 1px solid #b5cacc; border-radius: .35rem; padding: .65rem .95rem; color: var(--teal); white-space: nowrap; }
.header-store:hover { background: #edf5f4; border-color: var(--teal); }

.hero { position: relative; display: grid; background: #182226; color: #fff; isolation: isolate; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 74%; height: 100%; overflow: hidden; z-index: -2; }
.hero-art img, .hero-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero-art video { opacity: 0; border-radius: 0; max-height: none; object-position: center; transition: opacity .2s ease; }
.hero-art video[data-visible] { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #182226 13%, #182226f7 31%, #182226b8 45%, #18222630 65%, transparent 80%); }
.hero-motion-toggle { position: absolute; right: max(1rem, calc((100% - 83rem) / 2)); bottom: .85rem; padding: .6rem .8rem; min-height: 2.75rem; border: 1px solid #ffffff85; border-radius: .35rem; background: #182226ed; color: #fff; font: inherit; font-size: .875rem; cursor: pointer; }
.hero-motion-toggle:hover { background: #304147; }
.hero-inner { display: flex; align-items: center; min-height: clamp(24rem, 34vw, 33rem); padding-block: 3rem; }
.hero-copy { max-width: 42rem; }
.hero h1 { max-width: 10em; margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.hero p { max-width: 32rem; margin: 1.25rem 0 1.75rem; color: #e4e9e8; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.store-button, .video-button { display: inline-flex; align-items: center; min-height: 2.95rem; padding: .7rem 1rem; border-radius: .35rem; font-weight: 720; text-decoration: none; }
.store-button { background: #e3f0ec; color: #143037; }
.store-button:hover { background: #fff; }
.video-button { color: #fff; border: 1px solid #a0b4b5; }
.video-button:hover { background: #ffffff23; }

.video-section { padding-block: 2.5rem 3.5rem; }
.video-section h2 { font-size: clamp(1.95rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 1.4rem; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.collection { border: 1px solid var(--line); border-radius: .7rem; padding: clamp(1rem, 1.8vw, 1.45rem); background: var(--white); scroll-margin-top: 1rem; }
.collection-header { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.collection h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.collection-header a, .footer-inner a { color: var(--teal); font-weight: 650; font-size: .92rem; text-underline-offset: .22em; }
.collection-header a:hover, .footer-inner a:hover { text-decoration-thickness: .14em; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.product-card { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.product-still { width: 100%; height: auto; border: 1px solid #e3e8e4; border-radius: .45rem; }
.product-details { flex: 1; }
.product-details h4 { margin: 0 0 .16rem; font-size: 1.05rem; line-height: 1.3; }
.video-link { display: flex; align-items: center; gap: .65rem; padding: .3rem .45rem .3rem .3rem; min-height: 2.75rem; background: #f0f4f2; color: var(--teal); font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: .35rem; }
.video-link:hover { background: #e3eeea; text-decoration: underline; text-underline-offset: .18em; }
.video-image { position: relative; flex: 0 0 auto; width: clamp(2.6rem, 5.5vw, 4.8rem); display: block; overflow: hidden; background: #1b2427; border-radius: .25rem; }
.video-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .22s ease; }
.video-link:hover .video-image img { transform: scale(1.035); }
.play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 12px #0003; }
.play::before { content: ""; border-block: .24rem solid transparent; border-left: .4rem solid currentColor; margin-left: .12rem; }
.video-link:hover .play { background: #e3f0ec; color: var(--teal); }
.product-type { display: block; color: var(--muted); font-size: .89rem; line-height: 1.4; }

.site-footer { background: #eeefea; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem 2rem; flex-wrap: wrap; padding-block: 1.4rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.footer-inner p { margin: 0; font-weight: 650; }

dialog { color-scheme: dark; width: min(93vw, 65rem); max-height: 94dvh; padding: 1rem; color: #fff; background: var(--ink); border: 1px solid #587072; border-radius: .75rem; }
dialog::backdrop { background: #0c1417e6; }
.player-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .65rem; }
.player-header h2 { font-size: clamp(1rem, 3vw, 1.4rem); margin: 0; }
.close { border: 1px solid #899b9d; border-radius: .4rem; color: #fff; background: var(--ink); font-size: 1.5rem; line-height: 1; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.close:hover { background: #304147; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 73dvh; border-radius: .35rem; background: #000; }

@media (max-width: 60rem) {
  .hero-art { width: 86%; }
  .hero::after { background: linear-gradient(90deg, #182226 12%, #182226eb 35%, #18222682 62%, #18222614); }
  .collection-grid { grid-template-columns: 1fr; }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; }
  .wordmark { flex-basis: 10rem; margin-left: -.5rem; }
  .nav-jump { display: none; }
  .header-store { padding-inline: .75rem; font-size: .93rem; }
  .hero-art { position: relative; grid-row: 2; width: 100%; height: clamp(9rem, 31vw, 13rem); }
  .hero::after { content: none; }
  .hero-inner { grid-row: 1; min-height: auto; padding-block: 2.1rem 1.5rem; }
  .hero h1 { text-wrap: initial; }
  .hero p { margin: .9rem 0 1.1rem; }
  .video-section { padding-block: 1.9rem 2.5rem; }
}

@media (max-width: 23rem) {
  .video-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art video { transition: none; }
  .video-image img { transition: none; }
}
