:root {
  --paper: #F1F3F2;
  --white: #FFFFFF;
  --ink: #0E1B24;
  --soft: #4A5860;
  --line: #DCE3E5;
  --sky: #58BDE7;
  --sky-pale: #CFEAF6;
  --navy: #0F3B52;
  --error: #B42318;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --step-title: clamp(3.5rem, 1rem + 8.3vw, 8.25rem);

  --m: clamp(16px, 2.2vw, 32px);
  --axis: 42%;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --intro: 1.35s;
}
.seen { --intro: 0s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif; font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: -0.035em; line-height: 0.92; }
.sans { font-family: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
::selection { background: var(--sky); color: var(--ink); }

/* two-colour print treatment for every photograph */
.duo { background: var(--sky); overflow: hidden; }
.duo img, .duo video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.04); mix-blend-mode: multiply; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border: 0; cursor: pointer;
  font: 600 1rem/1 'Libre Franklin', sans-serif; letter-spacing: -0.01em; text-decoration: none;
  background: var(--ink); color: var(--paper);
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 300ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sky { background: var(--sky); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.link { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.2em; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--navy); color: var(--paper); }
  .btn:hover svg { transform: translateX(4px); }
  .btn--ghost:hover { background: var(--ink); }
  .link:hover { text-decoration-color: var(--sky); }
}

/* ---------- Opening animation ---------- */
.intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.seen) .intro {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; pointer-events: none;
    animation: intro-off 1ms linear 2.2s forwards;
  }
  .intro__panel { position: absolute; inset: 0; }
  .intro__panel--sky { background: var(--sky); animation: wipe 900ms var(--ease-io) 1.1s forwards; }
  .intro__panel--navy { background: var(--navy); animation: wipe 900ms var(--ease-io) 0.9s forwards; }
  .intro__brand { position: relative; display: grid; justify-items: center; gap: 18px; color: var(--paper); animation: brand-out 450ms var(--ease-io) 0.75s forwards; }
  .intro__brand img { width: 84px; height: 84px; animation: brand-in 700ms var(--ease-out) 100ms both; }
  .intro__brand span { font: 700 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1 'Libre Franklin', sans-serif; letter-spacing: -0.03em; overflow: hidden; }
  .intro__brand span i { display: block; font-style: normal; animation: line-up 800ms var(--ease-out) 250ms both; }
  .intro__bar { width: 180px; height: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
  .intro__bar::after { content: ""; display: block; height: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; animation: load 650ms var(--ease-io) 150ms forwards; }
}
@keyframes wipe { to { transform: translateY(-100%); } }
@keyframes brand-in { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes brand-out { to { opacity: 0; transform: translateY(-24px); } }
@keyframes load { to { transform: scaleX(1); } }
@keyframes intro-off { to { visibility: hidden; } }

/* ---------- Masthead: gutterless mosaic ---------- */
.masthead { position: relative; height: 52svh; min-height: 380px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; }
.masthead > * { min-width: 0; min-height: 0; }
.m-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.m-b { grid-column: 3; grid-row: 1; background: var(--sky); }
.m-c { grid-column: 4 / 6; grid-row: 1; }
.m-d { grid-column: 6; grid-row: 1 / 3; background: var(--navy); color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2vw, 28px); }
.m-d b { font: 700 clamp(3.5rem, 1rem + 6vw, 7rem)/0.8 'Libre Franklin', sans-serif; letter-spacing: -0.06em; color: var(--sky); font-variant-numeric: tabular-nums; }
.m-d span { margin-top: 10px; font: 600 var(--step-small)/1.3 'Libre Franklin', sans-serif; max-width: 12ch; }
.m-e { grid-column: 3; grid-row: 2; }
.m-f { grid-column: 4; grid-row: 2; background: var(--sky-pale); }
.m-g { grid-column: 5; grid-row: 2; }

.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: stretch; height: 64px; }
.bar__mark { display: flex; align-items: center; gap: 12px; padding: 0 20px 0 12px; background: var(--ink); color: var(--paper); text-decoration: none; font: 700 1rem/1 'Libre Franklin', sans-serif; letter-spacing: -0.02em; }
.bar__mark img { width: 40px; height: 40px; }
.bar__tab { display: flex; align-items: center; gap: 28px; padding: 0 24px; background: var(--sky); font: 600 1rem/1 'Libre Franklin', sans-serif; }
.bar__tab a { text-decoration: none; }
.bar .btn { margin-left: auto; min-height: 64px; }

/* ---------- Title block ---------- */
.title { padding: 96px var(--m) 0; display: grid; grid-template-columns: var(--axis) 1fr; align-items: end; }
.title__stand { padding: 0 32px 14px 0; }
.title__stand p { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.title__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font: 600 1rem/1 'Libre Franklin', sans-serif; }
.title h1 { font-size: var(--step-title); text-transform: uppercase; letter-spacing: -0.055em; line-height: 0.88; }
.title h1 .line { display: block; overflow: hidden; padding: 0.14em 0 0.06em; margin: -0.14em 0 -0.06em; }
.title h1 .line > span { display: block; }
.title h1 .line:last-child > span { color: var(--navy); }

/* ---------- Section frame ---------- */
.section { padding: clamp(120px, 13vw, 200px) var(--m) 0; }
.sec-head { display: grid; grid-template-columns: var(--axis) 1fr; align-items: end; gap: 24px; }
.sec-head h2 { font-size: var(--step-head); max-width: 14ch; }
.sec-head p { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; color: var(--soft); }

/* ---------- Services: tabs ---------- */
.svc { margin-top: 72px; display: grid; grid-template-columns: 30% 1fr; }
.tabs { display: grid; align-content: start; padding-right: 32px; }
.tab {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px;
  padding: 22px 0 22px 24px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--soft);
  font: 700 clamp(1.25rem, 1rem + 0.9vw, 1.875rem)/1.1 'Libre Franklin', sans-serif; letter-spacing: -0.03em;
  transition: color 250ms ease;
}
.tab small { font: 600 var(--step-small)/1 'Libre Franklin', sans-serif; letter-spacing: 0; color: var(--soft); }
.tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 6px; background: var(--sky); transform: scaleY(0); transform-origin: top; transition: transform 450ms var(--ease-out); }
.tab::after { content: ""; position: absolute; left: 24px; right: 0; bottom: 0; height: 2px; background: var(--line); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::before { transform: scaleY(1); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }

.panel { display: grid; grid-template-columns: 1.55fr 0.45fr; background: var(--white); min-height: 560px; }
.panel[hidden] { display: none; }
.panel__body { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; }
.panel__body h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.panel__body > p { margin-top: 16px; color: var(--soft); max-width: 44ch; }
.items { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.items li { display: flex; gap: 12px; align-items: baseline; line-height: 1.35; }
.items li::before, .ticks li::before { content: ""; flex: none; width: 18px; height: 18px; transform: translateY(3px); background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9.5 3 3 6-7' fill='none' stroke='%230E1B24' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / 18px no-repeat; }
.panel__cta { margin-top: auto; padding-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font: 600 1rem/1 'Libre Franklin', sans-serif; }
@media (prefers-reduced-motion: no-preference) {
  .panel.is-entering .panel__body > *, .panel.is-entering .items li { animation: rise 600ms var(--ease-out) both; }
  .panel.is-entering .items li { animation-delay: calc(var(--n) * 45ms + 120ms); }
  .panel.is-entering .panel__photo img { animation: settle 1200ms var(--ease-out) both; }
}

.always { margin-top: 12px; display: grid; grid-template-columns: 30% 1fr; background: var(--navy); color: var(--paper); }
.always h3 { padding: 28px 32px 28px var(--m); font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; align-self: center; }
.always ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.always li { padding: 28px 24px; font: 600 1rem/1.3 'Libre Franklin', sans-serif; }
.always li b { display: block; color: var(--sky); font-size: var(--step-small); margin-bottom: 8px; }

/* ---------- How we work: pinned rail + step pages ---------- */
.how { display: grid; grid-template-columns: var(--axis) 1fr; gap: 0; }
.how__rail { position: sticky; top: 32px; align-self: start; padding-right: 48px; padding-bottom: 32px; }
.how__rail h2 { font-size: var(--step-head); max-width: 10ch; }
.how__rail > p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.35; color: var(--soft); max-width: 28ch; }
.rail { margin-top: 44px; display: grid; gap: 4px; }
.rail li { display: grid; grid-template-columns: 6px 1fr; gap: 16px; align-items: center; padding: 10px 0; font: 600 1.0625rem/1.2 'Libre Franklin', sans-serif; color: var(--soft); transition: color 300ms ease; }
.rail li::before { content: ""; height: 100%; min-height: 34px; background: var(--line); transition: background-color 400ms ease; }
.rail li.is-active, .rail li.is-done { color: var(--ink); }
.rail li.is-done::before { background: var(--navy); }
.rail li.is-active::before { background: var(--sky); }
.rail li small { display: block; font-size: var(--step-small); color: var(--soft); font-weight: 600; margin-bottom: 2px; }
.how__rail .btn { margin-top: 40px; }

.pages { display: grid; gap: 12px; }
.pg { background: var(--white); display: grid; grid-template-columns: 1fr; min-height: 78svh; }
.pg__media { position: relative; height: 34svh; min-height: 220px; }
.pg__num { position: absolute; left: 0; bottom: 0; padding: 14px 22px 10px; background: var(--white); font: 700 clamp(2.75rem, 1.6rem + 3vw, 4.5rem)/0.85 'Libre Franklin', sans-serif; letter-spacing: -0.05em; color: var(--sky); }
.pg__body { padding: clamp(28px, 3.5vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-content: start; }
.pg__body h3 { grid-column: 1 / -1; font-size: clamp(1.875rem, 1.3rem + 1.8vw, 3rem); max-width: 18ch; }
.pg__body > p { font-size: var(--step-lead); line-height: 1.4; color: var(--soft); }
.pg__body h4 { font-size: 1rem; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; line-height: 1.35; }
.pg--navy { background: var(--navy); color: var(--paper); }
.pg--navy .pg__num { background: var(--navy); }
.pg--navy .pg__body > p { color: #C9D6DC; }

/* ---------- Colour page: 20 years ---------- */
.page-navy { margin-top: clamp(120px, 13vw, 200px); background: var(--navy); color: var(--paper); display: grid; grid-template-columns: var(--axis) 1fr; min-height: 88svh; }
.years { padding: clamp(40px, 5vw, 72px) var(--m); display: flex; flex-direction: column; justify-content: space-between; }
.years b { display: block; font: 700 clamp(9rem, 4rem + 18vw, 22rem)/0.78 'Libre Franklin', sans-serif; letter-spacing: -0.07em; color: var(--sky); margin-left: -0.05em; font-variant-numeric: tabular-nums; }
.years p { font: 600 var(--step-lead)/1.2 'Libre Franklin', sans-serif; max-width: 14ch; margin-top: 24px; }
.navy-right { display: grid; grid-template-rows: 1fr auto; }
.navy-photos { display: grid; grid-template-columns: 1fr 1fr; min-height: 48svh; }
.quote { padding: clamp(40px, 5vw, 72px) var(--m) clamp(40px, 5vw, 72px) 0; max-width: 36em; }
.quote p { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.3; font-style: italic; }
.quote span { display: block; margin-top: 18px; font: 600 var(--step-small)/1.3 'Libre Franklin', sans-serif; color: var(--sky); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.facts { grid-column: 1 / 3; font: 600 var(--step-small)/1.4 'Libre Franklin', sans-serif; color: var(--soft); display: grid; gap: 18px; align-content: start; padding-top: 0.4em; }
.facts b { display: block; color: var(--ink); }
.bio { grid-column: 3 / 13; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.125rem); line-height: 1.24; color: var(--soft); max-width: 36em; }
.bio img { float: left; width: 3.7em; height: 3.7em; margin: 0.14em 0.5em 0 0; }
.bio strong { color: var(--ink); font-weight: 600; }
.bio p + p { margin-top: 1.1em; }

/* ---------- Quote request form ---------- */
.order { margin-top: clamp(120px, 13vw, 200px); background: var(--sky); padding: clamp(72px, 8vw, 128px) var(--m); display: grid; grid-template-columns: var(--axis) 1fr; align-items: start; }
.order__side { position: sticky; top: 32px; padding-right: 48px; }
.order__side h2 { font-size: var(--step-head); max-width: 9ch; }
.order__side > p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 28ch; }
.order__side .ticks { margin-top: 28px; font: 600 1rem/1.3 'Libre Franklin', sans-serif; }
.order__side .ticks li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9.5 3 3 6-7' fill='none' stroke='%2358BDE7' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E"); }
.summary { margin-top: 36px; background: var(--navy); color: var(--paper); padding: 24px 26px; max-width: 420px; }
.summary h3 { font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--sky); }
.summary dl { margin-top: 14px; display: grid; gap: 10px; font-size: 1rem; }
.summary dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.summary dt { font: 600 var(--step-small)/1.5 'Libre Franklin', sans-serif; color: #A9BEC8; }
.summary dd { line-height: 1.35; }
.summary dd.is-empty { color: #6F8A97; }
.summary dd.pop { animation: pop 450ms var(--ease-out); }

.formcard { background: var(--white); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper li { position: relative; padding: 20px 24px 18px; font: 600 1rem/1.2 'Libre Franklin', sans-serif; color: var(--soft); background: #E9EEEF; }
.stepper li b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 0.8125rem; transition: background-color 300ms ease, color 300ms ease; }
.stepper li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-io); }
.stepper li.is-active { background: var(--white); color: var(--ink); }
.stepper li.is-active b { background: var(--sky); }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done b { background: var(--ink); color: var(--sky); }
.stepper li.is-done::after, .stepper li.is-active::after { transform: scaleX(1); }
.stepper li.is-active::after { background: var(--sky); }

.fstep { border: 0; margin: 0; padding: clamp(24px, 3.5vw, 48px); }
.js .fstep:not(.is-current) { display: none; }
.fstep legend { float: left; width: 100%; padding: 0; font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.05 'Libre Franklin', sans-serif; letter-spacing: -0.03em; margin-bottom: 28px; }
.fstep legend + * { clear: both; }
@media (prefers-reduced-motion: no-preference) {
  .fstep.is-current.enter-next > * { animation: from-right 550ms var(--ease-out) both; }
  .fstep.is-current.enter-prev > * { animation: from-left 550ms var(--ease-out) both; }
}
.field { display: grid; gap: 8px; margin-top: 22px; }
.field:first-of-type { margin-top: 0; }
.field > label, .field > .label { font: 600 1rem/1.3 'Libre Franklin', sans-serif; }
.field > label small, .field > .label small { font-weight: 600; color: var(--soft); font-size: var(--step-small); margin-left: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.row2 .field { margin-top: 22px; }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 0;
  background: #EEF2F3; box-shadow: inset 0 -2px 0 var(--line);
  font: 400 1.0625rem/1.4 'Source Serif 4', Georgia, serif; color: var(--ink);
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
textarea.input { min-height: 132px; resize: vertical; }
.input:focus { outline: none; background: #E6F4FB; box-shadow: inset 0 -3px 0 var(--sky); }
.input::placeholder { color: #7D8B92; }
.field.is-bad .input { box-shadow: inset 0 -3px 0 var(--error); background: #FBEFEE; }
.field.is-ok .input { box-shadow: inset 0 -3px 0 var(--navy); }
.err { display: none; color: var(--error); font: 600 var(--step-small)/1.3 'Libre Franklin', sans-serif; }
.field.is-bad .err { display: block; animation: rise 300ms var(--ease-out); }
.field.is-bad { animation: shake 380ms ease; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card { position: relative; }
.card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.card span { display: grid; gap: 6px; height: 100%; padding: 18px 20px 20px 54px; background: #EEF2F3; transition: background-color 250ms ease, color 250ms ease, transform 160ms var(--ease-out); position: relative; }
.card span::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--soft); transition: box-shadow 250ms ease, background-color 250ms ease; }
.card b { font: 700 1.125rem/1.2 'Libre Franklin', sans-serif; letter-spacing: -0.02em; }
.card em { font-style: normal; font-size: 0.9375rem; line-height: 1.35; color: var(--soft); }
.card input:checked + span { background: var(--ink); color: var(--paper); }
.card input:checked + span em { color: #B9C6CC; }
.card input:checked + span::before { background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6 11.5 3.4 3.4L16 8' fill='none' stroke='%230E1B24' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: none; animation: pop 400ms var(--ease-out); }
.card input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.card:active span { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .card input:not(:checked):hover + span { background: var(--sky-pale); } }

.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts label { position: relative; }
.opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opts span { display: flex; align-items: center; padding: 12px 16px; background: #EEF2F3; font: 600 0.9375rem/1.15 'Libre Franklin', sans-serif; transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out), gap 250ms var(--ease-out); gap: 0; }
.opts span svg { width: 0; height: 15px; stroke: var(--sky); transition: width 250ms var(--ease-out); }
.opts span svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.opts input:checked + span { background: var(--ink); color: var(--paper); gap: 8px; }
.opts input:checked + span svg { width: 15px; }
.opts input:checked + span svg path { animation: draw 380ms var(--ease-out) 80ms forwards; }
.opts input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.opts label:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .opts input:not(:checked):hover + span { background: var(--sky-pale); } }

.drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 120px; padding: 20px; text-align: center; background: #EEF2F3; box-shadow: inset 0 0 0 2px var(--line); font: 600 1rem/1.35 'Libre Franklin', sans-serif; transition: background-color 250ms ease, box-shadow 250ms ease; }
.drop small { color: var(--soft); font-size: var(--step-small); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-over { background: var(--sky-pale); box-shadow: inset 0 0 0 2px var(--sky); }
.drop.has-file { background: #E6F4FB; box-shadow: inset 0 0 0 2px var(--navy); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }

.fnav { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 0 clamp(24px, 3.5vw, 48px) clamp(24px, 3.5vw, 48px); }
.fnav .count { font: 600 var(--step-small)/1 'Libre Franklin', sans-serif; color: var(--soft); }
.fnav .btn[hidden] { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spin { display: block; }
.spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: var(--sky); animation: spin 700ms linear infinite; }

.done { display: none; padding: clamp(40px, 5vw, 72px) clamp(24px, 3.5vw, 48px); text-align: left; }
.formcard.is-sent .done { display: block; }
.formcard.is-sent .stepper, .formcard.is-sent form { display: none; }
.done__mark { width: 88px; height: 88px; }
.done__mark circle { stroke: var(--sky); stroke-width: 4; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; transform: rotate(-90deg); transform-origin: center; }
.done__mark path { stroke: var(--ink); stroke-width: 5; fill: none; stroke-linecap: square; stroke-dasharray: 60; stroke-dashoffset: 60; }
.formcard.is-sent .done__mark circle { animation: draw 800ms var(--ease-io) 150ms forwards; }
.formcard.is-sent .done__mark path { animation: draw 450ms var(--ease-out) 850ms forwards; }
.done h3 { margin-top: 28px; font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.done p { margin-top: 16px; font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; color: var(--soft); }
.done .ref { margin-top: 28px; display: inline-flex; gap: 14px; align-items: baseline; padding: 14px 18px; background: var(--paper); font: 600 1rem/1 'Libre Franklin', sans-serif; }
.done .ref b { font-size: 1.375rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.done .btn { margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .formcard.is-sent .done > *:not(.done__mark) { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 90ms + 700ms); }
}

/* ---------- FAQ ---------- */
.qa { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: baseline; }
.qa + .qa { margin-top: 80px; }
.qa .q { grid-column: 1 / 7; font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; }
.qa .q--muted { color: var(--soft); }
.qa p { grid-column: 8 / 13; max-width: 40ch; }

/* ---------- Footer: the request is the headline ---------- */
.foot { margin-top: clamp(120px, 13vw, 200px); background: var(--navy); color: var(--paper); min-height: 86svh; padding: 40px var(--m) 28px; display: flex; flex-direction: column; }
.foot__top { display: flex; justify-content: space-between; gap: 24px; font: 600 0.9375rem/1.4 'Libre Franklin', sans-serif; }
.foot__notes { display: flex; gap: 12px 40px; flex-wrap: wrap; align-items: center; }
.foot__notes img { width: 40px; height: 40px; }
.foot__big { margin-top: auto; padding-top: 80px; display: inline-flex; align-items: center; gap: 0.25em; font: 700 clamp(3rem, 0.4rem + 9.6vw, 11.5rem)/0.88 'Libre Franklin', sans-serif; letter-spacing: -0.055em; color: var(--sky); text-decoration: none; transition: color 300ms ease; }
.foot__big svg { width: 0.62em; height: 0.62em; stroke-width: 1.4; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot__big:hover { color: var(--paper); } .foot__big:hover svg { transform: translate(0.12em, -0.12em); } }
.foot__meta { margin-top: 36px; display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 24px; font-size: var(--step-small); line-height: 1.45; color: #C9D6DC; }
.foot__meta a { color: #C9D6DC; }
.foot__meta > :last-child { text-align: right; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; background: var(--ink); color: var(--paper); font: 600 1rem/1.2 'Libre Franklin', sans-serif;
  transform: translate(-50%, 160%); visibility: hidden; transition: transform 500ms var(--ease-io), visibility 0s linear 500ms;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
}
.toast i { width: 28px; height: 28px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; flex: none; }
.toast svg { width: 16px; height: 16px; }
.toast svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 500ms var(--ease-io), visibility 0s; }
.toast.is-on svg path { animation: draw 400ms var(--ease-out) 250ms forwards; }

/* ---------- Motion ---------- */
@keyframes line-up { from { transform: translateY(135%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes drift { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tile { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes from-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes from-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .js .masthead > :not(.bar) { animation: tile 1000ms var(--ease-io) both; animation-delay: calc(var(--intro) + var(--t) * 90ms); }
  .js .masthead .duo img { animation: settle 2400ms var(--ease-out) both; animation-delay: calc(var(--intro) + var(--t) * 90ms); }
  .js .bar { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--intro) + 500ms); }
  .js .title h1 .line > span { animation: line-up 1000ms var(--ease-out) both; animation-delay: calc(var(--intro) + var(--i) * 110ms + 450ms); }
  .js [data-rise] { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--intro) + 850ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .pg__media.duo img, .js .pg__media.duo video { transform: scale(1.15); transition: transform 1400ms var(--ease-out); }
  .js .pg.is-in .pg__media.duo img, .js .pg.is-in .pg__media.duo video { transform: none; }
  @supports (animation-timeline: view()) {
    .navy-photos .duo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .bar__tab { display: none; }
  .title { grid-template-columns: 1fr; padding-top: 72px; }
  .title h1 { order: -1; }
  .title__stand { padding: 28px 0 0; }
  .sec-head { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; margin-top: 48px; }
  .tabs { display: flex; flex-wrap: wrap; padding: 0; gap: 4px; }
  .tab { flex: none; padding: 14px 18px; font-size: 1.0625rem; background: #E2E8EA; grid-template-columns: auto; }
  .tab small, .tab::after, .tab::before { display: none; }
  .tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
  .panel { grid-template-columns: 1fr; min-height: 0; margin-top: 8px; }
  .panel__photo { order: -1; aspect-ratio: 16 / 9; }
  .always { grid-template-columns: 1fr; }
  .always h3 { padding-bottom: 0; }
  .always ul { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .how__rail { position: static; padding: 0 0 40px; }
  .rail { display: none; }
  .pg { min-height: 0; }
  .pg__body { grid-template-columns: 1fr; }
  .page-navy { grid-template-columns: 1fr; }
  .quote { padding-left: var(--m); }
  .about { grid-template-columns: 1fr; }
  .facts { grid-column: 1; order: 2; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .bio { grid-column: 1; }
  .order { grid-template-columns: 1fr; gap: 40px; }
  .order__side { position: static; padding: 0; }
  .summary { display: none; }
  .qa { grid-template-columns: 1fr; }
  .qa .q, .qa p { grid-column: 1; }
  .qa p { margin-top: 12px; }
  .qa + .qa { margin-top: 56px; }
  .foot__meta { grid-template-columns: 1fr; }
  .foot__meta > :last-child { text-align: left; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .masthead { height: 38svh; min-height: 260px; grid-template-columns: repeat(3, 1fr); }
  .m-a { grid-column: 1 / 3; grid-row: 1; }
  .m-b { grid-column: 3; grid-row: 1; }
  .m-c { grid-column: 2 / 4; grid-row: 2; }
  .m-d { grid-column: 1; grid-row: 2; }
  .m-e, .m-f, .m-g { display: none; }
  .m-d b { font-size: 3rem; }
  .m-d span { font-size: 0.8125rem; }
  .bar { height: 56px; }
  .bar .btn { min-height: 56px; padding: 0 16px; font-size: 0.9375rem; }
  .bar__mark span { display: none; }
  .title h1 { font-size: 15.5vw; }
  .title__ctas .btn { width: 100%; justify-content: space-between; }
  .items { grid-template-columns: 1fr; }
  .always ul { grid-template-columns: 1fr; }
  .always li { padding: 16px var(--m); }
  .always h3 { padding-top: 28px; }
  .years b { font-size: 46vw; }
  .navy-photos { min-height: 36svh; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .bio { font-size: 1.375rem; line-height: 1.25; }
  .bio img { width: 110px; height: 110px; }
  .order { padding-left: 0; padding-right: 0; }
  .order__side { padding: 0 var(--m); }
  .stepper li { padding: 14px 10px 12px; font-size: 0.8125rem; text-align: center; }
  .stepper li b { display: grid; margin: 0 auto 6px; }
  .cards, .row2 { grid-template-columns: 1fr; }
  .fnav .count { display: none; }
  .fnav .btn { flex: 1; }
  .foot__big { font-size: 12.5vw; }
  .toast { left: 16px; right: 16px; transform: translateY(160%); }
  .toast.is-on { transform: none; }
}

/* ---------- Service pages ---------- */
.sp-bar { display: flex; align-items: stretch; min-height: 64px; }
.sp-bar .btn { margin-left: auto; min-height: 64px; }
.sp-hero { padding: clamp(64px, 8vw, 120px) var(--m) 0; display: grid; grid-template-columns: var(--axis) 1fr; align-items: end; }
.sp-hero__side { padding: 0 32px 10px 0; }
.sp-crumb { font: 600 var(--step-small)/1.3 'Libre Franklin', sans-serif; color: var(--soft); }
.sp-intro { margin-top: 18px; font-size: var(--step-lead); line-height: 1.32; max-width: 32ch; }
.sp-title { font-size: clamp(2.75rem, 1rem + 4.6vw, 6rem); letter-spacing: -0.05em; line-height: 0.92; max-width: 13em; }
.sp-title .line { display: block; overflow: hidden; padding: 0.12em 0 0.08em; margin: -0.12em 0 -0.08em; }
.sp-title .line > span { display: block; }
.sp-photo { margin-top: clamp(56px, 7vw, 96px); height: clamp(260px, 46vh, 520px); }
.sp-items { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.sp-items li { display: flex; gap: 16px; align-items: baseline; padding: 22px 0; font-size: var(--step-lead); line-height: 1.3; box-shadow: inset 0 -2px 0 var(--line); }
.sp-items li::before { content: ""; flex: none; width: 22px; height: 22px; transform: translateY(3px); background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9.5 3 3 6-7' fill='none' stroke='%230E1B24' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / 22px no-repeat; }
.sp-items + .always { margin-top: 56px; }
.sp-cta { margin: clamp(120px, 13vw, 200px) var(--m) 0; background: var(--sky); padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: end; }
.sp-cta h2 { font-size: var(--step-head); }
.sp-cta p { margin-top: 18px; font-size: var(--step-lead); line-height: 1.32; max-width: 34ch; }
.sp-cta__actions { display: grid; gap: 16px; justify-items: start; font: 600 1rem/1 'Libre Franklin', sans-serif; }
.sp-others { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-others a { position: relative; isolation: isolate; display: grid; gap: 6px; padding: 26px 56px 26px 26px; background: var(--white); text-decoration: none; min-height: 100%; }
.sp-others a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky-pale); transform: scaleY(0); transform-origin: bottom; transition: transform 450ms var(--ease-out); }
.sp-others b { font: 700 1.25rem/1.15 'Libre Franklin', sans-serif; letter-spacing: -0.02em; }
.sp-others span { color: var(--soft); font-size: 0.9375rem; }
.sp-others svg { position: absolute; right: 22px; top: 28px; width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sp-others a:hover::before { transform: scaleY(1); } .sp-others a:hover svg { transform: translateX(4px); } }
@media (prefers-reduced-motion: no-preference) {
  .js .sp-title .line > span { animation: line-up 1000ms var(--ease-out) both; animation-delay: 150ms; }
  .js .sp-items.is-in li { animation: rise 600ms var(--ease-out) both; animation-delay: calc(var(--n) * 60ms); }
}
@media (max-width: 1000px) {
  .sp-bar .bar__tab { display: none; }
  .sp-hero { grid-template-columns: 1fr; }
  .sp-title { order: -1; }
  .sp-hero__side { padding: 28px 0 0; }
  .sp-items { grid-template-columns: 1fr; }
  .sp-cta { grid-template-columns: 1fr; }
  .sp-others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sp-bar .bar__mark span { display: none; }
  .sp-bar .btn { min-height: 56px; padding: 0 16px; font-size: 0.9375rem; }
  .sp-title { font-size: 10.5vw; }
  .sp-hero__side .btn { width: 100%; justify-content: space-between; }
  .sp-others { grid-template-columns: 1fr; }
}

/* ---------- Quote page ---------- */
.order--page { margin-top: 0; padding-top: clamp(48px, 7vw, 104px); }
.order--page h1 { font-size: var(--step-head); max-width: 9ch; }
.order__side h1 + p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 28ch; }
.acct-note { clear: both; margin: -8px 0 24px; padding: 14px 16px; background: var(--sky-pale); font-size: 1rem; line-height: 1.45; }
.quote-page .foot { margin-top: 0; }

/* ---------- Phone fixes ---------- */
/* fieldsets default to the width of their content; a long file name would push the form off screen */
.fstep, .formcard, .order > * { min-width: 0; }
.drop span { overflow-wrap: anywhere; }
input[type="date"].input { -webkit-appearance: none; appearance: none; display: block; min-width: 0; }
@media (max-width: 1000px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .tab { justify-content: center; text-align: center; padding: 14px 10px; font-size: 0.9375rem; line-height: 1.2; }
}
@media (max-width: 640px) {
  .order--page { padding-top: 32px; }
  .order--page h1 { font-size: 2.5rem; }
  .fstep { padding: 22px 16px; }
  .fnav { padding: 0 16px 22px; }
  .fstep legend { font-size: 1.5rem; margin-bottom: 20px; }
  .card span { padding: 16px 16px 18px 50px; }
  .card span::before { left: 16px; top: 18px; }
  .opts span { padding: 11px 13px; }
  .panel__body { padding: 24px 18px; }
  .panel__cta .btn { width: 100%; justify-content: space-between; }
  .always li { padding: 14px var(--m); }
  .sec-head h2 { font-size: 2.25rem; }
  .sp-cta { margin-left: 16px; margin-right: 16px; padding: 32px 22px; }
  .sp-cta .btn { width: 100%; justify-content: space-between; }
  .pg__body { padding: 24px 18px; }
  .pg__media { height: 26svh; }
  .qa .q { font-size: 1.5rem; }
  .foot__meta { font-size: 0.8125rem; }
}
@media (max-width: 640px) {
  .foot__top { flex-direction: column; align-items: flex-start; }
  .foot__top > span { gap: 20px; }
}
