:root {
  --ink: #15131C;
  --slab: #221E2E;
  --paper: #ECE9F2;
  --violet: #9B6CF0;
  --hush: #8B85A0;
  --edge: rgba(236, 233, 242, .12);
  --veil: rgba(21, 19, 28, .74);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.72;
  min-height: 100%;
}

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

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #B38BF5;
}

:focus-visible {
  outline: 2px solid #B38BF5;
  outline-offset: 3px;
}

h1,
h2,
h3,
.rail-brand span,
.figure__num,
.step-row__no {
  font-family: Syne, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--paper);
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  margin: 0 0 1.1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--violet);
  color: #1A1326;
  padding: 10px 16px;
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: #1A1326;
}

/* side rail */

.rail-bar {
  display: none;
}

.rail-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--slab);
  cursor: pointer;
  padding: 0;
}

.rail-toggle span,
.rail-toggle span::before,
.rail-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  margin: 0 auto;
  position: relative;
}

.rail-toggle span::before,
.rail-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.rail-toggle span::before {
  top: -6px;
}

.rail-toggle span::after {
  top: 6px;
}

.rail-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--veil);
  z-index: 40;
}

.railnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 228px;
  height: 100vh;
  background: var(--slab);
  border-right: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  z-index: 50;
  overflow-y: auto;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  margin-bottom: 36px;
}

.rail-brand svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.rail-brand span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.rail-links a {
  display: block;
  color: var(--hush);
  text-decoration: none;
  font-weight: 500;
  line-height: 2.15;
  padding-left: 14px;
  position: relative;
}

.rail-links a:hover {
  color: var(--paper);
}

.rail-links a[aria-current="page"] {
  color: var(--paper);
}

.rail-links a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 18px;
  margin-top: -9px;
  background: var(--violet);
}

.rail-foot {
  font-size: 0.82rem;
  color: var(--hush);
  line-height: 1.65;
}

.rail-foot a {
  color: var(--paper);
  text-decoration: none;
  display: block;
}

.rail-foot a:hover {
  color: var(--violet);
}

.shell {
  margin-left: 228px;
  min-height: 100vh;
}

/* full-bleed sections */

.bleed {
  width: 100%;
  background: var(--ink);
  padding-block: clamp(96px, 10vw, 140px);
  position: relative;
}

.bleed--slab {
  background: var(--slab);
}

.bleed--photo {
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bleed--tall {
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-block: 80px 72px;
}

.bleed--mid {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding-block: 64px 56px;
}

.bleed--short {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-block: 56px 48px;
}

.bleed__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bleed__hold {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  position: relative;
  z-index: 1;
  width: 100%;
}

.duo {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hush);
  margin-bottom: 12px;
}

.lede {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 42rem;
  color: var(--paper);
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
  margin-top: 48px;
}

.figure__num {
  display: block;
  font-size: 2.6rem;
  color: var(--violet);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.figure__cap {
  display: block;
  font-size: 0.78rem;
  color: var(--hush);
  line-height: 1.45;
  font-weight: 400;
}

.stack {
  display: grid;
  gap: 18px;
}

.craft-card {
  background: var(--slab);
  border: 1px solid var(--edge);
  padding: 28px 28px 24px;
  border-radius: 2px;
}

.bleed--slab .craft-card {
  background: var(--ink);
}

.craft-card p {
  color: var(--paper);
}

.pricetag {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--edge);
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 2px;
}

.step-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
  align-items: start;
}

.step-row:last-of-type {
  border-bottom: 0;
}

.step-row__no {
  font-size: 1.35rem;
  color: var(--hush);
  font-weight: 700;
}

.qa {
  border-bottom: 1px solid var(--edge);
  padding: 22px 0;
}

.qa:first-of-type {
  border-top: 1px solid var(--edge);
}

.qa__q {
  margin-bottom: 8px;
}

.note-entry {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--edge);
}

.note-entry:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cta-solid,
.cta-line {
  display: inline-block;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  border: 1px solid transparent;
}

.cta-solid {
  background: var(--violet);
  color: #1A1326;
  border-color: var(--violet);
}

.cta-solid:hover,
.cta-solid:focus-visible {
  background: #B38BF5;
  border-color: #B38BF5;
  color: #1A1326;
}

.cta-line {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--hush);
}

.cta-line:hover,
.cta-line:focus-visible {
  color: var(--violet);
  border-color: var(--violet);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.formgrid {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 2px;
  padding: 12px 14px;
  font: inherit;
  width: 100%;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid #B38BF5;
  outline-offset: 2px;
  border-color: var(--violet);
}

.field .hint {
  font-size: 0.78rem;
  color: var(--hush);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.consent input {
  margin-top: 5px;
  accent-color: var(--violet);
}

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

.sent-note,
.form-alert {
  padding: 14px 16px;
  border: 1px solid var(--edge);
  margin-bottom: 18px;
  border-radius: 2px;
}

.sent-note {
  background: rgba(155, 108, 240, 0.14);
  color: var(--paper);
}

.form-alert {
  background: rgba(236, 233, 242, 0.06);
  color: var(--paper);
}

.mapframe {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 2px;
}

.mapframe iframe {
  display: block;
  width: 100%;
}

.pagefoot {
  background: var(--slab);
  border-top: 1px solid var(--edge);
  padding: 72px 0 28px;
  margin-left: 228px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto 48px;
  padding-inline: clamp(20px, 5vw, 64px);
}

.foot-cols h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.foot-cols p,
.foot-cols a,
.foot-cols li {
  color: var(--hush);
  font-size: 0.92rem;
}

.foot-cols a {
  text-decoration: none;
  color: var(--paper);
}

.foot-cols a:hover {
  color: var(--violet);
}

.foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-cols li {
  margin-bottom: 6px;
}

.foot-map {
  max-width: 1180px;
  margin: 0 auto 28px;
  padding-inline: clamp(20px, 5vw, 64px);
}

.foot-end {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 64px) 0;
  border-top: 1px solid var(--edge);
  color: var(--hush);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.cookie-dock {
  position: fixed;
  left: 228px;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--slab);
  border-top: 1px solid var(--edge);
  padding: 18px clamp(20px, 4vw, 40px);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-dock p {
  margin: 0;
  color: var(--paper);
  font-size: 0.92rem;
  max-width: 46rem;
}

.cookie-dock__acts {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-dock.is-gone {
  display: none;
}

.shot {
  width: 100%;
  border: 1px solid var(--edge);
}

.shot-cap {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--hush);
}

.mark {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--edge);
  padding: 8px 12px;
  margin-bottom: 18px;
}

.list-plain {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--paper);
}

.list-plain li {
  margin-bottom: 0.45rem;
}

.lift-in {
  opacity: 1;
  transform: none;
}

html.js .lift-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .lift-in.is-seen {
  opacity: 1;
  transform: none;
}

.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  html.js .rail-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: var(--slab);
    border-bottom: 1px solid var(--edge);
    z-index: 55;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  html.js .rail-bar .rail-brand {
    margin-bottom: 0;
  }

  html.js .rail-toggle {
    display: block;
  }

  .railnav {
    height: auto;
    min-height: 100vh;
  }

  html.js .railnav {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  html.js .railnav.is-open {
    transform: translateX(0);
  }

  html.js .rail-scrim.is-on {
    display: block;
  }

  .no-js .railnav {
    position: relative;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--edge);
  }

  .shell {
    margin-left: 0;
  }

  html.js .shell {
    padding-top: 62px;
  }

  .pagefoot {
    margin-left: 0;
  }

  .cookie-dock {
    left: 0;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .duo {
    grid-template-columns: 1fr;
  }

  .figures {
    grid-template-columns: 1fr 1fr;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }

  .bleed {
    padding-block: 72px;
  }

  .bleed--tall,
  .bleed--mid,
  .bleed--short {
    min-height: 0;
    display: block;
    padding-block: 88px 56px;
  }
}

@media (max-width: 640px) {
  .foot-cols {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: 3rem 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-solid,
  .cta-line {
    text-align: center;
  }
}
