:root {
  color-scheme: dark;
  --base: #141416;
  --surface: #1c1c1f;
  --white: #f7f5f5;
  --muted: #bdb9bb;
  --accent: #ff505d;
  --button: #c82233;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--base);
  color: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.site-header { background: #141416; border-bottom: 1px solid #ffffff16; }
.nav { min-height: 76px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 20px; }
.brand { display: inline-flex; align-items: center; width: fit-content; font-size: 26px; font-weight: 850; letter-spacing: -.075em; white-space: nowrap; }
.mark { display: inline-grid; place-items: center; margin-right: 10px; width: 31px; height: 32px; background: #cf2435; border-radius: 6px; font-size: 23px; line-height: 1; font-style: italic; letter-spacing: 0; }
.dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: var(--muted); }
nav [aria-current] { color: var(--white); font-weight: 700; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--accent); }
.nav-cta { justify-self: end; border: 1px solid #ffffff29; border-radius: 6px; padding: 10px 13px; font-size: 13px; font-weight: 650; }
.nav-cta:hover { border-color: var(--accent); }
.nav-cta span, .text-link span { margin-left: 8px; color: var(--accent); }
.hero { min-height: 530px; display: grid; position: relative; overflow: hidden; isolation: isolate; background: #130d10; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 67%; height: 100%; object-fit: cover; object-position: 50% 49%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#140e11 12%,#140e11fa 29%,#140e11a8 48%,#140e1108 80%), linear-gradient(0deg,#140e11bd,transparent 34%); }
.hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 62px 98px; position: relative; }
.eyebrow { margin: 0 0 19px; display: flex; gap: 10px; align-items: center; color: #ff6a74; font-size: 11px; font-weight: 760; letter-spacing: .19em; }
.eyebrow span { width: 22px; height: 2px; background: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.06em; line-height: 1.02; }
h1 { font-size: clamp(52px, 6.15vw, 94px); font-weight: 820; }
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 410px; line-height: 1.65; color: #ddd6d9; font-size: 16px; margin: 23px 0 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 6px; padding: 12px 16px; min-height: 44px; font-size: 13px; font-weight: 740; }
.primary { background: var(--button); }
.primary:hover { background: #a61b2a; }
.controls { width: 100%; position: absolute; bottom: 25px; display: flex; justify-content: space-between; align-items: center; }
.pagination, .arrows { display: flex; gap: 8px; }
.pagination button { border: 0; padding: 0; background: none; width: 28px; min-height: 44px; display: grid; place-items: center; }
.pagination button::before { content: ''; width: 17px; height: 3px; border-radius: 5px; background: #b1a7ac; }
.pagination button[aria-pressed="true"]::before { width: 25px; background: var(--accent); }
.arrows button { background: #171116b3; border: 1px solid #ffffff43; border-radius: 50%; color: var(--white); width: 44px; height: 44px; font-size: 19px; }
.arrows button:hover { border-color: var(--accent); }
.product-section { padding-block: 56px 66px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
h2 { font-size: clamp(35px, 4.3vw, 57px); font-weight: 790; }
.text-link { font-size: 13px; font-weight: 650; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards[aria-busy="true"] { min-height: 140px; }
.card { border: 1px solid #ffffff1b; background: var(--surface); border-radius: 10px; overflow: hidden; scroll-margin-top: 20px; }
.card:target { border-color: var(--accent); }
.card-media { position: relative; margin: 0; }
.image-caption { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 4px; background: #141416e8; color: var(--white); font-size: 11px; }
.card img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: center 47%; background: #26181c; }
.card-content { padding: 22px; }
.card .eyebrow { margin-bottom: 9px; font-size: 10px; }
.card h3 { font-size: 28px; }
.card-description { color: var(--muted); line-height: 1.56; font-size: 14px; margin-block: 12px 18px; }
.market-links { display: flex; flex-wrap: wrap; gap: 8px; }
.market-links .button { border: 1px solid #ffffff30; padding-inline: 10px; gap: 7px; }
.market-links .button:hover { border-color: var(--accent); }
.market-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.about { background: #1b1b1e; border-block: 1px solid #ffffff10; }
.about-inner { padding-block: 48px; display: grid; grid-template-columns: 1fr .75fr; gap: 32px; align-items: end; }
.about-inner p:last-child { color: var(--muted); line-height: 1.65; margin: 0 0 4px; max-width: 395px; }
.site-footer { border-top: 1px solid #ffffff15; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.footer-inner > a:last-child { color: var(--muted); font-size: 14px; }
.catalog h1 { font-size: clamp(52px, 7vw, 88px); }
.catalog .intro { margin-bottom: 32px; }
.error { grid-column: 1 / -1; margin: 0; line-height: 1.6; }
.retry { margin-top: 12px; border: 0; color: white; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .cards { gap: 12px; }
  .card-content { padding: 16px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 65px; grid-template-columns: 1fr auto; }
  nav { gap: 20px; }
  .nav-cta { display: none; }
  .hero { min-height: 580px; }
  .hero-image { width: 100%; height: 64%; object-position: center 47%; }
  .hero-shade { background: linear-gradient(0deg,#140e11 36%,#140e11eb 46%,#140e1126 76%); }
  .hero-inner { justify-content: end; padding-block: 200px 90px; }
  .hero .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(46px, 10vw, 64px); }
  .intro { margin-block: 15px 20px; font-size: 15px; }
  .controls { bottom: 19px; }
  .product-section { padding-block: 40px 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .cards, .about-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 18px; }
}
.mark {
  background: var(--accent);
  color: transparent;
  border-radius: 0;
  clip-path: polygon(0 1%, 30% 24%, 30% 3%, 44% 15%, 70% 15%, 85% 20%, 95% 31%, 99% 46%, 93% 60%, 82% 68%, 72% 70%, 100% 100%, 62% 100%, 36% 73%, 36% 100%, 8% 100%, 8% 93%, 35% 62%, 74% 55%, 49% 38%, 24% 33%, 12% 24%, 17% 42%, 0 58%);
}
@media (min-width: 681px) {
  .hero-image { width: 55%; right: 3%; }
  .hero-shade { background: linear-gradient(90deg,#140e11 35%,#140e11e8 44%,#140e1126 63%,transparent 87%,#130d10 97%), linear-gradient(0deg,#140e11bd,transparent 28%); }
}
.card-title { font-size: 28px; }

.card { position: relative; }
.card-detail-link::after { content: ''; position: absolute; inset: 0; }
.card:focus-within { border-color: var(--accent); }

.product-detail { padding-block: 34px 72px; }
.back-link { display: inline-block; margin-bottom: 22px; }
.back-link span { margin: 0 7px 0 0; }
.product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 76px); align-items: start; }
.product-gallery, .product-summary { min-width: 0; }
.gallery-stage { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border: 1px solid #ffffff1b; border-radius: 12px; background: #100d0f; }
.gallery-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-stage > [data-slide]:has(video) { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.gallery-stage video { width: 100%; height: 100%; }
.video-description { margin: 0; padding: 10px 48px; color: var(--muted); font-size: 12px; text-align: center; }
.gallery-arrows { position: absolute; inset: 12px 12px auto; justify-content: space-between; pointer-events: none; }
.gallery-arrows button { pointer-events: auto; }
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-toolbar button { min-height: 44px; padding: 7px 13px; border: 1px solid #ffffff33; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 13px; }
.gallery-toolbar button[aria-pressed="true"], .gallery-toolbar button:hover { color: var(--white); border-color: var(--accent); }
.gallery-caption { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.product-summary { padding-block: 24px; }
.product-summary h1 { font-size: clamp(38px, 4.5vw, 67px); }
.product-summary .market-links .button { background: var(--button); padding-inline: 16px; }
.product-summary .market-links .button:hover { background: #a61b2a; }

.review-section { margin-top: 52px; padding-top: 32px; border-top: 1px solid #ffffff1b; }
.review-section h2 { font-size: clamp(32px, 4vw, 46px); }
.review-note { color: var(--muted); margin: 12px 0 20px; }
.review-card { margin: 0; padding: 20px; border: 1px solid #ffffff1b; border-radius: 10px; background: var(--surface); }
.review-card blockquote { margin: 0 0 16px; line-height: 1.55; }
.review-card figcaption { color: var(--white); font-size: 13px; font-weight: 700; }
.review-card figcaption span { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; }

@media (max-width: 760px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-summary { padding-block: 4px; }
  .review-section { margin-top: 34px; }
}
