@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/dela-gothic-one.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("/assets/figtree.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1C2452;
  --salt: #F7F6F1;
  --yellow: #FFC531;
  --red: #E5482D;
  --pale: #E3E7F6;
  --white: #FFFFFF;
  --display: "Dela Gothic One", system-ui, sans-serif;
  --body: Figtree, system-ui, sans-serif;
  --line: 2px solid var(--ink);
  --header-height: 76px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 400 1rem/1.25 var(--display); }
h2 { font-size: clamp(1.55rem, 3.7vw, 2.45rem); }
h3 { font-size: clamp(1.05rem, 1.65vw, 1.32rem); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
strong, label, summary { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
html { scroll-padding-top: calc(var(--header-height) + 12px); }

.wrap {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus { position: absolute; top: 12px; left: var(--gutter); z-index: 11; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 17px;
  border: var(--line);
  border-radius: 9px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font: 600 1.0625rem/1.3 var(--body);
  cursor: pointer;
}

.primary { background: var(--yellow); }
.outline { background: var(--white); }
.button:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brand { display: inline-block; width: 156px; border-radius: 4px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--pale);
  border-bottom: var(--line);
}
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: calc(var(--header-height) - 2px);
  padding-block: 9px;
}
.header nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 27px); }
.header nav > a, .demos-menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header nav a:hover, .demos-menu summary:hover { text-decoration: underline; }
.header-brief { justify-self: end; }
.menu-toggle { display: none; }
.demos-menu { position: relative; }
.demos-menu summary { cursor: pointer; list-style: none; }
.demos-menu summary::-webkit-details-marker { display: none; }
.demos-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.demos-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.demos-menu ul {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  min-width: 246px;
  max-height: calc(100dvh - var(--header-height) - 12px);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 6px;
  border: var(--line);
  border-radius: 12px;
  background: var(--white);
}
.demos-menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.demos-menu li a:hover, .demos-menu li a:focus-visible { background: var(--pale); }
.demos-menu li a:focus-visible { outline-offset: -3px; }
.demos-menu .demos-overview { font-weight: 600; background: var(--pale); }
.demos-menu li:first-child { margin-bottom: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  min-height: 462px;
  padding: clamp(24px, 4.4vw, 58px);
  border: var(--line);
  border-radius: 24px;
  background: var(--yellow);
}

.hero h1 { max-width: 11em; font-size: clamp(2.75rem, 4.28vw, 4.15rem); line-height: 1.16; }
.hero-copy > p { max-width: 34ch; margin-top: 23px; font-size: clamp(1.0625rem, 1.62vw, 1.25rem); }
.hero .actions { margin-top: 25px; }
.hero-demos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 1.3vw, 16px);
  position: relative;
  padding-top: 73px;
}

.price-stamp {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -6px;
  display: grid;
  place-items: center;
  width: 110px;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--red);
  transform: rotate(8deg);
  pointer-events: none;
}
.price-stamp span {
  display: grid;
  place-content: center;
  width: 82px;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}
.price-stamp strong { font-size: 1.2rem; }

.phone {
  display: grid;
  align-self: end;
  gap: 7px;
  min-width: 0;
  padding: 7px;
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
  text-decoration: none;
}
.phone:nth-of-type(2) { margin-bottom: 20px; }
.phone-bar { justify-self: center; width: 28%; height: 4px; border-radius: 4px; background: var(--ink); }
.phone img { border: 1px solid var(--ink); border-radius: 7px; width: 100%; height: auto; aspect-ratio: 9 / 14; object-fit: cover; object-position: top center; }
.phone:hover { outline: 2px solid var(--ink); outline-offset: 2px; }
.demo-caption { grid-column: 1 / -1; text-align: center; font-weight: 600; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 22px 0;
  padding: 0;
  list-style: none;
  border: var(--line);
  border-radius: 16px;
  background: var(--pale);
  text-align: center;
  font-weight: 600;
}
.facts li { display: grid; place-items: center; padding: 13px 10px; }
.facts li + li { border-left: var(--line); }

.section { padding-block: clamp(42px, 6vw, 76px); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 22px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 30px);
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
}
.card ul { margin: 0; padding-left: 20px; }
.card li + li { margin-top: 6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; line-height: 1.2; }
.price strong { font: 400 clamp(1.75rem, 2.8vw, 2.45rem)/1.18 var(--display); }
.price-text strong { font-size: clamp(1.18rem, 2.1vw, 1.6rem); }
.card-links { display: grid; justify-items: start; gap: 5px; margin-top: auto; padding-top: 7px; }
.card-links a { font-weight: 600; }
.card-action { align-self: start; margin-top: 4px; }
.section-note { margin-top: 17px; }

.section-band { border-block: var(--line); background: var(--pale); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 12px;
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 17px;
  counter-increment: steps;
}
.steps li::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: var(--line);
  border-radius: 50%;
  background: var(--pale);
  content: counter(steps) / "";
  font-family: var(--display);
}
.care-cards { margin-top: 22px; }

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
  padding: clamp(20px, 4vw, 38px);
  border: var(--line);
  border-radius: 16px;
  background: var(--pale);
}
.about p { margin-top: 10px; }
.photo-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 124px;
  height: 124px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  font-weight: 600;
  text-align: center;
}

.faq-layout { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr); gap: 18px; }
.faq-list { border: var(--line); border-radius: 16px; background: var(--white); }
.faq-list details + details { border-top: var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+" / ""; }
.faq-list details[open] summary::after { content: "−" / ""; }
.faq-list p { margin: 0 18px 16px; max-width: 60ch; overflow-wrap: anywhere; }

.enquiry {
  padding: clamp(16px, 4vw, 50px);
  border: var(--line);
  border-radius: 16px;
  background: var(--pale);
}
.enquiry-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: 20px;
}
.enquiry-options .button { align-self: start; margin-top: auto; }
.contact-links { display: grid; gap: 8px; margin-top: auto; }
.contact-links a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 10px;
  padding: 10px 12px;
  border: var(--line);
  border-radius: 9px;
  background: var(--white);
  text-decoration: none;
}
.contact-links a span { overflow-wrap: anywhere; }
.contact-links a:hover strong { text-decoration: underline; }

input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px;
  border: var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--body);
}
input::placeholder, textarea::placeholder { opacity: 1; color: var(--ink); }
textarea { resize: vertical; }
.site-footer {
  margin-top: clamp(30px, 5vw, 58px);
  background: var(--ink);
  color: var(--white);
}
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 75px);
  padding-block: clamp(28px, 5vw, 54px);
}
.footer-brand .brand {
  width: 178px;
  max-width: 100%;
  padding: 9px;
  background: var(--white);
  border-radius: 8px;
}
.footer-brand p { margin-top: 10px; }
.footer-contact h2 { font-size: 1.2rem; margin-bottom: 7px; }
.footer-contact p + p { margin-top: 4px; }
.footer-contact a { color: var(--yellow); overflow-wrap: anywhere; }
.footer-end {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  border-top: 1px solid var(--pale);
  padding-block: 13px;
}

@media (max-width: 939px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); min-height: 0; }
  .hero h1 { font-size: clamp(2.35rem, 5.2vw, 3rem); }
}

@media (max-width: 850px) {
  :root { --header-height: 66px; }
  .site-header:not(.menu-ready) { position: static; }
  .header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 10px; }
  .header .brand { width: min(145px, 100%); }
  .header-brief { grid-column: 3; grid-row: 1; }
  .menu-ready .menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
  .header nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: 0 14px; }
  .menu-ready .header nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 8px var(--gutter) 14px;
    background: var(--pale);
    border-bottom: var(--line);
  }
  .menu-ready.menu-open .header nav { display: grid; gap: 0; }
  .menu-ready .header nav > a, .menu-ready .demos-menu summary { padding-inline: 8px; }
  .menu-ready .demos-menu ul {
    position: static;
    min-width: 0;
    max-height: none;
    margin: 3px 0 7px;
  }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero h1 { font-size: clamp(2.1rem, 7.4vw, 3.5rem); }
  .hero-demos { width: min(100%, 430px); justify-self: center; }
  .cards, .steps, .enquiry-options { grid-template-columns: minmax(0, 1fr); }
  .card-links { margin-top: 0; }
}

@media (max-width: 460px) {
  .button { padding-inline: 12px; }
  .hero { padding: 20px 15px; border-radius: 16px; }
  .hero-copy > p { margin-top: 15px; }
  .hero .actions { margin-top: 17px; }
  .hero-demos { padding-top: 63px; }
  .price-stamp { width: 92px; right: -2px; }
  .price-stamp span { width: 70px; }
  .price-stamp strong { font-size: 1.0625rem; }
  .phone { border-radius: 11px; gap: 5px; padding: 5px; }
  .phone:nth-of-type(2) { margin-bottom: 10px; }
  .facts, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .facts li + li { border-left: 0; border-top: var(--line); }
  .footer-content { grid-template-columns: minmax(0, 1fr); }
}


.gallery { padding-block: clamp(28px, 6vw, 70px); }
.gallery h1 { font-size: clamp(2.25rem, 6vw, 4.55rem); }
.gallery h1 + p { margin-top: 10px; }
.gallery-grid {
  display: grid;
  gap: clamp(13px, 2vw, 23px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 25px;
}
.gallery-card a {
  display: grid;
  height: 100%;
  align-content: start;
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
  text-decoration: none;
}
.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px 14px 0 0;
  border-bottom: var(--line);
  background: var(--pale);
}
.gallery-card a div { padding: 15px; display: grid; gap: 4px; }
.gallery-card h2 { font-size: clamp(1.14rem, 2.3vw, 1.53rem); }
.gallery-card a:hover h2, .demos-menu a[aria-current] { text-decoration: underline; }
.gallery-card strong { color: var(--ink); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: minmax(0,1fr); } }

.care-featured {
  background: var(--pale);
  border-width: 3px;
}
.care-badge {
  align-self: start;
  padding: 4px 9px;
  border: var(--line);
  border-radius: 6px;
  background: var(--yellow);
  font-weight: 600;
}
.care-featured .card-action { margin-top: auto; }
