:root {
  --ink: #082642;
  --muted: #5e7281;
  --wash: #d9e8ec;
  --wash-deep: #bfd4dc;
  --paper: #fbfbf8;
  --white: #ffffff;
  --line: #e2eaed;
  --coral: #ff7a45;
  --coral-soft: #fff0e9;
  --shadow: 0 24px 60px rgba(8, 38, 66, 0.12);
}

* {
  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: linear-gradient(180deg, var(--wash) 0, #eef5f5 430px, var(--paper) 760px);
}

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

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

.site-header {
  width: min(1120px, calc(100% - 48px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(8, 38, 66, 0.12);
  position: relative;
  z-index: 5;
}

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

nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 650;
}

nav a,
.footer-links a {
  transition: color 180ms ease, transform 180ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--coral);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(8, 38, 66, 0.14);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 38, 66, 0.12);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(8, 38, 66, 0.18);
}

.button.primary:hover,
.nav-cta:hover {
  background: #123653;
}

.button.ghost:hover {
  border-color: var(--coral);
  background: var(--white);
}

.hero {
  width: min(1120px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
  padding: 54px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-media {
  min-height: 510px;
  position: relative;
}

.steam-shape,
.wash-bg {
  position: absolute;
  inset: 18px 10px 36px 34px;
  transform: rotate(4deg);
}

.steam-shape {
  width: 360px;
  height: 360px;
  inset: 72px auto auto 180px;
  border: 1px solid rgba(8, 38, 66, 0.08);
  border-radius: 44% 56% 52% 48%;
  background:
    linear-gradient(135deg, rgba(191, 212, 220, 0.76), rgba(220, 235, 238, 0.38)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 12px, transparent 12px 24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.wash-bg {
  background:
    linear-gradient(135deg, rgba(129, 156, 166, 0.38), rgba(209, 225, 229, 0.7)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0 10px, transparent 10px 22px);
  border: 1px solid rgba(8, 38, 66, 0.08);
  border-radius: 42% 58% 49% 51%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.photo-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 30px 72px rgba(8, 38, 66, 0.18);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-large {
  width: 44%;
  height: 360px;
  right: 0;
  top: 90px;
}

.photo-small.top {
  width: 46%;
  height: 170px;
  left: 46px;
  top: 34px;
}

.photo-small.bottom {
  width: 42%;
  height: 220px;
  left: 98px;
  bottom: 12px;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 46px 0 48px;
  border-top: 1px solid rgba(8, 38, 66, 0.06);
  border-bottom: 1px solid rgba(8, 38, 66, 0.06);
}

.split-intro h2 {
  margin-bottom: 0;
}

.split-intro > p {
  max-width: 560px;
  margin: 0;
  padding: 26px 30px;
  border-left: 4px solid rgba(255, 122, 69, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.service-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 188px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(8, 38, 66, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 69, 0.42);
  background: var(--white);
  box-shadow: 0 22px 54px rgba(8, 38, 66, 0.11);
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--coral);
  background: var(--coral-soft);
  font-size: 22px;
  font-weight: 900;
}

.feature-band {
  margin: 70px 0 62px;
  padding: 100px max(24px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
  align-items: center;
  background: linear-gradient(180deg, var(--wash-deep), #eaf1ef);
}

.feature-collage {
  min-height: 470px;
  position: relative;
}

.feature-collage img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-collage img:hover {
  transform: translateY(-7px) rotate(1deg);
  box-shadow: 0 30px 72px rgba(8, 38, 66, 0.18);
}

.feature-collage .tall {
  width: 42%;
  height: 370px;
  left: 0;
  top: 70px;
}

.feature-collage .wide {
  width: 46%;
  height: 172px;
  left: 36%;
  top: 0;
}

.feature-collage .square {
  width: 42%;
  height: 260px;
  left: 36%;
  bottom: 0;
}

.wash-bg {
  inset: 58px auto auto -34px;
  width: 62%;
  height: 330px;
}

.feature-copy p {
  max-width: 540px;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.standards-grid article {
  min-height: 250px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 38, 66, 0.5);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(8, 38, 66, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.standards-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 66, 0.08) 0%, rgba(8, 38, 66, 0.18) 42%, rgba(8, 38, 66, 0.82) 100%);
  pointer-events: none;
}

.standards-grid article img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.standards-grid article div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 1;
}

.standards-grid article h3,
.standards-grid article p {
  color: var(--white);
}

.standards-grid article p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.standards-grid article:hover {
  transform: translateY(-6px);
  background: var(--ink);
  box-shadow: 0 22px 54px rgba(8, 38, 66, 0.16);
}

.standards-grid article:hover img {
  transform: scale(1.045);
}

.contact-panel {
  width: min(1120px, calc(100% - 48px));
  margin: 56px auto 94px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #edf6f5 100%);
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 650px;
  margin-bottom: 0;
}

.contact-panel .eyebrow {
  margin-bottom: 24px;
}

.contact-panel h2 {
  max-width: 720px;
}

.button.large {
  min-width: 230px;
  min-height: 56px;
}

footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  align-self: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    padding: 18px 0;
    gap: 18px;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .split-intro,
  .feature-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-intro {
    gap: 24px;
    padding: 36px 0;
  }

  .split-intro > p {
    max-width: none;
  }

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

  .hero-media,
  .feature-collage {
    min-height: 500px;
  }

  .service-grid,
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-grid article,
  .standards-grid article img {
    min-height: 270px;
  }

  .feature-band {
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .contact-panel {
    padding: 34px 28px;
  }
}

@media (max-width: 620px) {
  body {
    background: linear-gradient(180deg, var(--wash) 0, #eef5f5 560px, var(--paper) 920px);
  }

  .site-header,
  .hero,
  .section,
  .service-grid,
  .contact-panel,
  footer {
    width: min(100% - 30px, 1120px);
  }

  .brand span {
    max-width: 220px;
    line-height: 1.2;
  }

  nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .split-intro > p {
    padding: 22px 24px;
  }

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

  .hero-media {
    min-height: 420px;
  }

  .photo-large {
    width: 56%;
    height: 290px;
    top: 72px;
  }

  .photo-small.top {
    width: 58%;
    left: 0;
  }

  .photo-small.bottom {
    width: 54%;
    height: 170px;
    left: 34px;
  }

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

  .standards-grid article,
  .standards-grid article img {
    min-height: 280px;
  }

  .feature-collage {
    min-height: 430px;
  }

  .feature-collage .tall {
    width: 51%;
    height: 305px;
  }

  .feature-collage .wide {
    width: 58%;
    left: 32%;
  }

  .feature-collage .square {
    width: 54%;
    height: 210px;
    left: 38%;
  }

  .button.large {
    min-width: 0;
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
