/* ============================================================
   COMPONENTS — shared, page-agnostic primitives.
   Buttons, section header system, the numbered image-placeholder
   system, and the full-width divider. Loaded on every page (via
   base.njk) so pages never copy-paste these. Page-specific
   component variants live in each page's own stylesheet.
   ============================================================ */

/* ── SECTION BASE + HEADERS ── */
/* ── SECTION BASE ── */
section { max-width: 1200px; margin: 0 auto; padding: 128px 48px; }

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.section-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  color: var(--dark);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.section-headline em {
  font-style: italic;
  color: var(--navy);
}

.section-body {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 4px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 4px 16px -4px rgba(0, 181, 226, 0.4);
}

.btn-primary:hover {
  background: #00a3cb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 181, 226, 0.55);
}

.btn-primary:active { transform: translateY(0); transition-duration: 0.1s; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

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

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}

.btn-dark:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 83, 159, 0.5);
}

.btn-dark:active { transform: translateY(0); transition-duration: 0.1s; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 32px;
  display: inline-flex;
}

.btn-outline-white:hover { border-color: var(--cyan); background: rgba(0,181,226,0.08); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 4px 20px -6px rgba(0, 0, 0, 0.3);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -8px rgba(0, 0, 0, 0.4);
}

.btn-white:active { transform: translateY(0); transition-duration: 0.1s; }

/* ── IMAGE PLACEHOLDER SYSTEM ── */
/* Numbered placeholder used in every image slot until photography
   lands (final image phase). .img-placeholder is the small corner
   badge; .product-placeholder is the full 4:5 tinted box. */
.img-placeholder {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(0,83,159,0.85);
  color: white;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
  font-family: 'Helvetica Neue', monospace;
}

.product-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e8edf2;
  gap: 12px;
  position: relative;
}

.product-placeholder-num {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  color: rgba(0,83,159,0.15);
  line-height: 1;
}

.product-placeholder-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,83,159,0.4);
  text-align: center;
  padding: 0 16px;
}

/* ── DIVIDER ── */
.full-divider {
  height: 0.5px;
  background: var(--border);
  margin: 0 48px;
}

/* ── INTERIOR PAGE HERO ── */
/* Navy banner used at the top of every interior page. Top padding
   clears the fixed 92px nav. Registered as a dark section in site.js
   so the custom cursor inverts over it. */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 168px 48px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.page-hero .section-eyebrow { color: var(--cyan); }

.page-hero-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.01em;
}

.page-hero-headline em { font-style: italic; color: var(--cyan); }

.page-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 580px;
  margin-top: 22px;
}

/* faint oversized watermark, echoes the homepage CTA band */
.page-hero-mark {
  position: absolute;
  right: -3%;
  bottom: -36%;
  font-family: 'Anton', sans-serif;
  font-size: clamp(160px, 30vw, 420px);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .page-hero { padding: 132px 24px 56px; }
}

/* ── PRODUCT CARD (reused on homepage + products index) ── */
.product-card { border-radius: 8px; }
.product-card .product-card-img-wrap { border-radius: 8px 8px 0 0; overflow: hidden; }

.product-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(0, 40, 80, 0.18);
  z-index: 2;
}

.product-card-img {
  width: 100%;
  height: auto; /* let aspect-ratio drive height; ignore the img height attr */
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.product-card:hover .product-card-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.product-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.product-card-body {
  padding: 28px 24px 32px;
  border-top: 2px solid var(--off-white);
}

.product-card-tag {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.product-card-name {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.product-card-name .pc-brand { color: var(--navy); }


.product-card-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-card-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s var(--ease-out), gap 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card-link:hover { color: var(--cyan); gap: 10px; }
