:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #63665f;
  --paper: #f7f4ed;
  --stone: #e8e1d4;
  --marble: #fffdf8;
  --bronze: #a8733b;
  --bronze-dark: #72502f;
  --green: #23473b;
  --green-soft: #dfe8df;
  --line: rgba(32, 35, 31, 0.16);
  --shadow: 0 24px 70px rgba(32, 35, 31, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 46px);
  color: #fffdf7;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 32px rgba(32, 35, 31, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  padding: 7px;
  border: 1px solid currentColor;
  border-radius: 6px;
  fill: currentColor;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.74;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.9rem;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.1;
}

.header-cta {
  padding: 0 16px;
  border: 1px solid currentColor;
  font-size: 0.88rem;
}

.button {
  padding: 14px 18px;
  border: 1px solid transparent;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  color: #fffdf8;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(35, 71, 59, 0.22);
}

.button.secondary {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.55);
  background: rgba(255, 253, 248, 0.08);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92svh;
  overflow: hidden;
  color: #fffdf8;
  background: #151712;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/atlas-hero.png");
  background-position: 70% center;
  background-size: cover;
  filter: saturate(0.78) contrast(0.9) brightness(0.72);
  opacity: 0.66;
  transform: scale(1.035);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 22, 20, 0.9) 0%, rgba(20, 22, 20, 0.68) 42%, rgba(20, 22, 20, 0.38) 78%),
    linear-gradient(0deg, rgba(20, 22, 20, 0.46), rgba(20, 22, 20, 0.16));
}

.hero-content {
  width: min(calc(100% - 40px), 680px);
  margin-left: clamp(20px, 7vw, 112px);
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c17f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-proof {
  margin-top: 28px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.86rem;
}

.hero-proof span {
  padding-left: 14px;
  border-left: 2px solid #f0c17f;
}

.intro-band {
  padding: 42px 0;
  background: var(--green);
  color: #fffdf8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.large-statement {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.16;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 10px;
}

.principles span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: 6px;
  text-align: center;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.philosophy {
  background: var(--marble);
}

.two-column,
.split-panel,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.section-copy,
.split-panel > div:first-child p,
.contact-grid > div:first-child p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy p:last-child,
.split-panel p:last-child,
.contact-grid p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 760px;
}

.value {
  background: #171916;
  color: #fffdf8;
}

.value .eyebrow,
.value-grid .icon-ring {
  color: #f0c17f;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  min-height: 276px;
  padding: 30px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.04);
}

.value-grid p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.7);
}

.icon-ring {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  border: 1px solid rgba(240, 193, 127, 0.48);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--bronze);
}

blockquote p {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.18;
}

blockquote cite {
  color: var(--bronze-dark);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.method,
.infrastructure {
  background:
    linear-gradient(180deg, rgba(232, 225, 212, 0.46), rgba(247, 244, 237, 0)),
    var(--paper);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process article {
  min-height: 276px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.step-number {
  display: block;
  margin-bottom: 54px;
  color: var(--bronze);
  font-weight: 900;
}

.process p,
.outcome-list p,
.fit-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.outcomes {
  background: var(--ink);
  color: #fffdf8;
}

.outcomes .eyebrow {
  color: #f0c17f;
}

.outcomes p,
.outcome-list p {
  color: rgba(255, 253, 248, 0.7);
}

.split-panel {
  align-items: center;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  border-left: 1px solid rgba(255, 253, 248, 0.18);
}

.outcome-list div {
  min-height: 168px;
  padding: 24px;
  border-right: 1px solid rgba(255, 253, 248, 0.18);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.fit {
  background: var(--marble);
}

.mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mini-specs span {
  padding: 14px 16px;
  border: 1px solid rgba(35, 71, 59, 0.16);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fit-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(32, 35, 31, 0.07);
}

.contact {
  background:
    radial-gradient(circle at top left, rgba(168, 115, 59, 0.16), transparent 34%),
    var(--green-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(35, 71, 59, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(32, 35, 31, 0.18);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(168, 115, 59, 0.2);
  border-color: var(--bronze);
}

.form-button {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.footer {
  padding: 32px 0;
  background: #171916;
  color: rgba(255, 253, 248, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: #fffdf8;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .intro-grid,
  .two-column,
  .split-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    padding: 6px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-media {
    background-position: 72% center;
    opacity: 0.52;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(20, 22, 20, 0.9), rgba(20, 22, 20, 0.66)),
      linear-gradient(0deg, rgba(20, 22, 20, 0.48), rgba(20, 22, 20, 0.18));
  }

  .hero-content {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(2rem, 9.6vw, 3.1rem);
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.95rem;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .button {
    width: 100%;
  }

  .principles,
  .process,
  .value-grid,
  .outcome-list,
  .fit-grid,
  .mini-specs {
    grid-template-columns: 1fr;
  }

  .process article,
  .value-grid article,
  .outcome-list div,
  .fit-grid article {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 28px;
  }

  .footer-inner {
    display: grid;
  }
}
