@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #1c1a45;
  --ink: #24205a;
  --paper: #f0eff5;
  --paper-2: #e2e0ee;
  --line: #4a43a6;
  --lilac: #a9a4e0;
  --glow: #ffe2b0;
  --glow-hover: #fff0d6;
  --muted: #4f4b78;
  --night-muted: #c9c6ec;
  --rule: #c4c0dc;
  --error: #a4261d;
  --success: #24205a;
  --placeholder: #ffe14d;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 3px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5.6vw, 4.25rem);
  font-weight: 720;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 680;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

p,
ul,
dl,
table {
  margin: 0 0 1rem;
}

a {
  color: var(--line);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
  text-decoration-thickness: 0.14em;
}

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

.site-header :focus-visible,
.hero :focus-visible,
.page-head :focus-visible,
.band-night :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--glow);
}

main:focus,
.notice:focus,
.form-status:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.preview-bar {
  background: var(--glow);
  color: var(--night);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

.preview-bar p {
  margin: 0;
}

.ph {
  background: var(--placeholder);
  color: var(--ink);
  padding: 0 0.25em;
  border-radius: 0.2em;
  font-family: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 40em) {
  .wrap {
    padding: 0 1.5rem;
  }
}

.narrow {
  max-width: 46rem;
}

.site-header {
  background: var(--night);
  color: var(--paper);
  border-bottom: 1px solid rgba(169, 164, 224, 0.22);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--glow);
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--glow);
  flex: none;
}

.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  color: var(--night-muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-list li:first-child a {
  padding-left: 0;
}

.nav-list a:hover {
  color: var(--paper);
  border-bottom-color: var(--lilac);
}

.nav-list a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--glow);
}

.site-header .header-call {
  display: none;
}

@media (min-width: 48em) {
  .header-inner {
    flex-wrap: nowrap;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-nav {
    display: flex;
    justify-content: flex-end;
  }

  .nav-list li:first-child a {
    padding-left: 0.7rem;
  }

  .site-header .header-call {
    display: inline-flex;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--line);
  border-color: var(--line);
  color: #ffffff;
}

.button-glow,
.button-call.button-glow {
  background: var(--glow);
  border-color: var(--glow);
  color: var(--night);
}

.button-glow:hover {
  background: var(--glow-hover);
  border-color: var(--glow-hover);
  color: var(--night);
}

.button-line {
  background: transparent;
  border-color: var(--lilac);
  color: var(--paper);
}

.button-line:hover {
  background: rgba(169, 164, 224, 0.16);
  border-color: var(--paper);
  color: var(--paper);
}

.band-paper .button-line,
.band-deep .button-line {
  border-color: var(--line);
  color: var(--ink);
}

.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
}

.hero {
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(169, 164, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 164, 224, 0.07) 1px, transparent 1px);
  background-size: 2rem 2rem;
  color: var(--paper);
  padding: 2.25rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60em) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}

.hero-name {
  color: var(--night-muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 14em;
}

.hero-lead {
  color: var(--night-muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  max-width: 34rem;
}

.hero-rating {
  color: var(--night-muted);
  max-width: 34rem;
  margin: 0;
}

.hero a:not(.button),
.band-night a:not(.button),
.page-head a:not(.button) {
  color: var(--glow);
}

.hero a:not(.button):hover,
.band-night a:not(.button):hover,
.page-head a:not(.button):hover {
  color: #ffffff;
}

.hero-plan {
  margin: 0;
  padding: 1rem 1rem 0.75rem;
  border: 1px solid rgba(169, 164, 224, 0.4);
  background: rgba(28, 26, 69, 0.6);
}

.hero-plan figcaption {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(169, 164, 224, 0.3);
  color: var(--night-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.plan {
  display: block;
  width: 100%;
  height: auto;
}

.plan-wall {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.plan-glass,
.plan-stair {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 1.5;
}

.plan-swing {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 1.2;
}

.plan-yard {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 2;
  stroke-dasharray: 6 7;
}

.plan-kerb {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 1.4;
  stroke-dasharray: 2 7;
}

.plan-label text,
.plan-north text {
  fill: var(--night-muted);
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.plan-north circle,
.plan-north path {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 1.5;
}

.plan-sym {
  color: var(--lilac);
}

.lamp-ring {
  fill: var(--night);
  stroke: var(--lilac);
  stroke-width: 2;
}

.lamp-core {
  fill: var(--glow);
}

.lamp-x {
  fill: none;
  stroke: var(--night);
  stroke-width: 2.4;
  stroke-linecap: round;
}

@keyframes lamp-on {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0.9;
  }
  48% {
    opacity: 0.2;
  }
  64%,
  100% {
    opacity: 1;
  }
}

@keyframes lamp-switch {
  0%,
  47% {
    stroke: #a9a4e0;
  }
  64%,
  100% {
    stroke: #1c1a45;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lamp-halo,
  .lamp-core {
    animation: lamp-on 0.36s ease-out both;
  }

  .lamp-x {
    animation: lamp-switch 0.36s ease-out both;
  }

  .lamp-1 > * {
    animation-delay: 0.15s;
  }

  .lamp-2 > * {
    animation-delay: 0.3s;
  }

  .lamp-3 > * {
    animation-delay: 0.45s;
  }

  .lamp-4 > * {
    animation-delay: 0.6s;
  }

  .lamp-5 > * {
    animation-delay: 0.75s;
  }

  .lamp-6 > * {
    animation-delay: 0.9s;
  }

  .lamp-7 > * {
    animation-delay: 1.02s;
  }

  .lamp-ring {
    animation: none;
  }
}

.page-head {
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(169, 164, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 164, 224, 0.07) 1px, transparent 1px);
  background-size: 2rem 2rem;
  color: var(--paper);
  padding: 2.5rem 0 3rem;
}

@media (min-width: 48em) {
  .page-head {
    padding: 4rem 0 4.5rem;
  }
}

.page-lead {
  color: var(--night-muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  max-width: 40rem;
  margin: 0;
}

.page-head .actions {
  margin-bottom: 0;
}

.band {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.band-paper {
  background: var(--paper);
}

.band-deep {
  background: var(--paper-2);
}

.band-rule {
  border-top: 1px solid var(--rule);
}

.band-night {
  background: var(--night);
  color: var(--paper);
}

.band-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 44rem;
  margin-bottom: 2rem;
}

.text-link {
  font-weight: 700;
}

.key-layout {
  display: grid;
  gap: 1.5rem 4rem;
}

@media (min-width: 60em) {
  .key-layout {
    grid-template-columns: 1fr 2.2fr;
    align-items: start;
  }

  .key-intro {
    position: sticky;
    top: 2rem;
  }
}

.key-intro p {
  color: var(--muted);
  max-width: 26rem;
}

.key {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.key-symbol {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.45rem;
  color: var(--line);
  background: var(--paper-2);
  border-radius: var(--radius);
}

.key-text h2,
.key-text h3 {
  font-size: 1.1875rem;
  margin: 0.15rem 0 0.35rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.key-text p {
  margin: 0;
  color: var(--muted);
}

.key-text .key-detail {
  margin-top: 0.5rem;
  color: var(--ink);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  align-items: start;
}

.review {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.25rem;
}

.review::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 1.5rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--paper-2);
}

.review figure,
.review blockquote {
  margin: 0;
}

.review blockquote p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.review figcaption {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.title-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  margin: 2rem 0 0;
}

@media (min-width: 40em) {
  .title-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .tb-wide {
    grid-column: span 2;
  }
}

@media (min-width: 64em) {
  .title-block {
    grid-template-columns: repeat(4, 1fr);
  }
}

.title-block-narrow {
  grid-template-columns: 1fr;
  margin: 0;
}

.title-block-narrow .tb-wide {
  grid-column: auto;
}

.tb-cell {
  background: var(--paper);
  padding: 0.9rem 1.1rem 1.1rem;
  min-width: 0;
}

.tb-cell dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tb-cell dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.tb-sign {
  background: var(--paper-2);
}

.tb-sign dd {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
}

.advice {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 60rem;
  gap: 0 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 48em) {
  .advice {
    grid-template-columns: 1fr 1fr;
  }
}

.advice li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.advice-symbol {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--line);
}

.advice p {
  margin: 0;
  font-size: 1.0625rem;
}

.call-band {
  display: grid;
  gap: 0.5rem 3rem;
  align-items: center;
}

.call-band h2 {
  max-width: 18em;
  margin: 0;
}

@media (min-width: 60em) {
  .call-band {
    grid-template-columns: 1.4fr 1fr;
  }

  .call-band .actions {
    justify-content: flex-end;
    margin: 0;
  }
}

.two-up {
  display: grid;
  gap: 1.5rem 4rem;
}

@media (min-width: 48em) {
  .two-up {
    grid-template-columns: 1fr 1fr;
  }
}

.two-up h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.about-grid {
  display: grid;
  gap: 2.5rem 4rem;
  align-items: start;
}

@media (min-width: 56em) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.prose {
  max-width: 40rem;
}

.prose p {
  font-size: 1.125rem;
}

.legal .prose p,
.legal .prose li {
  font-size: 1.0625rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-top: 2.25rem;
}

.image-area {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(74, 67, 166, 0.07) 14px 15px);
  text-align: center;
}

.image-area-mark {
  width: 3rem;
  height: 3rem;
  color: var(--line);
}

.image-area figcaption {
  color: var(--muted);
  font-weight: 600;
  max-width: 22rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  max-width: 52rem;
}

.checklist li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}

.contact-grid {
  display: grid;
  gap: 3rem 4rem;
  align-items: start;
}

@media (min-width: 56em) {
  .contact-grid {
    grid-template-columns: 1fr 1.35fr;
  }
}

.form-panel h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.enquiry {
  margin-top: 1rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label,
.field-group legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.field-group {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

.field-group legend {
  font-size: 1.125rem;
  padding: 0;
}

.hint {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.input-short {
  max-width: 10rem;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-weight: 700;
  margin: 0.25rem 0 0;
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  margin-bottom: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 700;
}

.form-status-error {
  color: var(--error);
}

.form-status-success {
  color: var(--success);
}

.note {
  background: var(--paper-2);
  border-left: 4px solid var(--line);
  padding: 0.75rem 1rem;
}

.notice {
  display: none;
  border-left: 4px solid;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
}

.notice:target {
  display: block;
}

.notice-success {
  border-color: var(--success);
}

.notice-error {
  border-color: var(--error);
}

.site-footer {
  background: var(--night);
  color: var(--night-muted);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(169, 164, 224, 0.22);
}

.site-footer a {
  color: var(--paper);
}

.site-footer a:hover {
  color: var(--glow);
}

.footer-grid {
  display: grid;
  gap: 1rem 3rem;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-name {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 0.3rem 0;
  min-height: 24px;
  overflow-wrap: anywhere;
}

.footer-base {
  border-top: 1px solid rgba(169, 164, 224, 0.25);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.footer-base p {
  margin: 0 0 0.5rem;
}

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.5rem 1rem;
  background: var(--glow);
  color: var(--night);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  border-top: 2px solid var(--night);
}

.call-bar:hover {
  color: var(--night);
  background: var(--glow-hover);
}

.call-bar:focus-visible {
  outline: 3px solid var(--night);
  outline-offset: -6px;
}

body {
  padding-bottom: 56px;
}

@media (min-width: 48em) {
  .call-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

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