@font-face {
  font-family: 'Space Grotesk';
  src: url('/site/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: Raleway;
  src: url('/site/fonts/raleway.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --canvas: #f4f4f2;
  --navy: #1d3b53;
  --ink: #171717;
  --headings: 'Space Grotesk', Arial, sans-serif;
  --body: Raleway, Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 66px);
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18px;
  line-height: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--navy);
  text-underline-offset: 0.14em;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--headings);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(36px, 3.56vw, 58px);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
:focus-visible {
  outline: solid 3px #336291;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--canvas);
  padding: 12px 20px;
}
.skip-link:focus {
  transform: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 16px 35px;
  min-height: 69px;
  background: var(--navy);
  color: white;
  font-family: var(--headings);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.pill:hover {
  background: #2d4f69;
}
.pill-light {
  border-color: white;
  background: white;
  color: var(--ink);
}
.pill-light:hover {
  background: #e9edf0;
}
.pill-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.pill-outline:hover {
  background: #e9edf0;
}

.site-header {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  background: var(--canvas);
  box-shadow: 0 3px 7px #0002;
}
.header-inner {
  min-height: clamp(100px, 9.8vw, 150px);
  max-width: 1700px;
  margin: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: block;
  width: clamp(166px, 15.8vw, 248px);
}
.site-logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.28vw, 21px);
}
.desktop-nav a,
.desktop-nav summary {
  white-space: nowrap;
  font-size: clamp(14px, 1.15vw, 19px);
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav summary:hover {
  text-decoration: underline;
}
.desktop-nav a[aria-current='page']:not(.nav-book),
.learn-current summary {
  text-decoration: underline;
}
.desktop-nav > a:not(.nav-book),
.desktop-nav summary {
  color: #292929;
}
.desktop-nav .practice-login {
  color: var(--navy);
}
.desktop-nav .nav-book {
  text-transform: none;
  min-width: 140px;
  min-height: 63px;
  padding-inline: 22px;
}
.social-link {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 32px;
}
.social-link svg {
  width: 19px;
  height: 19px;
}
.learn-menu {
  position: relative;
}
.learn-menu summary,
.mobile-menu summary {
  list-style: none;
}
.learn-menu summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.learn-menu > a {
  display: none;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: -14px;
  background: var(--canvas);
  box-shadow: 0 4px 8px #0002;
  padding: 12px 18px;
}
.learn-menu[open] > a {
  display: block;
}
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(635px, 57.5vw, 960px);
  overflow: hidden;
  clip-path: ellipse(112% 100% at 50% 0);
  color: white;
  text-align: center;
  padding: clamp(165px, 13.333vw, 220px) var(--gutter) 92px;
  isolation: isolate;
}
.hero::before,
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: 65.765% 39.202%;
}
.hero::before {
  content: '';
  z-index: -1;
  background: #0008;
}
.hero h1 {
  font-size: clamp(112px, 9.5vw, 154px);
  line-height: 1;
}
.hero h1 span {
  color: var(--navy);
}
.hero-subtitle,
.hero-quote {
  font-family: var(--headings);
  font-size: clamp(27px, 2.28vw, 39px);
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.hero-subtitle {
  margin-top: 21px;
}
.hero-quote {
  max-width: 880px;
  margin: clamp(80px, 8.33vw, 140px) auto 37px;
}
.hero .pill {
  min-width: 325px;
}

.welcome {
  position: relative;
  display: grid;
  grid-template-columns: 38% 62%;
  grid-template-rows: auto 1fr;
  column-gap: 0;
  min-height: min(66vw, 1010px);
  max-width: 1600px;
  padding: min(14.2vw, 217px) var(--gutter) 50px;
  margin: 0 auto;
  text-align: center;
}
.welcome h2 {
  grid-column: 2;
  color: #383838;
}
.welcome h2 span,
.site-footer h2 span {
  color: var(--navy);
}
.welcome-copy {
  grid-column: 2;
  margin: min(6.95vw, 105px) auto 0;
  max-width: 715px;
}
.welcome-copy p {
  font-size: clamp(19px, 1.58vw, 26px);
}
.welcome-copy .pill {
  margin-top: min(7.5vw, 102px);
  min-width: 132px;
}
.welcome-photos {
  position: absolute;
  width: 33.5%;
  left: 8.1%;
  top: 9%;
  aspect-ratio: 482 / 818;
}
.welcome-photos div {
  position: absolute;
  overflow: hidden;
}
.welcome-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.assessment {
  z-index: 2;
  left: 0;
  top: 0;
  width: 42%;
  aspect-ratio: 2 / 3;
}
.cat {
  left: 10.8%;
  top: 29%;
  width: 78.6%;
  aspect-ratio: 0.99;
}
.cavaletti {
  z-index: 2;
  left: 57.7%;
  top: 62.5%;
  width: 42%;
  aspect-ratio: 2 / 3;
}

.services {
  max-width: 1600px;
  margin: auto;
  text-align: center;
  padding: min(5.4vw, 82px) var(--gutter) min(8vw, 125px);
}
.services h2 {
  margin-bottom: min(8.15vw, 120px);
  color: var(--navy);
  font-size: clamp(50px, 5.3vw, 86px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1%;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service img {
  width: min(68%, 312px);
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
.service.maintenance img {
  object-position: 20.6% 52.8%;
}
.service h3 {
  max-width: 405px;
  margin: min(6.25vw, 90px) auto 34px;
  color: var(--navy);
  font-size: clamp(25px, 2.28vw, 37px);
  line-height: 1.14;
}
.service .pill {
  margin-top: auto;
}

.enquiry {
  padding: 42px var(--gutter) 90px;
}
.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1214px;
  margin: auto;
}
.enquiry h1,
.enquiry h2 {
  color: var(--navy);
  font-size: clamp(36px, 3.56vw, 58px);
}
.enquiry-intro {
  max-width: 330px;
}
.enquiry-intro p {
  margin-top: 16px;
  font-size: clamp(18px, 1.35vw, 22px);
  overflow-wrap: anywhere;
}
.enquiry-intro .enquiry-lead {
  margin-top: 23px;
  font-size: clamp(19px, 1.58vw, 25px);
}
.enquiry-intro .pill {
  margin-top: 36px;
}
.enquiry-body h2 {
  text-align: center;
  margin-bottom: 19px;
}
.enquiry-body .enquiry-email {
  display: table;
  margin-inline: auto;
}
.appointments-page .enquiry {
  padding-top: clamp(150px, 13.3vw, 225px);
}
.appointments-page .enquiry-inner {
  max-width: 1324px;
  grid-template-columns: 34% 58%;
  gap: 8%;
}
.appointments-page .enquiry-intro {
  max-width: 434px;
}
.appointments-page .enquiry h1,
.appointments-page .enquiry h2 {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.09em;
}
.appointments-page .enquiry h1 {
  max-width: 380px;
}
.appointments-page .enquiry-body h2 {
  margin-bottom: 57px;
}
.appointments-page .enquiry-intro .enquiry-lead {
  margin-top: 62px;
}
.appointments-page .enquiry-intro .pill {
  display: table;
  margin: 35px auto 0;
}

.enquiry-form {
  display: grid;
  gap: 20px;
  font-size: 16px;
}
.enquiry-form label {
  display: block;
}
.enquiry-form label span {
  color: #505050;
  font-size: 0.87em;
}
.enquiry-form fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.enquiry-form legend {
  margin-bottom: 6px;
  padding: 0;
}
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}
.enquiry-form input:not([type='hidden']),
.enquiry-form select,
.enquiry-form textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-top: 6px;
  padding: 8px 15px;
  border: 1px solid #565656;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 20px);
}
.enquiry-form input[type='hidden'] {
  display: none;
}
.enquiry-form textarea {
  min-height: 101px;
  resize: vertical;
}
.enquiry-form select {
  cursor: pointer;
}
.reply-help {
  font-size: 15px;
  margin: 6px 0;
}
.submit-enquiry {
  justify-self: center;
  margin-top: 5px;
}
.appointments-page .submit-enquiry {
  min-width: 192px;
}
.submit-enquiry:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status {
  text-align: center;
  color: var(--navy);
}
.form-status:empty {
  margin-top: -20px;
}
.form-status[data-error] {
  color: #9d2929;
}

.site-footer {
  padding: 38px 0 0;
  color: var(--navy);
}
.footer-inner {
  display: grid;
  grid-template-columns: 50.5% 31% 18.5%;
  max-width: 1600px;
  margin: auto;
  padding: 0 var(--gutter);
}
.footer-intro {
  padding-top: 36px;
}
.site-footer h2 {
  max-width: 330px;
  color: #383838;
}
.site-footer h3 {
  margin-bottom: 24px;
  font-size: clamp(24px, 2.3vw, 36px);
}
.footer-contact a,
.footer-info a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.footer-faq {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.footer-faq .pill {
  min-width: 156px;
}
.footer-wave {
  width: 100%;
  height: clamp(45px, 7vw, 105px);
  display: block;
}

@media (max-width: 950px) {
  .desktop-nav {
    gap: 10px;
  }
  .desktop-nav .nav-book {
    min-width: auto;
    min-height: 50px;
  }
  .desktop-nav .social-link {
    min-width: 20px;
  }
}

@media (max-width: 799px) {
  :root {
    --gutter: max(18px, 5.9vw);
  }
  .header-inner {
    min-height: 83px;
    padding-block: 8px;
  }
  .site-logo {
    width: 78px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    display: grid;
    align-content: center;
    gap: 9px;
    width: 46px;
    min-height: 46px;
  }
  .mobile-menu summary span {
    width: 35px;
    height: 1px;
    background: #333;
    margin-left: auto;
    transition: transform 150ms;
  }
  .mobile-menu[open] summary span:first-child {
    transform: translateY(5px) rotate(45deg);
  }
  .mobile-menu[open] summary span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }
  .mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px var(--gutter) 24px;
    background: var(--canvas);
    box-shadow: 0 5px 8px #0002;
    max-height: calc(100dvh - 83px);
    overflow: auto;
  }
  .mobile-menu nav > a {
    min-height: 38px;
    display: grid;
    place-items: center;
    text-decoration: none;
  }
  .mobile-menu nav > a:hover {
    text-decoration: underline;
  }
  .mobile-menu nav .nav-book {
    text-transform: none;
  }
  .hero {
    min-height: clamp(824px, 236vw, 940px);
    padding-top: clamp(205px, 65vw, 255px);
    padding-bottom: 48px;
    clip-path: ellipse(235% 100% at 50% 0);
  }
  .hero h1 {
    font-size: clamp(72px, 27.7vw, 132px);
  }
  .hero-subtitle {
    margin: clamp(80px, 35.1vw, 137px) auto 0;
    max-width: 255px;
    font-size: 26px;
  }
  .hero-quote {
    margin: 80px auto 26px;
    max-width: 255px;
    font-size: 26px;
  }
  .hero .pill {
    min-width: 165px;
  }
  .welcome {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 28px var(--gutter) 52px;
  }
  .welcome h2 {
    font-size: 37px;
  }
  .welcome-photos {
    position: relative;
    inset: auto;
    width: min(85%, 430px);
    margin: 18px auto 26px;
    aspect-ratio: 290 / 412;
  }
  .welcome-photos .assessment {
    width: 38%;
  }
  .welcome-photos .cat {
    left: 17%;
    top: 27%;
    width: 72%;
  }
  .welcome-photos .cavaletti {
    width: 38%;
    left: 63%;
    top: 62%;
  }
  .welcome-copy {
    margin-top: 23px;
    max-width: 460px;
  }
  .welcome-copy p {
    font-size: 20px;
  }
  .welcome-copy .pill {
    margin-top: 28px;
  }
  .services {
    padding: 52px var(--gutter) 56px;
  }
  .services h2 {
    margin-bottom: 30px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service h3 {
    margin: 14px auto 28px;
  }
  .service img {
    width: min(66%, 320px);
  }
  .service.conditioning img {
    width: min(74%, 346px);
  }
  .enquiry,
  .appointments-page .enquiry {
    padding-inline: var(--gutter);
    padding-bottom: 42px;
  }
  .appointments-page .enquiry {
    padding-top: 143px;
  }
  .enquiry-inner,
  .appointments-page .enquiry-inner {
    display: flex;
    flex-direction: column;
    gap: 75px;
    max-width: 550px;
  }
  .enquiry-intro,
  .appointments-page .enquiry-intro {
    max-width: none;
  }
  .appointments-page .enquiry h1 {
    max-width: none;
  }
  .enquiry-intro h2 {
    text-align: center;
  }
  .enquiry-intro .enquiry-lead,
  .appointments-page .enquiry-intro .enquiry-lead {
    margin-top: 24px;
  }
  .enquiry-intro .pill {
    display: table;
    margin: 36px auto 0;
  }
  .enquiry-body h2,
  .appointments-page .enquiry-body h2 {
    margin-bottom: 33px;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 33px;
  }
  .footer-intro {
    padding-top: 0;
  }
  .site-footer h2 {
    max-width: none;
  }
  .footer-info {
    order: 1;
  }
  .footer-contact {
    order: 2;
  }
  .footer-faq {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 360px) {
  .hero-subtitle,
  .hero-quote {
    font-size: 24px;
  }
  .name-fields {
    column-gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu summary span {
    transition: none;
  }
}
