:root {
  --bg: #fcf8f6;
  --bg-2: #f5ede8;
  --text: #223142;
  --muted: #617083;
  --line: rgba(34, 49, 66, 0.1);
  --white: rgba(255, 255, 255, 0.76);
  --white-strong: rgba(255, 255, 255, 0.92);
  --shadow: 0 20px 60px rgba(40, 60, 90, 0.12);
  --shadow-soft: 0 10px 30px rgba(40, 60, 90, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --primary: #7e9ec8;
  --primary-strong: #5b7fb2;
  --accent: #e7c9bf;
  --mint: #dfeee7;
  --sand: #f5e4d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 201, 191, 0.65), transparent 28%),
    radial-gradient(circle at right 20%, rgba(126, 158, 200, 0.22), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 245, 240, 0.05) 0%, rgba(29, 42, 61, 0.2) 34%, rgba(20, 31, 46, 0.7) 100%),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.2), transparent 24%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 104px 0 42px;
  color: #fdfbf9;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.hero-subtitle {
  margin: 0;
  max-width: 720px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: rgba(255, 251, 249, 0.92);
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 26px;
}

.hero-pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.circle-btn:hover,
.circle-btn:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.link-card:hover,
.link-card:focus-visible,
.floating-cta__btn:hover,
.floating-cta__btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--white-strong);
  color: var(--text);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.section {
  padding: 34px 0 24px;
}

.section--lifted {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading--spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.glass-panel h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card,
.link-card,
.glass-panel,
.carousel-card,
.contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.feature-card {
  grid-column: span 4;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.feature-card h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}

.feature-card p,
.link-card p,
.prose-body p,
.contact-panel p,
.site-footer p,
.facts-list dd {
  color: var(--muted);
  line-height: 1.7;
}

.carousel-card {
  border-radius: 30px;
  overflow: hidden;
}

.carousel-stage {
  aspect-ratio: 16 / 10;
  background: #f0ece8;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 22px;
}

.carousel-meta h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.carousel-meta p {
  margin: 0;
  color: var(--muted);
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  max-width: 220px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(126, 158, 200, 0.22);
  cursor: pointer;
}

.gallery-dot.is-active {
  width: 34px;
  background: var(--primary);
}

.section-actions {
  display: flex;
  gap: 10px;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 18px;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 18px;
}

.glass-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.prose-body p {
  margin: 0 0 16px;
}

.facts-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin: 18px 0 0;
}

.facts-list dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.facts-list dd {
  margin: 6px 0 0;
}

.link-card {
  grid-column: span 4;
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  color: inherit;
}

.link-card__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  border-radius: 36px;
  padding: 28px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 158px;
  padding: 20px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 237, 232, 0.8) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.contact-card__label {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  font-weight: 700;
}

.floating-cta__btn--primary {
  background: rgba(126, 158, 200, 0.95);
  color: white;
}

.site-footer {
  padding: 8px 0 40px;
}

@media (max-width: 1024px) {
  .feature-card,
  .link-card {
    grid-column: span 6;
  }

  .two-col-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-content {
    padding: 92px 0 24px;
  }

  .feature-card,
  .link-card {
    grid-column: span 12;
  }

  .section-heading--spread,
  .carousel-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-dots {
    justify-content: flex-start;
  }

  .floating-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .floating-cta__btn {
    min-width: 100%;
  }
}
