/* ==========================================================================
   Daggerr Trading LLC — corporate site
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-alt: #131315;
  --surface: #18181b;
  --surface-2: #1e1e22;
  --border: #2a2a2e;
  --text: #f3f1ee;
  --text-dim: #a8a6a3;
  --text-faint: #706e6c;
  --red: #e2222d;
  --red-dark: #a5171f;
  --red-glow: rgba(226, 34, 45, 0.35);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--text-dim); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: #ff2c39;
  box-shadow: 0 0 0 4px var(--red-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 26px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  flex: 1;
}
.nav a {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--text); border-color: var(--red); }

.nav .header-cta {
  margin-left: auto;
  color: #fff;
  border-bottom: none;
}
.nav .header-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 78px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,9,0.15) 0%, rgba(8,8,9,0.1) 45%, rgba(8,8,9,0.8) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-panel {
  display: inline-block;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 56px;
  background: rgba(6,6,7,0.55);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.eyebrow-light { color: #ff525c; }

.hero-title {
  font-size: clamp(48px, 9vw, 108px);
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: rgba(243,241,238,0.82);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin: 24px 0 0;
  font-size: 13.5px;
  color: rgba(243,241,238,0.75);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.hero-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-note a:hover { color: var(--red); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
}
.section-lede {
  font-size: 17px;
  margin-top: 14px;
}

/* ---------- About ---------- */
.about-copy-wide {
  max-width: 800px;
}
.about-copy-wide .section-head { margin-bottom: 32px; }
.about-copy-wide .section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.about-copy p { font-size: 16px; }

.stat-row {
  display: flex;
  gap: 32px 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--red);
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}
.stat-link {
  display: flex;
  flex-direction: column;
  transition: opacity 0.2s ease;
}
.stat-link:hover { opacity: 0.75; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.card-icon {
  width: 44px; height: 44px;
  color: var(--red);
  margin-bottom: 18px;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Collection spec grid ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  border-top: 2px solid var(--red);
}
.spec-item h3 {
  font-size: 15.5px;
  color: #fff;
  margin-bottom: 8px;
}
.spec-item p { font-size: 14px; margin: 0; }

.showcase-cta {
  margin-top: 44px;
  text-align: center;
}

/* ---------- How to Order ---------- */
.order-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.order-card h3 {
  font-size: 21px;
  color: #fff;
  margin-top: 4px;
}
.order-card p { font-size: 15px; }
.order-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- Dealers ---------- */
.dealer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dealer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}
.dealer-item a,
.dealer-item > .dealer-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.dealer-item a:hover { color: var(--red); }
.dealer-flag { font-size: 28px; line-height: 1; }
.dealer-name {
  font-family: var(--font-head);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}
.dealer-country {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.dealer-item:not(:has(a)) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dealer-item:not(:has(a)) .dealer-flag,
.dealer-item:not(:has(a)) .dealer-name,
.dealer-item:not(:has(a)) .dealer-country {
  padding: 0;
}

.dealer-disclaimer {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 22px;
  color: var(--red);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin: -4px 0 22px;
  font-size: 15px;
  max-width: 640px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}
.contact-actions {
  display: flex;
  gap: 16px;
  margin: 8px 0 40px;
  flex-wrap: wrap;
}
.contact-details {
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-details > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-details dt {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.contact-details dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.contact-details dd a:hover { color: var(--red); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo { height: 18px; width: auto; opacity: 0.85; filter: invert(1) brightness(2); }
.footer-inner p { margin: 0; font-size: 13px; color: var(--text-faint); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 13px; color: var(--text-faint); }
.footer-nav a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .dealer-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-map { min-height: 320px; }
  .contact-map iframe { min-height: 320px; }
}

/* ---------- Subpages ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-decoration: none;
}
.back-link:hover { color: var(--red); }

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: rgba(10,10,11,0.98);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
  }
  .site-header.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-header.nav-open .nav .header-cta {
    margin: 16px 0 0;
    border-bottom: none;
    justify-content: center;
  }

  .spec-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .dealer-list { grid-template-columns: 1fr; }
  .hero-panel { padding: 32px 24px; }
}
