/* Layout: colour-blocked bands and thick-outlined cards in a lotus-pond palette. Playfair Display capitals for headlines, Poppins for everything else. One highlighter phrase per page, on the hero headline only. */
:root {
  --bg: #F1FAFA;
  --paper: #FAFEFE;
  --fg: #01262D;
  --muted: #2E5961;
  --outline: #01262D;
  --em: #741353;
  --plum: #741353;
  --pink: #E9409B;
  --olive: #8B920A;
  --teal: #024F5B;
  --turq: #1CB6BB;
  --aqua: #A0E5E5;
  --ink: #01262D;
  --snow: #F4FCFC;
  --btn-bg: #741353;
  --btn-fg: #F4FCFC;
  --bw: 3px;
  --r: 28px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #021A1F; --paper: #06282F; --fg: #E4F5F5; --muted: #9EC4C7; --outline: #A0E5E5; --em: #F06DB0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #021A1F; --paper: #06282F; --fg: #E4F5F5; --muted: #9EC4C7; --outline: #A0E5E5; --em: #F06DB0; color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0; max-width: 58ch; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); position: relative; }

/* Colour blocks. Each one sets its own text, accent and button colours. */
.aqua { background: var(--aqua); color: var(--ink); --sub: rgba(1, 38, 45, 0.84); --em: #741353; --btn-bg: #741353; --btn-fg: #F4FCFC; --sh: #E9409B; }
.turq { background: var(--turq); color: var(--ink); --sub: rgba(1, 38, 45, 0.9); --em: #741353; --btn-bg: #741353; --btn-fg: #F4FCFC; --sh: #E9409B; }
.olive { background: var(--olive); color: var(--ink); --sub: rgba(1, 38, 45, 0.92); --em: #01262D; --btn-bg: #741353; --btn-fg: #F4FCFC; --sh: #01262D; }
.pink { background: var(--pink); color: var(--ink); --sub: #01262D; --em: #01262D; --btn-bg: #741353; --btn-fg: #F4FCFC; --sh: #01262D; }
.plum { background: var(--plum); color: var(--snow); --sub: rgba(244, 252, 252, 0.86); --em: #A0E5E5; --btn-bg: #A0E5E5; --btn-fg: #01262D; --sh: #E9409B; }
.teal { background: var(--teal); color: var(--snow); --sub: rgba(244, 252, 252, 0.86); --em: #A0E5E5; --btn-bg: #A0E5E5; --btn-fg: #01262D; --sh: #E9409B; }
.paper { background: var(--paper); --sub: var(--muted); }
.bleed { border-block: var(--bw) solid var(--outline); }

/* Type */
.mono { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.8vw, 6.4rem); line-height: 1; letter-spacing: -0.03em; max-width: 15ch; }
h2 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 16ch; }
h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--em); }
/* The one highlighter: a bar behind the lower half of the letters, so it never reaches the line above */
em.hl { color: inherit; background: linear-gradient(var(--pink), var(--pink)) no-repeat; background-size: 100% 0.28em; background-position: 0 calc(100% - 0.14em); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.04em; }
.lead { font-size: 1.15rem; line-height: 1.7; max-width: 46ch; color: var(--sub, var(--muted)); }
.sub { color: var(--sub, var(--muted)); }

/* Pills and buttons */
.pill { display: inline-block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; line-height: 1.3; padding: 0.5rem 1.1rem; border: 2px solid var(--outline); border-radius: 999px; background: var(--bg); color: var(--fg); }
.pill.on-aqua { background: #A0E5E5; color: #01262D; border-color: #01262D; }
.btn { display: inline-flex; align-items: center; gap: 0.8rem; background: var(--btn-bg); color: var(--btn-fg); border: var(--bw) solid var(--outline); border-radius: 999px; padding: 0.95rem 1.8rem; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: inherit; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--sh, #E9409B); }
.btn::after { content: '\2192'; display: inline-block; }
.btn.ext::after { content: '\2197'; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh, #E9409B); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 transparent; }
.plum .btn, .teal .btn { border-color: #A0E5E5; }
.link { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; font-weight: 500; }
.link:hover { text-decoration-color: var(--pink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

/* Header */
header { background: var(--bg); border-bottom: var(--bw) solid var(--outline); }
header .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem 1.5rem; padding-block: 1.2rem; }
.mark { text-decoration: none; display: inline-flex; flex-direction: column; gap: 0.35rem; text-align: center; align-items: center; }
.mark .wm { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; }
.mark .wm i, footer .big i { font-style: italic; font-weight: 500; }
.mark .tg { font-size: 0.55rem; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 400; padding-left: 0.4em; }
nav.nl { justify-content: flex-start; }
nav.nr { justify-content: flex-end; flex-wrap: nowrap; }
nav.nr a { padding-inline: 0.8rem; letter-spacing: 0.12em; white-space: nowrap; }
nav.nr a.cta-sm { margin-left: 0.2rem; }
.hero.split h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); max-width: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
nav a { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; text-decoration: none; padding: 0.6rem 1rem; border: 2px solid transparent; border-radius: 999px; }
nav a:hover { border-color: var(--outline); }
nav a[aria-current="page"] { background: #A0E5E5; color: #01262D; border-color: var(--outline); }
nav a.cta-sm { background: #741353; color: #F4FCFC; border-color: var(--outline); margin-left: 0.4rem; }
@media (max-width: 900px) {
  header .inner { grid-template-columns: auto auto; justify-content: center; gap: 0.7rem 0; padding-block: 1rem; }
  header .mark { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  nav.nl { grid-row: 2; grid-column: 1; } nav.nr { grid-row: 2; grid-column: 2; }
  nav.nl, nav.nr { flex-wrap: nowrap; gap: 0; }
  nav.nl { justify-content: flex-end; } nav.nr { justify-content: flex-start; }
  nav a { padding: 0.5rem 0.55rem; font-size: 0.6rem; letter-spacing: 0.08em; white-space: nowrap; }
  nav.nr a.cta-sm { display: none; }
}

/* Hero */
.hero { padding-block: clamp(3.25rem, 8vw, 6rem) clamp(3rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero .pill { margin-bottom: 1.75rem; }
.hero .lead { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.hero .actions { margin-top: 2.25rem; }
.hero.sm h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); max-width: 17ch; }
.hero.split .grid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero.split { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.assure { margin-top: 1.4rem; font-size: 0.85rem; font-weight: 500; }
.hero.aqua .pill { background: #F1FAFA; }
.win { position: relative; border: 3px solid #01262D; border-radius: 20px; background: #FAFEFE; color: #01262D; box-shadow: 6px 6px 0 #E9409B; transform: rotate(1.2deg); min-width: 0; }
.win-top { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-bottom: 3px solid #01262D; background: #F1FAFA; border-radius: 17px 17px 0 0; }
.win-top i { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid #01262D; display: inline-block; }
.win-top em { margin-left: 0.6rem; font-style: normal; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #2E5961; }
.win-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.1rem; border-bottom: 2px solid rgba(1, 38, 45, 0.15); font-size: 0.95rem; font-weight: 500; line-height: 1.35; }
.win-row:last-of-type { border-bottom: 0; }
.win-row .t { flex: none; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.7rem; border: 2px solid #01262D; border-radius: 999px; }
.win-row .t1 { background: #A0E5E5; } .win-row .t2 { background: #F7B3D5; } .win-row .t3 { background: #D5DC6A; } .win-row .t4 { background: #1CB6BB; }
.win-badge { position: absolute; left: 1.2rem; bottom: -1.5rem; transform: rotate(-4deg); background: #741353; color: #F4FCFC; border: 3px solid #01262D; border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 3px 3px 0 #E9409B; }
@media (max-width: 860px) { .hero.split .grid2 { grid-template-columns: minmax(0, 1fr); } .win { margin-bottom: 2rem; } }
.sticker { display: none; }
@media (min-width: 1100px) {
  .sticker { display: grid; place-content: center; text-align: center; position: absolute; right: var(--gutter); top: 0; width: 10.5rem; height: 10.5rem; border-radius: 50%; background: #741353; color: #A0E5E5; border: var(--bw) solid var(--outline); transform: rotate(9deg); gap: 0.35rem; box-shadow: 5px 5px 0 #E9409B; }
  .sticker b { font-family: var(--font-display); font-weight: 500; font-size: 2.6rem; line-height: 0.9; color: #F4FCFC; text-transform: uppercase; }
  .sticker span { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
}

/* Spec band */
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec > div { padding: 1.75rem 1.75rem 1.75rem 0; min-width: 0; }
.spec > div + div { padding-left: 1.75rem; border-left: var(--bw) solid #01262D; }
.spec .mono { display: block; margin-bottom: 0.5rem; }
.spec p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.2; }
@media (max-width: 760px) { .spec { grid-template-columns: minmax(0, 1fr); } .spec > div, .spec > div + div { padding: 1.4rem 0; border-left: 0; } .spec > div + div { border-top: var(--bw) solid #01262D; } }

/* Flow line */
.flow-band { padding-block: clamp(2.75rem, 7vw, 5rem); }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.track::before, .track::after { content: ''; position: absolute; left: 0; right: 0; top: calc(0.7rem - 1.5px); height: 3px; border-radius: 2px; }
.track::before { background: #1B6672; }
.track::after { background: #1CB6BB; transform-origin: left; }
.track li { position: relative; padding: 2.6rem 1.5rem 0 0; min-width: 0; }
.track li::before { content: ''; position: absolute; top: 0; left: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #024F5B; border: 3px solid #A0E5E5; }
.track li.end::before { background: #E9409B; }
.track h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 0.55rem; }
.track .cap { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #A0E5E5; line-height: 1.6; display: block; }
@media (max-width: 820px) {
  .track { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .track::before, .track::after { left: calc(0.7rem - 1.5px); right: auto; top: 0.7rem; bottom: 0.7rem; width: 3px; height: auto; transform-origin: top; }
  .track li { padding: 0 0 0 2.9rem; }
  .track li::before { top: 0.35rem; }
}

/* Sections and cards */
section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); justify-items: start; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.card { border: var(--bw) solid var(--outline); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.card h3 { margin-top: 0.4rem; }
.card .pill { align-self: flex-start; }
.card p { font-size: 0.95rem; }
.card .fix { color: var(--sub); border-top: 2px solid currentColor; padding-top: 1rem; margin-top: 0.4rem; }
.card .go { margin-top: auto; padding-top: 1.1rem; font-size: 0.92rem; }
.card > p { color: var(--sub); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.5rem; }
.step { border: var(--bw) solid var(--outline); border-radius: var(--r); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.step .num { width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #E9409B; color: #01262D; display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1; border: var(--bw) solid #01262D; }
.step h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.step p { color: var(--sub); font-size: 0.93rem; }

/* Tick lists */
.ticks { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.ticks li { padding-left: 1.5rem; position: relative; max-width: 56ch; color: var(--sub); font-size: 0.95rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.9em; width: 0.7rem; height: 2px; background: currentColor; }

/* Service cards */
.svc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 1.5rem 4rem; }
.svc h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 1.1rem; max-width: 12ch; letter-spacing: -0.015em; }
.svc p { color: var(--sub); font-size: 0.97rem; }
.svc-list { display: grid; gap: 1.5rem; }
.grp { margin: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.grp:first-child { margin-top: 0; }
.grp h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: none; }
.grp p { margin: 0.6rem 0 0; font-size: 1.02rem; }
@media (max-width: 800px) { .svc { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

/* Closing band and footer */
.cta { padding-block: clamp(3.5rem, 9vw, 7rem); }
.cta h2 { font-size: clamp(2.6rem, 7vw, 5.8rem); max-width: 14ch; }
.cta .lead { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 500; line-height: 1.4; }
.cta .actions { margin-top: 2.5rem; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.75rem, 4vw, 3rem); border: var(--bw) solid var(--outline); border-radius: var(--r); background: var(--paper); }
.about h2 { margin-top: 1rem; font-size: clamp(2rem, 4.4vw, 3.4rem); }
@media (max-width: 760px) { .about { grid-template-columns: minmax(0, 1fr); } }
.tools { padding: clamp(1.75rem, 4vw, 3rem); border: var(--bw) solid var(--outline); border-radius: var(--r); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.tools h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 1rem 0 0.9rem; }

.mail { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 7vw, 5.4rem); line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: anywhere; user-select: all; color: #A0E5E5; max-width: none; }
.mailcard { margin-top: clamp(2rem, 5vw, 3rem); padding: clamp(1.75rem, 4vw, 3rem); border: var(--bw) solid var(--outline); border-radius: var(--r); display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }

footer { padding-block: clamp(3rem, 7vw, 4.5rem) 3rem; }
footer .grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
footer .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; color: #A0E5E5; }
footer .mono { display: block; margin-bottom: 0.7rem; color: #A0E5E5; }
footer a { text-underline-offset: 4px; }
@media (max-width: 760px) { footer .grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .track::after { animation: draw 2.2s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .track li { animation: rise 0.7s both; }
  .track li:nth-child(1) { animation-delay: 0.2s; }
  .track li:nth-child(2) { animation-delay: 0.6s; }
  .track li:nth-child(3) { animation-delay: 1s; }
  .track li:nth-child(4) { animation-delay: 1.4s; }
  .track li:nth-child(5) { animation-delay: 1.8s; }
  @media (max-width: 820px) { .track::after { animation-name: drawY; } }
  .view:not([hidden]) { animation: rise 0.45s both; }
  .btn, nav a, .card { transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, background 0.15s; }
}
