:root {
  /* Taken from the hall's logo */
  --purple: #483d7b;
  --purple-deep: #2a2350;
  --teal: #0a8fa3;
  --teal-deep: #08727f;
  --orange: #f15a29;
  --amber: #f7941d;
  --green: #009245;
  --lime: #8cc63f;

  --bg: #fbfaf7;
  --card: #ffffff;
  --ink: #23203a;
  --muted: #5d5a72;
  --line: #e8e5df;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(35, 32, 58, 0.05), 0 12px 32px -12px rgba(35, 32, 58, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--purple);
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
a:focus-visible {
  border-radius: 6px;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.narrow {
  max-width: 760px;
}
main > section {
  margin-block: clamp(3.5rem, 8vw, 6rem);
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--card);
  padding: 0.5rem 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-deep);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--teal-deep);
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn-small {
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--purple-deep);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--purple);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.brand b {
  color: var(--teal);
  font-weight: 700;
}
.brand-light,
.brand-light:hover {
  color: #fff;
}
.brand-light b {
  color: #7fd6e3;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover,
.nav a[aria-current='page'] {
  color: var(--teal-deep);
  border-color: var(--teal);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}
.menu-btn[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
main > .hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(640px, 78vh);
  margin-top: 1.25rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(42, 35, 80, 0.92) 0%, rgba(42, 35, 80, 0.6) 45%, rgba(42, 35, 80, 0.1) 100%);
}
.hero-text {
  max-width: 46rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  color: #fff;
}
.hero-text .eyebrow {
  color: #ffd08a;
}
.hero-text > p:not(.eyebrow) {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Facts */
main > .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.facts div {
  padding: 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
}
.facts div:nth-child(2) {
  border-top-color: var(--orange);
}
.facts div:nth-child(3) {
  border-top-color: var(--green);
}
.facts div:nth-child(4) {
  border-top-color: var(--purple);
}
.facts strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}
.facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* About */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.prose {
  color: #3a3750;
}
.prose h2 {
  margin-top: 2em;
  font-size: 1.45rem;
  color: var(--ink);
}
.prose h2:first-child {
  margin-top: 0;
}

/* Uses */
.band {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--purple-deep);
  color: #fff;
}
.band .eyebrow {
  color: #7fd6e3;
}
.uses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.uses li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  font-weight: 600;
}
.uses li::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
}
.uses li:nth-child(5n + 2)::before {
  background: var(--lime);
}
.uses li:nth-child(5n + 3)::before {
  background: var(--orange);
}
.uses li:nth-child(5n + 4)::before {
  background: var(--amber);
}
.uses li:nth-child(5n + 5)::before {
  background: #9d8fe0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 800;
}
.steps li:nth-child(2)::before {
  background: var(--orange);
}
.steps li:nth-child(3)::before {
  background: var(--purple);
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* Find us */
.find {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
address {
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
}
.find p {
  color: var(--muted);
}
.map {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-small {
  height: 220px;
  margin-top: 0.5rem;
  box-shadow: none;
}

/* Inner pages */
main > .page-head {
  margin-block: clamp(2.5rem, 6vw, 4.5rem) 0;
}
main > .page-head + section {
  margin-top: 2.5rem;
}
.doc {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.doc-form {
  grid-template-columns: 1fr 320px;
}
.rate {
  position: sticky;
  top: 96px;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rate-label {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.rate-price {
  margin-bottom: 1.25rem;
  color: var(--purple);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
}
.rate-price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.rate .btn {
  width: 100%;
}
.rate-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.callout {
  margin-top: 2.5rem;
  padding: 1.1rem 1.4rem;
  background: #eef7f8;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  font-weight: 600;
}
.terms {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: term;
}
.terms li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-top: 1px solid var(--line);
  counter-increment: term;
}
.terms li::before {
  content: counter(term);
  position: absolute;
  left: 0;
  top: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #eeecf6;
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 800;
}

/* Forms */
.notice {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.25rem;
  background: #eef7f8;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  color: #3a3750;
}
.notice strong {
  color: var(--purple);
}
.form {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.field {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}
.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.field i {
  color: var(--orange);
  font-style: normal;
}
.field small,
.hint {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.hint {
  margin: -0.75rem 0 1.25rem;
}
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='date'],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  border: 1.5px solid #d9d5cc;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
textarea {
  resize: vertical;
}
select {
  padding-right: 2.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%2323203a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(10, 143, 163, 0.15);
  background-color: #fff;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 24rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1.5px solid #d9d5cc;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.choice span::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid #b9b4a8;
  border-radius: 50%;
  background: #fff;
  transition: inherit;
}
.choice:hover span {
  border-color: var(--teal);
}
.choice input:checked + span {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}
.choice input:checked + span::before {
  border-color: #fff;
  box-shadow: inset 0 0 0 3px var(--teal-deep);
}
.choice input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.lookup {
  display: flex;
  gap: 0.75rem;
}
.lookup input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}
.lookup input::placeholder {
  text-transform: none;
}
.btn-outline {
  flex: none;
  min-height: 3rem;
  padding-block: 0.6rem;
  background: #fff;
  color: var(--teal-deep);
}
.btn-outline:hover {
  color: #fff;
}
.lookup-status {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.lookup-status.ok {
  color: #0b6b3a;
  font-weight: 600;
}
.lookup-status.error {
  color: #b3311b;
  font-weight: 600;
}
.link-btn {
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn[hidden],
.address[hidden] {
  display: none;
}
.privacy {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  margin: 1rem 0 0;
  font-weight: 600;
}
.form-status:empty {
  display: none;
}
.form-status.ok {
  color: #0b6b3a;
}
.form-status.error {
  color: #b3311b;
}

/* Footer */
.footer {
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: 3.5rem;
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.975rem;
}
.footer-in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1rem;
}
.footer p {
  max-width: 26rem;
}
.footer .brand {
  margin-bottom: 1rem;
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer li {
  margin-bottom: 0.5rem;
}
.footer a:not(.brand) {
  color: #fff;
}
.footer-base {
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

@media (max-width: 900px) {
  main > .facts,
  .uses {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .find,
  .doc,
  .doc-form,
  .steps,
  .footer-in {
    grid-template-columns: 1fr;
  }
  .rate {
    position: static;
  }
  .doc-form .rate {
    order: 2;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: block;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
  .nav a:not(.btn) {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border: 0;
  }
  .nav .btn {
    margin-top: 0.5rem;
  }
}

@media (max-width: 520px) {
  .lookup {
    flex-direction: column;
  }
  .row,
  .uses {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 1.05rem;
  }
}

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