/* ===========================================================
   Wedding website studio — sales site
   Colours & fonts live in :root so the whole look can change here.
   =========================================================== */

:root {
  /* Light cream + navy, with a whisper of champagne */
  --ivory: #faf7f0;
  --ivory-2: #f2ede2;
  --line: #e2dacb;
  --ink: #16243b;
  --ink-2: #4b5669;
  --ink-soft: #8a93a3;
  --gold: #a88a5c;
  --gold-light: #d8c6a2;
  --navy: #1c2d4a;
  --navy-dark: #111e33;
  --white: #fffdf8;
  --dark: #14223a;
  --on-dark: #c4ccd9;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max: 1160px;
  --radius: 6px;
  --shadow: 0 24px 60px -28px rgba(20, 34, 58, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 2px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font: 500 0.78rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.brand em { color: var(--gold); font-style: italic; }
.main-nav ul { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { color: var(--ink-2); font-size: 0.93rem; }
.main-nav a:hover { color: var(--navy); }
.main-nav .btn { padding: 0.7rem 1.3rem; color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.4rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; color: var(--ink-2); font-size: 0.92rem; }
.hero-proof span::before { content: "✓"; color: var(--gold); margin-right: 0.45rem; font-weight: 600; }

/* Device mockups */
.devices { position: relative; padding-bottom: 8%; }
.laptop {
  background: #14223a;
  border-radius: 14px 14px 4px 4px;
  padding: 2.2% 2.2% 3%;
  box-shadow: var(--shadow);
}
.laptop img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.laptop-base {
  height: 14px;
  margin: 0 -6%;
  background: linear-gradient(#e3ddd2, #bfb7aa);
  border-radius: 0 0 16px 16px;
}
.phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 27%;
  background: #14223a;
  border-radius: 22px;
  padding: 2.4% 1.6%;
  box-shadow: var(--shadow);
}
.phone img { border-radius: 14px; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; width: 100%; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--ivory-2); }
.section-head { margin-bottom: 3rem; }

/* Price punch strip */
.punch {
  background: var(--dark);
  color: var(--ivory);
  padding: 2.4rem 0;
}
.punch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.punch strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}
.punch-grid > div > span { font-size: 0.92rem; color: var(--on-dark); }

/* Examples gallery */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.example {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.example:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.example .shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ivory-2); }
.example .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.example .cap { padding: 1rem 1.2rem 1.2rem; }
.example .cap h4 { font-size: 1.3rem; margin: 0 0 0.2rem; }
.example .cap p { margin: 0; color: var(--ink-2); font-size: 0.93rem; }
.examples-cta { margin-top: 2.4rem; text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 20, 34, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 100%); border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ivory);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.feature .ic { width: 30px; height: 30px; margin-bottom: 0.9rem; color: var(--gold); }
.feature .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.feature h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 0.3rem; }
.feature p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* Packages */
.packages {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 1.6rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.package {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
}
.package h3 { margin-bottom: 0.2rem; }
.package .tag { color: var(--ink-2); margin-bottom: 1.4rem; }
.price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.3rem; }
.price .amount { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 600; line-height: 1; }
.price .once { color: var(--ink-soft); font-size: 0.9rem; }
.price-note { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.checklist { margin-bottom: 2rem; flex: 1; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; font-size: 0.97rem; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.checklist li strong { font-weight: 600; }

.package-premium {
  background: var(--dark);
  color: var(--ivory);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}
.package-premium h3, .package-premium .amount { color: var(--ivory); }
.package-premium .tag, .package-premium .price-note, .package-premium .once { color: var(--on-dark); }
.package-premium .checklist li::before { color: var(--gold-light); }
.ribbon {
  position: absolute;
  top: -14px;
  left: 2.1rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
}
.addons { max-width: 1000px; margin: 1.8rem auto 0; text-align: center; color: var(--ink-2); font-size: 0.93rem; }

/* Compare table */
.compare-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare th, .compare td { padding: 0.95rem 1.1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--ivory-2); font-weight: 600; }
.compare thead th.us { background: var(--navy); color: var(--white); }
.compare td.us { background: rgba(28, 45, 74, 0.05); font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: #2f5d4a; font-weight: 700; }
.no { color: #b0574f; }

/* Bespoke spotlight */
.spotlight {
  background: var(--dark);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.spotlight h2, .spotlight h3 { color: var(--ivory); }
.spotlight .lead { color: var(--on-dark); }
.sessions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  counter-reset: s;
}
.session {
  border: 1px solid rgba(216, 191, 145, 0.3);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
}
.session .num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.session h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--ivory); margin: 0 0 0.4rem; }
.session p { font-size: 0.92rem; color: var(--on-dark); margin: 0; }
.spotlight-cta { margin-top: 2.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { text-align: center; padding: 0 0.5rem; }
.step .dot {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}
.step h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin-bottom: 0.3rem; }
.step p { color: var(--ink-2); font-size: 0.93rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.8rem 0 0; color: var(--ink-2); }

/* Final CTA */
.final {
  text-align: center;
  background: radial-gradient(ellipse at top, var(--white) 0%, var(--ivory-2) 70%);
}
.final-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.8rem; }
.contact-line { margin-top: 1.6rem; color: var(--ink-2); font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  padding: 2.4rem 1.25rem;
  font-size: 0.9rem;
}
.site-footer .brand { color: var(--ivory); display: inline-block; margin-bottom: 0.4rem; }
.site-footer a { color: var(--gold-light); }

/* ===========================================================
   Order / questionnaire form
   =========================================================== */
.form-hero { padding: 3.5rem 0 1rem; }
.order-form { max-width: 820px; margin: 0 auto; }
.pkg-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pkg-option { position: relative; }
.pkg-option input { position: absolute; opacity: 0; }
.pkg-option label {
  display: block;
  cursor: pointer;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pkg-option label strong { display: block; font-family: var(--font-heading); font-size: 1.45rem; }
.pkg-option label > span { color: var(--ink-2); font-size: 0.9rem; }
.pkg-option input:checked + label { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(28, 45, 74, 0.1); }
.pkg-option input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; }

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.8rem 1.6rem 0.6rem;
  margin: 0 0 1.6rem;
}
legend {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0 0.5rem;
}
.fs-note { color: var(--ink-2); font-size: 0.93rem; margin-top: -0.3rem; }
.bespoke-only { display: none; }
.is-bespoke .bespoke-only { display: block; }
fieldset.bespoke-only { border-color: var(--gold-light); }
.bespoke-badge {
  display: inline-block;
  font: 600 0.7rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold-light);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field > label, .field > .label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field .hint { display: block; color: var(--ink-soft); font-size: 0.84rem; font-weight: 400; margin-top: 0.1rem; }
.req { color: var(--navy); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input[type="url"], select, textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(169, 131, 76, 0.15); }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.2rem; }
.checks label { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.checks input { margin-top: 0.3rem; accent-color: var(--navy); }

.swatches { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--ink-2);
  padding: 0.6rem;
  border: 2px solid transparent;
  border-radius: 12px;
}
.swatch .chips { display: flex; }
.swatch .chips i { width: 22px; height: 38px; display: block; }
.swatch .chips i:first-child { border-radius: 8px 0 0 8px; }
.swatch .chips i:last-child { border-radius: 0 8px 8px 0; }
.swatch input:checked + label { border-color: var(--navy); background: var(--white); color: var(--ink); }
.swatch input:focus-visible + label { outline: 2px solid var(--navy); }

.form-submit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}
.form-submit p { color: var(--ink-2); font-size: 0.93rem; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.ok { color: #2f5d4a; }
.form-status.err { color: #b0574f; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .devices { max-width: 620px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .sessions, .steps { grid-template-columns: repeat(2, 1fr); }
  .examples { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.6rem 1.25rem 1.2rem; align-items: stretch; }
  .main-nav li a { display: block; padding: 0.75rem 0; }
  .main-nav li a.btn { margin-top: 0.5rem; }
  .packages, .pkg-switch, .row, .checks { grid-template-columns: 1fr; }
  .punch-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .examples { grid-template-columns: 1fr; }
  .phone { width: 30%; right: 0; }
  fieldset { padding: 1.4rem 1.1rem 0.4rem; }
}

@media (max-width: 520px) {
  .features, .sessions, .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn, .final-ctas .btn, .spotlight-cta .btn { width: 100%; }
}

/* ---------- Questionnaire: repeating rows ---------- */
.repeater { margin-bottom: 1.2rem; }
.repeater > .label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
.rep-head, .rep-row {
  display: grid;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
.rep-head { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem; }
.rep-3 { grid-template-columns: 150px 1.3fr 1fr 36px; }
.rep-head.rep-3 { grid-template-columns: 150px 1.3fr 1fr 36px; }
.rep-2 { grid-template-columns: 1fr 1fr 36px; }
.rep-card {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: 1rem 3rem 1rem 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
.rep-card .row { gap: 0.6rem; }
.rep-card .row-3 { grid-template-columns: 1fr 1fr 1fr; }
.rep-card textarea { min-height: 70px; }
.rep-card input[type="text"], .rep-card input[type="email"], .rep-card input[type="tel"], .rep-card textarea { background: var(--white); }
.rep-card .rep-remove { position: absolute; top: 0.7rem; right: 0.6rem; }
.rep-remove {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.rep-remove:hover { color: var(--navy); border-color: var(--navy); }
.rep-add {
  background: none;
  border: 1px dashed var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font: 500 0.9rem var(--font-body);
  cursor: pointer;
}
.rep-add:hover { background: var(--white); }
.rep-add[hidden] { display: none; }

/* Lettering choice */
.font-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.font-opt { position: relative; }
.font-opt input { position: absolute; opacity: 0; }
.font-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1rem 0.6rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.3;
}
.font-opt small { font: 400 0.8rem var(--font-body); color: var(--ink-soft); }
.font-opt input:checked + label { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(28, 45, 74, 0.1); }
.font-opt input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Package-specific text */
.bespoke-only-inline { display: none; }
.is-bespoke .bespoke-only-inline { display: inline; }
p.bespoke-only-inline { display: none; }
.is-bespoke p.bespoke-only-inline { display: block; }
.is-bespoke .essential-only { display: none; }

@media (max-width: 760px) {
  .rep-head.rep-3 { display: none; }
  .rep-3 { grid-template-columns: 1fr 36px; }
  .rep-3 > input[data-key="title"] { grid-column: 1 / 2; }
  .rep-3 > input[data-key="time"] { grid-column: 1 / 2; }
  .rep-3 > input[data-key="note"] { grid-column: 1 / 2; }
  .rep-3 > .rep-remove { grid-column: 2; grid-row: 1; }
  .rep-3 { padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
  .rep-2 { grid-template-columns: 1fr 36px; }
  .rep-2 > .rep-remove { grid-column: 2; grid-row: 1; }
  .rep-card .row-3, .font-options { grid-template-columns: 1fr; }
}

/* Layout & opening choices */
.font-options.choice-2 { grid-template-columns: repeat(2, 1fr); }
.font-opt label b { font: 600 0.98rem var(--font-body); color: var(--ink); margin-top: 0.5rem; }
.font-opt label small { line-height: 1.45; max-width: 26ch; }
.lay { display: grid; gap: 4px; width: 92px; height: 64px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); }
.lay i { display: block; background: var(--gold-light); border-radius: 2px; }
.lay-multi { grid-template-columns: repeat(3, 1fr); }
.lay-multi i { height: 100%; }
.lay-multi i:first-child { background: var(--navy); }
.lay-single { grid-template-rows: 1fr; position: relative; overflow: hidden; }
.lay-single i { background: repeating-linear-gradient(180deg, var(--navy) 0 10px, var(--gold-light) 10px 14px, var(--ivory-2) 14px 26px); }
.op { display: grid; place-items: center; width: 92px; height: 64px; }
.op-env { position: relative; }
.op-env i { width: 78px; height: 52px; background: var(--navy); border-radius: 3px; clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.op-env::before { content: ""; position: absolute; top: 6px; width: 78px; height: 30px; background: #2c4068; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.op-env em { position: absolute; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); }
.op-mono { font-family: var(--font-heading); font-size: 2rem; color: var(--navy); }
.op-mono span { color: var(--gold); font-style: italic; font-size: 0.7em; margin: 0 0.1em; }
.op-none { color: var(--ink-soft); font-size: 1.6rem; }
@media (max-width: 760px) { .font-options.choice-2 { grid-template-columns: 1fr; } }

/* Style options on the sales page */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.option { display: flex; flex-direction: column; }
.option-img { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ivory-2); margin-bottom: 1.2rem; }
.option-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.option:hover .option-img img { transform: scale(1.03); }
.option h3 { margin-bottom: 0.3rem; }
.option p { color: var(--ink-2); font-size: 0.96rem; flex: 1; }
.option-link { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); align-self: flex-start; padding-bottom: 2px; }
.options-more { text-align: center; color: var(--ink-2); margin-top: 2.4rem; }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
/* Hairline between two plain sections in a row */
.section:not(.section-alt):not(.spotlight):not(.final) + .section:not(.section-alt):not(.spotlight):not(.final) { border-top: 1px solid var(--line); }
.op-mono { display: flex; align-items: center; justify-content: center; }
.fs-note a { color: var(--navy); border-bottom: 1px solid var(--gold); }

/* More choice grids */
.font-options.choice-4 { grid-template-columns: repeat(4, 1fr); }
.font-options.choice-3 { grid-template-columns: repeat(3, 1fr); }
.font-options.choice-4 .font-opt label { font-size: 1.2rem; padding: 0.9rem 0.4rem; }

/* Opening previews */
.op-doors, .op-curtain { display: flex; gap: 2px; }
.op-doors i { width: 30px; height: 52px; background: var(--navy); border: 1px solid var(--gold-light); box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px rgba(216, 198, 162, 0.6); }
.op-curtain i { width: 32px; height: 52px; background: repeating-linear-gradient(90deg, #111e33 0 3px, #3d5276 3px 6px); }
.op-curtain i:first-child { border-radius: 0 0 0 10px; }
.op-curtain i:last-child { border-radius: 0 0 10px 0; }
.op-card i { width: 38px; height: 52px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font: italic 600 1rem var(--font-heading); transform: perspective(120px) rotateY(-28deg); box-shadow: 3px 3px 0 var(--gold-light); }

/* Photo amount previews */
.ph { display: grid; gap: 3px; width: 92px; height: 64px; }
.ph i { background: var(--gold-light); border-radius: 2px; }
.ph-one { grid-template-columns: 1fr; padding: 6px 18px; }
.ph-few { grid-template-columns: repeat(2, 1fr); padding: 4px 16px; }
.ph-lots { grid-template-columns: repeat(3, 1fr); padding: 2px 8px; }
.ph i:nth-child(odd) { background: #c9b48a; }

/* Home photo style previews */
.hs { position: relative; display: block; width: 92px; height: 64px; border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); overflow: hidden; }
.hs em { position: absolute; left: 50%; top: 10px; width: 46px; height: 6px; margin-left: -23px; background: var(--navy); border-radius: 2px; }
.hs-framed i { position: absolute; left: 24px; right: 24px; top: 22px; bottom: 8px; background: #c9b48a; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, 0.15); }
.hs-full { background: linear-gradient(160deg, #6f7f99, #c9b48a); }
.hs-full em { top: 28px; background: #fff; }
.hs-none em { top: 24px; width: 60px; margin-left: -30px; height: 8px; }
.hs-none::after { content: ""; position: absolute; left: 50%; top: 38px; width: 34px; margin-left: -17px; height: 3px; background: var(--gold-light); }

@media (max-width: 760px) {
  .font-options.choice-4 { grid-template-columns: repeat(2, 1fr); }
  .font-options.choice-3 { grid-template-columns: 1fr; }
}
.palette-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.6rem; }
.palette-row span { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line); }
.options-more { margin-top: 1.2rem; font-size: 0.95rem; }

/* Package upsell */
.upgrade-note { max-width: 1000px; margin: 1.8rem auto 0; padding: 1.2rem 1.5rem; border: 1px solid var(--gold-light); border-left: 3px solid var(--gold); background: var(--white); border-radius: var(--radius); }
.upgrade-note p { margin: 0; color: var(--ink-2); }
.upgrade-note strong { color: var(--navy); }
.package-premium .price-note strong { color: var(--gold-light); }
.pkg-compare td:nth-child(2), .pkg-compare td:nth-child(3) { font-size: 0.92rem; }
.th-price { font: 400 0.85rem var(--font-body); opacity: 0.8; }

/* Bespoke-only options while Essential is selected */
.is-locked { position: relative; }
.is-locked label, label.is-locked { opacity: 0.55; cursor: pointer; }
.font-opt.is-locked label { background: var(--ivory); border-style: dashed; }
.font-opt label .bespoke-badge, .checks .bespoke-badge { margin-left: 0.3rem; font-size: 0.6rem; padding: 0.25rem 0.45rem; }
.upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0.8rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.upsell strong { color: var(--gold-light); }
.upsell span { flex: 1 1 260px; }
.upsell-btn { background: var(--gold); color: var(--dark); border: 0; border-radius: 2px; padding: 0.55rem 1rem; font: 600 0.75rem var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.upsell-btn:hover { background: var(--gold-light); }

/* Own domain section */
.domain-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.domain-points li { position: relative; padding-left: 1.6rem; margin-bottom: 0.9rem; color: var(--ink-2); }
.domain-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.domain-points strong { color: var(--navy); font-weight: 600; }
.browsers { display: grid; gap: 1.6rem; }
.browser { margin: 0; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px -18px rgba(20, 34, 58, 0.35);
}
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--ivory-2);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.url svg { width: 15px; height: 15px; flex: none; fill: none; stroke: #2f5d4a; stroke-width: 1.8; stroke-linecap: round; }
.browser figcaption { margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-left: 0.3rem; }
.browser-meh { opacity: 0.6; filter: grayscale(1); }
.browser-meh .url { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(176, 87, 79, 0.6); display: block; }
.browser-yes .browser-bar { border-color: var(--gold-light); border-radius: 10px 10px 0 0; box-shadow: none; }
.browser-yes .url { background: var(--white); border: 1px solid var(--gold-light); color: var(--navy); font-size: 1.02rem; }
.browser-yes .url b { font-weight: 600; letter-spacing: 0.01em; }
.browser-body {
  border: 1px solid var(--gold-light);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 2.4rem 1rem 2.2rem;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--white), var(--ivory-2));
  box-shadow: var(--shadow);
}
.bb-names { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--navy); margin: 0; line-height: 1.1; }
.bb-names span { color: var(--gold); font-style: italic; }
.bb-date { margin: 0.4rem 0 0; color: var(--ink-2); font-size: 0.9rem; letter-spacing: 0.06em; }
@media (max-width: 900px) { .domain-grid { grid-template-columns: 1fr; gap: 2.4rem; } }
.domain-grid > *, .browsers, .browser, .browser-bar { min-width: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal-wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 0.2rem; }
.legal-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-lead { font-size: 1.08rem; color: var(--ink-2); }
.legal section { padding-top: 1.6rem; border-top: 1px solid var(--line); margin-top: 1.8rem; }
.legal h2 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: none; padding: 0; margin: 0 0 1em; }
.legal li { position: relative; padding-left: 1.3rem; margin-bottom: 0.55rem; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.legal a { border-bottom: 1px solid var(--gold-light); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9rem; }
.legal-toc a { border: 0; }
mark.fill { background: #fff1c7; color: var(--ink); padding: 0.05em 0.3em; border-radius: 3px; }
.footer-links { margin: 0.4rem 0 0; font-size: 0.85rem; }
.consent { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }
.consent a { color: var(--navy); border-bottom: 1px solid var(--gold-light); }
.footer-tagline { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--gold-light); margin: 0 0 0.6rem; }
