:root {
  --ink: #12201d;
  --graphite: #26322f;
  --muted: #65706b;
  --line: #dbe1dc;
  --paper: #f7f6f0;
  --white: #fffdf8;
  --teal: #2c8a7a;
  --teal-dark: #176759;
  --cedar: #a7663f;
  --copper: #cf8654;
  --moss: #6f8747;
  --shadow: 0 22px 70px rgba(18, 32, 29, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(18, 32, 29, 0.12);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand img {
  width: min(220px, 48vw);
  height: auto;
}

.brand {
  position: relative;
}

.logo-dark {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
}

.site-header.is-scrolled .logo-light {
  opacity: 0;
}

.site-header.is-scrolled .logo-dark {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 15px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 40px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 32, 29, 0.88) 0%, rgba(18, 32, 29, 0.62) 38%, rgba(18, 32, 29, 0.18) 70%),
    linear-gradient(0deg, rgba(18, 32, 29, 0.68) 0%, rgba(18, 32, 29, 0.05) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.band h2,
.proof-band h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 7.4vw, 7.7rem);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

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

.hero-panel {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(860px, 100%);
  margin-top: 72px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  background: rgba(18, 32, 29, 0.44);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel > div {
  padding: 20px;
  border-right: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-panel > div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
}

.label {
  display: block;
  margin-top: 5px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.88rem;
}

.section,
.band,
.proof-band {
  padding: clamp(68px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.model,
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.proof-band h2,
.apply h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.8rem);
}

.intro p,
.model-points p,
.apply-layout > div > p {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

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

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.section-heading.compact {
  max-width: 780px;
}

.standard-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.standard-item,
.fit-list,
.application-form {
  background: var(--white);
}

.standard-item {
  min-height: 286px;
  padding: 24px;
}

.number {
  color: var(--cedar);
  font-size: 0.82rem;
  font-weight: 900;
}

.standard-item h3,
.fit-list h3,
.process-step span {
  margin: 22px 0 12px;
  font-size: 1.18rem;
}

.standard-item p,
.fit-list li,
.process-step p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

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

.process-step {
  position: relative;
  min-height: 250px;
  padding: 26px 22px;
  border-top: 4px solid var(--teal);
  background: #ece8dd;
}

.process-step:nth-child(2) {
  border-color: var(--cedar);
}

.process-step:nth-child(3) {
  border-color: var(--moss);
}

.process-step:nth-child(4) {
  border-color: var(--graphite);
}

.process-step span {
  display: block;
  font-weight: 900;
}

.proof-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 32, 29, 0.94), rgba(23, 103, 89, 0.9)),
    var(--ink);
}

.proof-band .eyebrow {
  color: #f1ac78;
}

.model-points {
  display: grid;
  gap: 20px;
}

.model-points p {
  color: rgba(255, 253, 248, 0.84);
}

.model-points strong {
  color: var(--white);
}

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

.fit-list {
  padding: clamp(26px, 4vw, 42px);
}

.fit-list.muted {
  background: #efede6;
}

.fit-list ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.fit-list li + li {
  margin-top: 12px;
}

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

.contact-strip {
  margin-top: 28px;
}

.contact-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--graphite);
  font-weight: 800;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  box-shadow: 0 22px 52px rgba(18, 32, 29, 0.09);
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd3ce;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 12px;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.74);
  background: var(--ink);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 190px;
}

.footer p {
  margin: 0;
  max-width: 520px;
  text-align: right;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-panel,
  .two-column,
  .model,
  .apply-layout,
  .process,
  .standard-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  }

  .hero-panel > div:last-child {
    border-bottom: 0;
  }

  .standard-item,
  .process-step {
    min-height: auto;
  }

  .application-form {
    grid-template-columns: 1fr;
  }

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

  .footer p {
    text-align: left;
  }
}

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 32, 29, 0.9), rgba(18, 32, 29, 0.54)),
      linear-gradient(0deg, rgba(18, 32, 29, 0.72), rgba(18, 32, 29, 0.08));
  }

  .section,
  .band,
  .proof-band {
    padding-block: 58px;
  }
}
