/* ============================================================
   DTB MEDIA — Shared Stylesheet
   Version: 2026.1 | gordan@dtbmedia.com
   ============================================================ */

:root {
  --bg:        #0d0d0d;
  --bg2:       #141414;
  --bg3:       #1c1c1c;
  --surface:   #222222;
  --border:    rgba(255,255,255,0.08);
  --border-hover: rgba(184,255,87,0.25);
  --accent:    #b8ff57;
  --accent2:   #4fffcb;
  --text:      #f0ede6;
  --muted:     rgba(240,237,230,0.50);
  --faint:     rgba(240,237,230,0.30);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --mono:      'DM Mono', monospace;
  --r:         4px;
  --max:       1160px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none; z-index: 1000; opacity: 0.55;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.2em; color: var(--text);
  text-decoration: none; text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.05em;
  color: var(--muted); text-decoration: none;
  transition: color var(--transition);
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-lang {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.15em; color: rgba(240,237,230,0.78);
  text-decoration: none; text-transform: uppercase;
  transition: color var(--transition);
}
.nav-lang:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #0d0d0d;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  padding: 9px 20px; border-radius: var(--r);
  text-decoration: none; transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-partner-logo {
  display: block;
  height: 54px; max-width: 292px;
  object-fit: contain; opacity: 0.95;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
  border-radius: var(--r);
}

/* ── PAGE HEADER (subpages) ──────────────── */
.page-header {
  padding: 160px 48px 80px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  font-family: var(--serif);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 300; color: rgba(255,255,255,0.025);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 40px; letter-spacing: -0.04em;
  user-select: none; pointer-events: none; line-height: 1;
}
.page-header-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.page-header .section-label { margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.025em;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header-sub {
  font-size: 17px; color: var(--muted);
  max-width: 560px; line-height: 1.75;
  margin-top: 24px;
}

/* ── LAYOUT UTILITIES ────────────────────── */
section { padding: 100px 48px; }
.inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--accent);
}
h2.display {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.02em;
}
h2.display em { font-style: italic; color: var(--accent); }

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #0d0d0d;
  font-size: 14px; font-weight: 500;
  padding: 13px 26px; border-radius: var(--r);
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 400; color: var(--muted);
  text-decoration: none; padding: 13px 0;
  border-bottom: 1px solid var(--faint);
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 400; color: var(--muted);
  text-decoration: none; padding: 11px 22px;
  border: 1px solid var(--border); border-radius: var(--r);
  transition: color var(--transition), border-color var(--transition);
}
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

/* ── CARDS ───────────────────────────────── */
.card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 36px 32px;
  transition: border-color var(--transition), background var(--transition);
}
.card:hover { border-color: var(--border-hover); background: rgba(184,255,87,0.025); }
.card-label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.card-title {
  font-family: var(--serif); font-size: 22px;
  font-weight: 300; color: var(--text);
  line-height: 1.3; margin-bottom: 12px;
}
.card-text { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── HIGHLIGHT BOX ───────────────────────── */
.highlight-box {
  border-left: 2px solid var(--accent);
  padding: 24px 28px;
  background: rgba(184,255,87,0.05);
  border-radius: 0 4px 4px 0;
  margin: 32px 0;
}
.highlight-box p {
  font-family: var(--serif); font-size: 21px;
  font-weight: 300; font-style: italic;
  line-height: 1.55; color: var(--text);
}
.highlight-box cite {
  display: block; margin-top: 14px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--accent);
  font-style: normal;
}

/* ── TABLE ───────────────────────────────── */
.styled-table { width: 100%; border-collapse: collapse; }
.styled-table th {
  padding: 16px 24px; font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; text-align: left;
  border-bottom: 1px solid var(--border);
}
.styled-table th:first-child { color: var(--muted); background: var(--bg2); }
.styled-table th:last-child { color: var(--accent); background: rgba(184,255,87,0.06); }
.styled-table td {
  padding: 16px 24px; font-size: 14px;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr:hover { background: rgba(255,255,255,0.018); }
.styled-table td:first-child { color: var(--muted); background: var(--bg2); font-size: 13px; }
.styled-table td:last-child { background: rgba(184,255,87,0.03); }
.check { color: var(--accent); margin-right: 6px; }
.cross { color: rgba(255,100,100,0.55); margin-right: 6px; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 48px 48px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; max-width: var(--max); margin: 0 auto 56px;
}
.footer-brand p {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; margin-top: 14px; max-width: 260px;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max); margin: 0 auto;
}
.footer-bottom p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--faint); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; color: var(--faint);
  text-decoration: none; transition: color var(--transition);
}
.footer-links a:hover { color: var(--muted); }

/* ── ANIMATIONS ──────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-lang { display: none; }
  section { padding: 72px 24px; }
  .page-header { padding: 130px 24px 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 20px; }
  .page-header { padding: 110px 20px 48px; }
  footer { padding: 56px 20px 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
