:root {
  --bg: #f6efe5;
  --bg-soft: #fff9f2;
  --surface: rgba(255, 250, 244, 0.75);
  --surface-strong: #fffdf8;
  --ink: #1f2a2a;
  --muted: #5a6764;
  --line: rgba(55, 71, 79, 0.12);
  --accent: #bf5f3c;
  --accent-dark: #8f3f22;
  --accent-soft: #f0d3bf;
  --sage: #89a08f;
  --shadow: 0 24px 60px rgba(66, 43, 28, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(191, 95, 60, 0.16), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(137, 160, 143, 0.24), transparent 25%),
    linear-gradient(180deg, #fbf4ea 0%, #f5ede2 52%, #f9f4ee 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

img {
  max-width: 100%;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 250, 244, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 5.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 2rem;
  padding-top: 4.5rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.highlight-copy h2 {
  margin: 0;
  line-height: 0.95;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  font-weight: 700;
}

.hero-text,
.content-card p,
.tool-card p,
.resource-block p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.eyebrow,
.card-kicker,
.profile-index,
.resource-icon,
.associations-title,
.baul-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.profile-card a:hover,
.site-nav a:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff9f4;
  background: linear-gradient(135deg, var(--accent) 0%, #d28252 100%);
  box-shadow: 0 16px 32px rgba(191, 95, 60, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 42, 42, 0.08);
}

.hero-card,
.content-card,
.tool-card,
.resource-block,
.contact-card,
.process-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(137, 160, 143, 0.32), transparent 68%);
}

.hero-points,
.feature-list,
.association-list,
.process-steps {
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2.3rem;
  max-width: 780px;
}

.profile-grid,
.tool-grid,
.resource-columns,
.highlight-band {
  display: grid;
  gap: 1.35rem;
}

.profile-grid,
.tool-grid,
.resource-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card,
.tool-card,
.resource-block {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 248, 0.72);
  box-shadow: var(--shadow);
}

.profile-card h3,
.content-card h3,
.tool-card h3,
.resource-block h3,
.process-panel h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 2rem;
  line-height: 1;
}

.profile-card p,
.profile-card a,
.process-steps,
.faq-list p,
.association-list,
.feature-list {
  color: var(--muted);
}

.profile-card a {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

.definition-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.content-card,
.process-panel,
.contact-card {
  padding: 2rem;
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.35rem;
}

.compact li {
  margin-bottom: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.25rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  background: var(--surface-strong);
  border: 1px solid rgba(31, 42, 42, 0.08);
  border-radius: var(--radius-sm);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.highlight {
  background: linear-gradient(180deg, rgba(240, 211, 191, 0.88) 0%, rgba(255, 247, 240, 0.95) 100%);
}

.baul-box {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
}

.highlight-band {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: stretch;
}

.highlight-copy,
.highlight-metrics {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.highlight-metrics {
  display: grid;
  gap: 1rem;
}

.highlight-metrics div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.highlight-metrics strong {
  font-size: 2.4rem;
  font-family: "Cormorant Garamond", serif;
}

.contact-card {
  max-width: 720px;
}

.site-footer {
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 960px) {
  .hero,
  .definition-layout,
  .process-panel,
  .highlight-band,
  .profile-grid,
  .tool-grid,
  .resource-columns {
    grid-template-columns: 1fr;
  }

  .site-header {
    top: 0.5rem;
    border-radius: 28px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 250, 244, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .highlight-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }
}

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

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

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