:root {
  --navy-950: #060f1f;
  --navy-900: #0a1628;
  --navy-800: #0f1e35;
  --navy-700: #16294a;
  --ink: #0b1424;
  --ink-2: #1f2a3d;
  --muted: #5b6675;
  --line: #e6e8ee;
  --bg: #fbfaf6;
  --bg-alt: #f4f1e9;
  --white: #ffffff;
  --gold: #c9a14a;
  --gold-2: #e5c16c;
  --gold-soft: #f3e6c0;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 22, 40, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 22, 40, 0.25);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  height: 36px;
  width: 36px;
  object-fit: contain;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-cta { margin-left: auto; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { height: 64px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(10, 22, 40, 0.2);
}
.btn-ghost:hover {
  border-color: var(--navy-900);
  background: rgba(10, 22, 40, 0.04);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 161, 74, 0.2), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(10, 22, 40, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1100px 600px at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(1100px 600px at 50% 40%, #000 40%, transparent 80%);
}
.hero-inner { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: rgba(201, 161, 74, 0.12);
  border: 1px solid rgba(201, 161, 74, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.04;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero-sub {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 20px 0 14px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-punch {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--navy-900);
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-ctas .btn svg { transition: transform 0.2s ease; }
.hero-ctas .btn:hover svg { transform: translateX(3px); }

.hero-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pillars li {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.02em;
  padding: 8px 14px 8px 26px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-pillars li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18);
}

/* Hero stage (right visual) */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
@media (max-width: 980px) {
  .hero-stage { margin: 0 auto; max-width: 380px; }
}
.stage-glow {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle at 50% 50%, rgba(229, 193, 108, 0.55) 0%, rgba(201, 161, 74, 0.18) 40%, transparent 70%);
  filter: blur(10px);
  border-radius: 50%;
  animation: stage-pulse 6s ease-in-out infinite;
}
@keyframes stage-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}
.stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(201, 161, 74, 0.4);
}
.stage-ring.ring-1 { inset: 6%; }
.stage-ring.ring-2 { inset: 22%; border-style: solid; border-color: rgba(201, 161, 74, 0.2); }
.stage-mark {
  position: absolute;
  inset: 32%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #ffffff 0%, #fbfaf6 70%, rgba(255,255,255,0) 100%);
  border-radius: 50%;
  box-shadow: 0 20px 60px -20px rgba(201, 161, 74, 0.45), inset 0 0 0 1px rgba(201, 161, 74, 0.2);
}
.stage-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.stage-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 22, 40, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -12px rgba(10, 22, 40, 0.25);
  white-space: nowrap;
  animation: chip-float 5s ease-in-out infinite;
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.2);
}
.chip-ops   { top: 6%;  left: -4%;  animation-delay: 0s; }
.chip-learn { top: 18%; right: -6%; animation-delay: 1.2s; }
.chip-admin { bottom: 16%; left: -8%; animation-delay: 2.4s; }
.chip-data  { bottom: 4%; right: 2%;  animation-delay: 3.6s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 560px) {
  .stage-chip { font-size: 11.5px; padding: 7px 11px; }
  .chip-ops   { left: -2%; }
  .chip-learn { right: -2%; }
  .chip-admin { left: -4%; }
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-label.light { color: var(--gold-2); }
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy-900);
  max-width: 800px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title.light { color: var(--white); margin-inline: auto; }
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 720px;
}
.lede.light { color: rgba(255, 255, 255, 0.8); margin-inline: auto; }
.body {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
}

/* Grids */
.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 161, 74, 0.4);
}
.card:hover::before { opacity: 1; }
.card-num {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-weight: 600;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Why cards */
.why-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px 220px at 50% -20%, rgba(201, 161, 74, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 161, 74, 0.45);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }

.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(201, 161, 74, 0.1);
  border: 1px solid rgba(201, 161, 74, 0.25);
  border-radius: 10px;
  margin-bottom: 18px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.why-card:hover .why-icon {
  background: var(--navy-900);
  color: var(--gold-2);
  border-color: var(--navy-900);
  transform: rotate(-6deg) scale(1.05);
}

.why-card h3 {
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-weight: 600;
}
.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}


/* Contact (dark) */
.section-dark {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(201, 161, 74, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 24px auto 28px;
}
@media (max-width: 620px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 22px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
a.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 161, 74, 0.5);
  transform: translateY(-1px);
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  opacity: 0.95;
}
.footer-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-meta {
  font-size: 13px;
  text-align: right;
  line-height: 1.8;
}
@media (max-width: 620px) {
  .footer-meta { text-align: left; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
