:root {
  color-scheme: light;
  --ink: #171717;
  --ink-soft: #38312a;
  --muted: #6f6458;
  --paper: #f7f1e6;
  --paper-deep: #eee4d5;
  --surface: #fffaf0;
  --line: #d7caba;
  --teal: #0f766e;
  --teal-dark: #0a4f4a;
  --copper: #b46632;
  --shadow: 0 14px 34px rgba(23, 23, 23, 0.08);
  --max: 1080px;
  --body-font: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  --hero-art-width: 70vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

p {
  color: var(--muted);
  line-height: 1.66;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 6.4vw, 6.4rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--teal-dark);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(247, 241, 230, 0.9);
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(170px, 42vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0 18px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 6px;
}

.nav-links .nav-cta:hover {
  color: var(--surface);
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(22px, 5vw, 72px) 82px;
  background: var(--paper);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(247, 241, 230, 0.98) 0%,
      rgba(247, 241, 230, 0.9) 33%,
      rgba(247, 241, 230, 0.34) 55%,
      rgba(247, 241, 230, 0.06) 100%
    );
}

.hero-image {
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--hero-art-width);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: translateY(-50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--ink);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 780;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 740;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

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

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

.button-secondary,
.button-outline {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--line);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: var(--teal);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin: 52px 0 0;
  padding: 0;
  background: transparent;
}

.proof-strip div {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-strip dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.intro-band {
  padding: 72px clamp(22px, 5vw, 72px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro-grid,
.sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.intro-grid h2,
.sectors-layout h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.intro-grid p:last-child {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.band {
  padding: clamp(88px, 10vw, 136px) clamp(22px, 5vw, 72px);
}

.band-tint {
  background: var(--paper-deep);
}

.band-dark {
  color: var(--surface);
  background: var(--ink);
}

.band-dark h2,
.band-dark h3 {
  color: var(--surface);
}

.band-dark p {
  color: rgba(255, 250, 240, 0.72);
}

.band-dark .section-kicker {
  color: #d88a52;
}

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

.section-heading > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 220px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.service-index {
  display: block;
  margin-bottom: 30px;
  color: var(--teal);
  font-weight: 820;
}

.service-card p {
  margin-bottom: 0;
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 98px);
  align-items: start;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.launch-grid article {
  min-height: 0;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.launch-grid article::before {
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 24px;
  content: "";
  background: var(--copper);
  border-radius: 999px;
}

.launch-grid p {
  margin-bottom: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.story-meta {
  width: fit-content;
  margin-bottom: 26px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 780;
}

.story-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.story-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--copper);
  border-radius: 50%;
}

.approach-layout {
  display: block;
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.timeline article {
  display: block;
  min-height: 230px;
  padding: 32px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--surface);
  font-weight: 820;
  background: var(--teal);
  border-radius: 8px;
}

.timeline p {
  margin-bottom: 0;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-list li {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.contact-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: center;
}

.contact-layout > div:first-child p {
  max-width: 660px;
  font-size: 1.08rem;
}

.contact-panel {
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel p {
  margin-bottom: 22px;
}

.site-footer {
  padding: 56px clamp(22px, 5vw, 72px);
  color: rgba(255, 250, 240, 0.78);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.site-footer p {
  max-width: 460px;
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.68);
}

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

.site-footer nav a:hover {
  color: var(--surface);
}

.brand-footer .brand-logo {
  width: min(220px, 70vw);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  font-size: 0.92rem;
}

@media (max-width: 1060px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 0;
  }
}

@media (min-width: 1600px) {
  :root {
    --hero-art-width: 80vw;
  }
}

@media (min-width: 1800px) {
  :root {
    --hero-art-width: 90vw;
  }
}

@media (min-width: 2000px) {
  :root {
    --hero-art-width: 100vw;
  }
}

@media (max-width: 860px) {
  :root {
    --hero-art-width: 118vw;
  }

  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 10px;
  }

  .nav-cta {
    color: var(--surface);
    background: var(--teal);
  }

  .hero {
    min-height: 90svh;
    padding-top: 110px;
  }

  .hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(247, 241, 230, 0.98) 0%,
        rgba(247, 241, 230, 0.92) 52%,
        rgba(247, 241, 230, 0.62) 100%
      );
  }

  .hero-image {
    right: -32vw;
    object-position: center;
  }

  .proof-strip,
  .intro-grid,
  .launch-layout,
  .launch-grid,
  .approach-layout,
  .timeline,
  .sectors-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .brand-logo {
    width: min(150px, 44vw);
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 42px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .service-card,
  .launch-grid article {
    min-height: 0;
  }

  .story-card,
  .timeline article {
    padding: 26px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
