:root {
  --ink: #11161c;
  --ink-2: #1d242b;
  --paper: #f4efe2;
  --paper-2: #e8dfcf;
  --white: #fffaf0;
  --muted: #5d645f;
  --gold: #c99f56;
  --gold-dark: #8c642d;
  --teal: #579b93;
  --coral: #cf6f50;
  --signal-blue: #0f62fe;
  --line: rgba(17, 22, 28, 0.16);
  --light-line: rgba(244, 239, 226, 0.2);
  --grid-line: rgba(17, 22, 28, 0.055);
  --shadow: 0 18px 42px rgba(17, 22, 28, 0.18);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(244, 239, 226, 0.28);
  border-radius: 2px;
  background: rgba(17, 22, 28, 0.82);
  color: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  font-weight: 800;
}

.brand-mark span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.nav-cta,
.button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 2px;
  font-weight: 800;
}

.site-nav a {
  color: rgba(244, 239, 226, 0.78);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(244, 239, 226, 0.12);
  color: var(--paper);
}

.nav-cta,
.button-primary {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.nav-cta:hover,
.button-primary:hover {
  background: #ddb768;
}

.button-ghost {
  border: 1px solid rgba(244, 239, 226, 0.52);
  color: var(--paper);
}

.button-ghost:hover {
  background: rgba(244, 239, 226, 0.12);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  min-height: 78vh;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#signalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 22, 28, 0.94) 0%, rgba(17, 22, 28, 0.76) 42%, rgba(17, 22, 28, 0.28) 100%),
    linear-gradient(0deg, rgba(17, 22, 28, 0.88) 0%, rgba(17, 22, 28, 0.08) 46%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 160px 0 78px;
  border-left: 2px solid var(--signal-blue);
  padding-left: 24px;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.2rem;
  line-height: 0.96;
  font-weight: 700;
}

.page-hero .hero-copy h1 {
  max-width: 980px;
  font-size: 4.2rem;
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker::before,
.section-label::before {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--signal-blue);
  content: "";
}

.hero-lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(244, 239, 226, 0.88);
  font-size: 1.35rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: 92px 0;
}

.section-proof {
  padding: 28px 0;
  background: var(--ink);
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-line);
}

.proof-grid article {
  min-height: 170px;
  padding: 26px;
  background: var(--ink);
}

.metric {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.proof-grid p,
.section-heading p,
.prose p,
.founder-copy p,
.pressure-card p,
.route-layout p,
.brief-layout p,
.estimator-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.proof-grid p {
  color: rgba(244, 239, 226, 0.72);
}

.section-dark .section-heading p,
.section-dark .info-card p,
.section-dark .service-grid p,
.section-dark .method-card p,
.section-dark .achievement-grid p {
  color: rgba(244, 239, 226, 0.72);
}

.split-layout,
.founder-block,
.standards-layout,
.engagement-layout,
.pressure-layout,
.route-layout,
.brief-layout,
.estimator-layout,
.cta-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: start;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.3;
}

.prose,
.founder-copy {
  display: grid;
  gap: 24px;
}

.section-dark {
  background:
    linear-gradient(rgba(244, 239, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 226, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 32px 32px;
  color: var(--paper);
}

.section-tint {
  background: var(--paper-2);
}

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

.section-heading.narrow {
  margin-bottom: 0;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.card-grid,
.idea-grid,
.service-grid,
.achievement-grid,
.method-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.idea-grid article,
.service-grid article,
.achievement-grid article,
.method-card,
.timeline article,
.engagement-list article,
.route-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 10px 24px rgba(17, 22, 28, 0.08);
}

.section-dark .info-card,
.section-dark .service-grid article,
.section-dark .achievement-grid article,
.section-dark .method-card {
  border-color: var(--light-line);
  background: rgba(244, 239, 226, 0.08);
  box-shadow: none;
}

.info-card,
.method-card,
.timeline article,
.engagement-list article,
.route-card {
  padding: 26px;
}

.info-card,
.idea-grid article,
.service-grid article,
.achievement-grid article,
.method-card,
.timeline article,
.engagement-list article,
.route-card {
  position: relative;
}

.info-card::before,
.idea-grid article::before,
.service-grid article::before,
.achievement-grid article::before,
.method-card::before,
.timeline article::before,
.engagement-list article::before,
.route-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--signal-blue);
  content: "";
}

.info-card p,
.idea-grid p,
.service-grid p,
.method-card p,
.timeline p,
.engagement-list p,
.route-card p,
.standards-list li {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-index,
.method-card span,
.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.founder-block {
  padding-top: 10px;
  padding-bottom: 10px;
}

.founder-copy {
  padding-left: 28px;
  border-left: 4px solid var(--gold);
}

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

.idea-grid article,
.service-grid article {
  min-height: 180px;
  padding: 24px;
}

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

.achievement-grid article {
  min-height: 210px;
  padding: 26px;
}

.achievement-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.achievement-grid p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.pressure-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 22, 28, 0.08);
}

.cta-band {
  background: var(--ink);
  color: var(--paper);
}

.cta-layout {
  align-items: center;
}

.cta-layout .button {
  justify-self: start;
  min-width: 230px;
}

.cta-layout h2 {
  max-width: 820px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-layout p {
  margin: 0;
}

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

.method-card span {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.section-estimator {
  background: var(--white);
}

.estimator {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.estimator label,
.brief-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.estimator input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.lift-output {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
}

.lift-output strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.standards-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standards-list li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 42px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 250, 240, 0.62);
}

.standards-list li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.route-layout {
  grid-template-columns: 0.75fr 1.25fr;
}

.route-tool {
  display: grid;
  gap: 16px;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.tab-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.tab-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.route-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
}

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

.engagement-list {
  display: grid;
  gap: 16px;
}

.brief-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 22, 28, 0.28);
  border-radius: 2px;
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 13px;
}

.brief-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand-mark {
    min-width: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero-copy h1,
  .page-hero .hero-copy h1 {
    font-size: 3.4rem;
  }

  .hero-lede {
    font-size: 1.14rem;
  }

  .proof-grid,
  .card-grid.four,
  .idea-grid,
  .service-grid,
  .achievement-grid,
  .method-grid,
  .timeline,
  .route-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .founder-block,
  .standards-layout,
  .engagement-layout,
  .pressure-layout,
  .route-layout,
  .brief-layout,
  .estimator-layout,
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 90px;
  }

  .hero,
  .page-hero {
    min-height: 88vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 22, 28, 0.96) 0%, rgba(17, 22, 28, 0.82) 100%),
      linear-gradient(0deg, rgba(17, 22, 28, 0.9) 0%, rgba(17, 22, 28, 0.16) 42%);
  }

  .hero-copy {
    padding-top: 190px;
    padding-bottom: 54px;
  }

  .hero-copy h1,
  .page-hero .hero-copy h1 {
    font-size: 2.65rem;
  }

  .section {
    padding: 68px 0;
  }

  .proof-grid,
  .card-grid.four,
  .idea-grid,
  .service-grid,
  .achievement-grid,
  .method-grid,
  .timeline,
  .route-results,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    min-height: auto;
  }

  .founder-copy {
    padding-left: 18px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .cta-layout .button {
    width: 100%;
  }
}
