:root {
  --bg: #f3efe8;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(250, 248, 243, 0.88);
  --ink: #1b1d1b;
  --muted: #5f625c;
  --line: rgba(27, 29, 27, 0.12);
  --accent: #b46028;
  --steel: linear-gradient(135deg, rgba(227, 228, 230, 0.95), rgba(194, 198, 201, 0.72));
  --shadow: 0 24px 60px rgba(24, 26, 24, 0.12);
  --radius: 28px;
  --content-width: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
}

h4 {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

h5 {
  font-size: 1rem;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 30%),
    linear-gradient(180deg, #f6f1ea 0%, #efe9e1 45%, #ece6dd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.4), transparent 38%),
    repeating-linear-gradient(120deg,
      rgba(255, 255, 255, 0.15) 0,
      rgba(255, 255, 255, 0.15) 1px,
      transparent 1px,
      transparent 16px);
  opacity: 0.55;
  pointer-events: none;
}

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

.page-shell {
  position: relative;
  z-index: 1;
}

.topbar,
.hero,
.content-section,
.trust-strip {
  width: var(--content-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 30px rgba(27, 29, 27, 0.08);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #202422, #4d5350);
  color: #f8f6f1;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy small,
.site-nav a,
.hero-text,
.hero-notes,
.bullet-list,
.number-list,
.content-block p,
.metric-block p,
.timeline-card p,
.section-footnote,
.closing-panel p,
.budget-card span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a,
.menu-toggle {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.menu-toggle:hover {
  color: var(--ink);
  border-color: rgba(27, 29, 27, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.menu-toggle {
  display: none;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 30px;
  min-height: calc(100svh - 96px);
  align-items: center;
  padding: 34px 0 22px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.statement-panel blockquote,
.resource-link strong {
  margin: 0;
  font-family: "Oswald", sans-serif;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(1.3rem, 2.6vw, 3.0rem);
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #f9f7f2;
  background: linear-gradient(135deg, #1e201f, #4e534f);
  box-shadow: 0 18px 36px rgba(21, 23, 21, 0.18);
}

.button-secondary {
  border: 1px solid rgba(27, 29, 27, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.hero-notes {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel,
.content-section {
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 34px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top right, rgba(180, 96, 40, 0.25), transparent 35%),
    linear-gradient(145deg, rgba(216, 219, 222, 0.95), rgba(164, 171, 176, 0.82));
}

.hero-panel-grid,
.two-column,
.three-column,
.proposal-layout,
.results-strip,
.budget-options,
.resources-grid,
.checklist-grid,
.timeline-grid {
  display: grid;
  gap: 18px;
}

.hero-panel-grid,
.results-strip,
.budget-options,
.resources-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.two-column,
.proposal-layout,
.checklist-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-panel-grid article,
.content-block,
.metric-block,
.proposal-summary,
.results-strip article,
.budget-card,
.timeline-card,
.checklist-group,
.resource-link,
.closing-panel {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(27, 29, 27, 0.07);
}

.results-strip article strong,
.budget-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.0rem);
  text-transform: uppercase;
}

.content-section {
  border-radius: 36px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.steel-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.42)),
    var(--steel);
}

.statement-panel {
  margin-bottom: 20px;
  padding: 28px 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(27, 29, 27, 0.08);
}

.statement-panel blockquote {
  font-size: clamp(1.5rem, 2.7vw, 2.0rem);
  text-transform: uppercase;
  line-height: 1.3;
}

.statement-label,
.budget-card p,
.timeline-card span,
.results-strip span {
  display: block;
  margin: 0;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-text {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.partner-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-marquee span {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(27, 29, 27, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.section-footnote {
  margin: 18px 0 0;
}

.budget-card {
  min-height: 220px;
}

.budget-card.featured {
  background: linear-gradient(145deg, rgba(27, 29, 27, 0.96), rgba(72, 77, 73, 0.92));
  color: #f7f5f0;
  box-shadow: 0 20px 44px rgba(22, 24, 22, 0.22);
}

.budget-card.featured p,
.budget-card.featured span {
  color: rgba(247, 245, 240, 0.82);
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(27, 29, 27, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

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

th,
td {
  padding: 18px;
  border-bottom: 1px solid rgba(27, 29, 27, 0.08);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

thead th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: none;
}

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

.timeline-card {
  min-height: 218px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, rgba(227, 228, 230, 0.9), rgba(187, 191, 195, 0.64));
}

.timeline-card strong {
  display: inline-flex;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 29, 27, 0.1);
}

.resource-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 156px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resource-link:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 96, 40, 0.26);
  background: rgba(255, 255, 255, 0.72);
}

.resource-link strong {
  font-size: 1.15rem;
  text-transform: uppercase;
}

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

.budget-split {
  display: grid;
  /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
  gap: 18px;
  margin-top: 24px;
}

.budget-panel,
.detail-card,
.toc-card,
.mini-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(27, 29, 27, 0.07);
}

.detail-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.detail-grid-2,
.detail-grid-3,
.toc-grid {
  display: grid;
  gap: 18px;
}

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

.detail-grid-3,
.toc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
}

.back-link:hover,
.toc-card a:hover {
  color: var(--accent);
}

.toc-card a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
}

.task-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
}

.mini-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.closing-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.bullet-list,
.number-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  line-height: 1.7;
}

.section-observe {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel-grid,
  .three-column,
  .results-strip,
  .budget-options,
  .resources-grid,
  .budget-split,
  .detail-grid-3,
  .toc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    flex-direction: column;
    width: min(320px, calc(100vw - 40px));
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 29, 27, 0.08);
    box-shadow: var(--shadow);
  }

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

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

  .two-column,
  .proposal-layout,
  .three-column,
  .hero-panel-grid,
  .results-strip,
  .budget-options,
  .resources-grid,
  .checklist-grid,
  .budget-split,
  .detail-grid-2,
  .detail-grid-3,
  .toc-grid {
    grid-template-columns: 1fr;
  }

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

  .closing-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 24px, 1180px);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .section-heading h2 {
    max-width: none;
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .content-section {
    padding: 24px;
  }

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

  th,
  td {
    padding: 14px;
  }
}