/* Layout concept: calm, spacious and confident. Soft lavender-grey paper, near-black
   aubergine ink, big centred statements over layered waves, large outlined cards.
   Purple carries the wordmark, buttons, outlines and every small accent. */
:root {
  --bg: #ddcdea;
  --surface: #eee3f6;
  --white: #ffffff;
  --soft: #cfbbe1;
  --ink: #170f1f;
  --text: #2f2937;
  --muted: #554d5f;
  --line: #bfa9d4;
  --edge: #2a0d3e;
  --brand: #2a0d3e;
  --gold: #4d2170;
  --gold-text: #2a0d3e;
  --dark-btn: #2a0d3e;
  --on-dark: #f6f3f8;
  --wave-1: #cfbfdf;
  --wave-2: #ad91cb;
  --wave-3: #8a69b0;
  --foot: #170f1f;
  --foot-text: #c9c2d1;
  --focus: #4d2170;

  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mark: "Poppins", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.5rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.8vw, 4rem);
  --radius: 20px;
  --radius-sm: 10px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.prose { max-width: 62ch; }
.selectable { user-select: all; overflow-wrap: normal; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow, .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 0.6rem; vertical-align: 0.15em; }

/* Top bar and header */
.topbar { background: var(--white); color: var(--muted); font-size: var(--step--1); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem 1.25rem; flex-wrap: wrap; padding-block: 0.5rem; }
.topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.topbar a { color: var(--ink); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.wordmark { font-family: var(--font-mark); font-weight: 700; letter-spacing: 0.16em; font-size: 1.3rem; color: var(--brand); text-decoration: none; line-height: 1; }
.nav { display: flex; align-items: center; gap: 0.3rem 1.6rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.95rem/1 var(--font-sans); padding: 0.95rem 1.5rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark-btn); color: var(--on-dark); }
.btn-dark:hover { background: color-mix(in srgb, var(--dark-btn) 86%, white); }
.btn-outline { border-color: var(--edge); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--surface); }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; padding-block: clamp(4rem, 9vw, 7rem) clamp(7rem, 13vw, 10rem); }
.hero-inner h1 { max-width: 16ch; }
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 46ch; }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(110px, 16vw, 220px); }

/* Sector ticker */
.ticker { overflow: hidden; background: var(--wave-3); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { padding: 1rem 2rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #ffffff; white-space: nowrap; display: inline-flex; align-items: center; gap: 2rem; }
.ticker span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ffffff; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2.5rem; max-width: 60ch; }

/* Outlined cards */
.card, .offer, .plate, .quick-quote, .form, .faq details, .table-scroll {
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--edge) 45%, transparent); border-radius: var(--radius);
}
.card { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.section-soft .card { background: var(--surface); }
.tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.more { font-weight: 600; color: var(--ink); text-decoration: none; }
.card a.more { margin-top: auto; }
.card a.more:hover, .offer:hover .more { text-decoration: underline; }

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

/* What we do */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
.offer { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.9rem; text-decoration: none; color: inherit; transition: transform .15s ease; }
.offer:hover { transform: translateY(-2px); }
.offer h3 { font-size: var(--step-2); }
.offer .meta { font-size: var(--step--1); color: var(--muted); padding-top: 0.25rem; }
.quick-quote { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6rem); }
.form-title { font-size: var(--step-2); }
.aside-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6rem); }

/* Sizes */
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plate { padding: 1.9rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.plate h3 { font-size: var(--step-3); }
.plate .vol { font-size: var(--step-1); font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.plate dl { margin: 0.4rem 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.plate dt { color: var(--muted); }
.plate dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.plate-feature { border: 2px solid var(--edge); }
.plate-feature .label { color: var(--gold-text); }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--edge); font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }

/* Why */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why > * { min-width: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.values li { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--edge); }
.values strong { color: var(--ink); font-weight: 600; }
.values span { color: var(--muted); font-size: 0.95rem; }

/* Closing call to action */
.cta { padding-block: clamp(4rem, 9vw, 7rem); background: var(--bg); position: relative; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.cta-inner p { max-width: 46ch; }
.cta-row { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cta-row > div { display: flex; flex-direction: column; gap: 0.75rem; max-width: 50ch; }
.cta-row p { color: var(--muted); }

/* Inner page intro, with a quieter wave */
.page-intro {
  background-color: var(--bg);
  position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(5rem, 10vw, 7.5rem);
}
.page-intro::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -40px; height: 110px;
  background: var(--wave-1); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-intro .stack { position: relative; z-index: 1; max-width: 62ch; }
.page-intro p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); }

/* Tables */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 0.95rem; }
th, td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; font-size: 0.85rem; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td strong { color: var(--ink); }

/* Lists */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Photo placeholders: plain, honest, easy to swap */
.photo-slot {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); background: var(--soft);
  border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted);
  font-size: var(--step--1); text-align: center; padding: 1rem;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 780px; }
.faq details { padding: 0 1.5rem; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 600; padding-block: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding-bottom: 1.25rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.6rem; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; padding: clamp(1.5rem, 3vw, 2.2rem); }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label, legend { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.hint { font-size: var(--step--1); color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--edge); outline: 2px solid color-mix(in srgb, var(--gold) 50%, transparent); outline-offset: 0; }
textarea { min-height: 7rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
fieldset legend { width: 100%; margin-bottom: 0.4rem; }
.choice { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; }
.choice input { width: auto; accent-color: var(--brand); }
.form .btn { width: 100%; }
.form-note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--soft); color: var(--ink); }
.error { color: #b3261e; font-size: var(--step--1); }

/* Footer */
.site-foot { background: var(--foot); color: var(--foot-text); padding-block-start: 3.5rem; }
.site-foot p, .site-foot a { color: var(--foot-text); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block-end: 2.5rem; }
.foot-grid > * { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.wordmark-foot { font-size: 1.5rem; color: #e9dcf3 !important; }
.foot-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #c9b2dd !important; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.foot-links a, .foot-legal a { text-decoration: none; }
.foot-links a:hover, .foot-legal a:hover { text-decoration: underline; }
.foot-base { border-top: 1px solid color-mix(in srgb, var(--foot-text) 20%, transparent); padding-block: 1.2rem; font-size: var(--step--1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-foot .muted { color: var(--foot-text); }

@media (max-width: 900px) {
  .split, .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .plates { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quick-quote, .aside-card { position: static; }
}
@media (max-width: 560px) {
  .steps, .grid-2, .form, .foot-grid, .values { grid-template-columns: 1fr; }
  .nav { gap: 0.3rem 1rem; }
  .wordmark { font-size: 1.1rem; }
  .topbar-row > span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .ticker-track { animation: none; }
}

/* Split hero with a photo card */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4.5rem, 8vw, 6.5rem); position: relative; z-index: 1; }
.hero-split > * { min-width: 0; }
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .btn-row { justify-content: flex-start; }
.hero-photo { margin: 0; position: relative; }
.hero-photo-slot { aspect-ratio: 5 / 4; max-width: 100%; border-radius: var(--radius); background: var(--soft); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: var(--step--1); text-align: center; padding: 1rem; }
.spec-chip { position: absolute; left: 1.25rem; bottom: -1.5rem; right: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding: 0.95rem 1.25rem; background: var(--surface); border: 1px solid color-mix(in srgb, var(--edge) 45%, transparent); border-radius: 14px; font-size: 0.9rem; color: var(--muted); }
.spec-chip strong { color: var(--brand); font-weight: 700; margin-right: 0.3rem; }
/* Container-ridge texture instead of waves */
.ridges { height: 14px; background-image: repeating-linear-gradient(90deg, var(--wave-2) 0 22px, var(--wave-3) 22px 28px); }

/* At-a-glance facts */
.facts { background: var(--bg); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-row p { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.6rem 1.5rem; border-left: 1px solid var(--line); min-width: 0; }
.facts-row p:first-child { border-left: 0; padding-left: 0; }
.facts-row strong { color: var(--brand); font-size: var(--step-1); font-weight: 700; }
.facts-row span { color: var(--muted); font-size: 0.9rem; }

/* Inner page intro: ridge strip instead of a wave */
.page-intro::after { left: 0; right: 0; bottom: 0; height: 14px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--wave-2) 0 22px, var(--wave-3) 22px 28px); }
.page-intro { padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(4rem, 9vw, 6rem); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row p:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .facts-row { grid-template-columns: 1fr; }
  .facts-row p { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts-row p:first-child { border-top: 0; }
  .spec-chip { position: static; margin-top: 0.75rem; }
}

.hero-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--edge) 35%, transparent); }

.foot-email { font-size: 0.95rem; }
.headshot { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.profile-card { text-align: center; align-items: center; gap: 0.4rem; }
.profile-card .headshot { margin-bottom: 0.6rem; }
