/* ══════════════════════════════════════
   WOLF ENTERPRISE — SHARED STYLESHEET
   ══════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --light: #E2DAD6;
  --panel: #4E3F38;
  --rule:  #C8A878;
  --mid:   #6B5040;
  --ink:   #0F0D0B;
  --navy:  #161210;
  --blue:  #BF9440;
  --font:  'Strichpunkt Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(191,148,64,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,148,64,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(191,148,64,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,148,64,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 4rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  height: 64px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0 1.4rem;
  height: 64px;
  line-height: 64px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a,
.nav-links > li.active > a { color: var(--white); }

.nav-links > li.active > a {
  border-bottom: 2px solid rgba(255,255,255,0.5);
}

/* Dropdown chevron */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 0.5px solid currentColor;
  border-bottom: 0.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.6;
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: 64px; left: 0;
  min-width: 230px;
  background: var(--light);
  border: 0.5px solid var(--rule);
  border-top: 3px solid #4C231A;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-label {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rule);
  border-bottom: 0.5px solid var(--rule);
}

.dropdown a {
  display: block;
  padding: 0.9rem 1.5rem;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  transition: color 0.15s, background 0.15s;
}

.dropdown a:last-child { border-bottom: none; }

.dropdown a:hover {
  color: var(--navy);
  background: var(--white);
}

.dropdown a.current {
  color: var(--navy);
  font-weight: 500;
}

/* Contact button */
.nav-contact > a {
  color: var(--white) !important;
  border: 0.5px solid rgba(255,255,255,0.3);
  margin-left: 1rem;
  padding: 0 1.25rem !important;
  height: 34px !important;
  line-height: 34px !important;
  align-self: center;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-contact > a:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* ─────────────────────────────────────
   SHARED LAYOUT
───────────────────────────────────── */
section { padding: 6rem 4rem; }
.inner { max-width: 1200px; margin: 0 auto; }

/* Two-column utility (product detail pages) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ─────────────────────────────────────
   SECTION LABEL
───────────────────────────────────── */
.sec-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sec-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--rule);
  flex-shrink: 0;
}

/* ─────────────────────────────────────
   SECTION HEADING
───────────────────────────────────── */
.sec-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────
   BODY TEXT
───────────────────────────────────── */
.body-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.9;
  text-align: justify;
}

.body-text + .body-text { margin-top: 1.25rem; }

/* ─────────────────────────────────────
   ARROW LINK
───────────────────────────────────── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  padding-bottom: 3px;
  transition: gap 0.2s, border-color 0.2s;
}

.link-arrow:hover { gap: 1rem; border-color: var(--blue); }
.link-arrow::after { content: '→'; }

/* ─────────────────────────────────────
   BREADCRUMB
───────────────────────────────────── */
.breadcrumb {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: rgba(255,255,255,0.6); }
.breadcrumb span { opacity: 0.4; }

/* ─────────────────────────────────────
   PAGE HEADER
───────────────────────────────────── */
.page-header {
  background-color: var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 520' preserveAspectRatio='none'%3E%3Cpath d='M 0 340 C 100 220 210 95 400 0' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M 0 210 C 65 135 150 55 270 0' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.12'/%3E%3Cpath d='M 0 110 C 38 75 82 32 150 0' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.07'/%3E%3Cpath d='M 1440 180 C 1340 300 1230 425 1040 520' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M 1440 310 C 1375 385 1290 460 1170 520' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.12'/%3E%3Cpath d='M 1440 410 C 1402 448 1358 486 1290 520' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.07'/%3E%3C/svg%3E"),
    linear-gradient(to right, transparent 0%, rgba(191,148,64,0.20) 12%, rgba(191,148,64,0.20) 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(191,148,64,0.15) 12%, rgba(191,148,64,0.15) 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(191,148,64,0.15) 12%, rgba(191,148,64,0.15) 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(191,148,64,0.15) 12%, rgba(191,148,64,0.15) 88%, transparent 100%),
    radial-gradient(ellipse at 68% 72%, rgba(191,148,64,0.10) 0%, transparent 52%),
    linear-gradient(rgba(191,148,64,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,148,64,0.07) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 0.5px,
    100% 0.5px,
    0.5px 100%,
    0.5px 100%,
    auto,
    72px 72px,
    72px 72px;
  background-position:
    0 0,
    0 24px,
    0 calc(100% - 24px),
    24px 0,
    calc(100% - 24px) 0,
    0 0,
    0 0,
    0 0;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
    no-repeat, repeat, repeat;
  padding: 10rem 4rem 5rem;
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-header-rule { height: 3px; background: var(--white); }

.page-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-title-sub {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.page-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  line-height: 1.9;
  text-align: justify;
}

/* Header badge & external link (product pages) */
.header-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border: 0.5px solid rgba(255,255,255,0.4);
  padding: 4px 12px;
  margin-bottom: 2rem;
}

.header-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.25);
  padding-bottom: 3px;
  margin-top: 2rem;
  transition: color 0.2s, border-color 0.2s;
}

.header-ext-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.header-ext-link::after { content: '↗'; }

/* ─────────────────────────────────────
   CONTACT STRIP
───────────────────────────────────── */
#contact-strip {
  background-color: var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 280' preserveAspectRatio='none'%3E%3Cpath d='M 0 180 C 55 110 120 42 220 0' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M 0 100 C 35 65 75 26 135 0' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.12'/%3E%3Cpath d='M 1440 100 C 1385 168 1320 238 1220 280' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M 1440 180 C 1405 218 1365 256 1305 280' fill='none' stroke='%23BF9440' stroke-width='0.8' opacity='0.12'/%3E%3C/svg%3E"),
    linear-gradient(to right, transparent 0%, rgba(191,148,64,0.18) 12%, rgba(191,148,64,0.18) 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(191,148,64,0.13) 12%, rgba(191,148,64,0.13) 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(191,148,64,0.13) 12%, rgba(191,148,64,0.13) 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(191,148,64,0.13) 12%, rgba(191,148,64,0.13) 88%, transparent 100%),
    linear-gradient(rgba(191,148,64,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,148,64,0.06) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 0.5px,
    100% 0.5px,
    0.5px 100%,
    0.5px 100%,
    72px 72px,
    72px 72px;
  background-position:
    0 0,
    0 24px,
    0 calc(100% - 24px),
    24px 0,
    calc(100% - 24px) 0,
    0 0,
    0 0;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
    repeat, repeat;
  padding: 5rem 4rem;
}

#contact-strip .sec-label { color: rgba(255,255,255,0.35); }
#contact-strip .sec-label::before { background: rgba(255,255,255,0.2); }

.strip-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.strip-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.strip-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.85;
  text-align: justify;
}

.strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 0.5px solid rgba(255,255,255,0.35);
  padding: 1rem 2rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.strip-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.strip-cta::after { content: '→'; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, transparent 0%, rgba(191,148,64,0.18) 10%, rgba(191,148,64,0.18) 90%, transparent 100%),
    linear-gradient(rgba(191,148,64,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,148,64,0.05) 1px, transparent 1px);
  background-size: 100% 0.5px, 72px 72px, 72px 72px;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.6); }

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────
   RESPONSIVE — SHARED
───────────────────────────────────── */
@media (max-width: 900px) {
  /* Nav padding */
  nav { padding: 0 1.5rem; }

  /* Show hamburger button */
  .nav-toggle { display: flex; }

  /* Slide-down mobile menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--navy);
    background-image:
      linear-gradient(rgba(191,148,64,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(191,148,64,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    border-top: 0.5px solid rgba(255,255,255,0.1);
    flex-direction: column;
    z-index: 199;
    padding-bottom: 1rem;
  }

  nav.nav-open .nav-links { display: flex; }

  /* Mobile nav link sizing */
  .nav-links > li > a {
    height: auto;
    line-height: 1.5;
    padding: 0.9rem 1.5rem;
    border-bottom: none !important;
  }

  /* Hide chevron on mobile */
  .has-dropdown > a::after { display: none; }

  /* Expand dropdown inline when menu is open */
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    border: none;
    border-top: 0.5px solid rgba(255,255,255,0.06);
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    background: var(--panel);
    display: block;
    transition: none;
  }

  .dropdown-label {
    color: rgba(255,255,255,0.25);
    border-bottom-color: rgba(255,255,255,0.08);
  }

  .dropdown a {
    color: rgba(255,255,255,0.55);
    border-bottom-color: rgba(255,255,255,0.06);
    padding: 0.75rem 2rem;
  }

  .dropdown a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
  }

  /* Mobile contact button */
  .nav-contact > a {
    margin: 0.5rem 1.5rem !important;
    display: inline-flex !important;
    align-self: flex-start;
  }

  /* Hamburger → X animation */
  nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Page header */
  .page-header { padding: 8rem 1.5rem 4rem; min-height: auto; }

  /* Section & contact strip padding */
  section { padding: 4rem 1.5rem; }
  #contact-strip { padding: 4rem 1.5rem; }

  /* Strip layout */
  .strip-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  footer { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}
