/* ════════════════════════════════════════════════════════════
   SYNNYTRA — Institutional Holding Company
   Shared stylesheet across all pages
   ════════════════════════════════════════════════════════════ */

:root {
  --black-pure: #000000;
  --black-soft: #0A0A0C;
  --graphite: #14141A;
  --graphite-line: #1F2024;
  --platinum: #B8BABF;
  --platinum-dim: #6E7075;
  --bone: #F5F2EC;
  --bone-dim: #C8C5BD;
  --rule: rgba(184, 186, 191, 0.12);
  --rule-strong: rgba(184, 186, 191, 0.22);
  --accent: #B8BABF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--black-pure);
  color: var(--bone);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 186, 191, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--black-pure) 0%, var(--black-soft) 100%);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.72 0 0 0 0 0.75 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── NAVIGATION ─── */
nav.primary {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bone);
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-brand .name {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bone);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--platinum);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--bone);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--bone);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--rule-strong), transparent);
  margin: 60px auto 0;
}

.page-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  margin-bottom: 24px;
}

.page-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 200;
  color: var(--bone);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  color: var(--bone-dim);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ─── SECTIONS ─── */
section.content {
  padding: 80px 0;
  border-top: 1px solid var(--rule);
}

section.content:first-of-type {
  border-top: none;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.section-grid.reversed {
  grid-template-columns: 2fr 1fr;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  padding-top: 8px;
  position: relative;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 1px;
  background: var(--platinum);
}

.section-content {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--bone);
  letter-spacing: -0.005em;
}

.section-content p + p {
  margin-top: 24px;
}

.section-content .quiet {
  color: var(--bone-dim);
  font-size: 0.92em;
}

.section-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 32px;
  margin-bottom: 12px;
}

.section-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.section-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.95em;
  color: var(--bone-dim);
}

.section-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: var(--platinum);
}

/* ─── PILLARS GRID ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 48px;
}

.pillar {
  background: var(--black-pure);
  padding: 40px 28px;
}

.pillar-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--platinum-dim);
  margin-bottom: 20px;
}

.pillar-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.pillar-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--bone-dim);
}

/* ─── REGULATORY MATRIX ─── */
.matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 32px;
}

.matrix-cell {
  background: var(--black-pure);
  padding: 28px 24px;
}

.matrix-jurisdiction {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  margin-bottom: 12px;
}

.matrix-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 8px;
}

.matrix-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--bone-dim);
}

/* ─── CALLOUT ─── */
.callout {
  border-left: 1px solid var(--platinum);
  padding: 12px 24px;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--bone);
  line-height: 1.5;
  letter-spacing: 0;
}

/* ─── CTA STRIP ─── */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  margin-bottom: 16px;
}

.cta-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 200;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.cta-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--platinum);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.cta-link:hover {
  color: var(--platinum);
}

/* ─── FOOTER ─── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--platinum-dim);
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark .dot {
  width: 3px;
  height: 3px;
  background: var(--platinum-dim);
  border-radius: 50%;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes crestIn {
  from {
    opacity: 0;
    transform: scale(0.96);
    filter: drop-shadow(0 0 60px rgba(0, 0, 0, 0.8)) blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(184, 186, 191, 0.06)) blur(0);
  }
}

/* ─── HERO (HOME) ─── */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 60px;
}

.crest-frame {
  position: relative;
  margin-bottom: 64px;
  opacity: 0;
  animation: crestIn 1.8s cubic-bezier(0.2, 0, 0.1, 1) 0.3s forwards;
}

.crest-frame::before,
.crest-frame::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule-strong), transparent);
  top: 50%;
}

.crest-frame::before { right: calc(100% + 24px); }
.crest-frame::after { left: calc(100% + 24px); }

.crest-hero {
  width: 280px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 60px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 30px rgba(184, 186, 191, 0.06));
}

.wordmark {
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 300;
  letter-spacing: 0.42em;
  color: var(--bone);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 1.1s forwards;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--platinum);
  max-width: 580px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 1.4s forwards;
}

.hero-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--rule-strong), transparent);
  margin-top: 80px;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.7s forwards;
}

/* ─── CONTACT PAGE ─── */
.contact-block {
  text-align: center;
  padding: 60px 0;
}

.contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  margin-bottom: 24px;
}

.contact-email {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 300;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: all 0.4s ease;
  display: inline-block;
}

.contact-email:hover {
  color: var(--platinum);
  border-bottom-color: var(--platinum);
}

.contact-note {
  margin-top: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  line-height: 1.8;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    width: 100%;
  }
  .nav-toggle { display: block; }
  .section-grid,
  .section-grid.reversed {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pillars,
  .matrix {
    grid-template-columns: 1fr;
  }
  section.content { padding: 60px 0; }
  .crest-hero { width: 220px; }
  .crest-frame { margin-bottom: 48px; }
  .crest-frame::before,
  .crest-frame::after { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .page-header { padding: 60px 0 40px; }
}
