:root {
  color-scheme: light;
  --ink: #1c211f;
  --muted: #5e6863;
  --paper: #f6f2ea;
  --panel: #fffaf1;
  --line: #ded5c3;
  --teal: #0e7c72;
  --teal-dark: #075a54;
  --coral: #c94733;
  --gold: #d99f2b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(35, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 241, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(28, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 76px) 84px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 14, 0.92), rgba(10, 16, 14, 0.62) 48%, rgba(10, 16, 14, 0.12)),
    linear-gradient(180deg, rgba(10, 16, 14, 0.2), rgba(10, 16, 14, 0.72));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #ffb39d;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.7rem, 13vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 850;
}

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

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

.button-secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.intro-band {
  padding: 26px clamp(18px, 5vw, 76px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.intro-grid div {
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--panel);
}

.intro-grid strong,
.intro-grid span {
  display: block;
}

.intro-grid strong {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.intro-grid span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 72px);
  margin-bottom: 40px;
}

.section-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--panel);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--teal);
  font-weight: 950;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p,
.process-list p,
.work-copy p,
.contact p {
  color: var(--muted);
}

.process {
  background: #eef2ec;
}

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

.process-list article {
  padding: clamp(24px, 3vw, 36px);
  border-top: 5px solid var(--teal);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(28, 33, 31, 0.06);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-list h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  align-items: center;
  gap: clamp(28px, 7vw, 82px);
}

.work-panel {
  overflow: hidden;
  border: 1px solid rgba(28, 33, 31, 0.14);
  border-radius: 8px;
  background: #151b18;
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.panel-bar span:nth-child(2) {
  background: var(--gold);
}

.panel-bar span:nth-child(3) {
  background: var(--teal);
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row strong {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
}

.metric-row span {
  color: rgba(255, 255, 255, 0.72);
}

.work-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 1px;
  align-self: center;
  margin-left: 12px;
  background: currentColor;
}

.contact {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 76px);
  background: #18211d;
  color: var(--white);
}

.contact-inner {
  max-width: 980px;
}

.contact h2 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.contact p {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #111612;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .intro-grid,
  .service-grid,
  .process-list,
  .work-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: 86vh;
    padding: 108px 18px 58px;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6.2rem);
  }

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

  .button {
    width: 100%;
  }

  .intro-grid div,
  .service-card,
  .process-list article {
    min-height: auto;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
