:root {
  --bg: #f6efe9;
  --surface: rgba(255, 248, 243, 0.86);
  --text: #34251f;
  --muted: #7a5f52;
  --accent: #b65a3a;
  --accent-dark: #8f4028;
  --line: rgba(52, 37, 31, 0.12);
  --shadow: 0 20px 60px rgba(85, 42, 26, 0.14);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 131, 109, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(214, 177, 147, 0.22), transparent 28%),
    var(--bg);
  line-height: 1.5;
}

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 242, 0.72);
  border-bottom: 1px solid rgba(47, 42, 38, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 64px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(182, 90, 58, 0.16);
  filter: blur(10px);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(181, 131, 109, 0.12);
  color: var(--accent-dark);
  font-size: 13px;
  width: fit-content;
  margin-bottom: 18px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  margin: 0 0 20px;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

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

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  border-color: rgba(47, 42, 38, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

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

.fact {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(47, 42, 38, 0.06);
}

.fact-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.fact-value {
  font-size: 18px;
  font-weight: 600;
}

.section h2,
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 0;
}

.section {
  padding: 0 0 28px;
}

.section-card {
  padding: 38px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-note {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.65;
}

.timeline-slider {
  position: relative;
  display: grid;
  gap: 28px;
}

.timeline-top {
  position: relative;
  padding: 14px 0 6px;
}

.timeline-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  height: 2px;
  background: rgba(52, 37, 31, 0.12);
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 86px;
  height: 2px;
  width: var(--timeline-progress, 0%);
  background: linear-gradient(90deg, rgba(182, 90, 58, 0.55), rgba(182, 90, 58, 1));
  transition: width 0.35s ease;
}

.timeline-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.timeline-step-button {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.timeline-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 251, 248, 0.95);
  border: 1px solid rgba(52, 37, 31, 0.08);
  box-shadow: 0 12px 28px rgba(85, 42, 26, 0.08);
  color: var(--muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.timeline-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(182, 90, 58, 0.3);
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.82);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-step-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
  max-width: 16ch;
  transition: color 0.3s ease;
}

.timeline-step.is-active .timeline-icon,
.timeline-step-button:hover .timeline-icon {
  color: var(--accent-dark);
  border-color: rgba(182, 90, 58, 0.22);
  box-shadow: 0 18px 36px rgba(182, 90, 58, 0.18);
  transform: translateY(-4px);
}

.timeline-step.is-active .timeline-dot,
.timeline-step-button:hover .timeline-dot {
  background: var(--accent);
  border-color: rgba(182, 90, 58, 0.75);
  box-shadow: 0 0 0 8px rgba(182, 90, 58, 0.12);
  transform: scale(1.08);
}

.timeline-step.is-active .timeline-step-title,
.timeline-step-button:hover .timeline-step-title {
  color: var(--text);
}

.timeline-panels {
  position: relative;
}

.timeline-panel {
  display: none;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 248, 0.96), rgba(255, 243, 236, 0.98));
  border: 1px solid rgba(52, 37, 31, 0.08);
  box-shadow: 0 24px 60px rgba(85, 42, 26, 0.12);
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.timeline-panel.is-active {
  display: grid;
  animation: timelineFade 0.3s ease;
}

.timeline-panel-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.timeline-chip {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(182, 90, 58, 0.12);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline-panel-icon {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(52, 37, 31, 0.08);
  color: var(--accent-dark);
  box-shadow: 0 16px 36px rgba(182, 90, 58, 0.12);
}

.timeline-panel-icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-panel-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.timeline-panel-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
  max-width: 62ch;
}

.timeline-intro {
  margin-bottom: 22px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

@keyframes timelineFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-header {
  align-items: center;
}

.details-note {
  max-width: 520px;
}

.details-accordion {
  display: grid;
  gap: 14px;
}

.accordion-group,
.accordion-subgroup {
  border-radius: 24px;
  border: 1px solid rgba(47, 42, 38, 0.07);
  background: rgba(255, 255, 255, 0.44);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-group:hover,
.accordion-subgroup:hover {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(182, 90, 58, 0.12);
}

.accordion-group.is-open,
.accordion-subgroup.is-open {
  background: rgba(255, 252, 249, 0.72);
  border-color: rgba(182, 90, 58, 0.14);
  box-shadow: 0 18px 40px rgba(85, 42, 26, 0.06);
}

.accordion-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger--nested {
  padding: 18px 20px;
}

.accordion-marker {
  width: 8px;
  height: 8px;
  margin-top: 0.7em;
  border-radius: 50%;
  background: rgba(182, 90, 58, 0.78);
  box-shadow: 0 0 0 5px rgba(182, 90, 58, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.accordion-title-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.accordion-title {
  font-size: 24px;
  line-height: 1.12;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.accordion-trigger--nested .accordion-title {
  font-size: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

.accordion-subtitle {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.accordion-arrow {
  display: none;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  border-right: 1.5px solid rgba(52, 37, 31, 0.5);
  border-bottom: 1.5px solid rgba(52, 37, 31, 0.5);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.accordion-indicator {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-indicator::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.accordion-item.open .accordion-indicator::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent-color);
    border-radius: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.accordion-inner {
  padding: 0 24px 24px 24px;
  display: grid;
  gap: 10px;
}

.accordion-panel--nested .accordion-inner--nested {
  padding: 0 20px 18px 20px;
}

.accordion-subgroup {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.accordion-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.accordion-group.is-open > .accordion-trigger .accordion-arrow,
.accordion-subgroup.is-open > .accordion-trigger .accordion-arrow {
  transform: rotate(-135deg);
  border-color: var(--accent-dark);
}

.accordion-group.is-open > .accordion-trigger .accordion-marker,
.accordion-subgroup.is-open > .accordion-trigger .accordion-marker {
  transform: scale(1.08);
  background: var(--accent-dark);
  box-shadow: 0 0 0 6px rgba(182, 90, 58, 0.12);
}

footer {
  padding: 12px 0 40px;
}

.footer-card {
  padding: 26px;
  text-align: center;
  color: var(--muted);
}

.footer-title {
  color: var(--text);
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .timeline-track,
  .timeline-progress {
    display: none;
  }

  .timeline-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-panel,
  .timeline-panel.is-active {
    grid-template-columns: 1fr;
  }

  .accordion-trigger {
    grid-template-columns: 12px minmax(0, 1fr) 16px;
    gap: 14px;
    padding: 18px 18px;
  }

  .accordion-inner {
    padding: 0 18px 18px 18px;
  }

  .accordion-panel--nested .accordion-inner--nested {
    padding: 0 16px 16px 16px;
  }

  .hero-main { padding: 34px; min-height: auto; }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-inner { align-items: flex-start; flex-direction: column; }

  .accordion-title {
    font-size: 20px;
  }

  .accordion-trigger--nested .accordion-title {
    font-size: 17px;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .timeline-step-button {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .timeline-icon {
    width: 56px;
    height: 56px;
  }

  .timeline-icon svg {
    width: 28px;
    height: 28px;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-step-title {
    max-width: none;
  }

  .timeline-panel {
    padding: 24px;
  }

  .section-card { padding: 22px; }
  .hero { padding-top: 36px; }
  h1 { line-height: 1.02; }
}
