/* ============================================================
   DUBHLÁN MARKETING — v2
   Dark theme · gold accents · crest-driven brand
   ============================================================ */

:root {
  /* Brand */
  --gold:           #DAA520;
  --gold-soft:      #E0C38A;
  --gold-deep:      #A07A18;
  --purple:         #6C63FF;
  --teal:           #3ECFCF;
  --grad-brand:     linear-gradient(135deg, #6C63FF 0%, #3ECFCF 100%);
  --grad-gold:      linear-gradient(135deg, #E0C38A 0%, #DAA520 50%, #A07A18 100%);

  /* Surfaces */
  --bg:             #0A0B0F;
  --bg-2:           #111318;
  --bg-3:           #1A1D27;
  --bg-card:        #14161E;
  --border:         rgba(255,255,255,0.07);
  --border-strong:  rgba(255,255,255,0.14);
  --border-gold:    rgba(218,165,32,0.25);

  /* Text */
  --text:           #F0F0F5;
  --text-muted:     #8B8FA8;
  /* was #4A4D60 — only 2.36:1 on --bg, below the 3:1 floor. This tier carries
     real content (pronunciation guide, "as of" stamp, agent roles), so it must
     clear AA: 4.92:1 on --bg, 4.65 on --bg-2, 4.52 on --bg-card. */
  --text-faint:     #7A7E96;

  /* Status */
  --success:        #22C55E;
  --warning:        #F59E0B;
  --error:          #EF4444;

  /* Fonts */
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --font-serif:     'Cormorant Garamond', 'Times New Roman', serif;

  /* Radii + shadow */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lift: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);

  /* Layout */
  --container: 1180px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-3);
  padding: 0.1em 0.4em;
  border-radius: var(--r-sm);
  color: var(--gold-soft);
}
em { font-style: italic; color: var(--gold-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent  { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted   { color: var(--text-muted); }


/* ────────── NAV ────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,11,15,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand-mark {
  width: 32px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(218,165,32,0.25));
}
.nav__brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: 0.02em; }
.nav__brand-accent { color: var(--gold); font-style: italic; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms, background 120ms;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__link--cta {
  color: var(--bg);
  background: var(--grad-gold);
  margin-left: 8px;
  font-weight: 600;
}
.nav__link--cta:hover { color: var(--bg); background: var(--gold-soft); }

@media (max-width: 720px) {
  .nav__links li:nth-child(-n+3) { display: none; }
}


/* ────────── HERO ────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}
.hero__glow--gold {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -100px; right: -100px;
  opacity: 0.18;
}
.hero__glow--purple {
  width: 500px; height: 500px;
  background: var(--purple);
  bottom: -150px; left: -150px;
  opacity: 0.22;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(218,165,32,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
.hero__heading {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 700;
}
.hero__heading-accent  { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__heading-muted   { color: var(--text-muted); font-weight: 500; }
.hero__sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero__sub em { color: var(--gold-soft); font-style: normal; font-weight: 500; }
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero__footnote {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}
.hero__crest {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__crest img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 0 60px rgba(218,165,32,0.35));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.6; transform: scale(1.2); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__crest { order: -1; }
  .hero__crest img { max-width: 280px; }
}


/* ────────── BUTTONS ────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 100ms, box-shadow 120ms, background 120ms;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-gold);
  color: #181612;
  box-shadow: 0 6px 18px rgba(218,165,32,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(218,165,32,0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-strong); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }


/* ────────── TRUST STRIP ────────── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 32px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust__num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
  line-height: 1;
}
.trust__label {
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 800px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}


/* ────────── SECTIONS ────────── */
section { padding: 100px 0; }
section.trust { padding: 32px 0; }

.section__header { max-width: 720px; margin: 0 auto 48px; }
.section__header--centered { text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section__heading {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.section__lede {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
}
.caption {
  text-align: center;
  color: var(--text-muted);
  margin: 32px 0 0;
  font-size: 14px;
}


/* ────────── MOCKUP CHROME (shared) ────────── */
.mockup {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.mockup::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(218,165,32,0.4), transparent 50%, rgba(108,99,255,0.3));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.5;
}
.mockup__chrome {
  background: linear-gradient(to bottom, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--border);
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
}
.mockup__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
}
.mockup__dot--red    { background: #FF5F57; }
.mockup__dot--yellow { background: #FEBC2E; }
.mockup__dot--green  { background: #28C840; }
.mockup__url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.mockup__toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.mockup__tab {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mockup__tab--active {
  color: var(--text);
  background: rgba(218,165,32,0.12);
  border: 1px solid var(--border-gold);
}
.mockup__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
}
.mockup__filter {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.mockup__filter em { color: var(--gold-soft); font-style: normal; }


/* ────────── KANBAN ────────── */
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px;
  background:
    radial-gradient(ellipse at top right, rgba(218,165,32,0.04), transparent 60%),
    var(--bg-card);
}
.kanban__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.kanban__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.kanban__col-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  background: var(--bg-3);
  border-radius: 999px;
  color: var(--text-faint);
}
.kanban__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 150ms, border-color 150ms;
}
.kanban__card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.kanban__card--p1 { border-left: 2px solid var(--warning); }
.kanban__card--active {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(218,165,32,0.06), var(--bg-2));
  box-shadow: 0 0 0 1px rgba(218,165,32,0.15);
}
.kanban__card--done { opacity: 0.85; border-style: dashed; }
.kanban__card-head { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.kanban__card h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.kanban__card-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
}
.kanban__card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kanban__card time {
  font-size: 11px;
  color: var(--text-faint);
}
.kanban__commit, .kanban__deploy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.kanban__deploy { color: var(--success); }
.kanban__pr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}
.kanban__progress {
  height: 3px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.kanban__progress-bar {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 999px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-3);
  border-radius: var(--r-sm);
  color: var(--text-muted);
}
.tag--p0       { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.tag--p1       { background: rgba(245,158,11,0.15); color: #FCD34D; }
.tag--gate     { background: rgba(108,99,255,0.15); color: #B4ACFF; }
.tag--shipped  { background: rgba(34,197,94,0.15); color: #86EFAC; }
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--bg-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}
.agent-chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c, var(--text-muted));
}
.agent-chip__dot.pulse {
  box-shadow: 0 0 0 0 var(--c, var(--text-muted));
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 var(--c, var(--text-muted)); }
  70%  { box-shadow: 0 0 0 5px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.agent-chip--active { background: rgba(218,165,32,0.12); color: var(--gold-soft); }
.pulse { animation: pulse 2s ease-in-out infinite; }

@media (max-width: 900px) {
  .kanban { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .kanban { grid-template-columns: 1fr; }
}


/* ────────── PILLARS ────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 64px;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 200ms, border-color 200ms;
}
.pillar:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.pillar__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: rgba(218,165,32,0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  margin-bottom: 20px;
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}


/* ────────── ROSTER ────────── */
.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 16px;
  background: var(--bg-card);
}
.roster__agent {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.roster__agent:nth-child(3n) { border-right: none; }
.roster__agent:nth-last-child(-n+3) { border-bottom: none; }
.roster__avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.roster__body { min-width: 0; }
.roster__body h5 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}
.roster__role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.roster__status {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.roster__status strong { color: var(--gold-soft); font-weight: 600; }
.roster__metric { text-align: right; }
.roster__metric-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.roster__metric-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}
.dot--active  { background: var(--success); }
.dot--review  { background: var(--purple); }
.dot--build   { background: var(--warning); }

@media (max-width: 800px) {
  .roster { grid-template-columns: 1fr; }
  .roster__agent { border-right: none; }
}


/* ────────── COMPOSITE (flow + activity) ────────── */
.composite__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .composite__grid { grid-template-columns: 1fr; }
}

.flow {
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(218,165,32,0.05), transparent 60%), var(--bg-card);
}
.flow svg { width: 100%; height: auto; }
.flow__caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.flow__caption strong { color: var(--gold-soft); }

.activity { padding: 12px; background: var(--bg-card); }
.activity__row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  align-items: start;
}
.activity__row + .activity__row { border-top: 1px solid var(--border); border-radius: 0; }
.activity__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.activity__icon--ship    { background: rgba(34,197,94,0.18); color: var(--success); }
.activity__icon--gate    { background: rgba(108,99,255,0.18); color: var(--purple); }
.activity__icon--commit  { background: rgba(218,165,32,0.18); color: var(--gold); }
.activity__icon--review  { background: rgba(62,207,207,0.18); color: var(--teal); }
.activity__icon--alert   { background: rgba(239,68,68,0.18); color: var(--error); }
.activity__row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}
.activity__row p strong { font-weight: 600; }
.activity__row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-faint);
}


/* ────────── PHILOSOPHY ────────── */
.philosophy { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote p {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.quote p em { color: var(--gold); font-style: italic; font-weight: 600; }
.quote footer {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-soft);
}
.quote small {
  font-size: 13px;
  color: var(--text-muted);
}


/* ────────── ABOUT ────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__copy h2 { margin-top: 8px; }
.about__copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.about__values {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__values li {
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}
.about__values li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.about__values strong { color: var(--gold-soft); font-weight: 600; }

.about__seal {
  display: flex; justify-content: center;
}
.about__seal img {
  width: 100%;
  max-width: 340px;
  opacity: 0.85;
  filter: drop-shadow(0 0 40px rgba(218,165,32,0.25));
}
@media (max-width: 800px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__seal { order: -1; }
  .about__seal img { max-width: 220px; }
}


/* ────────── CTA BAND ────────── */
.cta-band {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(218,165,32,0.15), transparent 60%);
  pointer-events: none;
}
.cta-band__inner { position: relative; }
.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0 0 32px;
}


/* ────────── CONTACT ────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact__channels {
  margin-top: 24px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  font-size: 14px;
}
.contact__channels li {
  display: contents;
}
.contact__channels span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.contact__channels a {
  color: var(--gold-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 120ms;
}
.contact__channels a:hover { border-color: var(--gold); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(218,165,32,0.18);
}
.contact__result {
  margin: 0;
  padding: 12px 14px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--r-md);
  color: #86EFAC;
  font-size: 14px;
}

@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ────────── FOOTER ────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__mark { width: 32px; }
.footer__brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.footer__tag {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.footer__col h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 12px;
}
.footer__col a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 120ms;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 12px;
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__base { flex-direction: column; gap: 8px; }
}


/* ══════════════════════════════════════════════════════════════════
   REDESIGN 2026-07 — multi-page components
   Extends the tokens above. Nothing here redefines a token.
   ══════════════════════════════════════════════════════════════════ */

/* ────────── Heritage: interlace rule + ogham marker ────────── */
.rule-interlace {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 18px;
  margin: 0 auto;
  opacity: 0.5;
}
.rule-interlace path { stroke: var(--gold-deep); fill: none; stroke-width: 1.25; }

.ogham { list-style: none; padding: 0; margin: 0; }
.ogham > li { position: relative; padding-left: 30px; }
.ogham > li::before {
  content: "";
  position: absolute;
  left: 9px; top: 0.55em;
  width: 1px; height: 1.5em;
  background: var(--gold-deep);
}
.ogham > li::after {
  content: "";
  position: absolute;
  left: 3px; top: 0.85em;
  width: 13px; height: 1px;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--gold-deep);
}

/* ────────── Status chips ────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  white-space: nowrap;
}
.chip--live { color: var(--gold-soft); border-color: var(--border-gold); background: rgba(218,165,32,0.07); }
.chip--beta { color: #A9A5FF; border-color: rgba(108,99,255,0.3); background: rgba(108,99,255,0.07); }

/* ────────── Product rail ────────── */
.product-flag {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(218,165,32,0.09) 0%, transparent 55%),
    var(--bg-card);
  box-shadow: var(--shadow-card);
}
.product-flag__name {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.product-flag__lede { font-size: 18px; color: var(--text); margin: 0 0 14px; font-weight: 500; }
.product-flag__body { color: var(--text-muted); margin: 0 0 26px; }

.bench { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.bench__card {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 200ms, transform 200ms;
}
.bench__card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.bench__name { font-size: 20px; font-weight: 700; margin: 12px 0 6px; letter-spacing: -0.01em; }
.bench__lede { color: var(--text); font-weight: 500; margin: 0 0 8px; font-size: 15px; }
.bench__body { color: var(--text-muted); margin: 0; font-size: 14px; line-height: 1.6; }

/* ────────── Evidence blocks (mono = "this is real") ────────── */
.evidence {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  background: #0C0D12;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  overflow-x: auto;
  margin: 0;
  color: var(--text-muted);
}
.evidence b { color: var(--text); font-weight: 500; }
.evidence .no { color: var(--error); }
.evidence .yes { color: var(--success); }
.evidence .key { color: var(--gold-soft); }
.evidence__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.evidence-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.deny-row { display: flex; justify-content: space-between; gap: 24px; }
.deny-row span:last-child { color: var(--error); white-space: nowrap; }
.deny-more { color: var(--text-faint); font-style: italic; }

/* ────────── Duties / feature cards ────────── */
.duty { padding: 28px 0; border-top: 1px solid var(--border); }
.duty:first-child { border-top: none; padding-top: 0; }
.duty__head { font-size: 21px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.duty__body { color: var(--text-muted); margin: 0; max-width: 62ch; }

/* ────────── Roster / org chart ────────── */
.org { display: grid; gap: 14px; }
.org__group {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.org__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 7px;
}
.org__members { display: flex; flex-wrap: wrap; gap: 8px; }
.org__member {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 600;
}
.org__member span { color: var(--text-faint); font-size: 12px; font-weight: 400; font-family: var(--font-mono); }

/* ────────── Fit / anti-fit ────────── */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-card); }
.fit__col--no { background: var(--bg-2); }
.fit__head { font-size: 20px; font-weight: 700; margin: 0 0 18px; letter-spacing: -0.01em; }
.fit__col--yes .fit__head { color: var(--gold-soft); }
.fit__col--no .fit__head { color: var(--text-muted); }
.fit__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.fit__list li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.fit__list li b { color: var(--text); font-weight: 600; }
.fit__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.fit__col--no li::before { content: "✕"; position: absolute; left: 0; color: var(--text-faint); font-weight: 700; }

/* ────────── Comparison table ────────── */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--bg-card); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint); font-weight: 500;
  background: var(--bg-2);
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--text-muted); font-size: 14px; }
.compare .unit { font-family: var(--font-mono); font-size: 13px; color: var(--gold-soft); white-space: nowrap; }
.compare tr.is-us { background: rgba(218,165,32,0.06); }
.compare tr.is-us td { color: var(--text); font-weight: 500; }
.compare tr.is-us td:first-child { color: var(--text); font-weight: 700; }

/* ────────── Capability groups ────────── */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.caps__group { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-card); }
.caps__title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 16px;
}
.caps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.caps__list li { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.caps__list b { color: var(--text); font-weight: 600; }

/* ────────── Q&A ────────── */
.qa { display: grid; gap: 0; }
.qa__item { padding: 26px 0; border-top: 1px solid var(--border); }
.qa__item:first-child { border-top: none; }
.qa__q { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--text); }
.qa__a { color: var(--text-muted); margin: 0; max-width: 68ch; }

/* ────────── Limitations ────────── */
.limits { display: grid; gap: 0; border-radius: var(--r-lg); border: 1px solid var(--warning); overflow: hidden; }
.limits__head { padding: 22px 26px; background: rgba(245,158,11,0.09); border-bottom: 1px solid rgba(245,158,11,0.25); }
.limits__head h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.limits__head p { margin: 0; color: var(--text-muted); font-size: 15px; }
.limits__item { padding: 22px 26px; border-top: 1px solid var(--border); }
.limits__item:first-of-type { border-top: none; }
.limits__item b { display: block; margin-bottom: 6px; color: var(--text); font-size: 16px; }
.limits__item p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ────────── Stat bar (live) ────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-card); }
.stat__num { font-family: var(--font-mono); font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; color: var(--gold-soft); letter-spacing: -0.02em; display: block; }
.stat__label { color: var(--text-muted); font-size: 14px; margin-top: 8px; display: block; line-height: 1.45; }
.stats__note { text-align: center; color: var(--text-faint); font-size: 13px; font-family: var(--font-mono); margin: 20px 0 0; }
.stats__note .live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--success); margin-right: 7px; vertical-align: middle; }

/* ────────── Name / heritage panel ────────── */
.name-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.name-panel__word { font-family: var(--font-serif); font-size: clamp(56px, 8vw, 96px); line-height: 1; margin: 0; letter-spacing: 0.01em; }
.name-panel__word b { color: var(--gold); font-weight: 600; }
.name-panel__say { font-family: var(--font-mono); font-size: 15px; color: var(--text-faint); letter-spacing: 0.14em; margin: 18px 0 0; }
.name-panel__gloss { font-family: var(--font-serif); font-size: 24px; color: var(--gold-soft); margin: 26px 0 0; font-style: italic; }
.name-panel p { color: var(--text-muted); }
.name-panel__turn { margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--border-gold); }
.name-panel__turn b { color: var(--text); }

/* ────────── Page hero (interior pages) ────────── */
.phero { padding: 96px 0 72px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.phero__inner { max-width: 900px; }
.phero__title { font-size: clamp(38px, 6vw, 68px); line-height: 1.03; letter-spacing: -0.03em; margin: 18px 0 0; font-weight: 800; }
.phero__title em { font-style: normal; color: var(--gold); }
.phero__sub { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--text-muted); margin: 20px 0 0; letter-spacing: -0.01em; }
.phero__body { font-size: 18px; color: var(--text-muted); margin: 24px 0 0; max-width: 62ch; }
.phero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ────────── Motion ────────── */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 420ms ease, transform 420ms cubic-bezier(0.4,0,0.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .bench__card, .btn { transition: none !important; transform: none !important; }
  .reveal { opacity: 1; }
}

/* ────────── Responsive ────────── */
@media (max-width: 900px) {
  .name-panel, .product-flag, .fit { grid-template-columns: 1fr; gap: 32px; }
  .org__group { grid-template-columns: 1fr; gap: 10px; }
  .org__label { padding-top: 0; }
  .product-flag { padding: 30px 24px; }
}
@media (max-width: 620px) {
  section { padding: 68px 0; }
  .evidence { font-size: 12px; padding: 18px 16px; }
  .deny-row { gap: 12px; }
}


/* ══════════════════════════════════════════════════════════════════
   REDESIGN 2026-07 (part 2) — control dials, capability matrix, legal
   ══════════════════════════════════════════════════════════════════ */

/* ── Control "dials" ── */
.dials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dial {
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}
.dial__eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.dial__head { font-size: 22px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.dial__body { color: var(--text-muted); margin: 0 0 18px; line-height: 1.65; }
.dial__body b { color: var(--text); font-weight: 600; }
.dial__note {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-faint);
  margin: 0; padding-top: 16px; border-top: 1px solid var(--border);
}

/* ── Capability matrix ── */
.matrix { display: grid; gap: 40px; }
.matrix__group h3 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 4px;
}
.matrix__group > p { color: var(--text-muted); margin: 0 0 18px; font-size: 15px; }
.matrix-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.matrix-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--bg-card); }
.matrix-table th, .matrix-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.matrix-table thead th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint); font-weight: 500; background: var(--bg-2);
}
.matrix-table tbody tr:last-child td { border-bottom: none; }
.matrix-table td:first-child { color: var(--text); font-weight: 600; font-size: 15px; width: 34%; }
.matrix-table td:nth-child(2) { color: var(--text-muted); font-size: 14px; }
.matrix-table td:last-child { width: 130px; white-space: nowrap; }
.avail {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-muted);
}
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.avail--in::before   { background: var(--success); }
.avail--in           { color: var(--gold-soft); }
.avail--cfg::before  { background: var(--gold); }
.avail--ent::before  { background: var(--purple); }
.matrix-legend {
  display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 40px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}

/* ── Legal / prose pages ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 44px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; color: var(--gold-soft); }
.prose p, .prose li { color: var(--text-muted); line-height: 1.72; margin: 0 0 14px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--gold); }
.prose__meta { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-bottom: 8px; }
.prose__lead { font-size: 18px; color: var(--text); margin-bottom: 8px; }

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