/* ==========================================================================
   ESCOVA — Global Stylesheet
   Noir Black & Flame Red | Anton + Work Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --noir: #0a0000;
  --noir-soft: #141414;
  --noir-card: #17171a;
  --line: #2a2a2a;
  --flame: #ff0000;
  --flame-dark: #cc0000;
  --flame-glow: rgba(255, 0, 0, 0.35);
  --white: #ffffff;
  --off-white: #f4f4f2;
  --grey: #9a9a9a;
  --grey-dim: #6b6b6b;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

h1 { font-size: clamp(42px, 7vw, 84px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 20px; }

p { color: var(--grey); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--flame);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: var(--flame);
}
.section-head h2 { margin: 0; }

/* Angular corner-bracket motif, used on cards & CTAs */
.bracket {
  position: relative;
}
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--flame);
  opacity: 0.9;
}
.bracket::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--white); color: var(--noir); }

.btn-fill {
  border-color: var(--flame);
  background: var(--flame);
  color: var(--white);
}
.btn-fill:hover { background: var(--flame-dark); border-color: var(--flame-dark); color: var(--white); }

.btn-ghost-red {
  border-color: var(--flame);
  color: var(--flame);
}
.btn-ghost-red:hover { background: var(--flame); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 11px; }

.arrow { font-size: 15px; transform: translateY(-1px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(20,0,0,0.96), rgba(10,10,10,0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 26px; }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--flame);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--white); }

.nav-icons { display: flex; align-items: center; gap: 20px; font-size: 17px; }
.nav-icons a { opacity: 0.9; }
.nav-icons a:hover { color: var(--flame); opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 100px 0 70px;
  background: linear-gradient(160deg, #c40000 0%, var(--noir) 55%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: "ESCOVA";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--flame); }
.page-hero h1 { max-width: 780px; }
.page-hero p.lead {
  max-width: 560px;
  margin-top: 18px;
  font-size: 17px;
  color: var(--grey);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--flame); }
.breadcrumb span.sep { color: var(--line); }
.breadcrumb span.current { color: var(--flame); }

/* ==========================================================================
   HOME — HERO SLIDER
   Mobile-first base styles below. Desktop/laptop layout (a distinct,
   absolutely-positioned editorial layout) lives inside the
   "min-width: 981px" block further down — mobile is NOT a squeezed
   version of desktop, it's a separate stacked layout.
   ========================================================================== */

.hero-slider {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid var(--line);
}

/* Mobile: slides sit in normal document flow, one shown at a time via
   display toggling, so the slider height always matches the active slide. */
.hero-slide {
  display: none;
}
.hero-slide.active {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #a80000 0%, #990000 100%);
}
.hero.variant-b { background: linear-gradient(180deg, #990000 0%, #a80000 100%); }
.hero.variant-c { background: linear-gradient(180deg, #990000 0%, #a80000 100%); }

/* Mobile hero content: image band on top, copy stacked below */
.hero-grid {
  display: flex;
  flex-direction: column;
  padding: 0 0 30px;
}
.hero-copy {
  order: 2;
  max-width: 100%;
  padding: 22px 24px 0;
  position: relative;
  z-index: 4;
}
.hero-copy .eyebrow { color: #ff6b62; }
.hero.variant-b .hero-copy .eyebrow,
.hero.variant-c .hero-copy .eyebrow { color: var(--flame); }
.hero-copy h1 { color: var(--white); font-size: clamp(38px, 12vw, 56px); }
.hero-copy .sub {
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 1.6;
}
.hero-copy .btn { margin-top: 26px; width: 100%; justify-content: center; }
.hero-logo img { max-height: 46px; margin-bottom: 4px; }
.hero-avail { margin-top: 18px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--off-white); opacity: 0.85; }

.hero-watermark { display: none; }

.hero-models {
  order: 1;
  display: flex;
  gap: 2px;
  height: 300px;
  width: 100%;
}
.hero-models img {
  height: 100%;
  width: 50%;
  object-fit: cover;
  filter: brightness(0.92);
}
.hero-models img.model-2 { margin-top: 0; }

/* Callout / feature-card are desktop-only editorial flourishes */
.hero-callout,
.hero-feature-card {
  display: none;
}

/* Slider controls — mobile: static, centered, below the slide content */
.hero-dots {
  position: static;
  transform: none;
  justify-content: center;
  margin: 18px auto 0;
  z-index: 10;
}
.hero-dots button {
  width: 26px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-dots button.active { background: var(--flame); }

.hero-arrow { display: none; }

/* ==========================================================================
   HOME — HERO (Desktop / Laptop layout)
   From 981px up: full-bleed split-tone editorial hero, slides cross-fade
   and stack via absolute positioning, models/callout/feature-card overlay
   the frame, and dots/arrows float over the image.
   ========================================================================== */
@media (min-width: 981px) {
  .hero-slider {
    min-height: 640px;
    overflow: hidden;
  }
  .hero-slide {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
    z-index: 1;
  }
  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .hero {
    min-height: 640px;
    height: 100%;
    background: linear-gradient(100deg, #a80000 0%, #990000 42%, var(--off-white) 42%, #eceae4 100%);
  }
  .hero.variant-b { background: linear-gradient(100deg, #eceae4 0%, #eceae4 58%, #990000 58%, #a80000 100%); }
  .hero.variant-c { background: linear-gradient(100deg, #990000 0%, #a80000 100%); }
  .hero.variant-c .hero-copy .eyebrow,
  .hero.variant-c .hero-copy .sub { color: var(--off-white); }

  .hero-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 32px 40px;
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-copy { order: 0; max-width: 480px; padding: 0; }
  .hero-copy h1 { font-size: clamp(52px, 6vw, 84px); }
  .hero-copy .sub { font-size: 15px; }
  .hero-copy .btn { width: auto; justify-content: flex-start; margin-top: 34px; }

  .hero-watermark {
    display: block;
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 260px;
    color: rgba(0,0,0,0.045);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
  }

  .hero-models {
    order: 0;
    position: absolute;
    right: 6%;
    bottom: 0;
    top: 60px;
    height: auto;
    width: auto;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    z-index: 3;
  }
  .hero-models img {
    height: 100%;
    max-height: 560px;
    width: 190px;
    filter: none;
    border-radius: 3px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  }
  .hero-models img.model-2 { margin-top: 60px; }

  .hero-callout {
    display: block;
    position: absolute;
    top: 60px;
    right: 6%;
    z-index: 5;
    text-align: right;
    max-width: 260px;
  }
  .hero-callout h4 { font-size: 20px; color: var(--noir); line-height: 1.15; }
  .hero-callout .bars { display: flex; justify-content: flex-end; gap: 4px; margin-top: 10px; }
  .hero-callout .bars span { width: 5px; height: 14px; background: var(--flame); opacity: 0.85; }
  .hero-callout .bars span:nth-child(3),
  .hero-callout .bars span:nth-child(5) { background: #d8d5cf; }

  .hero-feature-card {
    display: block;
    position: absolute;
    right: 2%;
    bottom: 40px;
    z-index: 6;
    background: var(--noir);
    border: 1px solid var(--line);
    padding: 18px 20px;
    width: 150px;
    text-align: right;
  }
  .hero-feature-card .tag { color: var(--flame); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
  .hero-feature-card .desc { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey); margin-top: 6px; line-height: 1.5; }
  .hero-feature-card .device {
    margin: 12px 0 0 auto;
    width: 26px;
    height: 90px;
    background: linear-gradient(180deg, #3a3a3a, #0e0e0e 70%);
    border-radius: 6px 6px 3px 3px;
    border: 1px solid #444;
    position: relative;
  }
  .hero-feature-card .device::before {
    content: "";
    position: absolute;
    top: -8px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 10px;
    background: #111;
    border-radius: 2px 2px 0 0;
  }
  .hero-feature-card .device::after {
    content: "";
    position: absolute;
    bottom: 18px; left: 3px; right: 3px; height: 2px;
    background: var(--flame);
  }

  /* Slider controls — desktop: floating over the image */
  .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    margin: 0;
  }
  .hero-dots button { width: 34px; height: 3px; background: rgba(255,255,255,0.35); }

  .hero-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(10,10,10,0.35);
    color: var(--white);
    font-size: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .hero-arrow:hover { border-color: var(--flame); background: rgba(225,6,0,0.25); }
  .hero-arrow.prev { left: 20px; }
  .hero-arrow.next { right: 20px; }
}

/* ==========================================================================
   PRODUCT DEVICE — CSS-drawn placeholder (no product photography required)
   ========================================================================== */
.device-render {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 110%, rgba(225,6,0,0.18), transparent 60%), var(--noir-soft);
  position: relative;
  overflow: hidden;
}
.device-render .pen {
  width: 46px;
  height: 160px;
  background: linear-gradient(120deg, #4a4a4a 0%, #1c1c1c 45%, #050505 100%);
  border-radius: 10px 10px 5px 5px;
  border: 1px solid #3a3a3a;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.device-render .pen::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 16px;
  background: #0c0c0c;
  border-radius: 3px 3px 0 0;
  border: 1px solid #333;
}
.device-render .pen::after {
  content: "";
  position: absolute;
  bottom: 30px; left: 6px; right: 6px; height: 3px;
  background: var(--flame);
  box-shadow: 0 0 10px var(--flame-glow);
}
.device-render.mini .pen { height: 110px; width: 34px; }
.device-render.accessory { gap: 10px; }
.device-render.accessory .bud {
  width: 30px; height: 40px;
  background: linear-gradient(160deg, #4a4a4a, #0c0c0c);
  border-radius: 12px 12px 16px 16px;
  border: 1px solid #3a3a3a;
  margin: 0 4px;
}

/* ==========================================================================
   HOME — COLLECTION GRID
   ========================================================================== */
.collection {
  padding-top: 60px;
  padding-bottom: 60px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-left: none;
}
.collection-card {
  border-left: 1px solid var(--line);
  background: var(--noir-card);
  padding: 26px 24px 30px;
  transition: background 0.25s ease;
}
.collection-card:hover { background: #1d1414; }
.card-photo {
  background: #fff; height: 230px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; border-radius: 6px; margin-bottom: 14px;
}
.card-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.collection-card h3 { font-size: 19px; margin-bottom: 8px; }
.collection-card p { font-size: 13px; margin-bottom: 18px; }
.collection-card .view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.collection-card .view-link .arrow { color: var(--flame); }
.collection-card .view-link:hover { color: var(--flame); }

/* ==========================================================================
   HOME — WORLDWIDE
   ========================================================================== */
.worldwide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.country-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.country-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.country-card:hover img { transform: scale(1.06); filter: brightness(0.65) saturate(1.2); }
.country-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,0,0,0.1) 0%, rgba(10,0,0,0.85) 100%);
}
.country-content {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
}
.country-content h3 { font-size: 24px; margin-bottom: 6px; }
.country-content .tagline { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--off-white); margin-bottom: 16px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-logo img { height: 24px; }
.footer-social { display: flex; gap: 16px; font-size: 17px; }
.footer-social a { border: 1px solid var(--line); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.footer-social a:hover { border-color: var(--flame); color: var(--flame); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding: 28px 0;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grey);
}
.footer-links a:hover { color: var(--flame); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 11px;
  color: var(--grey-dim);
  flex-wrap: wrap;
}
.stripe-accent { display: flex; gap: 4px; }
.stripe-accent span {
  width: 4px; height: 20px; background: var(--flame);
  transform: skewX(-20deg);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--noir-card);
  padding: 32px 26px;
  position: relative;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--flame);
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: block;
}
.value-card h3 { margin-bottom: 10px; font-size: 18px; }
.value-card p { font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--line); }
.split .copy p { margin-bottom: 16px; font-size: 15px; line-height: 1.7; }

.timeline { border-left: 2px solid var(--line); padding-left: 30px; display: grid; gap: 34px; margin-top: 10px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; background: var(--flame); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225,6,0,0.18);
}
.timeline-item .year { color: var(--flame); font-weight: 800; font-size: 13px; letter-spacing: 1px; margin-bottom: 6px; display: block; }
.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; }

.hq-banner {
  margin-top: 80px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #c40000, var(--noir));
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hq-banner h3 { font-size: 22px; }
.hq-banner p { margin-top: 6px; font-size: 14px; }

/* ==========================================================================
   PRODUCTS OVERVIEW / CATEGORY LISTING
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tabs a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
}
.filter-tabs a.active,
.filter-tabs a:hover { border-color: var(--flame); color: var(--white); background: rgba(225,6,0,0.08); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--line);
  background: var(--noir-card);
  display: flex;
  flex-direction: column;
}
.product-card .card-body { padding: 20px 20px 24px; }
.product-card h3 { font-size: 16px; margin-bottom: 6px; }
.product-card .spec { font-size: 12px; color: var(--grey); margin-bottom: 16px; }
.product-card .view-link {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card .view-link .arrow { color: var(--flame); }

.brand-banner {
  margin-top: 70px;
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #c40000, var(--noir));
}
.brand-banner h2 { color: var(--white); }
.brand-banner .eyebrow { justify-content: center; }
.brand-banner .eyebrow::before { display: none; }

/* Category hero specific */
.category-hero {
  background: linear-gradient(120deg, #c40000 0%, var(--noir) 60%);
}
.category-meta {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.category-meta div span.label {
  display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 6px;
}
.category-meta div span.val { font-size: 16px; font-weight: 700; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pd-gallery-main {
  border: 1px solid var(--line);
  background: var(--noir-card);
  height: 480px;
  position: relative;
}
.pd-gallery-main .device-render { height: 100%; }
.pd-gallery-main .device-render .pen { height: 260px; width: 70px; }
.pd-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--flame);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 0 100%);
}
.pd-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pd-thumbs .thumb {
  width: 76px; height: 76px;
  border: 1px solid var(--line);
  background: var(--noir-card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pd-thumbs .thumb.active { border-color: var(--flame); }
.pd-thumbs .thumb .device-render { height: 100%; width: 100%; }
.pd-thumbs .thumb .device-render .pen { height: 46px; width: 16px; }

.pd-info .eyebrow { margin-bottom: 10px; }
.pd-info h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--grey); margin-bottom: 18px; }
.pd-rating .stars { color: var(--flame); letter-spacing: 2px; }
.pd-price { font-family: var(--font-display); font-size: 30px; color: var(--white); margin-bottom: 22px; }
.pd-price .old { font-family: var(--font-body); font-size: 15px; color: var(--grey-dim); text-decoration: line-through; margin-left: 12px; }

.pd-block { margin-bottom: 26px; }
.pd-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; display: block; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--off-white);
  cursor: pointer;
  background: var(--noir-card);
}
.swatch.active, .swatch:hover { border-color: var(--flame); color: var(--flame); }

.qty-row { display: flex; align-items: center; gap: 20px; }
.qty-stepper {
  display: flex; align-items: center; border: 1px solid var(--line);
}
.qty-stepper button {
  width: 40px; height: 44px; background: none; border: none; color: var(--white);
  font-size: 16px; cursor: pointer;
}
.qty-stepper button:hover { color: var(--flame); }
.qty-stepper input {
  width: 46px; text-align: center; background: none; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  color: var(--white); font-size: 14px; height: 44px;
}
.pd-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; justify-content: center; min-width: 200px; }

.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-spec-table tr { border-bottom: 1px solid var(--line); }
.pd-spec-table td { padding: 12px 0; }
.pd-spec-table td:first-child { color: var(--grey); width: 40%; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
.pd-spec-table td:last-child { color: var(--white); font-weight: 600; }

.pd-authenticity {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--noir-card);
  padding: 18px 20px;
  margin-top: 30px;
}
.pd-authenticity .ic { color: var(--flame); font-size: 20px; }
.pd-authenticity h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.pd-authenticity p { font-size: 13px; }

.pd-accordions { max-width: 780px; }

/* ==========================================================================
   WHOLESALE
   ========================================================================== */
.wholesale-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--noir);
}
.wholesale-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32;
}
.wholesale-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,0,0,0.95) 0%, rgba(10,0,0,0.55) 100%);
}
.wholesale-hero .container { position: relative; z-index: 2; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.benefit-card { background: var(--noir-card); padding: 30px 26px; }
.benefit-card .icon-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--flame);
  display: flex; align-items: center; justify-content: center;
  color: var(--flame); font-weight: 800; margin-bottom: 18px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { font-size: 14px; }

.form-panel {
  border: 1px solid var(--line);
  background: var(--noir-card);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  background: var(--noir);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--flame);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-panel .btn { margin-top: 10px; }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }

/* ==========================================================================
   CAREER
   ========================================================================== */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.culture-card { background: var(--noir-card); padding: 26px 20px; text-align: center; }
.culture-card .mark { font-family: var(--font-display); font-size: 26px; color: var(--flame); margin-bottom: 12px; }
.culture-card h3 { font-size: 14px; margin-bottom: 8px; }
.culture-card p { font-size: 12px; }

.job-list { display: grid; gap: 14px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--noir-card);
  padding: 24px 28px;
  flex-wrap: wrap;
}
.job-card .job-info h3 { font-size: 18px; margin-bottom: 8px; }
.job-card .job-meta { display: flex; gap: 16px; font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; flex-wrap: wrap; }
.job-card .job-meta span { display: flex; align-items: center; gap: 6px; }
.job-card .job-meta span::before { content: "—"; color: var(--flame); }

.apply-banner {
  margin-top: 70px;
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #c40000, var(--noir));
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-info { display: grid; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.info-item .ic {
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--flame); color: var(--flame);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.info-item h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; color: var(--white); font-family: var(--font-body); font-weight: 700; }
.info-item p { font-size: 14px; }

.map-placeholder {
  border: 1px solid var(--line);
  height: 260px;
  background:
    linear-gradient(rgba(225,6,0,0.06) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg, rgba(225,6,0,0.06) 1px, transparent 1px) 0 0/32px 32px,
    var(--noir-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}
.map-placeholder .pin {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--flame);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  top: 45%; left: 48%;
  box-shadow: 0 0 0 6px rgba(225,6,0,0.15);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; color: var(--flame); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 12px; font-size: 14px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .main-nav {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #0a0000;
    padding: 18px 32px 26px; gap: 16px; border-bottom: 1px solid var(--line);
  }
  /* stack product detail + split layouts on tablet/mobile */
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .worldwide-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .benefit-grid, .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  .collection-grid { grid-template-columns: 1fr; }
  .worldwide-grid { grid-template-columns: 1fr; }
  .value-grid, .benefit-grid, .culture-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .job-card { flex-direction: column; align-items: flex-start; }
  /* --- extra mobile polish --- */
  .nav-wrap { padding: 14px 20px; }
  .hero-models { flex-direction: column; height: auto; gap: 6px; }
  .hero-models img { width: 100%; height: auto; object-fit: contain; display: block; }
  .hero-copy { padding: 18px 20px 0; }
  .hero-copy .sub { font-size: 13px; }
  .card-photo { height: 190px; }
  .pd-gallery-main { height: 320px; }
  .pd-thumbs .thumb { width: 64px; height: 64px; }
  .pd-actions { flex-direction: column; align-items: stretch; }
  .pd-actions .btn { width: 100%; justify-content: center; }
  .pd-price { font-size: 24px; }
  .pd-layout { gap: 24px; }
  .pd-spec-table { display: block; overflow-x: auto; white-space: nowrap; }
  .form-grid .full, .two-col .form-panel { min-width: 0; }
}
