@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --black: #080808;
  --black-soft: #111111;
  --panel: #171717;
  --line: #3b2a23;
  --white: #f7f7f4;
  --muted: #b8b5b1;
  --yellow: #ff681f;
  --yellow-dark: #d9470b;
  --orange-light: #ff9a3d;
  --red: #d9342b;
  --gray: #a5a7a8;
  --radius: 0;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Barlow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 9%, rgba(255,90,31,.14), transparent 26rem),
    linear-gradient(180deg, #080808 0%, #0b0b0b 48%, #080808 100%);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--yellow); color: var(--black); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  gap: 24px;
  padding: 8px clamp(20px, 4vw, 64px);
  border-bottom: 3px solid var(--yellow);
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(14px);
}
.brand { width: 164px; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; filter: hue-rotate(-24deg) saturate(1.35); }
nav { display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); }
nav a, .header-contact { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--yellow); }
.header-contact { justify-self: end; color: var(--black); background: var(--yellow); padding: 12px 18px; }
.header-contact:hover, .header-contact:focus-visible { background: var(--white); }

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 96px);
  overflow: hidden;
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(8,8,8,.98) 0%, rgba(8,8,8,.9) 38%, rgba(8,8,8,.42) 72%, rgba(8,8,8,.62) 100%),
    linear-gradient(0deg, rgba(255,104,31,.12), transparent 46%),
    url("assets/products/black-pu-4.jpg");
  background-size: cover;
  background-position: center 44%;
  background-repeat: no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,104,31,.18), transparent 40%); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy { border-left: 6px solid var(--yellow); padding-left: clamp(20px, 3vw, 42px); }
.kicker, .section-index { margin: 0 0 18px; color: var(--yellow); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
h1, h2 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: .86; letter-spacing: -.035em; }
h1 { font-size: clamp(4.6rem, 11vw, 10rem); }
h1 span { color: var(--yellow); }
.hero-text { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.primary-action, .secondary-action, .bulk-action { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.primary-action { background: linear-gradient(135deg, var(--orange-light), var(--yellow)); color: var(--black); box-shadow: 8px 8px 0 rgba(255,104,31,.18); }
.primary-action:hover, .primary-action:focus-visible { background: var(--white); }
.secondary-action { border: 1px solid var(--line); }
.secondary-action:hover, .secondary-action:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.hero-mark { position: relative; min-height: 520px; display: grid; place-items: center; border: 1px solid #373737; background: linear-gradient(145deg, rgba(255,90,31,.12), transparent 42%), repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.025) 18px 19px); box-shadow: 0 34px 90px rgba(0,0,0,.54); }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; background: var(--yellow); }
.hero-mark::before { width: 84px; height: 6px; top: -3px; left: -1px; }
.hero-mark::after { width: 6px; height: 84px; bottom: -1px; right: -3px; }
.mark-frame { width: min(90%, 520px); background: #050505; border: 1px solid #343434; padding: 26px; box-shadow: inset 0 0 0 1px rgba(255,90,31,.08), 0 22px 55px rgba(0,0,0,.46); }
.mark-frame img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.mark-frame img, footer img { filter: hue-rotate(-24deg) saturate(1.35); }
.measure-label { position: absolute; top: 20px; left: 22px; color: var(--yellow); font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em; }
.measure-label-right { top: auto; left: auto; bottom: 18px; right: 20px; }

.use-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--yellow); border-bottom: 1px solid var(--yellow); background: linear-gradient(90deg, var(--yellow-dark), var(--yellow), var(--orange-light)); }
.use-strip p { margin: 0; padding: 19px 12px; text-align: center; color: var(--black); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; border-right: 1px solid rgba(8,8,8,.28); }
.use-strip p:last-child { border-right: 0; }

.products-section { padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 96px); }
.section-heading { display: grid; grid-template-columns: .55fr 1.25fr .8fr; gap: 36px; align-items: end; margin-bottom: 64px; }
.section-heading .section-index { align-self: start; }
.section-heading h2 { border-left: 7px solid var(--yellow); padding-left: 20px; }
h2 { font-size: clamp(3.1rem, 6vw, 6.4rem); }
.section-heading > p:last-child { color: var(--muted); margin: 0; max-width: 42ch; }
.product-list { border-top: 1px solid var(--line); }
.product-card { --product-color: var(--yellow); display: grid; grid-template-columns: minmax(320px, .95fr) minmax(250px, .72fr) 1.15fr 250px; min-height: 480px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--yellow); background: linear-gradient(90deg, rgba(255,104,31,.1), transparent 48%); }
.product-card:nth-child(even) { background: linear-gradient(90deg, rgba(255,104,31,.16), transparent 55%); }
.product-visual { position: relative; background: var(--product-color); color: #111; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; overflow: hidden; }
.product-visual::after { content: ""; width: 170px; height: 170px; position: absolute; right: -98px; bottom: -84px; border: 24px solid rgba(0,0,0,.18); transform: rotate(45deg); }
.product-number { font-family: var(--display); font-size: 1.4rem; }
.product-color-name { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-end; }
.product-gallery { min-width: 0; display: grid; grid-template-rows: 1fr auto; background: #101010; border-right: 1px solid var(--line); }
.gallery-stage { position: relative; min-height: 370px; overflow: hidden; background: #f1f1ef; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-label { position: absolute; top: 16px; left: 16px; padding: 8px 11px; background: var(--yellow); color: var(--black); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(54px, 1fr); gap: 1px; overflow-x: auto; background: var(--line); border-top: 1px solid var(--line); scrollbar-width: thin; }
.gallery-thumb { appearance: none; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #181818; cursor: pointer; position: relative; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .58; }
.gallery-thumb.is-active::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--yellow); pointer-events: none; }
.gallery-thumb.is-active img, .gallery-thumb:hover img, .gallery-thumb:focus-visible img { opacity: 1; }
.product-title { padding: 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.product-title h3 { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: .92; text-transform: uppercase; margin: 0 0 20px; }
.product-title p { color: var(--muted); margin: 0; }
.product-details { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-content: center; border-right: 1px solid var(--line); }
.detail-block h4 { margin: 0 0 12px; font-size: .74rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .14em; }
.detail-block ul { margin: 0; padding: 0; list-style: none; }
.detail-block li { margin: 0 0 8px; color: #d8d8d3; }
.detail-block li::before { content: "+"; color: var(--product-color); margin-right: 9px; font-weight: 800; }
.buy-panel { padding: 34px 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.market-button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 16px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.market-button[data-active="true"] { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.market-button[aria-disabled="true"] { cursor: not-allowed; border-color: rgba(255,104,31,.62); background: rgba(255,104,31,.08); color: var(--white); }
.market-status { font-size: .65rem; opacity: .78; }

.size-section, .about-section, .contact-section, .bulk-section { margin: 0 clamp(20px, 6vw, 96px); border-top: 2px solid var(--yellow); padding: clamp(64px, 8vw, 110px) 0; }
.size-section h2, .about-section h2, .contact-section h2 { border-left: 7px solid var(--yellow); padding-left: 20px; }
.size-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.size-copy ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.size-copy li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.size-copy li span { color: var(--yellow); font-family: var(--display); font-size: 1.3rem; }
.size-note { margin: 24px 0 0; color: var(--white); font-weight: 600; }
.about-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about-badge { aspect-ratio: 1; display: grid; place-items: center; max-width: 340px; background: linear-gradient(145deg, var(--orange-light), var(--yellow) 55%, var(--yellow-dark)); color: var(--black); font-family: var(--display); font-size: clamp(5rem, 12vw, 10rem); font-weight: 800; box-shadow: 24px 24px 0 #202020; }
.about-copy p:last-child { color: var(--muted); max-width: 65ch; font-size: 1.1rem; }
.contact-section { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.contact-actions a::after { content: "+"; color: var(--yellow); font-size: 1.4rem; }
.contact-actions a:hover, .contact-actions a:focus-visible { color: var(--yellow); }
.bulk-section { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 0; background: linear-gradient(120deg, var(--orange-light), var(--yellow) 55%, var(--yellow-dark)); color: var(--black); padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); }
.bulk-section .section-index { color: var(--black); opacity: .7; }
.bulk-copy p:last-child { margin-bottom: 0; font-weight: 600; }
.bulk-action { background: var(--black); color: var(--white); white-space: nowrap; }
.bulk-action:hover, .bulk-action:focus-visible { background: var(--white); color: var(--black); }

footer { min-height: 220px; display: grid; grid-template-columns: 180px 1fr auto; gap: 30px; align-items: center; padding: 36px clamp(20px, 6vw, 96px); border-top: 1px solid var(--black); }
footer img { width: 170px; }
footer > p { color: var(--yellow); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 700; }
footer .copyright { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--black); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 170px 1fr auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .use-strip { grid-template-columns: repeat(3, 1fr); }
  .use-strip p:nth-child(3) { border-right: 0; }
  .use-strip p:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr 1.5fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .product-card { grid-template-columns: minmax(300px, .9fr) 1fr 1fr; }
  .product-gallery, .product-visual { grid-row: span 2; }
  .buy-panel { grid-column: 2 / 4; flex-direction: row; padding: 22px 32px 30px; border-top: 1px solid var(--line); }
  .market-button { flex: 1; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; padding: 6px 18px; }
  .brand { width: 144px; }
  .brand img { height: 54px; }
  nav { display: none; }
  .header-contact { padding: 10px 12px; font-size: .72rem; }
  .hero { padding: 56px 20px 72px; gap: 48px; }
  h1 { font-size: clamp(4.25rem, 22vw, 7rem); }
  .mark-frame { width: 84%; padding: 14px; }
  .use-strip { grid-template-columns: repeat(2, 1fr); }
  .use-strip p:nth-child(3) { border-right: 1px solid var(--line); }
  .use-strip p:nth-child(even) { border-right: 0; }
  .use-strip p:nth-child(4) { border-bottom: 1px solid var(--line); }
  .products-section { padding-left: 20px; padding-right: 20px; }
  .section-heading { display: block; margin-bottom: 44px; }
  .section-heading > p:last-child { margin-top: 24px; }
  h2 { font-size: clamp(2.9rem, 14vw, 5rem); }
  .product-card { display: block; }
  .product-visual { min-height: 112px; flex-direction: row; }
  .product-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery-stage { min-height: 330px; aspect-ratio: 1; }
  .gallery-thumbs { grid-auto-columns: 74px; }
  .product-color-name { writing-mode: initial; transform: none; align-self: flex-start; }
  .product-title, .product-details { border-right: 0; padding: 26px 20px; }
  .product-title { border-bottom: 1px solid var(--line); }
  .product-details { grid-template-columns: 1fr; }
  .buy-panel { display: grid; grid-column: auto; padding: 20px; }
  .size-section, .about-section, .contact-section { display: block; }
  .size-copy, .about-copy, .contact-actions { margin-top: 42px; }
  .about-badge { max-width: 220px; }
  .bulk-section { display: block; }
  .bulk-action { width: 100%; margin-top: 32px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
