/* ==========================================================================
   Sinaracing — design system
   Carbon dark + cold paper, one anodized-cobalt accent.
   ========================================================================== */

:root {
  --carbon: #15171b;
  --carbon-2: #1d2026;
  --carbon-line: rgba(255, 255, 255, .12);
  --paper: #f1f3f6;
  --white: #ffffff;
  --ink: #12161c;
  --ink-soft: #4a5362;
  --line: #d5dae2;

  --cobalt: #2347f5;            /* on light: 6.4:1 with white */
  --cobalt-deep: #1a37c4;
  --cobalt-light: #9bb0ff;      /* on carbon: 8:1 */

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "DejaVu Sans Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 68px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1280px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 72px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: .005em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--cobalt-light);
}

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 300;
  background: var(--white); color: var(--ink); padding: .75rem 1.1rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would turn it into the containing block of the fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 23, 27, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--carbon-line);
}
.site-header .bar {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; min-height: 44px; }
.brand-mark { width: 30px; height: 26px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .16em; text-transform: uppercase; }
.brand-tag { font-size: .72rem; letter-spacing: .12em; color: #b4bcc9; margin-top: .3rem; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -.5rem;
  background: none; border: 0; color: #fff; cursor: pointer; border-radius: var(--radius);
}
.menu-toggle .lines { position: relative; width: 24px; height: 2px; background: currentColor; transition: background .2s; }
.menu-toggle .lines::before, .menu-toggle .lines::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor;
  transition: transform .25s ease;
}
.menu-toggle .lines::before { top: -7px; }
.menu-toggle .lines::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .lines::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .lines::after { transform: translateY(-7px) rotate(-45deg); }

.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem;
  font: inherit; font-size: .98rem; font-weight: 500; color: #e4e8ee; background: none; border: 0;
  text-decoration: none; cursor: pointer; border-radius: var(--radius);
  position: relative;
}
.nav-link::after, .nav-trigger::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 6px; height: 2px;
  background: var(--cobalt-light); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover, .nav-trigger:hover { color: #fff; }
.nav-link:hover::after, .nav-trigger:hover::after,
.nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-trigger::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-trigger { color: #fff; }

.nav-item { position: relative; }
.nav-trigger .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; padding: .5rem;
  background: var(--carbon-2); border: 1px solid var(--carbon-line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-item.is-open > .submenu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) {
  .nav-item:hover > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.submenu a {
  display: flex; flex-direction: column; padding: .65rem .85rem; min-height: 44px; justify-content: center;
  text-decoration: none; color: #e4e8ee; border-radius: 3px; font-weight: 500; line-height: 1.25;
}
.submenu a small { font-weight: 400; font-size: .8rem; color: #a9b2c0; }
.submenu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.submenu a[aria-current="page"] { color: var(--cobalt-light); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--carbon);
    padding: 1rem var(--gutter) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--carbon-line); }
  .nav-link, .nav-trigger {
    width: 100%; justify-content: space-between; min-height: 60px; padding: 0 .25rem;
    font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: .01em;
  }
  .nav-link::after, .nav-trigger::after { display: none; }
  .nav-link[aria-current="page"], .nav-item.is-current > .nav-trigger { color: var(--cobalt-light); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    min-width: 0; padding: 0 0 1rem; background: none; border: 0; box-shadow: none;
  }
  .nav-item.is-open > .submenu { display: block; }
  .submenu a { padding: .6rem .25rem .6rem 1rem; font-size: 1.05rem; border-left: 2px solid var(--carbon-line); border-radius: 0; }
  .submenu a[aria-current="page"] { border-left-color: var(--cobalt-light); }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

.text-link {
  font-weight: 600; color: var(--cobalt); text-decoration: underline; text-underline-offset: .25em;
  text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--cobalt-deep); }
.on-dark .text-link { color: var(--cobalt-light); }
.on-dark .text-link:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
main { display: block; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.on-dark { background: var(--carbon); color: #eef1f5; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 42ch; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--carbon);
  min-height: min(100svh, 58rem);
  padding-top: var(--header-h);
  display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: hero-settle 2.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 23, 27, .94) 0%, rgba(21, 23, 27, .80) 38%, rgba(21, 23, 27, .25) 78%, rgba(21, 23, 27, .1) 100%),
    linear-gradient(0deg, rgba(21, 23, 27, .85) 0%, rgba(21, 23, 27, 0) 40%);
}
.hero-inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); display: grid; gap: 3rem; }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 6.75rem); line-height: .92; letter-spacing: -.005em;
  max-width: 11em;
}
.hero h1 span { display: block; white-space: normal; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 span:nth-child(2) { animation-delay: .12s; }
.hero h1 span:nth-child(3) { animation-delay: .24s; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dde2ea; max-width: 40ch; margin: 1.6rem 0 2rem; animation: rise .9s .4s cubic-bezier(.2, .7, .2, 1) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; animation: rise .9s .5s cubic-bezier(.2, .7, .2, 1) both; }

.hero-latest {
  display: flex; align-items: center; gap: 1rem; width: fit-content; max-width: 100%;
  padding: .6rem 1.2rem .6rem .6rem; text-decoration: none; color: #fff;
  background: rgba(21, 23, 27, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--carbon-line); border-radius: var(--radius);
  animation: rise .9s .65s cubic-bezier(.2, .7, .2, 1) both;
  transition: border-color .2s, background .2s;
}
.hero-latest:hover { border-color: rgba(255, 255, 255, .45); background: rgba(21, 23, 27, .75); }
.hero-latest img { width: 92px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: #fff; }
.hero-latest small { display: block; font-size: .8rem; color: #b4bcc9; line-height: 1.2; }
.hero-latest strong { display: block; font-weight: 600; line-height: 1.3; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 700px) { .hero h1 span { white-space: nowrap; } }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }

/* --------------------------------------------------------------------------
   Product lineup (home)
   -------------------------------------------------------------------------- */
.lineup { display: grid; gap: 1.25rem; grid-template-columns: repeat(12, 1fr); }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s;
  grid-column: span 12;
}
.product-card:hover { border-color: var(--ink); }
.product-card .plate { --pad: clamp(.75rem, 2vw, 1.5rem); position: relative; height: clamp(230px, 30vw, 400px); display: grid; place-items: center; background: var(--white); }
.product-card .plate img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; mix-blend-mode: multiply; }
.product-card .meta { display: grid; gap: .35rem; padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.product-card h3 { font-size: 2rem; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.product-card .price { margin-top: .5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-card .price small { font-weight: 400; color: var(--ink-soft); }

.product-card.is-soon { background: var(--carbon); color: #eef1f5; border-color: var(--carbon); }
.product-card.is-soon .plate {
  background:
    linear-gradient(135deg, rgba(21, 23, 27, .86), rgba(21, 23, 27, .62)),
    url("../images/detail-carbon-800.jpg") center / cover;
  color: #fff; text-align: center;
}
.product-card.is-soon .plate span { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: .04em; }
.product-card.is-soon .meta { border-color: var(--carbon-line); }
.product-card.is-soon p, .product-card.is-soon .price small { color: #b4bcc9; }
.product-card.is-soon:hover { border-color: var(--cobalt-light); }

@media (min-width: 720px) {
  .product-card { grid-column: span 6; }
  .product-card.is-wide { grid-column: span 7; }
  .product-card.is-narrow { grid-column: span 5; }
}

/* --------------------------------------------------------------------------
   Approach (home) & shared split layout
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } .split.is-reverse { grid-template-columns: 6fr 5fr; } .split.is-reverse > :first-child { order: 2; } }

.photo-frame { border-radius: var(--radius); overflow: hidden; background: var(--carbon); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.is-tall { aspect-ratio: 4 / 5; }
.photo-frame.is-tall img { object-position: 30% 50%; }
@media (max-width: 899px) { .photo-frame.is-tall { aspect-ratio: 4 / 3; } }

.principles { display: grid; }
.principle { display: grid; grid-template-columns: 1fr; gap: .4rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 1.9rem; }
.principle p { margin: 0; color: var(--ink-soft); }
.approach-title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Video (home)
   -------------------------------------------------------------------------- */
.video-wrap { max-width: 1100px; margin-inline: auto; }
.video {
  position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--carbon-line);
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video img { filter: brightness(.7); transition: filter .3s, transform .6s; }
.video:hover img { filter: brightness(.85); transform: scale(1.02); }
.video-play {
  position: absolute; inset: 0; width: 100%; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #fff;
}
.video-play .disc {
  display: grid; place-items: center; width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--cobalt); box-shadow: 0 0 0 10px rgba(35, 71, 245, .28); transition: transform .2s, box-shadow .2s;
}
.video-play:hover .disc { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(35, 71, 245, .3); }
.video-play svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }

/* --------------------------------------------------------------------------
   Contact band
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.4fr 1fr; } }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); margin-bottom: 1rem; }
.contact p { color: var(--ink-soft); }
.contact-actions { display: grid; gap: 1rem; justify-items: start; }
.mail-link { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-decoration: none; border-bottom: 3px solid var(--cobalt); line-height: 1.2; word-break: break-word; }
.mail-link:hover { color: var(--cobalt); }

.social { display: flex; gap: .6rem; }
.social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid currentColor; color: inherit; transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.social svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--carbon); color: #c9d0db; padding-block: 3.5rem 2.25rem; border-top: 1px solid var(--carbon-line);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25% 75%, rgba(255, 255, 255, .025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25% 75%, rgba(255, 255, 255, .025) 75%);
  background-size: 12px 12px; background-position: 0 0, 6px 6px;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: #fff; margin-bottom: .9rem; }
.footer-links { display: grid; gap: .1rem; }
.footer-links a { display: inline-block; padding: .4rem 0; min-height: 36px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color: #b4bcc9; font-size: .98rem; }
.site-footer .social a:hover { background: #fff; border-color: #fff; color: var(--carbon); }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--carbon-line); font-size: .9rem; color: #a9b2c0; }

/* --------------------------------------------------------------------------
   Inner page header
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; background-color: var(--carbon);
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25% 75%, rgba(255, 255, 255, .035) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25% 75%, rgba(255, 255, 255, .035) 75%);
  background-size: 14px 14px; background-position: 0 0, 7px 7px;
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 85% 0%, rgba(35, 71, 245, .28), transparent 60%), linear-gradient(0deg, rgba(21, 23, 27, .6), transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: #b4bcc9; margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: #6c7686; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.page-hero h1 { font-size: clamp(3.2rem, 8.5vw, 7rem); line-height: .92; }
.page-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dde2ea; max-width: 52ch; margin: 1.5rem 0 0; }

/* Spec strip: real facts about the part, as a definition list */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-block: 1px solid var(--line); background: var(--white); }
.specs div { padding: 1.4rem var(--gutter) 1.4rem 0; }
.specs dt { font-size: .85rem; color: var(--ink-soft); margin-bottom: .2rem; }
.specs dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.specs-wrap { background: var(--white); }
.specs-wrap .container { padding-block: 0; }
@media (max-width: 699px) { .specs div + div { border-top: 1px solid var(--line); } }
@media (min-width: 700px) {
  .specs div + div { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
}

/* In-page jump nav */
.jump { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .4rem; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; white-space: nowrap; font-weight: 500; text-decoration: none; color: var(--ink); border-radius: var(--radius); }
.jump a:hover { background: var(--paper); }
.jump a[aria-current="true"] { background: var(--ink); color: #fff; }

/* Product article blocks */
.block { display: grid; gap: clamp(1.75rem, 4vw, 4rem); padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
@media (min-width: 960px) { .block { grid-template-columns: 4fr 7fr; align-items: start; } .block > .block-text { position: sticky; top: calc(var(--header-h) + 90px); } }
.block h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.4rem; }
.block-text .meta-price { display: inline-flex; gap: .5rem; align-items: baseline; margin-top: .5rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-variant-numeric: tabular-nums; }
.block-text .meta-price strong { font-weight: 600; }
.block-text .meta-price a { margin-left: .4rem; font-size: .92rem; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery .is-full { grid-column: 1 / -1; }
.zoom {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; cursor: zoom-in;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.zoom:hover { border-color: var(--ink); }
.zoom img { width: 100%; height: auto; mix-blend-mode: multiply; }
.zoom.is-contain { aspect-ratio: 4 / 3; }
.zoom.is-contain img { position: absolute; inset: .5rem; width: calc(100% - 1rem); height: calc(100% - 1rem); object-fit: contain; }
.zoom.is-portrait { aspect-ratio: 4 / 5; }
.zoom.is-photo img { mix-blend-mode: normal; }
.zoom::after {
  content: ""; position: absolute; right: .6rem; bottom: .6rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(21, 23, 27, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5.5 5.5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity .2s;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }
@media (hover: none) { .zoom::after { opacity: .9; } }

/* Alternating photo + text (G0dZina) */
.story { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .story { grid-template-columns: 7fr 5fr; } .story.is-flip { grid-template-columns: 5fr 7fr; } .story.is-flip > .zoom, .story.is-flip > .pair { order: 2; } }
.story p:last-child { margin-bottom: 0; }
.story p { color: var(--ink-soft); font-size: 1.1rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* --------------------------------------------------------------------------
   Price list
   -------------------------------------------------------------------------- */
.price-layout { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 960px) { .price-layout { grid-template-columns: 7fr 4fr; } .price-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.price-group { margin-bottom: 3rem; }
.price-group h2 { font-size: 2.2rem; margin-bottom: .6rem; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; }
.price-table th, .price-table td { padding: 1rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table th { font-weight: 400; padding-right: 1rem; }
.price-table td { text-align: right; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; white-space: nowrap; }
.price-table td.is-ask { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-table th small { display: block; color: var(--ink-soft); font-size: .88rem; }
.price-note { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-note h2 { font-size: 1.9rem; margin-bottom: .7rem; }
.price-note p { color: var(--ink-soft); }
.price-aside .photo-frame { margin-bottom: 1.25rem; aspect-ratio: 4 / 3; }

/* --------------------------------------------------------------------------
   Fenix / coming soon
   -------------------------------------------------------------------------- */
.soon { display: grid; gap: 2rem; padding-block: clamp(3rem, 8vw, 7rem); }
.soon h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.soon .price-chip { display: inline-flex; gap: .6rem; align-items: baseline; padding: .8rem 1.1rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.soon .price-chip strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.soon-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-copy p { font-size: 1.2rem; line-height: 1.7; }
.about-copy p:first-child { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--ink); }
.about-copy p:not(:first-child) { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 9, 11, .94); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(8, 9, 11, .94); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .2s ease both; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 4.5rem 1rem 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 2px; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter) 1.25rem; }
.lightbox-cap { margin: 0; color: #c9d0db; font-size: .95rem; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (max-width: 700px) {
  .lightbox figure { padding-inline: .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: .9rem; transform: none; }
  .lb-prev { left: auto; right: 5rem; }
  .lb-next { right: 1rem; }
  .lightbox-bar { padding-right: 9.5rem; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
