:root {
  --ink: #111516;
  --coal: #25292a;
  --steel: #6f7778;
  --paper: #f5f0e8;
  --white: #fffaf2;
  --mist: #e5ece8;
  --forge: #9e3f2f;
  --forge-dark: #773126;
  --brass: #b08a4a;
  --green: #1f5d50;
  --blue: #273b62;
  --line: rgba(17, 21, 22, 0.14);
  --shadow: 0 22px 60px rgba(17, 21, 22, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--white);
}

.brand,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand span {
  text-shadow: 0 2px 18px rgba(17, 21, 22, 0.5);
}

.site-nav {
  gap: 8px;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  font-weight: 680;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 250, 242, 0.13);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.45);
  border-radius: var(--radius);
  background: rgba(17, 21, 22, 0.34);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 112px 0 46px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 21, 22, 0.88), rgba(17, 21, 22, 0.58) 46%, rgba(17, 21, 22, 0.16)),
    url("images/forgeline-strategy-table.png") center / cover no-repeat;
  isolation: isolate;
}

.hero-scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(17, 21, 22, 0), rgba(17, 21, 22, 0.5));
  z-index: -1;
}

.hero-inner,
.section,
.signal-band,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding-top: 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 820;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  font-weight: 860;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 18px;
  font-weight: 840;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1.06rem, 2.1vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--forge);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(119, 49, 38, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--forge-dark);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.1);
  border-color: rgba(255, 250, 242, 0.46);
  color: var(--white);
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--forge);
  color: var(--forge-dark);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin: 0;
  border-top: 1px solid rgba(255, 250, 242, 0.22);
}

.hero-proof div {
  padding: 16px 20px 0 0;
}

.hero-proof dt {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 850;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(255, 250, 242, 0.74);
}

.signal-band {
  padding: 26px 0;
  color: var(--ink);
}

.signal-band p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 680;
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.section-paper {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  background: var(--paper);
}

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

.section-ink {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-header {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-header p:not(.eyebrow) {
  color: #3e4748;
  font-size: 1.08rem;
}

.section-header.narrow {
  max-width: 710px;
}

.process-grid,
.scope-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.process-grid article,
.scope-grid article,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.62);
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--forge);
  font-weight: 840;
}

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

.scope-grid article {
  min-height: 184px;
  padding: 24px;
  background: #ffffff;
}

.scope-grid p,
.process-grid p {
  margin-bottom: 0;
  color: #4f5859;
}

.split-layout,
.deliverable-layout,
.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.section-ink .eyebrow {
  color: #d4b26d;
}

.principle-list {
  display: grid;
  gap: 20px;
}

.principle-list p {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  color: rgba(255, 250, 242, 0.8);
}

.principle-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fffdf8;
}

.pricing-card.featured {
  border-color: rgba(158, 63, 47, 0.52);
  box-shadow: var(--shadow);
}

.plan-label {
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 780;
}

.price {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 860;
}

.price span {
  display: block;
  margin-top: 4px;
  color: var(--steel);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card ul,
.deliverable-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-card li,
.deliverable-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: #465052;
}

.deliverable-list {
  display: grid;
  gap: 0;
  font-weight: 680;
}

.deliverable-list li {
  display: flex;
  align-items: center;
  min-height: 56px;
}

.intake-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  background: var(--mist);
}

.intake-copy {
  position: sticky;
  top: 28px;
}

.text-link {
  color: var(--forge-dark);
  font-weight: 780;
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(31, 93, 80, 0.22);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 20px 40px rgba(17, 21, 22, 0.08);
}

.field-row {
  display: grid;
  gap: 7px;
}

.field-row.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 21, 22, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 93, 80, 0.16);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.7);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: #4a5455;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer p {
  margin: 0;
  font-weight: 820;
}

.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(17, 21, 22, 0.06);
  outline: none;
}

.thank-you-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: 24px;
}

.thanks-panel {
  max-width: 620px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

@media (max-width: 940px) {
  .process-grid,
  .scope-grid,
  .pricing-grid,
  .split-layout,
  .deliverable-layout,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-copy {
    position: static;
  }

  .pricing-card.featured {
    box-shadow: 0 14px 34px rgba(17, 21, 22, 0.12);
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .brand span {
    max-width: 190px;
    line-height: 1.1;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 250, 242, 0.22);
    border-radius: var(--radius);
    background: rgba(17, 21, 22, 0.94);
    box-shadow: 0 18px 40px rgba(17, 21, 22, 0.28);
  }

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

  .hero {
    min-height: 76svh;
    padding-top: 82px;
    padding-bottom: 20px;
    background-position: 56% center;
  }

  .hero-inner {
    padding-top: 20px;
  }

  .hero-copy {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof div {
    padding: 10px 6px 0 0;
    border-bottom: 0;
  }

  .hero-proof dt {
    font-size: 1.12rem;
  }

  .hero-proof dd {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .intake-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 0;
    min-height: 46px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .process-grid article,
  .scope-grid article,
  .pricing-card {
    padding: 20px;
  }
}
