/* Fosse Systems — bespoke tier design system
   Colour: vivid violet/electric blue, taken from the client's existing brand
   energy, but lifted off near-black and broken up with bright sections.
   Type: the tpnexplorer.co.uk system, Fraunces display with an italic accent
   line, Inter for body, letterspaced eyebrows. */

:root {
  /* deep end */
  --deep: #170B33;
  --deep-2: #1F1049;
  --deep-3: #2A1566;

  /* bright end */
  --light: #F6F3FF;
  --light-2: #EDE7FF;
  --ink: #1B1039;
  --ink-soft: #4B3B73;

  /* accents */
  --violet: #8B5CF6;
  --violet-hot: #A855F7;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --pink: #EC4899;

  --on-deep: #F3EEFF;
  --on-deep-dim: rgba(243, 238, 255, 0.72);
  --on-deep-faint: rgba(243, 238, 255, 0.48);
  --line-deep: rgba(255, 255, 255, 0.14);
  --line-light: rgba(27, 16, 57, 0.12);

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gut: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* ---------- type, tpnexplorer system ---------- */

.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

/* the italic second line, tpnexplorer's signature move.
   Fraunces italic has deep descenders (y, g, p). background-clip:text paints
   only inside the line box, so a tight line-height clips the tails. Give the
   clipped line room: looser line-height plus a little padding below. */
.display em {
  font-style: italic;
  font-weight: 600;
  display: block;
  line-height: 1.16;
  padding-bottom: 0.14em;
  background: linear-gradient(96deg, var(--cyan) 0%, var(--violet-hot) 52%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.on-light .display em {
  background: linear-gradient(96deg, var(--blue) 0%, var(--violet-hot) 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violet-hot);
  margin: 0 0 1.4rem;
}

.on-light .eyebrow { color: #6D28D9; }

/* body lede in Fraunces italic, same as the reference site's intro copy */
.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  max-width: 46ch;
}

.on-deep .lede { color: var(--on-deep-dim); }
.on-light .lede { color: var(--ink-soft); }

/* ---------- section canvases ---------- */

.on-deep {
  background: var(--deep);
  color: var(--on-deep);
}

.on-light {
  background: var(--light);
  color: var(--ink);
}

.on-light p { color: var(--ink-soft); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gut);
  color: var(--on-deep);
  transition: background 0.3s ease, padding 0.3s ease, color 0.3s ease;
}

.site-header.is-stuck {
  background: rgba(23, 11, 51, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-deep);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Pages whose first section is light: the header has no dark hero behind it
   at scroll 0, so give it its backdrop from the start or the white nav text
   disappears into the page. */
body.page-light-top .site-header {
  background: rgba(23, 11, 51, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-deep);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.wordmark__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet-hot));
  align-self: center;
}

.wordmark__mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.wordmark__sub {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-deep-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-deep);
  border-radius: 999px;
  padding: 0.3rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--on-deep-dim);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover { color: var(--on-deep); }

.nav__cta {
  background: linear-gradient(120deg, var(--violet), var(--blue));
  color: #fff !important;
  font-weight: 600;
}

.nav__cta:hover { filter: brightness(1.12); }

.nav__toggle { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: clamp(5.5rem, 11vh, 8rem) var(--gut) clamp(2rem, 5vh, 5rem);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 18%, rgba(139, 92, 246, 0.55) 0%, rgba(23, 11, 51, 0) 62%),
    radial-gradient(70% 60% at 6% 92%, rgba(34, 211, 238, 0.30) 0%, rgba(23, 11, 51, 0) 60%),
    linear-gradient(160deg, #2A1566 0%, #170B33 58%, #120926 100%);
}

.hero__media {
  position: absolute;
  z-index: -2;
  top: 0;
  right: -8%;
  width: 82%;
  height: 100%;
  overflow: hidden;
  /* fade the photo out to nothing so it blends into the hero gradient
     itself, rather than onto a flat panel that shows a vertical seam */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 26%, rgba(0, 0, 0, 0.75) 58%, #000 88%),
    linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 46%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 26%, rgba(0, 0, 0, 0.75) 58%, #000 88%),
    linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 46%);
  mask-composite: intersect;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  filter: saturate(1.15) brightness(1.02);
}

/* pushes the photo's warm fan light into the brand violet/blue rather than
   leaving it orange against the canvas */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(140deg, #3B82F6 0%, #8B5CF6 48%, #EC4899 100%);
  mix-blend-mode: color;
  opacity: 0.92;
}

/* keeps the headline side dark enough for the type to hold up */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(23, 11, 51, 0.72) 0%, rgba(23, 11, 51, 0.42) 45%, rgba(23, 11, 51, 0) 85%);
}

/* colour wash sitting over the photo so it reads violet, not grey */
/* slow drifting aurora, gives the canvas life without any gimmickry */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.aurora span:nth-child(1) {
  width: 46vw; height: 46vw; top: -12%; left: 46%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.95) 0%, rgba(139, 92, 246, 0) 70%);
  animation: float-a 26s ease-in-out infinite;
}

.aurora span:nth-child(2) {
  width: 38vw; height: 38vw; bottom: -14%; left: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.75) 0%, rgba(34, 211, 238, 0) 70%);
  animation: float-b 32s ease-in-out infinite;
}

.aurora span:nth-child(3) {
  width: 34vw; height: 34vw; top: 30%; right: -10%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.6) 0%, rgba(236, 72, 153, 0) 70%);
  animation: float-c 38s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6%, 8%, 0) scale(1.14); }
}

@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10%, -10%, 0) scale(1.1); }
}

@keyframes float-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-9%, -6%, 0) scale(1.18); }
}

/* spotlight that follows the cursor across the hero */
.hero__spot {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.30) 0%, rgba(96, 165, 250, 0) 66%);
  transition: opacity 0.5s ease;
}

.hero:hover .hero__spot { opacity: 1; }

.hero__glow {
  position: absolute;
  z-index: -1;
  inset: auto -10% -30% auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.4rem, min(7.6vw, 11.5vh), 8.5rem);
  max-width: 19ch;
}

.hero__title > span {
  display: block;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.75rem);
}

.hero__copy { max-width: 44ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: linear-gradient(120deg, var(--violet) 0%, var(--blue) 70%);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(139, 92, 246, 0.9);
}

.btn--solid:hover { filter: brightness(1.12); }

.on-deep .btn--ghost { border-color: var(--line-deep); color: var(--on-deep); }
.on-deep .btn--ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.12); }

.on-light .btn--ghost { border-color: rgba(27, 16, 57, 0.22); color: var(--ink); }
.on-light .btn--ghost:hover { border-color: var(--violet); background: rgba(139, 92, 246, 0.1); }

/* ---------- marquee strip ---------- */

.strip {
  padding: 1.05rem 0;
  overflow: hidden;
  background: linear-gradient(96deg, var(--blue) 0%, var(--violet-hot) 50%, var(--pink) 100%);
  color: #fff;
}

.strip__track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  width: max-content;
  animation: drift 38s linear infinite;
}

.strip__item {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.strip__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- asymmetric sections ---------- */

.intro {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) var(--gut);
}

.intro.on-light {
  background:
    radial-gradient(90% 80% at 92% 4%, rgba(139, 92, 246, 0.16) 0%, rgba(246, 243, 255, 0) 60%),
    radial-gradient(70% 70% at 2% 96%, rgba(34, 211, 238, 0.16) 0%, rgba(246, 243, 255, 0) 62%),
    var(--light);
}

.intro__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.intro__head { grid-column: 1 / span 6; }

.intro__title { font-size: clamp(2.2rem, 4.6vw, 4rem); }

.intro__body {
  grid-column: 8 / span 5;
  padding-top: clamp(0.5rem, 3vw, 2.6rem);
}

/* image overlapping the section boundary rather than sitting inside a band */
.intro__plate {
  grid-column: 1 / span 5;
  margin: clamp(2rem, 6vh, 4.5rem) 0 clamp(-7rem, -8vh, -4rem);
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 70px -30px rgba(27, 16, 57, 0.55);
}

.intro__plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.3) contrast(1.04);
}

.intro__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.34) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(236, 72, 153, 0.28) 100%);
  mix-blend-mode: screen;
}

.intro__plate figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 4rem 1.5rem 1.4rem;
  background: linear-gradient(0deg, rgba(23, 11, 51, 0.9), rgba(23, 11, 51, 0));
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}

/* ---------- stats ---------- */

/* stats and quote share one column so the quote sits directly under the
   cards, not below the tall image in the next grid row */
.intro__side {
  grid-column: 7 / span 6;
  margin-top: clamp(2rem, 6vh, 4.5rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: 0 18px 40px -28px rgba(27, 16, 57, 0.5);
}

.stat:nth-child(1) { border-top: 3px solid var(--blue); }
.stat:nth-child(2) { border-top: 3px solid var(--violet-hot); }
.stat:nth-child(3) { border-top: 3px solid var(--cyan); }
.stat:nth-child(4) { border-top: 3px solid var(--pink); }

.stat__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.stat:nth-child(1) .stat__num span { color: var(--blue); }
.stat:nth-child(2) .stat__num span { color: var(--violet-hot); }
.stat:nth-child(3) .stat__num span { color: #0891B2; }
.stat:nth-child(4) .stat__num span { color: var(--pink); }

.stat__label {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft) !important;
}

/* ---------- quote ---------- */

.quote {
  margin: clamp(1.6rem, 3.5vh, 2.6rem) 0 0;
  padding: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  border-top: 1px solid var(--line-light);
}

.quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.42rem);
  line-height: 1.55;
  margin: 0 0 1.1rem;
  color: var(--ink) !important;
}

.quote cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6D28D9;
}

/* ---------- signature moment: the build ladder ---------- */

.ladder {
  padding: clamp(5rem, 12vh, 9rem) var(--gut);
  background:
    radial-gradient(70% 60% at 88% 8%, rgba(168, 85, 247, 0.4) 0%, rgba(23, 11, 51, 0) 60%),
    radial-gradient(60% 60% at 4% 88%, rgba(34, 211, 238, 0.26) 0%, rgba(23, 11, 51, 0) 62%),
    linear-gradient(180deg, #1F1049 0%, #170B33 60%, #1B0D3D 100%);
}

.ladder__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.ladder__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.ladder__head h2 {
  grid-column: 1 / span 7;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.ladder__head p {
  grid-column: 9 / span 4;
  margin: 0;
  color: var(--on-deep-dim);
  font-size: 0.98rem;
}

.ladder__rail {
  display: flex;
  gap: 0.4rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-deep);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}

.ladder__rail::-webkit-scrollbar { display: none; }

.tier-tab {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--on-deep-faint);
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.25s ease;
}

.tier-tab:hover { color: var(--on-deep); }

.tier-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--blue));
  box-shadow: 0 10px 26px -14px rgba(139, 92, 246, 0.95);
}

.tier {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.tier__name { grid-column: 1 / span 5; }

.tier__name h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

.tier__price {
  font-size: 1rem;
  color: var(--on-deep-dim);
  margin: 0 0 1.6rem;
}

.tier__price strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  background: linear-gradient(96deg, var(--cyan), var(--violet-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier__specs {
  grid-column: 7 / span 6;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tier__specs li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-deep);
  font-size: 0.94rem;
}

.tier__specs li:first-child { border-top: 1px solid var(--line-deep); }

.tier__specs .k {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--on-deep-faint);
}

.tier__specs .v { color: var(--on-deep); }

.meter {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 0.55rem;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet-hot) 60%, var(--pink) 100%);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(3.5rem, 9vh, 5.5rem) var(--gut) 2rem;
  background:
    radial-gradient(80% 90% at 10% 0%, rgba(59, 130, 246, 0.35) 0%, rgba(23, 11, 51, 0) 60%),
    linear-gradient(180deg, #1B0D3D 0%, #120926 100%);
  color: var(--on-deep);
}

.site-footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.site-footer__lead .display {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: 1rem;
}

.site-footer__blurb {
  color: var(--on-deep-dim);
  max-width: 38ch;
  margin: 0;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 0.4rem;
}

.site-footer__cols h3 {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violet-hot);
  margin: 0 0 1rem;
}

.site-footer__cols a {
  display: block;
  text-decoration: none;
  color: var(--on-deep-dim);
  font-size: 0.92rem;
  padding: 0.32rem 0;
  transition: color 0.2s ease;
}

.site-footer__cols a:hover { color: var(--on-deep); }

.site-footer__base {
  max-width: 1500px;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-deep);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.site-footer__base p {
  margin: 0;
  color: var(--on-deep-faint);
  font-size: 0.82rem;
}

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--violet);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 10px 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.skip:focus { left: 0; }

.nav a[aria-current="page"] {
  color: var(--on-deep);
  background: rgba(255, 255, 255, 0.09);
}

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(8rem, 20vh, 12rem) var(--gut) clamp(3.5rem, 9vh, 6rem);
  background:
    radial-gradient(80% 70% at 82% 10%, rgba(139, 92, 246, 0.5) 0%, rgba(23, 11, 51, 0) 62%),
    radial-gradient(60% 60% at 4% 92%, rgba(34, 211, 238, 0.26) 0%, rgba(23, 11, 51, 0) 60%),
    linear-gradient(160deg, #2A1566 0%, #170B33 62%, #150A2E 100%);
}

.page-hero__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.page-hero__title {
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  max-width: 20ch;
  margin-bottom: 1.6rem;
}

/* ---------- build cards ---------- */

.cards {
  padding: clamp(4rem, 10vh, 7rem) var(--gut);
}

.cards__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch; /* equal height cards, CTA pinned to the bottom */
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: 0 24px 50px -34px rgba(27, 16, 57, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -34px rgba(27, 16, 57, 0.6);
}

.card:nth-child(1) { border-top: 3px solid var(--blue); }
.card:nth-child(2) { border-top: 3px solid var(--violet-hot); }
.card:nth-child(3) { border-top: 3px solid var(--cyan); }
.card:nth-child(4) { border-top: 3px solid var(--pink); }

.card__head { display: flex; flex-direction: column; gap: 0.4rem; }

.card__name {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  margin: 0;
}

.card__price { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

.card__price strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card__for {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6D28D9 !important;
}

.card__blurb { margin: 0; font-size: 0.94rem; }

.card__specs {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.card__specs li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-light);
}

.card__specs .k {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.card__specs .v { font-size: 0.9rem; color: var(--ink); }

.card__cta { margin: auto 0 0; padding-top: 0.5rem; }

/* ---------- full width band ---------- */

.band {
  padding: clamp(4rem, 11vh, 7.5rem) var(--gut);
  background:
    radial-gradient(70% 70% at 86% 10%, rgba(168, 85, 247, 0.38) 0%, rgba(23, 11, 51, 0) 62%),
    radial-gradient(60% 60% at 4% 90%, rgba(34, 211, 238, 0.24) 0%, rgba(23, 11, 51, 0) 62%),
    linear-gradient(180deg, #1F1049 0%, #170B33 100%);
}

.band__inner { max-width: 1100px; margin: 0 auto; }

.band__inner .display { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 1.8rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }

.ticks li {
  position: relative;
  padding-left: 2rem;
  color: var(--on-deep-dim);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet-hot));
}

/* ---------- chapters ---------- */

.chapters { padding: clamp(4rem, 10vh, 7rem) var(--gut); }

.chapters__inner { max-width: 1100px; margin: 0 auto; }

.chapters__head { margin-bottom: clamp(2rem, 5vh, 3rem); }

.chapters__head .display { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.6rem; }

.chapters__list { list-style: none; margin: 0; padding: 0; }

.chapter {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-light);
}

.chapter:last-child { border-bottom: 1px solid var(--line-light); }

.chapter__num {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(140deg, var(--blue), var(--violet-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chapter h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.chapter p { margin: 0; font-size: 0.95rem; }

/* ---------- forms ---------- */

.form-section { padding: clamp(4rem, 10vh, 7rem) var(--gut); }

.form-section__grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.form-section__aside .display { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1.2rem; }

.steps { margin: 0 0 2rem; padding-left: 1.2rem; display: grid; gap: 0.9rem; }
.steps li { color: var(--ink-soft); }
.steps strong { color: var(--ink); }

.details { margin: 0; }
.details dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6D28D9;
  margin-top: 1.5rem;
}
.details dd { margin: 0.4rem 0 0; color: var(--ink-soft); }

.form {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 24px 50px -34px rgba(27, 16, 57, 0.5);
}

.form--narrow { max-width: 26rem; }

.field { margin-bottom: 1.25rem; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.7; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--light);
  border: 1px solid rgba(27, 16, 57, 0.18);
  border-radius: 9px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; min-height: 7rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #DC2626; }

.field__error { margin: 0.45rem 0 0; font-size: 0.85rem; color: #B91C1C !important; }

.form__note { margin: 1.1rem 0 0; font-size: 0.84rem; color: var(--ink-soft) !important; }

.notice {
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}

.notice p { margin: 0; }

.notice--ok {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(8, 145, 178, 0.35);
}

.notice--ok p { color: #0E7490 !important; font-weight: 500; }

.notice--bad {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.32);
}

.notice--bad p { color: #B91C1C !important; font-weight: 500; }

.btn--small { padding: 0.55rem 1.1rem; font-size: 0.84rem; }

/* ---------- live configurator ---------- */

.configurator { padding: clamp(3rem, 7vh, 5rem) var(--gut) clamp(4rem, 10vh, 7rem); }

.configurator__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.configurator__parts {
  display: grid;
  gap: 1rem;
}

.part {
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 1.2rem 1.3rem 1.4rem;
  margin: 0;
  background: #fff;
  box-shadow: 0 18px 40px -34px rgba(27, 16, 57, 0.5);
}

.part legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0;
  margin-bottom: 1rem;
}

.part__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  flex: none;
}

.part__icon svg { width: 20px; height: 20px; }

.part__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.part__chosen {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.part__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.6rem;
}

.opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-light);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.opt:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-1px); }

.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt__body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }

.opt__name { font-size: 0.92rem; font-weight: 500; color: var(--ink); }

.opt__note { font-size: 0.78rem; color: var(--ink-soft); }

.opt__price {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.opt:has(input:checked) {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: inset 0 0 0 1px var(--violet);
}

.opt:has(input:focus-visible) {
  outline: 3px solid rgba(139, 92, 246, 0.35);
  outline-offset: 2px;
}

/* sticky summary rail */
.configurator__summary { position: sticky; top: 5.5rem; }

.summary {
  background: linear-gradient(180deg, #1F1049 0%, #170B33 100%);
  color: var(--on-deep);
  border-radius: 16px;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: 0 30px 60px -34px rgba(27, 16, 57, 0.8);
}

.summary .eyebrow { color: var(--cyan); }

.summary__price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line-deep);
}

.summary__total {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.summary__vat { font-size: 0.8rem; color: var(--on-deep-faint); }

.summary__balance { padding: 1.3rem 0; border-bottom: 1px solid var(--line-deep); }

.summary__balance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--on-deep-faint);
  margin-bottom: 0.7rem;
}

.balance-verdict {
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
}

.balance-verdict--good { color: #052e2b; background: var(--cyan); }
.balance-verdict--warn { color: #3b0764; background: #FBBF24; }

.balance-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  gap: 2px;
}

.balance-seg { transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); min-width: 2px; }

.summary__balance-note {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--on-deep-dim);
}

.summary__lines { list-style: none; margin: 1.3rem 0; padding: 0; }

.summary__lines li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.5rem 0.8rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-deep);
  font-size: 0.86rem;
}

.summary__lines .k {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-deep-faint);
}

.summary__lines .v { color: var(--on-deep); }
.summary__lines .pr { color: var(--on-deep-dim); font-variant-numeric: tabular-nums; }

.summary__prompt { font-size: 0.9rem; color: var(--on-deep-dim); margin: 0 0 1.2rem; }

.summary__form .field label { color: var(--on-deep-faint); }

.summary__form .field input {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-deep);
  color: var(--on-deep);
}

.summary__form .field input::placeholder { color: rgba(243, 238, 255, 0.4); }

.summary__form .field input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.opt-tag { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.6; }

.btn--block { width: 100%; justify-content: center; }

.summary__form .form__note { color: var(--on-deep-faint) !important; }

.form-section__grid--single { display: block; max-width: 640px; }
.form-section__grid--single .notice { margin-bottom: 1.5rem; }

/* seed chips */
.seed-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.seed-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line-deep);
  border-radius: 12px;
  text-decoration: none;
  color: var(--on-deep);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.seed-chip:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

.seed-chip span:first-child { font-weight: 600; }
.seed-chip__price { font-size: 0.78rem; color: var(--on-deep-faint); }

/* ---------- legal and admin ---------- */

.legal { padding: clamp(7rem, 16vh, 10rem) var(--gut) clamp(4rem, 10vh, 6rem); }

.legal__inner { max-width: 760px; margin: 0 auto; }

.legal__title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1.2rem; }

.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  margin: 2.4rem 0 0.6rem;
  color: var(--ink);
}

.legal__note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #6D28D9;
  text-decoration: none;
}

.back::before { content: "\2190\00a0"; }

.back:hover { text-decoration: underline; }

/* ---------- admin dashboard ---------- */

.dash { padding: clamp(7rem, 15vh, 9.5rem) var(--gut) clamp(4rem, 10vh, 6rem); }

.dash__inner { max-width: 1100px; margin: 0 auto; }

.dash__login { max-width: 26rem; }

.dash__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.dash__title { font-size: clamp(2rem, 4vw, 3rem); margin: 0.3rem 0 0; }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 40px -34px rgba(27, 16, 57, 0.5);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.tile--accent-1::before { background: linear-gradient(180deg, var(--violet), var(--blue)); }
.tile--accent-2::before { background: var(--blue); }
.tile--accent-3::before { background: var(--cyan); }
.tile--accent-4::before { background: var(--pink); }

.tile__num {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tile__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.dash__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-light);
}

.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip:hover { border-color: var(--violet); color: var(--ink); }

.chip--on {
  background: linear-gradient(120deg, var(--violet), var(--blue));
  border-color: transparent;
  color: #fff;
}

.chip__n {
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.dash__empty {
  padding: 3rem;
  text-align: center;
  border: 1px dashed var(--line-light);
  border-radius: 14px;
  color: var(--ink-soft);
}

.dash__list { display: grid; gap: 1rem; }

.enq {
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--violet-hot);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}

.enq--done { border-left-color: rgba(27, 16, 57, 0.18); opacity: 0.66; }

.enq__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.enq__who { display: flex; flex-direction: column; gap: 0.35rem; }

.enq__head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
}

.enq__meta { margin: 0; font-size: 0.82rem; color: var(--ink-soft) !important; }

.enq__build {
  margin-top: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 10px;
  overflow: hidden;
}

.enq__build-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.9rem;
  background: rgba(139, 92, 246, 0.1);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6D28D9;
}

.enq__build-head strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.enq__build ul { list-style: none; margin: 0; padding: 0.4rem 0.9rem 0.7rem; }

.enq__build li {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.enq__build li:last-child { border-bottom: 0; }

.enq__build li span {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.enq__build li em { font-style: normal; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.dash__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dash__sub { margin: 0.6rem 0 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- content editor ---------- */

.content-groups { display: grid; gap: 1rem; }

.cgroup {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 18px 40px -34px rgba(27, 16, 57, 0.5);
}

.cgroup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cgroup__head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
}

.cgroup__read {
  display: grid;
  grid-template-columns: minmax(0, 14rem) 1fr;
  gap: 0.55rem 1.5rem;
  margin: 1.2rem 0 0;
}

.cgroup__read dt {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

.cgroup__read dd { margin: 0; color: var(--ink); }

.cgroup__form { display: none; margin-top: 1.3rem; }

/* the Edit button swaps the read view for the form */
.cgroup--editing .cgroup__read { display: none; }
.cgroup--editing .cgroup__form { display: block; }
.cgroup--editing .cgroup__edit { display: none; }

.cgroup__actions { display: flex; gap: 0.6rem; margin-top: 0.5rem; }

@media (max-width: 620px) {
  .cgroup__read { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .cgroup__read dd { margin-bottom: 0.7rem; }
}

.tag {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.6rem;
  color: #fff;
  background: var(--ink-soft);
}

.tag--build { background: var(--violet); }
.tag--contact { background: var(--blue); }
.tag--guide { background: #0891B2; }
.tag--hire { background: var(--pink); }

.enq__fields {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.enq__fields dt {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

.enq__fields dd { margin: 0; color: var(--ink); }

.enq__message {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--light-2);
  border-radius: 9px;
  font-size: 0.94rem;
}

.enq__danger { margin-top: 1rem; }

.enq__danger summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.enq__danger form {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.enq__danger label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

.enq__danger input { width: auto; flex: 1 1 10rem; }

/* ---------- hero arrival choreography ---------- */

.lift {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
}

body.is-ready .lift {
  animation: lift-in 1s cubic-bezier(0.16, 0.84, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes lift-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* the photo settles rather than snapping in */
.hero__media img {
  transform: scale(1.14);
  opacity: 0;
}

body.is-ready .hero__media img {
  animation: settle 1.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.1s forwards;
}

@keyframes settle {
  to { transform: scale(1); opacity: 1; }
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lift { opacity: 1; transform: none; filter: none; }
  body.is-ready .lift { animation: none; }
  .hero__media img { opacity: 1; transform: none; }
  body.is-ready .hero__media img { animation: none; }
  .aurora span { animation: none; }
  .hero__spot { display: none; }
  .strip__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Short desktop viewports (laptop with browser chrome). Tested 660 to 900. */
@media (min-width: 1001px) and (max-height: 720px) {
  .hero { padding-top: 5rem; }
  .hero__title { font-size: min(7.6vw, 10vh); }
  .hero__foot { margin-top: 1.1rem; }
  .hero__copy .lede { font-size: 1rem; max-width: 42ch; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .intro__head,
  .intro__body,
  .intro__plate,
  .intro__side,
  .ladder__head h2,
  .ladder__head p,
  .tier__name,
  .tier__specs {
    grid-column: 1 / -1;
  }

  .intro__plate {
    margin-bottom: 0;
    aspect-ratio: 16 / 10;
  }

  .hero__media {
    width: 100%;
    right: 0;
    opacity: 0.6;
  }

  .hero__media::after {
    background:
      linear-gradient(0deg, var(--deep) 8%, rgba(23, 11, 51, 0.3) 66%),
      linear-gradient(90deg, rgba(23, 11, 51, 0.7), rgba(23, 11, 51, 0.15));
  }
}

/* the nav pill gets tight with seven items before the mobile breakpoint */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav { gap: 0.15rem; }
  .nav a { padding: 0.5rem 0.7rem; font-size: 0.82rem; }
}

@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enq__build li { grid-template-columns: 1fr; gap: 0.1rem; }
  .enq__build li span { margin-top: 0.2rem; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav__toggle {
    display: inline-flex;
    font-family: var(--body);
    font-size: 0.86rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-deep);
    border-radius: 999px;
    color: var(--on-deep);
    padding: 0.55rem 1.1rem;
    cursor: pointer;
  }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: var(--gut);
    right: var(--gut);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(23, 11, 51, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-deep);
    border-radius: 18px;
    padding: 0.5rem;
  }
  .site-header.is-open .nav a { padding: 0.85rem 1rem; }
  .stats { grid-template-columns: 1fr; }
  .tier__specs li { grid-template-columns: 1fr; gap: 0.3rem; }
  .ladder__rail { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .enq__fields { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .enq__fields dd { margin-bottom: 0.6rem; }
  .chapter { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (max-width: 1000px) {
  .configurator__grid { grid-template-columns: 1fr; }
  .configurator__summary { position: static; order: -1; }
}

@media (max-width: 900px) {
  .form-section__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: 1.5rem; }
}
