:root {
  --bg: #f4efe7;
  --bg-strong: #e6ddd2;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-dark: #16202d;
  --surface-dark-soft: #203040;
  --text: #18212d;
  --muted: #607080;
  --line: rgba(24, 33, 45, 0.12);
  --line-strong: rgba(24, 33, 45, 0.22);
  --accent: #c3672b;
  --accent-deep: #7d3a13;
  --accent-soft: rgba(195, 103, 43, 0.14);
  --success: #2f6b52;
  --shadow-lg: 0 28px 72px rgba(24, 33, 45, 0.14);
  --shadow-md: 0 18px 42px rgba(24, 33, 45, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1500px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(195, 103, 43, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(33, 51, 75, 0.16), transparent 24%),
    linear-gradient(180deg, #efe8dc 0%, #f8f4ed 54%, #ede5d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 86%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin: 0;
}

.page {
  padding: 18px 0 56px;
}

.site-frame {
  width: var(--container);
  margin: 0 auto;
}

.site-header,
.section-shell,
.glass-card,
.metric-card,
.catalog-card,
.timeline-card,
.cta-panel {
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.92);
  box-shadow: var(--shadow-md);
}

.brand-mark {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-mark img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin: 0 auto;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-dropdown {
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  width: 380px;
  height: 30px;
  transform: translateX(-50%);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 340px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 12px;
  border: 1px solid rgba(24, 33, 45, 0.08);
  border-radius: 20px;
  background: rgba(248, 243, 235, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.site-nav a,
.pill,
.button {
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav a {
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2b3139;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-submenu a {
  display: flex;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #2b3139;
  background: rgba(255, 255, 255, 0.72);
}

.nav-submenu a:first-child {
  margin-top: 0;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.site-nav a:hover,
.button:hover,
.pill:hover {
  transform: none;
}

.site-nav > a:hover,
.nav-dropdown-trigger:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
}

.button-primary {
  color: #fff8f0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 16px 32px rgba(125, 58, 19, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(24, 33, 45, 0.08);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(24, 33, 45, 0.06);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-shell {
  margin-top: 18px;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.blank-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  min-height: auto;
}

.blank-page-title h1 {
  margin: 0;
  width: 100%;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p,
.body-copy,
.muted-copy,
.timeline-list dd,
.metric-copy {
  color: var(--muted);
  line-height: 1.72;
}

h1,
h2,
h3 {
  font-weight: 700;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.3rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.26rem;
  line-height: 1.25;
}

.tag-row,
.action-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glass-card,
.metric-card,
.timeline-card,
.catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
}

.dark-panel {
  color: white;
  background: linear-gradient(180deg, rgba(19, 28, 40, 0.98), rgba(32, 48, 64, 0.95));
}

.dark-panel .eyebrow,
.dark-panel .body-copy,
.dark-panel .muted-copy,
.dark-panel .metric-copy,
.dark-panel .timeline-list dd,
.dark-panel .pill {
  color: rgba(255, 255, 255, 0.78);
}

.dark-panel .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.metric-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.metric-value {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check {
  display: grid;
  gap: 12px;
}

.list-check li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.mini-title {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(20, 28, 40, 0.98), rgba(31, 45, 63, 0.94));
  box-shadow: var(--shadow-lg);
}

.cta-panel .body-copy,
.cta-panel h3 {
  color: white;
}

.cta-panel .body-copy {
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
}

@media (max-width: 1080px) {
  .section-heading-row,
  .grid-two,
  .grid-three {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .brand-mark {
    position: static;
    transform: none;
  }
}

@media (max-width: 760px) {
  .page {
    padding-top: 10px;
  }

  .site-frame {
    width: min(100% - 20px, 1220px);
  }

  .section-shell {
    padding: 22px;
    border-radius: 26px;
  }

  .site-nav,
  .nav-group,
  .action-row,
  .pill-row,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-submenu {
    position: static;
    display: flex;
    min-width: 100%;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a {
    width: 100%;
  }
}
