/* ============================================================
   Twelve Infinity Inc — shared site styles
   Brand system: warm-white on near-black, Cormorant Garamond
   display + DM Sans body. Monochrome, atmospheric, minimal.
   ============================================================ */

:root {
  --bg: #08080a;
  --bg-soft: #101014;
  --ink: #f6f4ef;
  --muted: rgba(246, 244, 239, 0.64);
  --faint: rgba(246, 244, 239, 0.42);
  --line: rgba(246, 244, 239, 0.14);
  --line-soft: rgba(246, 244, 239, 0.08);
  --card: rgba(246, 244, 239, 0.04);
  --accent: #d9c39a; /* soft warm gold for hairline accents */
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

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

/* ---------- Top navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav__brand img {
  height: 26px;
  width: auto;
  filter: invert(1) brightness(1.05);
}

.nav__brand span {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav__links { gap: 14px; font-size: 13px; }
  .nav__links a.hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  background: var(--ink);
  color: #0a0a0a;
  border: 1px solid var(--ink);
  font-weight: 400;
}
.btn--primary:hover { transform: translateY(-1px); background: #fff; }

.btn--ghost {
  background: rgba(246, 244, 239, 0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(246, 244, 239, 0.14); border-color: rgba(246,244,239,0.4); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 63px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.92) contrast(1.02);
  pointer-events: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.78) 100%),
    linear-gradient(180deg, rgba(8,8,10,0.4) 0%, rgba(8,8,10,0) 30%, rgba(8,8,10,0.85) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero__logo {
  width: clamp(96px, 12vw, 140px);
  filter: invert(1) brightness(1.05) drop-shadow(0 2px 18px rgba(0,0,0,0.4));
}

h1.hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}
h1.hero__title .it { font-style: italic; opacity: 0.94; }

.hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin: 0;
  text-wrap: pretty;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Generic sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

.section p { color: var(--muted); max-width: 64ch; font-size: 16px; }
.section p + p { margin-top: 16px; }

.lead-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 760px) { .lead-row { grid-template-columns: 1fr; } }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 26px 24px;
}
.card h3 { font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.card p { font-size: 14.5px; margin: 0; color: var(--muted); }

/* messaging program callout */
.callout {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(217,195,154,0.06), rgba(246,244,239,0.02));
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  margin-top: 8px;
}
.callout ul { color: var(--muted); margin: 18px 0 26px; padding-left: 20px; font-size: 15px; }
.callout li { margin: 7px 0; }

/* contact identity block */
.identity { font-size: 16px; line-height: 1.8; color: var(--muted); }
.identity strong { color: var(--ink); font-weight: 400; }
.identity a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.identity a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 40px);
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

.footer__brand img { height: 24px; filter: invert(1) brightness(1.05); margin-bottom: 14px; }
.footer__addr { font-size: 14px; color: var(--faint); line-height: 1.7; max-width: 38ch; }
.footer__addr a { color: var(--muted); text-decoration: none; }
.footer__addr a:hover { color: var(--ink); }

.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }

.footer__legal {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Legal / prose pages ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 32px) 96px;
}
.prose .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--faint);
  text-decoration: none; margin-bottom: 28px;
}
.prose .back:hover { color: var(--ink); }
.prose h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.prose .lead { font-size: 18px; color: var(--ink); max-width: none; margin: 0 0 6px; }
.prose .updated { font-size: 13px; color: var(--faint); margin: 0 0 8px; }
.prose h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  margin: 40px 0 12px;
}
.prose h3 { font-size: 16px; font-weight: 500; margin: 22px 0 6px; color: var(--ink); }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.prose a:hover { border-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }

.consent-box {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.consent-box .check {
  flex: none;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 13px;
  margin-top: 2px;
}
.consent-box .label { font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.consent-box .body { font-size: 15px; color: var(--muted); }

.prose footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.prose footer a { border: none; }
.prose footer a:hover { color: var(--ink); }
