:root {
  --ink: #101820;
  --ink-soft: #2e3b46;
  --paper: #f6f3eb;
  --paper-deep: #ebe5d8;
  --navy: #0d2f4a;
  --blue: #155b88;
  --amber: #f0b429;
  --amber-dark: #c27a10;
  --line: rgba(16, 24, 32, 0.14);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(10, 30, 46, 0.72);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark strong,
.brand-mark small {
  display: block;
  white-space: nowrap;
}

.brand-mark small {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.76rem;
}

.brand-bolt {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
}

.main-nav a,
.header-cta,
.primary-action,
.secondary-action {
  text-decoration: none;
}

.header-cta,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  padding: 0 16px;
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover,
.primary-action:hover,
.form-button:hover {
  transform: translateY(-1px);
  background: #ffd15d;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 118px 6vw 54px;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 21, 32, 0.88) 0%, rgba(7, 21, 32, 0.64) 38%, rgba(7, 21, 32, 0.18) 75%),
    linear-gradient(180deg, rgba(7, 21, 32, 0.48), rgba(7, 21, 32, 0.44));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 8.3vw, 7.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  max-width: 13ch;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

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

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  color: var(--white);
  padding: 0 16px;
}

.hero-proof {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
  color: rgba(255, 253, 248, 0.78);
}

.hero-proof span {
  border-left: 3px solid var(--amber);
  padding: 8px 14px 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.band,
.services,
.quote-section {
  padding: 92px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
  gap: 10vw;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.quote-copy p,
.service-detail p,
.process-copy span,
.site-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.intro p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 1.15rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.service-switcher {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  min-height: 480px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-tabs {
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}

.service-tab {
  min-height: 76px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  padding: 0 28px;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.service-tab.is-active {
  color: var(--ink);
  background: var(--paper-deep);
  padding-left: 38px;
  font-weight: 900;
}

.service-detail {
  display: grid;
  align-content: center;
  padding: clamp(28px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(21, 91, 136, 0.12), transparent 42%),
    var(--white);
}

.service-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
}

.service-detail p {
  max-width: 660px;
  font-size: 1.08rem;
}

.service-detail ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 28px;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 2px;
  transform: rotate(45deg);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: 7vw;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.image-panel {
  min-height: 560px;
  overflow: hidden;
}

.image-panel img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.process-copy .eyebrow {
  color: #ffd15d;
}

.process-copy h2 {
  max-width: 11ch;
}

.steps {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--amber);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.72);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: 7vw;
  align-items: start;
}

.quote-copy p {
  max-width: 520px;
  font-size: 1.06rem;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.quote-form .wide,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 13px 12px;
}

textarea {
  resize: vertical;
}

.form-button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 253, 248, 0.62);
}

.site-footer a {
  color: var(--amber);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

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

  .main-nav {
    display: none;
  }

  .header-cta {
    padding: 0 12px;
    white-space: nowrap;
  }

  .brand-mark small {
    white-space: normal;
  }

  .hero {
    min-height: 92svh;
    padding: 126px 20px 34px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 21, 32, 0.9), rgba(7, 21, 32, 0.52)),
      linear-gradient(180deg, rgba(7, 21, 32, 0.3), rgba(7, 21, 32, 0.5));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .intro,
  .split,
  .quote-section,
  .service-switcher {
    grid-template-columns: 1fr;
  }

  .band,
  .services,
  .quote-section {
    padding: 64px 20px;
  }

  .section-heading {
    display: block;
  }

  .service-switcher {
    min-height: 0;
  }

  .service-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-tab {
    min-height: 58px;
  }

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

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

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    inset: 10px 10px auto;
    padding: 10px;
  }

  .brand-bolt {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .brand-mark strong {
    font-size: 0.9rem;
  }

  .brand-mark small {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    font-size: 0.86rem;
  }

  .hero-actions a {
    width: 100%;
  }
}
