:root {
  --ink: #050403;
  --brown: #3b2518;
  --copper: #8a5a36;
  --cream: #fffaf1;
  --paper: #ffffff;
  --linen: #efe2cb;
  --mist: #f7efe3;
  --green: #4d7a35;
  --green-soft: #d7e8c8;
  --line: rgba(59, 37, 24, 0.16);
  --shadow: 0 28px 80px rgba(5, 4, 3, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(59, 37, 24, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(59, 37, 24, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 80% 8%, rgba(77, 122, 53, 0.16), transparent 24rem),
    linear-gradient(135deg, var(--cream), var(--mist) 52%, #ffffff);
  background-size: 38px 38px, 38px 38px, auto, auto;
  color: var(--ink);
  font-family: Archivo, sans-serif;
}

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

.page-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.left-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  border-right: 1px solid var(--line);
  padding: 24px 22px;
  background:
    radial-gradient(circle at top left, rgba(239, 226, 203, 0.9), transparent 18rem),
    rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
}

.rail-logo img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(59, 37, 24, 0.13);
  padding: 12px 0;
  color: rgba(59, 37, 24, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-nav a::after {
  content: "->";
  color: var(--green);
}

.rail-note {
  margin: 0;
  color: rgba(59, 37, 24, 0.68);
  font-size: 0.86rem;
  line-height: 1.45;
}

main {
  min-width: 0;
}

.hero-atlas {
  min-height: auto;
  padding: 38px clamp(24px, 4.5vw, 58px) 36px;
}

.hero-kicker,
.eyebrow {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-kicker span {
  width: 34px;
  height: 2px;
  background: var(--green);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-statement h1,
.service-manifesto h2,
.method-section h2,
.packages-section h2,
.final-proof h2,
.contact-copy h2 {
  font-family: Newsreader, serif;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.hero-statement h1 {
  max-width: 980px;
  margin: 0 0 20px;
  font-size: clamp(3.5rem, 8vw, 8.8rem);
}

.hero-text {
  max-width: 700px;
  color: rgba(59, 37, 24, 0.74);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.primary-button,
.contact-card button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  font: 900 0.86rem Archivo, sans-serif;
  box-shadow: 10px 10px 0 var(--green);
  cursor: pointer;
}

.text-link {
  color: var(--brown);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.atlas-board {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(59, 37, 24, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(239, 226, 203, 0.76)),
    var(--linen);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.atlas-board::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(59, 37, 24, 0.24);
}

.board-heading {
  position: absolute;
  left: 28px;
  top: 28px;
}

.board-heading span,
.grant-ticket small {
  color: var(--copper);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-heading strong {
  display: block;
  margin-top: 6px;
  font-family: Newsreader, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.grant-ticket {
  position: absolute;
  width: min(78%, 310px);
  border: 1px solid rgba(59, 37, 24, 0.16);
  padding: 15px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 20px 44px rgba(5, 4, 3, 0.12);
}

.grant-ticket b {
  display: block;
  margin: 8px 0;
  font-size: 1rem;
}

.grant-ticket span {
  color: rgba(59, 37, 24, 0.66);
  font-size: 0.82rem;
}

.ticket-a {
  top: 150px;
  left: 34px;
  transform: rotate(-3deg);
}

.ticket-b {
  right: 30px;
  top: 250px;
  transform: rotate(2deg);
}

.ticket-c {
  left: 58px;
  bottom: 42px;
  transform: rotate(-1deg);
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--cream);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(77, 122, 53, 0.14);
}

.pin-one {
  right: 70px;
  top: 90px;
}

.pin-two {
  left: 58px;
  top: 330px;
}

.pin-three {
  right: 122px;
  bottom: 96px;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
}

.ticker span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 250, 241, 0.15);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.audience-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.audience-strip article {
  min-height: 190px;
  border-right: 1px solid var(--line);
  padding: 24px;
}

.audience-strip article:nth-child(2) {
  background: rgba(215, 232, 200, 0.38);
}

.audience-strip span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.audience-strip b {
  display: block;
  max-width: 320px;
  margin: 16px 0 10px;
  font-family: Newsreader, serif;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.audience-strip p {
  max-width: 390px;
  margin: 0;
  color: rgba(59, 37, 24, 0.72);
  font-size: 0.94rem;
  line-height: 1.48;
}

.service-manifesto,
.method-section,
.packages-section,
.final-proof,
.contact-section {
  padding: clamp(44px, 6.5vw, 82px) clamp(24px, 4.5vw, 58px);
}

.service-manifesto {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.service-manifesto h2,
.method-section h2,
.packages-section h2,
.final-proof h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 5.25rem);
}

.manifesto-copy {
  columns: 2 260px;
  column-gap: 28px;
  color: rgba(59, 37, 24, 0.74);
  font-size: 0.98rem;
  line-height: 1.55;
}

.evidence-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-wall article {
  min-height: 240px;
  border-right: 1px solid var(--line);
  padding: 24px;
  background: rgba(255, 255, 255, 0.38);
}

.evidence-wall article:nth-child(even) {
  background: rgba(239, 226, 203, 0.42);
}

.evidence-wall span,
.package-stack span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.evidence-wall h3,
.package-stack h3,
.method-lanes b {
  font-size: 1.12rem;
}

.evidence-wall p,
.method-lanes p,
.package-stack p,
.final-proof p,
.contact-copy p {
  color: rgba(59, 37, 24, 0.72);
  line-height: 1.5;
}

.method-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 122, 53, 0.13), transparent 24rem),
    rgba(255, 255, 255, 0.3);
}

.method-section h2 {
  max-width: 1040px;
  margin-bottom: 26px;
}

.method-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.method-lanes article {
  min-height: 170px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--cream);
}

.method-lanes b {
  display: block;
  margin-bottom: 26px;
  font-family: Newsreader, serif;
  font-size: 1.72rem;
  letter-spacing: -0.06em;
}

.packages-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.package-stack {
  display: grid;
  gap: 12px;
}

.package-stack article {
  display: grid;
  grid-template-columns: 48px minmax(160px, 0.38fr) 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.package-stack h3,
.package-stack p {
  margin: 0;
}

.package-stack b {
  color: var(--brown);
  white-space: nowrap;
}

.package-featured {
  background: var(--ink) !important;
  color: var(--cream);
  box-shadow: 12px 12px 0 var(--green);
}

.package-featured p,
.package-featured b {
  color: rgba(255, 250, 241, 0.78);
}

.final-proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brown);
  color: var(--cream);
}

.final-proof h2 {
  max-width: 980px;
}

.final-proof p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.74);
  font-size: 1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.contact-card label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--cream);
  color: var(--ink);
  font: 500 0.94rem Archivo, sans-serif;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 3px solid rgba(77, 122, 53, 0.18);
  border-color: rgba(77, 122, 53, 0.55);
}

.form-note {
  margin: 0;
  color: rgba(59, 37, 24, 0.58);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .left-rail {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail-nav {
    flex-flow: row wrap;
    justify-content: flex-start;
  }

  .rail-nav a {
    border: 1px solid var(--line);
    padding: 10px 12px;
  }

  .rail-nav a::after {
    content: "";
  }

  .hero-grid,
  .service-manifesto,
  .packages-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .evidence-wall,
  .method-lanes,
  .audience-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-stack article {
    grid-template-columns: 42px 1fr;
  }

  .package-stack p,
  .package-stack b {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .left-rail {
    padding: 18px 16px;
  }

  .hero-atlas,
  .service-manifesto,
  .method-section,
  .packages-section,
  .final-proof,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-statement h1 {
    font-size: clamp(2.85rem, 15vw, 4.8rem);
  }

  .atlas-board {
    min-height: 460px;
    transform: none;
  }

  .grant-ticket {
    width: calc(100% - 52px);
    left: 26px !important;
    right: auto !important;
  }

  .ticket-a {
    top: 126px;
  }

  .ticket-b {
    top: 242px;
  }

  .ticket-c {
    bottom: 26px;
  }

  .ticker,
  .evidence-wall,
  .method-lanes,
  .audience-strip {
    grid-template-columns: 1fr;
  }

  .audience-strip article {
    min-height: 0;
    padding: 20px 16px;
  }

  .ticker span {
    min-height: 46px;
    border-bottom: 1px solid rgba(255, 250, 241, 0.15);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-button,
  .contact-card button {
    width: 100%;
  }
}
