:root {
  --ink: #142126;
  --muted: #5c6970;
  --paper: #f6f3ed;
  --white: #ffffff;
  --deep: #0f3f47;
  --aqua: #2b9aaa;
  --clay: #b76f4d;
  --mist: #d8ecea;
  --line: rgba(20, 33, 38, 0.14);
  --shadow: 0 22px 60px rgba(20, 33, 38, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 243, 237, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  width: 44px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(20, 33, 38, 0.76);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--deep);
}

.nav-cta {
  background: var(--deep);
  color: var(--white) !important;
  padding: 11px 16px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 8px auto;
  width: 24px;
}

.hero {
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 92px clamp(18px, 4vw, 54px) 38px;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
  z-index: 0;
}

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

.hero::after {
  background: linear-gradient(90deg, rgba(10, 25, 28, 0.88), rgba(10, 25, 28, 0.5) 48%, rgba(10, 25, 28, 0.08));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  align-self: center;
  color: var(--white);
  max-width: 760px;
  position: relative;
  z-index: 2;
  padding-top: 50px;
}

.eyebrow,
.section-label {
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.6rem, 10vw, 8.2rem);
  max-width: 820px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 24px 0 0;
  max-width: 670px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.hero-panel {
  align-self: end;
  background: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-panel div {
  background: var(--white);
  padding: 22px;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.05rem;
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.section-pad {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 54px);
}

.intro,
.section-heading,
.split-feature,
.pool-types,
.process,
.faq,
.contact,
.site-footer {
  margin-inline: auto;
  max-width: var(--max);
}

.intro {
  display: grid;
  gap: 34px;
  grid-template-columns: 0.38fr 1fr;
}

.intro h2,
.section-heading h2,
.split-copy h2,
.sustainability h2,
.why h2,
.contact h2 {
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}


.ashfield-top-logo {
  width: 250px;
}

.ashfield-footer-logo {
  width: 80px;
}

.intro p,
.split-copy p,
.sustainability p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 22px 0 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 780px;
}

.service-grid,
.type-grid,
.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article,
.type-grid article,
.why-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}

.service-grid img {
  height: 48px;
  margin-bottom: 42px;
  width: 48px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.service-grid p,
.type-grid p,
.timeline p,
.why-grid span,
.faq p {
  color: var(--muted);
  margin: 0;
}

.split-feature {
  align-items: stretch;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  padding: 0 clamp(18px, 4vw, 54px) clamp(72px, 9vw, 128px);
}

.split-image {
  background: var(--deep);
  min-height: 520px;
}

.split-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.split-copy {
  background: var(--ink);
  color: var(--white);
  padding: clamp(34px, 6vw, 76px);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 0 16px 30px;
  position: relative;
}

.check-list li::before {
  color: var(--aqua);
  content: "+";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.type-grid article {
  min-height: 220px;
}

.type-grid span {
  color: var(--aqua);
  display: block;
  font-weight: 800;
  margin-bottom: 48px;
}

.sustainability {
  align-items: end;
  background: var(--deep);
  color: var(--white);
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1fr;
  margin: 0 auto;
  max-width: calc(var(--max) + 108px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 70px);
}

.sustainability p {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  counter-reset: item;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  border-left: 1px solid var(--line);
  padding: 0 24px 18px;
}

.timeline span {
  align-items: center;
  background: var(--mist);
  color: var(--deep);
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 26px;
  width: 38px;
}

.why {
  background: var(--mist);
  display: grid;
  gap: 40px;
  grid-template-columns: 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: calc(var(--max) + 108px);
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 70px);
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid div {
  background: rgba(255, 255, 255, 0.62);
}

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

.why-grid span {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 24px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 22px 0;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
}

.contact {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 8px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: #fbfaf7;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  outline: 3px solid rgba(43, 154, 170, 0.18);
}

.form-status {
  color: var(--deep);
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  padding: 42px clamp(18px, 4vw, 54px);
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

.footer-links {
  align-items: start;
  display: flex;
  gap: 22px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 77px;
  }

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

  .nav-toggle {
    display: block;
  }

  .intro,
  .split-feature,
  .sustainability,
  .why,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 13px 18px;
  }

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

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

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 25, 28, 0.86), rgba(10, 25, 28, 0.58));
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .hero-panel,
  .service-grid,
  .type-grid,
  .timeline,
  .why-grid,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-form .full,
  .copyright {
    grid-column: auto;
  }

  .split-image {
    min-height: 360px;
  }

  .timeline article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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