/* ═══════════════════════════════════════════════════════════
   Red Dragon Intelligence — Premium Agency Styles
   Inspired by editorial luxury (Indigo Laboratory)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #030303;
  --bg-elevated: #0a0a0a;
  --bg-soft: #111111;
  --bg-panel: #0e0e0e;
  --red: #9b1c1c;
  --red-bright: #c41e1e;
  --red-deep: #5c0a0a;
  --red-glow: rgba(155, 28, 28, 0.35);
  --red-subtle: rgba(155, 28, 28, 0.12);
  --text: #f2f0ee;
  --text-muted: #8a8680;
  --text-dim: #5c5955;
  --border: rgba(242, 240, 238, 0.08);
  --border-strong: rgba(242, 240, 238, 0.14);
  --white: #f2f0ee;
  --black: #030303;

  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
  --container: min(1180px, calc(100% - 48px));
  --container-wide: min(1400px, calc(100% - 40px));
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
ul, ol { list-style: none; }
em { font-style: italic; color: var(--red-bright); }
::selection {
  background: var(--red);
  color: var(--white);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ─── Splash ─── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.splash__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  animation: pulse-logo 1.6s var(--ease-in-out) infinite;
  box-shadow: 0 0 60px var(--red-glow);
}
.splash__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.splash__bar {
  width: 120px;
  height: 1px;
  background: var(--border-strong);
  overflow: hidden;
}
.splash__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  animation: load-bar 1.6s var(--ease-out) forwards;
}
@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.9; }
}
@keyframes load-bar {
  to { width: 100%; }
}

/* ─── Cursor glow ─── */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  body.has-pointer .cursor-glow { opacity: 0.55; }
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.5rem;
  color: var(--text);
  /* Solid red-gray bar — stays pinned to top while scrolling */
  background:
    linear-gradient(
      180deg,
      #1e1517 0%,
      #161012 55%,
      #120e10 100%
    );
  border-bottom: 1px solid rgba(155, 28, 28, 0.28);
  box-shadow:
    0 1px 0 rgba(196, 30, 30, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.45);
}
.header__brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}
.header__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 0 24px rgba(155, 28, 28, 0.2);
}
.header__brand:hover .header__logo { transform: scale(1.08) rotate(-4deg); }
.header__side {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(242, 240, 238, 0.78);
  opacity: 1;
  transition: color 0.25s;
  padding: 0.35rem 0;
}
.header__side:hover { color: var(--red-bright); }
.header__side--right { text-align: right; }

/* Mobile nav */
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  z-index: 120;
  width: 36px;
  height: 24px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: #fff;
  margin: 8px 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 3, 3, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: color 0.25s;
}
.mobile-nav a:hover { color: var(--red-bright); }

@media (max-width: 720px) {
  .header__side { display: none; }
  .nav-toggle { display: block; }
}

/* ─── Typography helpers ─── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.eyebrow--light { color: rgba(242, 240, 238, 0.65); }
.eyebrow__num { color: var(--red-bright); }
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-head { margin-bottom: clamp(3rem, 8vw, 5rem); }
.body-lg {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.body-lg--muted { color: var(--text-muted); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--red-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px var(--red-glow);
}
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  border-color: rgba(242, 240, 238, 0.35);
  background: rgba(242, 240, 238, 0.04);
}
.btn--lg { padding: 1.05rem 1.75rem; font-size: 0.95rem; }
.btn__icon {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(4px); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__orb--1 {
  width: min(60vw, 520px);
  height: min(60vw, 520px);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  animation: float-orb 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, var(--red-deep) 0%, transparent 70%);
  animation: float-orb 16s ease-in-out infinite reverse;
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 24px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container-wide);
  margin-inline: auto;
  padding-bottom: 2rem;
}
.hero__title {
  margin: 0 0 2.5rem;
  font-weight: 700;
  line-height: 0.88;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 14vw, 10.5rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.hero__word--accent {
  background: linear-gradient(135deg, #e8e4e0 0%, var(--red-bright) 55%, var(--red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__word--serif {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.03em;
  font-size: clamp(3.2rem, 11vw, 8rem);
  color: var(--text);
}
.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 920px;
}
.hero__lead {
  max-width: 28rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__mark {
  position: absolute;
  right: 4%;
  bottom: 18%;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
}
.hero__emblem {
  width: min(28vw, 280px);
  height: auto;
  filter: drop-shadow(0 0 40px var(--red-glow));
  animation: slow-spin 48s linear infinite;
}
@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 2;
}
.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.7); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 720px) {
  .hero__mark { display: none; }
  .hero { padding-bottom: 5rem; }
}

/* ─── Marquee ─── */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__dot { color: var(--red); font-size: 0.65em; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─── Manifesto ─── */
.manifesto {
  padding: clamp(5rem, 12vw, 9rem) 0;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.manifesto__text {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.manifesto__text--muted { color: var(--text-muted); }

@media (max-width: 860px) {
  .manifesto__grid { grid-template-columns: 1fr; }
}

/* ─── Services ─── */
.services {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.services__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.service {
  display: grid;
  grid-template-columns: 140px 1fr 1.1fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
.service:hover {
  background: linear-gradient(90deg, var(--red-subtle), transparent 60%);
}
.service__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--red-bright);
  line-height: 1;
  letter-spacing: -0.03em;
}
.service__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.service__body {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 36rem;
}
.service__points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
}
.service__points li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

@media (max-width: 900px) {
  .service {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service__meta {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
  .service__points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }
}

/* ─── Chapter (Indigo-style) ─── */
.chapter__cover {
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(155, 28, 28, 0.22) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.chapter__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.chapter__cover-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(100%, 1400px);
  padding-inline: 0.5rem;
  overflow: visible;
}
.chapter__mega {
  font-family: var(--font-display);
  font-weight: 700;
  /* Scale to fit full word; negative tracking + clip was cutting the final "N" */
  font-size: clamp(2.75rem, 11.5vw, 9.5rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.5rem auto 1.5rem;
  padding-inline: 0.12em;
  max-width: 100%;
  overflow: visible;
  background: linear-gradient(180deg, #fff 20%, rgba(242, 240, 238, 0.35) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Extra room so background-clip / tight tracking doesn't crop glyphs */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.chapter__mega span {
  display: inline-block;
  padding-right: 0.06em;
}
.chapter__sub {
  max-width: 28rem;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.chapter__body {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg);
}
.chapter__split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.chapter__emblem-wrap {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, var(--red-subtle) 0%, transparent 65%),
    var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.chapter__emblem-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(196, 30, 30, 0.08) 100%);
  pointer-events: none;
}
.chapter__emblem {
  width: min(70%, 280px);
  /* Match the rounded frame of .chapter__emblem-wrap (1.5rem) */
  border-radius: 1.25rem;
  display: block;
  overflow: hidden;
  filter: drop-shadow(0 20px 50px var(--red-glow));
}
.chapter__caption {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}
.chapter__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--red-bright);
  margin-bottom: 0.35rem;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .chapter__split { grid-template-columns: 1fr; }
  .chapter__emblem-wrap { max-width: 360px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ─── Method ─── */
.method {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--border);
}
.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.method__step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: background 0.35s;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 260px;
}
.method__step:last-child { border-right: none; }
.method__step:hover {
  background: linear-gradient(180deg, var(--red-subtle), var(--bg-elevated));
}
.method__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--red-bright);
  font-style: italic;
}
.method__step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.method__step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .method__steps { grid-template-columns: 1fr 1fr; }
  .method__step:nth-child(2) { border-right: none; }
  .method__step:nth-child(1),
  .method__step:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .method__steps { grid-template-columns: 1fr; }
  .method__step { border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .method__step:last-child { border-bottom: none; }
}

/* ─── About ─── */
.about {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--bg-elevated);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__seal {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
  width: fit-content;
}
.about__seal img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}
.about__seal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.about__seal-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ─── Contact ─── */
.contact {
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.contact__panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, var(--red-subtle) 0%, transparent 50%),
    var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.contact__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 28rem;
}
.contact__form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field__hint {
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.7;
  font-size: 9px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(3, 3, 3, 0.55);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(196, 30, 30, 0.55);
  box-shadow: 0 0 0 3px var(--red-subtle);
}
.contact__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.contact__alt {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.contact__alt a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.contact__alt a:hover {
  color: var(--red-bright);
  border-color: var(--red);
}
.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  min-height: 1.2em;
  color: var(--red-bright);
}
.form-status.is-success { color: #6ee7a8; }

/* Netlify honeypot — hidden from humans */
.form-honeypot {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
.contact__form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

@media (max-width: 860px) {
  .contact__panel { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
}

/* ─── Legal pages ─── */
.legal-page .header a.header__side {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(242, 240, 238, 0.78);
  transition: color 0.25s;
  text-decoration: none;
}
.legal-page .header a.header__side:hover { color: var(--red-bright); }

.legal {
  padding: 3.5rem 0 5rem;
  min-height: 70svh;
}
.legal__wrap {
  max-width: 720px;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.legal__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
.legal__body p { margin-bottom: 1.15rem; }
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 2.25rem 0 0.85rem;
}
.legal__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 1.5rem 0 0.65rem;
}
.legal__body ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.legal__body li {
  padding-left: 1.15rem;
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.legal__body a {
  color: var(--red-bright);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.legal__body a:hover { border-color: var(--red); }
.legal__body strong { color: var(--text); font-weight: 500; }
.legal__note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  line-height: 1.65;
}
.footer__nav a[aria-current="page"] { color: var(--red-bright); }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer__nav a:hover { color: var(--red-bright); }
.footer__copy {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track,
  .hero__emblem,
  .hero__orb,
  .splash__logo { animation: none; }
  .cursor-glow { display: none; }
}
