/* ---------- Tokens ---------- */
:root {
  --bg: #131211;
  --bg-alt: #1c1a17;
  --bg-card: #232019;
  --border: #35312a;
  --text: #f8f4ec;
  --text-muted: #beb5a6;
  --text-faint: #8a8175;
  --accent: #ab9273;
  --accent-soft: #8f7b60;
  --focus: #cdb896;

  --font-heading: "Archivo Black", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overscroll-behavior: none;
}
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;
  overscroll-behavior: none;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #100c07;
  padding: 0.75em 1em;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus {
  left: 1em;
  top: 1em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.01em;
}
.section-sub {
  color: var(--text-muted);
  max-width: 60ch;
}

.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-body);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #14100b;
}
.btn-primary:hover { background: var(--focus); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 11, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-nav.is-scrolled {
  background: rgba(13, 12, 11, 0.92);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 620px) {
  .nav-inner { flex-wrap: wrap; row-gap: 0.5rem; }
  .nav-brand { white-space: nowrap; font-size: 1rem; }
  .nav-links { flex-wrap: wrap; gap: 0.75rem 1rem; width: 100%; }
  .nav-links a { font-size: 0.85rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 2rem;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75em;
  font-weight: 700;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.2em;
}
.hero-role {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text);
  font-weight: 600;
  max-width: 32ch;
}
.hero-desc {
  color: var(--text-muted);
  max-width: 46ch;
  font-size: 1.05rem;
}
.hero-credibility {
  color: var(--text-faint);
  font-size: 0.9rem;
  max-width: 48ch;
  margin-top: -0.5em;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.img-missing-note {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.img-missing .img-missing-note { display: flex; }
.img-missing .hero-portrait { display: none; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-inner {
  max-width: 65ch;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.about-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---------- Video Grid ---------- */
.video-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(13, 12, 11, 0.55);
  border: 1px solid rgba(242, 237, 227, 0.5);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  pointer-events: none;
}

.video-meta {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.video-brand { font-weight: 700; }
.video-tags {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }

.service-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem 1.4rem;
}
.service-col h3 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.5em;
}
.service-col ul li {
  padding: 0.35em 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.service-col ul li:first-child { border-top: none; }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-sub {
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto 1.5rem;
}
.contact-list {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  font-size: 1.1rem;
}
.contact-link { text-decoration: none; }
.contact-link:hover { color: var(--accent); }
.placeholder-link {
  color: var(--text-faint);
  font-style: italic;
  cursor: default;
  text-decoration: underline dashed var(--border);
  text-underline-offset: 4px;
}
.placeholder-link:hover { color: var(--text-faint); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
}
.site-footer .section-inner {
  padding: 2rem 1.5rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.85);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.modal-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.modal-close:hover { color: var(--text); }
#modal-video {
  width: 100%;
  max-height: 75vh;
  border-radius: 4px;
  background: #000;
}
