/* NovaWeb Studio: foundations and public components. */
:root {
  --bg: #08060f;
  --bg-2: #100d19;
  --surface: #16121f;
  --text: #f5f2fa;
  --muted: #b5aebf;
  --muted-2: #a19aaa;
  --primary: #b7a0ff;
  --accent: #7250ca;
  --border: #2d263a;
  --border-strong: #58446c;
  --radius: 14px;
  --radius-xl: 24px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.has-dialog-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.5rem, 6.1vw, 6.1rem);
}
h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
p {
  margin: 0;
}
::selection {
  background: #b7a0ff;
  color: #100b20;
}
.container {
  width: min(var(--container), 90%);
  margin-inline: auto;
}
.section {
  padding-block: 112px;
  position: relative;
}
.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}
.section-heading .eyebrow,
.services-intro .eyebrow,
.craft-layout .eyebrow,
.faq-layout .eyebrow {
  margin-bottom: 1.25rem;
}
.section-heading > p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 34ch;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 1rem;
  background: var(--primary);
  color: var(--bg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  color: #170e2d;
  background: var(--primary);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background var(--dur),
    transform var(--dur),
    box-shadow var(--dur);
}
.btn:hover {
  background: #cbbaff;
  box-shadow: 0 4px 25px -14px #b7a0ff;
}
.btn:active {
  transform: translateY(2px);
}
.btn .icon {
  transition: transform var(--dur);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn--small {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
}
.btn--light {
  background: #f5f2fa;
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  min-height: 44px;
  padding: 0.35rem 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--border-strong);
  transition:
    color var(--dur),
    border-color var(--dur);
}
.text-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.text-link > span[aria-hidden] {
  font-size: 1.1rem;
  transition: transform var(--dur);
}
.text-link:hover > span[aria-hidden] {
  transform: translate(2px, -2px);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.anchor-alias {
  position: absolute;
  top: 0;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 6, 15, 0.95);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand img,
.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand__muted,
.brand__text em {
  color: var(--muted);
  font-weight: 400;
  font-style: normal;
}
.nav__menu {
  display: flex;
  gap: 2rem;
}
.nav__menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.79rem;
  color: var(--muted);
  position: relative;
  transition: color var(--dur);
}
.nav__menu a:hover,
.nav__menu a[aria-current] {
  color: var(--text);
}
.nav__menu a::after {
  content: '';
  position: absolute;
  inset: auto 0 4px;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur);
}
.nav__menu a:hover::after,
.nav__menu a[aria-current]::after {
  transform: scaleX(1);
}
.nav__cta .icon {
  transform: rotate(45deg);
  width: 16px;
  height: 16px;
}
.nav__cta-short {
  display: none;
}
.nav__cta:hover .icon {
  transform: rotate(45deg) translateY(-2px);
}
.nav__burger {
  width: 44px;
  height: 44px;
  display: none;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform var(--dur);
}
.nav__burger span:first-child {
  top: 17px;
}
.nav__burger span:last-child {
  top: 24px;
}
.nav__burger.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__burger.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.mobile {
  position: fixed;
  inset: var(--mobile-menu-top, 89px) 0 0;
  z-index: 35;
  padding: 2rem 5%;
  background: var(--bg);
  overflow-y: auto;
}
.mobile a {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile .btn {
  margin-top: 2rem;
  width: 100%;
}

/* Hero and brand sculpture. */
.hero {
  padding-top: 45px;
  background: radial-gradient(ellipse at 90% 40%, rgba(100, 65, 172, 0.11), transparent 55%);
}
.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.hero__topline .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.hero__location {
  font-size: 0.7rem;
  color: var(--muted);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 36px 52px;
}
.hero h1 {
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.hero h1 > span {
  color: var(--primary);
}
.hero__sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
  margin-top: 1.75rem;
}
.hero__actions {
  display: flex;
  gap: 1.65rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero__actions .text-link {
  border: 0;
}
.hero__note {
  color: var(--muted-2);
  font-size: 0.7rem;
  margin-top: 1rem;
}
.round-arrow {
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.hero__principles {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero__principles p {
  font-size: 0.73rem;
  color: var(--muted);
}
.hero__principles span {
  margin-right: 1rem;
  font-size: 0.62rem;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* Project case study */
.project-section {
  background: linear-gradient(180deg, var(--bg), #100b19);
}
.case-study__heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.case-study__heading h3 {
  font-size: 1.9rem;
}
.case-study__heading p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.project-viewer {
  border: 1px solid #3b3047;
  border-radius: 12px;
  overflow: hidden;
  background: #17131e;
}
.project-viewer__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: #1b1624;
}
.project-address {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #c2bacb;
  font-size: 0.7rem;
}
.project-address .status-dot {
  width: 4px;
  height: 4px;
}
.view-switch {
  display: flex;
  gap: 0.2rem;
}
.view-switch button {
  min-height: 44px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: #bcb4c6;
  border: 1px solid transparent;
  border-radius: 5px;
  transition:
    background var(--dur),
    color var(--dur);
}
.view-switch button:hover {
  color: white;
  background: #292133;
}
.view-switch button[aria-pressed='true'] {
  color: #f5f2fa;
  background: #372945;
  border-color: #645074;
}
.project-screen {
  aspect-ratio: 1440 / 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #0b090f;
}
.project-screen__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-screen.is-mobile .project-screen__image {
  width: auto;
  height: 89%;
  max-width: 45%;
  border-radius: 12px;
  outline: 1px solid #554463;
  box-shadow: 0 25px 70px #0008;
}
.project-screen.is-mobile {
  gap: 10%;
  background: radial-gradient(ellipse at 35% 40%, #342143, #110d18 75%);
}
.project-screen__mobile-note {
  display: none;
  max-width: 32%;
}
.project-screen.is-mobile .project-screen__mobile-note {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.project-screen__mobile-note span {
  font-size: 0.8rem;
  color: var(--muted);
}
.project-screen__mobile-note strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.project-insight {
  display: flex;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  min-height: 142px;
}
.project-insight__number {
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  color: var(--primary);
  padding-top: 0.15rem;
}
.project-insight h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.project-insight p {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.5rem;
  max-width: 76ch;
}
.project-insight__label {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 0.65rem;
  padding-top: 0.3rem;
}
.case-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2.5rem;
}
.case-story .eyebrow {
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.case-story p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* Service choices and craft */
.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 5rem;
}
.services-intro > p {
  color: var(--muted);
  max-width: 28ch;
  margin: 1.5rem 0;
  font-size: 0.94rem;
}
.services-intro .text-link {
  font-size: 0.78rem;
}
.service-row {
  display: grid;
  grid-template-columns: 30px 1fr 44px;
  align-items: start;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}
.service-row:last-child {
  border-bottom: 1px solid var(--border);
}
.service-row__number {
  color: var(--primary);
  font-size: 0.66rem;
  margin-top: 0.3rem;
}
.service-row h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  max-width: 32ch;
}
.service-row p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.9rem 0 1rem;
}
.service-row__scope {
  font-size: 0.66rem;
  color: #b5a1cd;
}
.service-row__action {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 1.3rem;
  transition:
    color var(--dur),
    background var(--dur);
}
.service-row__action:hover {
  background: var(--primary);
  color: var(--bg);
}
.craft-section {
  background: #14101d;
  border-block: 1px solid var(--border);
}
.craft-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.craft-layout h2 span {
  color: var(--primary);
}
.craft-copy > p {
  color: var(--muted);
  font-size: 0.9rem;
}
.craft-copy .large-copy {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.craft-checks {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.craft-checks li {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0;
  font-size: 0.77rem;
  color: var(--muted);
}
.craft-checks li > span {
  display: inline-block;
  width: 110px;
  color: var(--primary);
}

/* Process */
.process-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.process-step:last-child {
  border-bottom: 1px solid var(--border);
}
.process-step__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  transition:
    background 0.4s,
    color 0.4s;
}
.process-step.is-in .process-step__number {
  background: var(--primary);
  color: #170e2d;
}
.process-step h3 {
  font-size: 1.4rem;
}
.process-step p {
  margin-top: 0.6rem;
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.84rem;
}
.process-step__deliverable {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
  margin-left: 2rem;
}
.process-step__deliverable small {
  display: block;
  color: var(--muted-2);
  font-size: 0.67rem;
  margin-bottom: 0.35rem;
}
.process-step__deliverable span {
  font-size: 0.8rem;
}
.investment-note {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 0;
}
.investment-note .eyebrow {
  padding-top: 0.3rem;
}
.investment-note h3 {
  font-size: 1.35rem;
  line-height: 1.35;
}
.investment-note p {
  color: var(--muted);
  font-size: 0.83rem;
}

/* FAQ and contact */
.faq-section {
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.3fr;
  gap: 6rem;
}
.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-child {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.93rem;
  line-height: 1.5;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary > span {
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform var(--dur);
}
.faq details[open] summary > span {
  transform: rotate(45deg);
}
.faq details > p {
  color: var(--muted);
  font-size: 0.84rem;
  padding: 0 2rem 1.5rem 0;
}
.contact-section {
  padding-top: 75px;
  background: #b7a0ff;
  color: #1a102c;
}
.contact-section .eyebrow {
  color: #45335f;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2.5rem 0 4rem;
}
.contact-layout h2 {
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.contact-layout h2 span {
  color: #4d317c;
}
.contact-layout > div > p {
  color: #37234f;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.contact-layout .contact-note {
  font-size: 0.7rem;
  margin: 0.8rem 0 2rem;
}
.contact-email {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
  color: #45335f;
  gap: 0.2rem;
  padding-block: 0.25rem;
}
.contact-email span {
  font-size: 0.93rem;
  color: #1a102c;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.4rem;
  gap: 1rem;
  border-top: 1px solid #8c74b8;
  font-size: 0.71rem;
  color: #37234f;
}
.contact-section :focus-visible {
  outline-color: #28133f;
}
.footer {
  padding-block: 3rem 1.5rem;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer__top > p {
  color: var(--muted);
  font-size: 0.78rem;
}
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-2);
  font-size: 0.65rem;
}
.footer__bottom > div {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom a {
  padding-block: 0.5rem;
}
.footer__bottom a:hover {
  color: var(--primary);
}

/* Short quote wizard */
.quote-dialog {
  color: var(--text);
  background: #14101d;
  padding: 0;
  width: min(680px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 1px solid #5b476d;
  border-radius: 18px;
  overflow: auto;
  overscroll-behavior: contain;
}
.quote-dialog::backdrop {
  background: #08060fdb;
  backdrop-filter: blur(6px);
}
.quote-dialog__shell {
  padding: 1.6rem 2rem 2rem;
}
.quote-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quote-dialog__top .eyebrow {
  font-size: 0.59rem;
}
.dialog-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #d7cfe1;
  font-size: 1.8rem;
  line-height: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.dialog-close:hover {
  background: #2a2137;
}
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--primary);
  font-size: 0.67rem;
}
.wizard-progress > div {
  display: flex;
  gap: 5px;
}
.wizard-progress i {
  display: block;
  width: 28px;
  height: 3px;
  background: #3d314a;
  border-radius: 2px;
}
.wizard-progress i.is-current {
  background: var(--primary);
}
.quote-dialog h2 {
  font-size: 2rem;
  margin-top: 1rem;
  letter-spacing: -0.04em;
}
#quoteIntro {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.6rem 0 1.8rem;
}
.quote-form fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.quote-form legend {
  font-size: 0.87rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.choice > span {
  display: flex;
  min-height: 49px;
  height: 100%;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border: 1px solid #44364f;
  border-radius: 7px;
  color: #d6cedf;
  font-size: 0.75rem;
  line-height: 1.4;
  transition:
    border-color var(--dur),
    background var(--dur),
    color var(--dur);
}
.choice input:hover + span {
  border-color: #887199;
}
.choice input:checked + span {
  border-color: var(--primary);
  background: #322341;
  color: #f2eaff;
}
.choice input:checked + span::after {
  content: '';
  flex: 0 0 6px;
  height: 11px;
  margin: 0 0.15rem 3px 0.6rem;
  margin-left: auto;
  border: solid var(--primary);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.choice input[aria-invalid='true'] + span {
  border-color: #eea6b0;
}
.choice--wide {
  grid-column: 1 / -1;
}
.field-hint {
  color: var(--muted);
  font-size: 0.71rem;
  margin: -0.2rem 0 0.7rem;
}
.field-error {
  display: block;
  color: #ffbac2;
  font-size: 0.75rem;
  margin: 0.5rem 0 0;
}
.field-error:empty {
  display: none;
}
.form__row {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.text-field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
}
.text-field input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border-radius: 7px;
  border: 1px solid #574466;
  color: var(--text);
  background: #0e0a16;
  font-size: 1rem;
}
.text-field input::placeholder {
  color: #9c91a8;
}
.text-field input[aria-invalid='true'] {
  border-color: #ffbac2;
}
.quote-summary {
  border-block: 1px solid var(--border);
  padding: 1.1rem 0;
  margin: 1.5rem 0;
}
.quote-summary .eyebrow {
  font-size: 0.6rem;
}
.quote-summary p {
  color: var(--muted);
  font-size: 0.77rem;
  margin: 0.5rem 0 0;
}
.quote-summary .text-link {
  font-size: 0.72rem;
  min-height: 38px;
}
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.73rem;
  cursor: pointer;
  margin: 1rem 0 0.6rem;
}
.form__consent input {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}
.form__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wizard-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.wizard-actions > .btn {
  margin-left: auto;
}
.wizard-actions .text-link {
  font-size: 0.8rem;
  border: 0;
}
.wizard-assurance {
  font-size: 0.67rem;
  color: var(--muted);
}
.form__msg {
  color: #ffbac2;
  font-size: 0.8rem;
}
.form__msg:not(:empty) {
  margin-block: 1rem;
}
.quote-success {
  padding: 3rem 0 1rem;
  text-align: center;
}
.success-mark {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #937ab2;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.75rem;
}
.quote-success h2 {
  margin: 1.5rem 0 1rem;
}
.quote-success > p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}
.quote-success .quote-reference {
  font-size: 0.75rem;
  color: var(--primary);
  overflow-wrap: anywhere;
}
.noscript-contact {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  padding: 1rem;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  font-size: 0.8rem;
}
.noscript-contact a {
  text-decoration: underline;
}

/* Legal and error pages keep the shared identity. */
.legal-shell {
  min-height: 100dvh;
  padding: 2rem 0 5rem;
}
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
}
.legal-page {
  max-width: 820px;
}
.legal-page__head {
  margin-bottom: 2rem;
}
.legal-page__head .eyebrow {
  margin-bottom: 1rem;
}
.legal-page__head h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}
.legal-page__head p {
  color: var(--muted);
  margin-block: 1rem;
}
.legal-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff06;
}
.legal-card h2 {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
}
.legal-card h2:first-child {
  margin-top: 0;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
}
.legal-card a {
  color: #c9beff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-meta {
  color: var(--muted-2);
  font-size: 0.84rem;
}
.error-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
}
.error-page h1 {
  margin: 0.8rem auto 0.35rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.error-page p {
  max-width: 42ch;
  color: var(--muted);
  margin: 1rem auto 2rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* The brand sculpture owns its space without a surrounding card. */
.brand-scene {
  position: relative;
  margin: 0 -26px 0 -10px;
  min-width: 0;
  isolation: isolate;
  padding-bottom: 55px;
}
.brand-scene__surface {
  position: relative;
  aspect-ratio: 1.12 / 1;
  width: 100%;
}
.brand-scene__surface::before {
  content: '';
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #6d3aaa26, #3316500a 58%, transparent 72%);
}
.brand-scene__surface::after {
  content: '';
  position: absolute;
  inset: auto 27% 12%;
  height: 7%;
  border-radius: 50%;
  background: #0009;
  filter: blur(15px);
  z-index: -1;
}
.brand-scene__canvas,
.brand-scene__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand-scene__canvas {
  opacity: 0;
  transition: opacity 0.6s;
}
.brand-scene.is-rendered .brand-scene__canvas {
  opacity: 1;
}
.brand-scene.is-rendered .brand-scene__fallback {
  visibility: hidden;
}
.brand-scene__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #5b416c;
  border-style: solid;
  z-index: 1;
  opacity: 0.55;
}
.brand-scene__corner--tl {
  top: 6%;
  left: 6%;
  border-width: 1px 0 0 1px;
}
.brand-scene__corner--br {
  bottom: 6%;
  right: 6%;
  border-width: 0 1px 1px 0;
}
.brand-scene__signature {
  position: absolute;
  right: 6%;
  top: 6%;
  color: #ac99c1;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}
.brand-scene__caption {
  text-align: center;
  font-size: 0.75rem;
  color: #d6cbe3;
  letter-spacing: 0.025em;
  margin-top: -0.5rem;
}
.brand-scene__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.brand-scene__explore {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 1.2rem;
  padding: 0.4rem 0;
  font-size: 0.64rem;
  color: var(--muted-2);
  border-bottom: 1px solid #3d2e4d;
}
.brand-scene__explore:hover,
.brand-scene__explore[aria-pressed='true'] {
  color: var(--primary);
}
.brand-scene__explore > span:last-child {
  transition: transform 0.3s;
  font-size: 0.85rem;
}
.brand-scene__explore[aria-pressed='true'] > span:last-child {
  transform: rotate(180deg);
}
.brand-scene__motion {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--muted-2);
  border: 1px solid transparent;
  border-radius: 50%;
}
.brand-scene__motion:hover {
  border-color: var(--border-strong);
  color: var(--primary);
}
.brand-scene__motion > span {
  width: 8px;
  height: 10px;
  border-inline: 2px solid currentColor;
}
.brand-scene__motion[aria-pressed='true'] > span {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 7px solid currentColor;
  transform: translateX(3px);
}
/* Labels stay still for reading while their leaders follow the separated pieces. */
.brand-scene.is-explored .brand-scene__surface {
  min-height: 460px;
}
.brand-scene__annotations,
.brand-scene__leaders,
.brand-scene__notes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.brand-scene__leaders {
  overflow: visible;
  stroke: #bda0ef;
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.55;
}
.brand-scene__leaders line {
  vector-effect: non-scaling-stroke;
}
.brand-scene__notes {
  margin: 0;
}
.brand-scene__note {
  position: absolute;
  width: 42%;
  max-width: 210px;
  padding: 10px 6px;
  background: linear-gradient(90deg, #0b0912f5 70%, #0b091200);
  animation: scene-note-enter 0.55s both;
}
.brand-scene__note dt {
  color: #f0eafa;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 500;
  margin-bottom: 7px;
}
.brand-scene__note dt span {
  display: block;
  color: #b99bef;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.brand-scene__note dd {
  margin: 0;
  color: #c4b9d2;
  font-size: clamp(0.8rem, 0.95vw, 0.85rem);
  line-height: 1.6;
}
.brand-scene__note--clarity {
  top: 0;
  left: 1%;
  animation-delay: 0.14s;
}
.brand-scene__note--identity {
  top: 0;
  right: 0;
  animation-delay: 0.26s;
}
.brand-scene__note--craft {
  bottom: 0;
  left: 1%;
  animation-delay: 0.38s;
}
.brand-scene__note--contact {
  bottom: 0;
  right: 0;
  animation-delay: 0.5s;
}
.brand-scene.is-explored .brand-scene__signature,
.brand-scene.is-explored .brand-scene__corner {
  opacity: 0;
}
.brand-scene.is-explored .brand-scene__caption {
  margin-top: 1rem;
}
@keyframes scene-note-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .brand-scene.is-explored .brand-scene__surface {
    aspect-ratio: auto;
    height: 460px;
  }
  .brand-scene.is-explored .brand-scene__note {
    width: 45%;
  }
}
@media (max-width: 1024px) {
  .brand-scene {
    margin-inline: -20px;
  }
}
@media (max-width: 760px) {
  .brand-scene {
    width: 100%;
    max-width: 510px;
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  .brand-scene {
    margin-top: -1.3rem;
  }
  .brand-scene__caption {
    font-size: 0.68rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-scene__canvas {
    transition: none;
  }
  .brand-scene__note {
    animation: none;
  }
}
