:root {
  --forest: #163f3c;
  --forest-deep: #0b2d2b;
  --turquoise: #13aaa6;
  --turquoise-light: #79d5ca;
  --terracotta: #c95c45;
  --coral: #ef8064;
  --cream: #f6ead1;
  --paper: #fff8e8;
  --mustard: #e3ad43;
  --ink: #1a302f;
  --muted: #5c6e68;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --display: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--forest);
  font-weight: 800;
  transform: translateY(-150%);
}

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

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

.topline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.4rem var(--pad);
  background: var(--terracotta);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.topline span {
  display: none;
}

.topline a {
  text-decoration: none;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: 0.7rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid rgba(22, 63, 60, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  background: var(--turquoise-light);
  border: 2px solid var(--forest);
  border-radius: 50%;
}

.brand-mark img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
}

.brand-name {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 0.85;
  text-transform: uppercase;
}

.brand-name em {
  display: block;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: none;
}

nav,
.header-cta {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  overflow: hidden;
  padding: 4.5rem var(--pad) 7rem;
  background: var(--cream);
}

.hero::before {
  position: absolute;
  top: -8rem;
  right: -9rem;
  width: 23rem;
  height: 23rem;
  background: repeating-conic-gradient(from 12deg, rgba(201, 92, 69, 0.14) 0 8deg, transparent 8deg 18deg);
  border-radius: 50%;
  content: "";
}

.hero-sun {
  position: absolute;
  top: 1.5rem;
  right: 1.2rem;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--mustard);
  border-radius: 50%;
  box-shadow: 0.65rem 0.65rem 0 rgba(201, 92, 69, 0.35);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-number,
.card-label {
  margin: 0 0 1.2rem;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.24rem 0.45rem;
  background: var(--forest);
  color: var(--paper);
  transform: rotate(-1.5deg);
}

.hero h1,
.section-title h2,
.shape-copy h2,
.about h2,
.service-area h2,
.contact h2,
.not-found h1 {
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(3.4rem, 15vw, 9rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 em,
.section-title h2 em {
  color: var(--terracotta);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.08em;
  text-transform: none;
}

.hero-lede {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-dark {
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0.3rem 0.3rem 0 var(--terracotta);
}

.button-dark:hover {
  background: var(--forest-deep);
}

.inline-link {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card {
  width: min(100%, 34rem);
  padding: 0.8rem 0.8rem 1rem;
  background: var(--paper);
  border: 2px solid var(--forest);
  box-shadow: 0.8rem 0.8rem 0 var(--turquoise);
  transform: rotate(1.5deg);
}

.photo-arch {
  height: 20rem;
  overflow: hidden;
  border-radius: 12rem 12rem 0.5rem 0.5rem;
}

.photo-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.9) contrast(1.04);
}

.photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-caption span {
  color: var(--terracotta);
}

.postcard-stamp {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  background: var(--mustard);
  color: var(--forest);
  border: 2px solid var(--paper);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  transform: rotate(8deg);
}

.hero-wave {
  position: absolute;
  right: -5%;
  bottom: -3.4rem;
  left: -5%;
  height: 6rem;
  background: var(--turquoise);
  border-radius: 50% 50% 0 0;
}

.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem var(--pad);
  background: var(--turquoise);
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker i {
  color: var(--cream);
  font-style: normal;
}

.services,
.process,
.service-area {
  padding: 6rem var(--pad);
}

.section-title {
  max-width: 66rem;
}

.section-title h2,
.service-area h2 {
  font-size: clamp(3.3rem, 13vw, 8rem);
}

.section-title > p:last-child {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-cards {
  display: grid;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.service-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border: 2px solid var(--forest);
  border-radius: 10rem 10rem 0.7rem 0.7rem;
}

.service-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1.2rem solid rgba(255, 248, 232, 0.35);
  border-radius: 50%;
  content: "";
}

.card-turquoise {
  background: var(--turquoise);
}

.card-cream {
  background: var(--paper);
}

.card-terracotta {
  background: var(--terracotta);
  color: var(--paper);
}

.card-number {
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  margin: 0 auto 1.7rem;
  place-items: center;
  background: var(--forest);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
}

.card-label {
  margin-bottom: 0.5rem;
  color: inherit;
  opacity: 0.72;
}

.service-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-card p:not(.card-label) {
  position: relative;
  z-index: 1;
  max-width: 29rem;
  margin: 1.2rem 0 0;
}

.service-card a {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shape-story {
  display: grid;
  background: var(--forest);
  color: var(--paper);
}

.shape-image {
  min-height: 25rem;
  background: linear-gradient(rgba(22, 63, 60, 0.12), rgba(22, 63, 60, 0.12)),
    url("/assets/pool-hero.jpeg") 58% center / cover no-repeat;
  border-radius: 0 0 50% 0;
}

.shape-copy {
  padding: 4.5rem var(--pad) 5.5rem;
}

.section-number.pale,
.pale {
  color: var(--turquoise-light);
}

.shape-copy h2 {
  color: var(--paper);
  font-size: clamp(3.5rem, 14vw, 8rem);
}

.shape-copy > p:not(.section-number) {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: #c8d8d2;
}

.shape-copy ul {
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
}

.shape-copy li {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 248, 232, 0.18);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shape-copy li span {
  color: var(--coral);
  font-family: var(--serif);
  font-style: italic;
}

.process {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(22, 63, 60, 0.13) 1px, transparent 1px);
  background-size: 1.3rem 1.3rem;
}

.compact {
  max-width: 55rem;
}

.process-track {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.process-track li {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  padding-bottom: 2.2rem;
}

.process-track li:not(:last-child)::before {
  position: absolute;
  top: 3.8rem;
  bottom: 0;
  left: 1.85rem;
  width: 0.35rem;
  background: var(--turquoise);
  content: "";
}

.step-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  background: var(--terracotta);
  color: var(--paper);
  border: 2px solid var(--forest);
  border-radius: 50%;
  box-shadow: 0.25rem 0.25rem 0 var(--mustard);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
}

.process-track h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.process-track p {
  max-width: 30rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.about {
  display: grid;
  gap: 3rem;
  padding: 6rem var(--pad);
  background: var(--terracotta);
  color: var(--paper);
}

.about-badge {
  display: grid;
  width: min(16rem, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
  place-content: center;
  background: var(--mustard);
  color: var(--forest);
  border: 0.8rem double var(--forest);
  border-radius: 50%;
  text-align: center;
  transform: rotate(-5deg);
}

.about-badge span {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-badge strong {
  font-family: var(--serif);
  font-size: 5rem;
  font-style: italic;
  line-height: 0.95;
}

.about h2 {
  color: var(--paper);
  font-size: clamp(3.3rem, 13vw, 8rem);
}

.about-copy > p:not(.section-number) {
  max-width: 43rem;
}

.about-lede {
  margin: 1.7rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.35;
}

.service-area {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  text-align: center;
}

.service-area::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  background: var(--turquoise);
  border-radius: 50%;
  content: "";
}

.service-area h2 span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 0.52em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}

.service-area > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 68rem;
  margin: 2.2rem auto 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-area i {
  color: var(--terracotta);
  font-style: normal;
}

.contact {
  position: relative;
  display: grid;
  gap: 3rem;
  overflow: hidden;
  padding: 6rem var(--pad);
  background: var(--forest);
  color: var(--paper);
}

.contact-sun {
  position: absolute;
  top: -8rem;
  right: -9rem;
  width: 24rem;
  height: 24rem;
  background: repeating-conic-gradient(var(--mustard) 0 8deg, transparent 8deg 18deg);
  border-radius: 50%;
  opacity: 0.18;
}

.contact-copy,
.contact-card {
  position: relative;
  z-index: 1;
}

.contact h2 {
  color: var(--paper);
  font-size: clamp(3.3rem, 13vw, 8rem);
}

.contact-copy > p:last-child {
  max-width: 32rem;
  color: #c7d6d1;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--paper);
  color: var(--forest);
  border: 0.35rem solid var(--turquoise);
  border-radius: 0.6rem;
  box-shadow: 0.7rem 0.7rem 0 var(--terracotta);
  transform: rotate(1.5deg);
}

.contact-card > span {
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card a {
  font-size: 0.85rem;
  font-weight: 900;
}

.contact-phone {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 4rem) !important;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

footer {
  display: grid;
  gap: 1.4rem;
  padding: 2.5rem var(--pad);
  background: var(--forest-deep);
  color: #aec3bc;
  font-size: 0.76rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-brand img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

footer p {
  max-width: 28rem;
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  padding: 3rem var(--pad);
  background: var(--cream);
  color: var(--forest);
  text-align: center;
}

.not-found::before {
  width: min(16rem, 65vw);
  aspect-ratio: 2 / 1;
  margin: 0 auto 2rem;
  background: var(--mustard);
  border-radius: 16rem 16rem 0 0;
  content: "";
}

.not-found .code {
  margin: -7rem 0 3.5rem;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: clamp(5rem, 25vw, 11rem);
  font-style: italic;
  line-height: 1;
}

.not-found h1 {
  font-size: clamp(2.8rem, 12vw, 6rem);
}

.not-found p:last-of-type {
  max-width: 30rem;
  margin: 1.3rem auto 2rem;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .topline {
    justify-content: space-between;
  }

  .topline span {
    display: inline;
  }

  nav {
    display: flex;
    gap: clamp(1rem, 3vw, 2.7rem);
  }

  nav a {
    color: var(--forest);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
  }

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

  .header-cta {
    display: inline-flex;
    padding: 0.65rem 0.9rem;
    background: var(--turquoise);
    color: var(--forest);
    border: 2px solid var(--forest);
    border-radius: 2rem;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 5vw;
    min-height: 50rem;
    padding-top: 6rem;
    padding-bottom: 8rem;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
  }

  .hero-card {
    justify-self: end;
  }

  .photo-arch {
    height: 32rem;
  }

  .service-cards {
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
    align-items: end;
  }

  .service-card:first-child {
    min-height: 36rem;
  }

  .service-card:not(:first-child) {
    min-height: 30rem;
  }

  .shape-story {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 47rem;
  }

  .shape-image {
    min-height: 47rem;
    border-radius: 0 50% 50% 0;
  }

  .shape-copy {
    align-self: center;
    padding-left: clamp(3rem, 6vw, 7rem);
  }

  .process {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
  }

  .process-track {
    margin-top: 0;
  }

  .about {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 6rem;
  }

  .contact {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 6rem;
  }

  footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

@media (min-width: 76rem) {
  .service-card {
    padding: 2.4rem;
  }

  .process-track li {
    grid-template-columns: 5rem 1fr;
  }

  .step-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .process-track li:not(:last-child)::before {
    top: 4.25rem;
    left: 2.08rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
