/* Legendary Agents — ink / parchment / gold / crimson / smoke
   Vibe: /workspace/alexander/LEGENDARY-SITE-VIBE-2026-09-28.md */

:root {
  --ink: #0A0A0A;
  --parchment: #F3EBD8;
  --gold: #C9A227;
  --crimson: #8B1A1A;
  --smoke: #2A2A2A;
  --smoke-2: #1A1A1A;
  --gold-dim: #8A7020;
  --max: 1120px;
  --font-display: "Cinzel", "Times New Roman", Times, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #e0c35a; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
}
.wordmark:hover { color: var(--gold); }
.header-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  border: 1px solid var(--gold);
}
.header-cta:hover {
  background: transparent;
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 26, 26, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201, 162, 39, 0.08), transparent 50%),
    var(--ink);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin-inline: auto; }

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 9vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--parchment);
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

.hero-tagline {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--gold);
}

.hero-promise {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--parchment);
  opacity: 0.92;
}

.hero-actions { margin-top: 2.5rem; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.6rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}
.btn-lg {
  padding: 1.15rem 1.9rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}
.btn-sub {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: rgba(243, 235, 216, 0.65);
  letter-spacing: 0.04em;
}

.hero-rule {
  margin: 3.5rem auto 0;
  width: min(12rem, 40%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--gold), var(--crimson), transparent);
}

/* Gallery */
.gallery {
  padding: 4rem 0 5rem;
  background: var(--smoke-2);
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}

.section-head {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.03em;
  color: var(--parchment);
  text-align: center;
}

.section-lede {
  margin: 0.6rem 0 0;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cards {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
}

.card {
  background: var(--smoke);
  border: 1px solid rgba(201, 162, 39, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.72) 100%),
    linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.85) 100%);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) saturate(0.95);
}

.card-body {
  padding: 1.15rem 1.1rem 1.35rem;
  flex: 1;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}
.card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.card-body p {
  margin: 0.55rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(243, 235, 216, 0.88);
}

/* Why */
.why {
  padding: 5rem 0;
  background: var(--ink);
}
.why-inner {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.crimson-slash {
  width: 4rem;
  height: 4px;
  margin: 0 auto 1.75rem;
  background: var(--crimson);
  box-shadow: 0 0 18px rgba(139, 26, 26, 0.55);
}
.why-copy p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.5;
}
.why-copy p:last-child { margin-bottom: 0; }

/* Final CTA */
.final-cta {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(139, 26, 26, 0.35), transparent 60%),
    var(--smoke-2);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  text-align: center;
}
.final-inner { max-width: 40rem; }
.final-cta .section-head { margin-bottom: 2rem; }
.final-mail {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(243, 235, 216, 0.6);
}
.final-mail a { color: var(--gold); }

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  background: var(--ink);
  font-size: 0.85rem;
  color: rgba(243, 235, 216, 0.55);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}
.footer-brand { margin: 0; color: rgba(243, 235, 216, 0.75); }
.footer-contact { margin: 0; }
.footer-credits { margin: 0.35rem 0 0; font-size: 0.78rem; }
.footer-credits a { color: rgba(201, 162, 39, 0.85); }

@media (min-width: 720px) {
  .hero { padding: 6.5rem 0 6rem; }
  .gallery { padding: 5rem 0 6rem; }
}

/* JS reveal */
.js .will-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease;
}
.js .will-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Header nav (About link) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 235, 216, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}
.header-link:hover,
.header-link.is-active {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, 0.55);
}
@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; gap: 0.65rem; }
  .header-nav { width: 100%; justify-content: space-between; gap: 0.65rem; }
  .header-link { font-size: 0.65rem; letter-spacing: 0.06em; }
}

/* About page — briefing blocks */
.about-hero { padding-bottom: 4rem; }
.about-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}
.about-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
}
.about-line {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
.about-block {
  padding: 4.25rem 0;
  background: var(--ink);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}
.about-block--smoke {
  background: var(--smoke-2);
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}
.about-block-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.about-body {
  margin: 1.15rem 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  color: rgba(243, 235, 216, 0.92);
}
.final-cta .btn-sub {
  margin-top: 0.9rem;
}
@media (min-width: 720px) {
  .about-block { padding: 5rem 0; }
}

.section-note {
  margin: 0.5rem 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #C9A227;
  opacity: 0.95;
}
