:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-alt: #f3f1ec;
  --text: #1a2332;
  --text-muted: #5c6473;
  --navy: #1e293b;
  --navy-deep: #0f172a;
  --accent: #1e293b;
  --accent-warm: #8b7355;
  --line: #e4e2dc;
  --line-strong: #cfcbc3;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

/* Header — light, firm-style */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}

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

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--navy);
}

/* Hero — dark image section only */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: flex-end;
  margin-top: var(--header-height);
  padding: 64px 0 72px;
  overflow: hidden;
  color: #f5f3ef;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("https://images.pexels.com/photos/3847715/pexels-photo-3847715.jpeg?auto=compress&cs=tinysrgb&w=1920") center 30% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.92) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-content .eyebrow {
  color: #d4c4a8;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 15ch;
}

.hero-lead {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(245, 243, 239, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.hero .btn-primary:hover {
  background: #f0ede6;
  border-color: #f0ede6;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 520px;
}

.hero-stats dt {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.hero-stats dd {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.62);
}

/* Main content — light */

main {
  background: var(--bg);
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 580px;
  margin-bottom: 48px;
}

.section-head h2,
.resources-copy h2,
.platform-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.18;
  margin-top: 14px;
  color: var(--navy-deep);
}

.section-lead {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.products-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 28px rgba(26, 35, 50, 0.06);
}

.product-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
}

.product-card h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy-deep);
}

.product-card p {
  margin-top: 10px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-size: 14px;
}

.product-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s ease;
}

.product-link:hover {
  color: var(--accent-warm);
}

.product-card-live {
  border-top: 2px solid var(--navy);
  background: var(--surface);
}

/* Resources */

.resources-section {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.resources-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.resources-copy p:last-child {
  margin-top: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

.resource-list {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
}

.resource-list li {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}

.resource-desc {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
}

/* Platform */

.platform-section {
  background: var(--bg);
}

.platform-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px 56px;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

.platform-copy p:last-child {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.platform-features {
  list-style: none;
  align-self: end;
}

.platform-features li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-muted);
}

.platform-features li:last-child {
  border-bottom: none;
}

.platform-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--accent-warm);
  transform: translateY(-50%);
}

.platform-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 52px 0 40px;
}

.site-footer .brand {
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px 48px;
}

.footer-brand p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  max-width: 30ch;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.04em;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav a.nav-active {
  color: var(--navy);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-head-row .section-lead {
  max-width: 52ch;
}

.insights-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.event-section {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.event-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.event-media {
  display: block;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-media:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 40px rgba(26, 35, 50, 0.1);
}

.event-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.event-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--navy-deep);
  margin-top: 12px;
}

.event-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-stats li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.event-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 4px;
}

.page-hero {
  padding-top: calc(var(--header-height) + 48px);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy-deep);
  margin-top: 12px;
  max-width: 18ch;
}

.articles-index-section {
  background: var(--bg);
}

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

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 30px rgba(26, 35, 50, 0.07);
}

.article-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-card-category {
  color: var(--accent-warm);
}

.article-card-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.article-card-title a {
  color: var(--navy-deep);
  transition: color 0.2s ease;
}

.article-card-title a:hover {
  color: var(--navy);
}

.article-card-excerpt {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.article-card-byline {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 32px;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-article:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 36px rgba(26, 35, 50, 0.08);
}

.featured-article-image {
  min-height: 280px;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-top: 12px;
}

.featured-article-copy p {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.featured-article-link {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.page-article main,
.page-articles main {
  padding-top: var(--header-height);
}

.container-article {
  width: min(760px, calc(100% - 48px));
}

.article-back {
  display: inline-block;
  margin: 32px 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-back:hover {
  color: var(--navy);
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-category {
  color: var(--accent-warm);
}

.article-header h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy-deep);
}

.article-subtitle {
  margin-top: 16px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.article-author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-author-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
}

.article-author-text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-hero {
  margin: 32px 0;
  border: 1px solid var(--line);
}

.article-hero img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  margin: 36px 0 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy-deep);
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0 0 18px 1.2rem;
}

.article-body li {
  margin: 8px 0;
  color: var(--text-muted);
}

.article-body em {
  font-style: italic;
}

.article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.related-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.article-error {
  padding: 48px 0;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .resources-layout,
  .platform-panel {
    grid-template-columns: 1fr;
  }

  .platform-cta {
    grid-column: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-panel {
    grid-template-columns: 1fr;
  }

  .event-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, calc(100% - 28px));
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding-bottom: 48px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .platform-panel {
    padding: 28px 22px;
  }
}
