:root {
  --deep: #061d33;
  --deep-2: #0a2945;
  --pool: #0b78b8;
  --water: #45c5ee;
  --foam: #f7fbfd;
  --sun: #f6a625;
  --green: #158f4a;
  --ink: #102335;
  --muted: #5f7080;
  --line: #c9dbe6;
  --display: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --utility: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--foam);
  font-family: var(--body);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--deep);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.announcement {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 24px;
  color: white;
  background: var(--deep);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement a {
  color: var(--water);
  font-weight: 800;
  text-decoration: none;
}

.announcement-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sun);
}

.site-header {
  position: absolute;
  top: 38px;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand img {
  display: block;
  width: 116px;
  height: 64px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 38px);
}

nav a {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--water);
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: white;
  background: var(--deep);
}

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

.hero-photo {
  object-fit: cover;
  object-position: 52% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 19, 34, 0.94) 0%, rgba(3, 19, 34, 0.72) 45%, rgba(3, 19, 34, 0.12) 78%),
    linear-gradient(0deg, rgba(6, 29, 51, 0.58), transparent 52%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 92vw);
  padding: 190px 24px 150px clamp(24px, 8vw, 130px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--water);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--pool);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.97;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(4.4rem, 10vw, 8.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 em {
  color: var(--sun);
  font-style: normal;
}

.hero-lede {
  max-width: 590px;
  margin: 30px 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid white;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: var(--sun);
  color: var(--deep);
  background: var(--sun);
}

.button-primary:hover {
  border-color: white;
  background: white;
}

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

.waterline {
  position: absolute;
  right: -4vw;
  bottom: 42px;
  z-index: 2;
  display: flex;
  width: 52vw;
  min-width: 520px;
  flex-direction: column;
  gap: 12px;
  transform: rotate(-7deg);
}

.waterline span {
  display: block;
  height: 2px;
  background: rgba(69, 197, 238, 0.68);
}

.waterline span:nth-child(2) { margin-left: 7%; }
.waterline span:nth-child(3) { margin-left: 17%; }
.waterline span:nth-child(4) { margin-left: 29%; }
.waterline span:nth-child(5) { margin-left: 42%; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: white;
  background: var(--pool);
}

.trust-strip p {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 20px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-strip strong {
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.trust-strip span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(78px, 10vw, 150px) clamp(24px, 8vw, 130px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.7fr);
  column-gap: clamp(42px, 9vw, 150px);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2,
.work-copy h2,
.about h2,
.service-areas h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-intro > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 360px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.service-card-featured {
  color: white;
  background: var(--deep-2);
}

.service-label {
  margin: 0 0 54px;
  color: var(--pool);
  font-family: var(--utility);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card-featured .service-label {
  color: var(--water);
}

.service-card h3 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  text-transform: uppercase;
}

.service-card p:not(.service-label) {
  color: var(--muted);
}

.service-card-featured p:not(.service-label) {
  color: #c8d9e5;
}

.service-card a {
  display: inline-block;
  margin-top: 20px;
  color: var(--water);
  font-weight: 800;
  text-decoration: none;
}

.work-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 720px;
  color: white;
  background: var(--deep);
}

.work-photo {
  min-height: 520px;
  background: url("/assets/pool-hero.jpeg") center / cover no-repeat;
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 8vw, 120px);
}

.work-copy h2 {
  max-width: 600px;
  font-size: clamp(3rem, 5vw, 5.7rem);
}

.work-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: #c8d9e5;
  font-size: 1.05rem;
}

.work-copy ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.work-copy li::before {
  content: "~";
  margin-right: 12px;
  color: var(--water);
  font-family: var(--utility);
}

.process {
  background: white;
}

.section-intro.compact {
  display: block;
}

.process-list {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--deep);
}

.process-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--pool);
  font-family: var(--utility);
  font-size: 0.85rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
}

.process-list p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(52px, 10vw, 160px);
  color: white;
  background: var(--green);
}

.about .eyebrow {
  color: #d6ffd7;
}

.about-copy {
  align-self: end;
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.service-areas {
  padding: clamp(78px, 10vw, 150px) clamp(24px, 8vw, 130px);
  color: white;
  background: var(--pool);
}

.service-areas .eyebrow {
  color: white;
}

.area-list {
  max-width: 1200px;
  margin: 48px 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.area-list span {
  color: var(--sun);
}

.contact {
  padding: clamp(88px, 12vw, 180px) clamp(24px, 8vw, 130px);
  color: white;
  background: var(--deep);
}

.contact h2 {
  max-width: 900px;
  font-size: clamp(4rem, 8vw, 9rem);
}

.contact > p:not(.eyebrow) {
  max-width: 590px;
  margin: 30px 0;
  color: #c8d9e5;
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 36px;
}

.contact-actions a {
  color: var(--water);
  font-weight: 800;
  text-decoration: none;
}

.contact-actions .contact-phone {
  color: var(--sun);
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 5rem);
}

footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 52px clamp(24px, 8vw, 130px);
  color: #c8d9e5;
  background: #03111f;
  font-size: 0.82rem;
}

footer img {
  width: 100px;
  height: 56px;
  object-fit: contain;
}

footer p {
  max-width: 420px;
  margin: 8px 0 0;
}

footer > div:last-child {
  text-align: right;
}

footer a {
  display: inline-block;
  margin-top: 8px;
  color: var(--water);
}

@media (max-width: 900px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(3, 19, 34, 0.92), rgba(3, 19, 34, 0.34));
  }

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

  .section-intro,
  .service-grid,
  .work-band,
  .about {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    margin-top: 24px;
  }

  .service-grid {
    border-left: 0;
  }

  .service-card {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .work-photo {
    min-height: 55vw;
  }

  .about-copy {
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .announcement {
    justify-content: space-between;
    font-size: 0.62rem;
  }

  .announcement span:nth-child(2),
  .announcement span:nth-child(3) {
    display: none;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    width: 84px;
    height: 52px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 0.67rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 19, 34, 0.94) 14%, rgba(3, 19, 34, 0.58) 68%, rgba(3, 19, 34, 0.35));
  }

  .hero-copy {
    display: flex;
    min-height: 720px;
    flex-direction: column;
    justify-content: end;
    padding: 150px 20px 98px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  .button {
    width: 100%;
  }

  .waterline {
    bottom: 22px;
    left: 24vw;
  }

  .trust-strip p {
    min-height: 100px;
  }

  .trust-strip strong {
    font-size: 1.25rem;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-label {
    margin-bottom: 30px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
  }

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

  footer > div:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
