:root {
  --bg: #f5f3ef;
  --bg-soft: #fbfaf8;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #58534f;
  --line: #ddd6ce;
  --brand: #5d2243;
  --brand-2: #1f5e7a;
  --accent: #ff6f30;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 14px 32px rgba(20, 15, 10, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, var(--bg) 420px);
  line-height: 1.62;
}

img { max-width: 100%; display: block; }
video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(221, 214, 206, 0.8);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #8f2f65);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 7px 10px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-nav a {
  font-size: 15px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #fff;
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--brand), #7a2f59);
  box-shadow: 0 6px 16px rgba(93, 34, 67, 0.24);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #decfbe;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(31px, 4vw, 46px); }
h3 { font-size: clamp(24px, 3vw, 33px); }

.lead {
  font-size: clamp(18px, 1.65vw, 22px);
  color: #3f3b37;
}

.page-hero {
  padding: 70px 0 26px;
}

.page-hero .hero-wrap {
  background: linear-gradient(160deg, #fff, #f7f2ec);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero {
  padding: 62px 0 32px;
}


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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.stat strong { font-size: 22px; }

.section {
  padding: 54px 0;
}

.section.alt {
  background: linear-gradient(180deg, #f6f1ea, #faf8f5);
  border-block: 1px solid var(--line);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.hero-image {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.kpi-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.kpi em { color: var(--muted); font-style: normal; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  text-align: left;
  padding: 11px;
  border-bottom: 1px solid var(--line);
}

th { background: #f2ebe3; }

.quote-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 14px;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label { display: grid; gap: 6px; font-size: 14px; }

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9c0b5;
  border-radius: 9px;
  padding: 10px;
  font: inherit;
  background: #fff;
}

textarea { min-height: 120px; resize: vertical; }

.scene-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scene-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
}

.scene-card .scene-body {
  padding: 12px;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.scroll-video-section {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  min-height: 175vh;
  position: relative;
}

.scroll-video-sticky {
  position: sticky;
  top: 74px;
  z-index: 1;
  height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.scroll-video-shell {
  position: relative;
  width: min(1260px, 96%);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12);
}

.scroll-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.scroll-video-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.scroll-video-overlay strong {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  width: fit-content;
}

.site-footer {
  margin-top: 50px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #201a1d;
  color: #f3edf0;
}

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

.footer-grid a { color: #f3edf0; }

input:focus,
select:focus,
textarea:focus,
.btn:focus,
.nav-toggle:focus {
  outline: 3px solid rgba(31, 94, 122, 0.22);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 980px) {
  .split,
  .cards,
  .scene-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .scroll-video-section { min-height: 155vh; }

  .scroll-video-sticky {
    top: 74px;
    height: calc(100vh - 74px);
    padding: 10px;
  }

  .scroll-video-shell {
    width: 100%;
    border-radius: 12px;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
  }

  .cards,
  .scene-grid,
  .kpi-grid,
  .form-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
