@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Primary — deep indigo */
  --navy: #1e1b4b;
  --navy-mid: #312e81;
  --navy-light: #6366f1;
  /* Accent — teal */
  --gold: #0d9488;
  --gold-light: #5eead4;
  --gold-dark: #0f766e;
  /* Surfaces */
  --cream: #f5f7fc;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(30, 27, 75, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(30, 27, 75, 0.09);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 247, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.18);
}

.logo-mark img,
.logo-mark svg {
  display: block;
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  white-space: nowrap;
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.logo-link--light .logo-name { color: #fff; }
.logo-link--light .logo-tag { color: var(--gold-light); opacity: 0.85; }

.logo-link:hover .logo-name { color: var(--navy-light); }
.logo-link--light:hover .logo-name { color: #fff; }

.nav-main {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a {
  color: var(--text);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
}

.nav-main a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-main a:hover { opacity: 1; color: var(--navy); }
.nav-main a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy-mid);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

/* Hero - split layout */
.hero-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #3730a3 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(13, 148, 136, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-dark .eyebrow { color: var(--gold-light); }

.hero-dark .display-title { color: #fff; }

.hero-dark .lead { color: rgba(255,255,255,0.78); margin: 20px 0 32px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
}

.pill-accent {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  font-weight: 600;
}

.metric-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  backdrop-filter: blur(8px);
}

.metric-box .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.metric-box .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

.metric-box.wide { grid-column: span 2; }

/* Sections */
.section { padding: 88px 0; }

.section-alt { background: #fff; }

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

/* Bento services */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.bento-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.35);
}

.bento-item.span-7 { grid-column: span 7; }
.bento-item.span-5 { grid-column: span 5; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-8 { grid-column: span 8; }

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bento-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.bento-item p { font-size: 0.95rem; color: var(--muted); }

/* Zigzag features */
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.zigzag-row:last-child { margin-bottom: 0; }

.zigzag-row.reverse .zigzag-visual { order: -1; }

.zigzag-visual {
  background: linear-gradient(160deg, var(--navy-mid), var(--navy-light));
  border-radius: var(--radius-lg);
  min-height: 280px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.zigzag-visual--alt {
  background: linear-gradient(160deg, #0f766e, var(--navy-mid));
}

.zigzag-visual .tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.zigzag-visual h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.zigzag-visual p { font-size: 0.9rem; opacity: 0.85; }

/* Stats strip */
.stats-strip {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0;
  color: #fff;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-row .val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-light);
}

.stats-row .desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

/* Market CTA */
.cta-band {
  background: linear-gradient(90deg, var(--gold) 0%, #14b8a6 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  max-width: 480px;
}

.cta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}

/* Contact */
.contact-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.contact-item .ico {
  width: 44px;
  height: 44px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--gold-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }

/* News list layout */
.news-list { display: flex; flex-direction: column; gap: 24px; }

.news-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.news-row:hover {
  box-shadow: var(--shadow);
  transform: translateX(6px);
  border-color: rgba(13, 148, 136, 0.3);
}

.news-row img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.news-row-body { padding: 32px 32px 32px 0; display: flex; flex-direction: column; justify-content: center; }

.news-meta { font-size: 0.8rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 8px; }

.news-row h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-row p { font-size: 0.95rem; color: var(--muted); }

.read-more {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #151233 100%);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--gold-light); }

.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Legal / article pages */
.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.page-hero.narrow { max-width: 800px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

.legal-card, .article-wrap {
  max-width: 800px;
  margin: 40px auto 80px;
  padding: 40px 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal-card h2, .article-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-card p, .legal-card li, .article-wrap p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-card ul { margin-left: 20px; }
.legal-card li { margin: 8px 0; }

.legal-card code {
  background: rgba(13, 148, 136, 0.08);
  color: var(--gold-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
}

.muted { color: var(--muted); font-size: 0.88rem; margin-top: 24px; }

.article-hero-img {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 0 28px;
}

.article-hero-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  background: rgba(13, 148, 136, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-weight: 500;
}

/* Brand page */
.brand-hero {
  padding: 100px 0 80px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.pillar {
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.pillar-label { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.pillar h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 8px 0; color: var(--navy); }
.pillar p { font-size: 0.9rem; color: var(--muted); }

.mission-banner {
  margin-top: 56px;
  padding: 56px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}

.mission-banner p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-main { display: none; }
  .hero-grid, .zigzag-row, .contact-block, .footer-grid, .stats-row { grid-template-columns: 1fr; }
  .bento-item[class*="span"] { grid-column: span 12; }
  .metric-panel { grid-template-columns: 1fr; }
  .metric-box.wide { grid-column: span 1; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-body { padding: 24px; }
  .zigzag-row.reverse .zigzag-visual { order: 0; }
  .pillar-grid { grid-template-columns: 1fr; }
}
