/* Tecalemit homepage concept. Palette sampled from the Tecalemit logo. */
@font-face {
  font-family: "Archivo";
  src: url("/case-studies/concepts/tecalemit/assets/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/case-studies/concepts/tecalemit/assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --blue: #004899;          /* logo arrow */
  --blue-700: #003773;
  --blue-100: #e6eef8;
  --red: #c8003a;           /* logo roundel */
  --red-700: #a3002f;
  --navy: #06173a;
  --navy-2: #0b2350;
  --navy-3: #12306a;
  --ink: #0c1424;
  --muted: #4a5468;
  --muted-light: #b9c4d8;
  --paper: #f3f5f9;
  --line: #d7dde8;
  --white: #fff;
  --yellow: #ffc20e;        /* workshop floor markings */
  --focus: var(--blue);
  --radius: 6px;
  --shadow: 0 1px 2px rgb(6 23 58 / .06), 0 8px 24px rgb(6 23 58 / .08);
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 68px;
  --ff: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-stretch: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem); font-stretch: 115%; }
h3 { font-size: 1.3rem; font-stretch: 105%; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 40em) { :root { --gutter: 24px; } }
@media (min-width: 64em) { :root { --gutter: 32px; --header-h: 80px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Dark sections switch the focus ring to floor-marking yellow */
.utility, .hero, .planner, .service, .enquiry__aside, .site-footer, .mobile-menu, .float-cta__bar, .quote { --focus: var(--yellow); }
.planner .plan-card, .planner .estimator, .enquiry__form { --focus: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.35em;
  font: 700 1rem/1.1 var(--ff); font-stretch: 108%;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover svg use { transform: translateX(2px); }
.btn--sm { min-height: 42px; padding: .6em 1.05em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .95em 1.6em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-700); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-700); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .55); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Eyebrow labels with the roundel from the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9rem;
  font-size: .95rem; font-weight: 700; color: var(--red); font-stretch: 105%;
}
.eyebrow svg { width: 1.25em; height: 1.25em; color: var(--red); }
.eyebrow--light { color: var(--white); }
.eyebrow--light svg { color: var(--red); }

/* Utility bar */
.utility { background: var(--navy); color: var(--muted-light); font-size: .875rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility__note { margin: 0; display: none; }
.utility__lines { list-style: none; display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.utility__lines li:not(:first-child) { padding-left: 18px; border-left: 1px solid rgb(255 255 255 / .18); }
.utility a { color: var(--white); text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--yellow); text-decoration: underline; }
.utility__label { color: var(--muted-light); }
@media (max-width: 30em) { .utility__lines li:nth-child(3) { display: none; } .utility__lines { gap: 12px; } .utility__lines li:not(:first-child) { padding-left: 12px; } }
@media (min-width: 48em) { .utility__note { display: block; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(6 23 58 / .08); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; margin-left: -6px; }
.brand__logo { width: 116px; height: auto; }
@media (min-width: 64em) { .brand__logo { width: 140px; } }
.primary-nav { display: none; margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 4px; }
.primary-nav a { display: block; padding: .6em .8em; color: var(--ink); font-weight: 650; text-decoration: none; border-radius: var(--radius); }
.primary-nav a:hover { color: var(--blue); background: var(--blue-100); }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: .45em; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--red); }
.header-phone:hover { color: var(--blue); }
.menu-toggle { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }
@media (max-width: 26em) { .site-header__actions .btn--sm { padding-inline: .8em; } }
@media (min-width: 64em) {
  .primary-nav { display: block; }
  .site-header__actions { margin-left: 8px; }
  .menu-toggle { display: none; }
}
@media (min-width: 80em) { .header-phone { display: inline-flex; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: rgb(6 23 58 / .6); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--navy); color: var(--white); padding: 16px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__logo { width: 112px; }
.mobile-menu__close { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .3); border-radius: var(--radius); cursor: pointer; }
.mobile-menu__close svg { width: 24px; height: 24px; transform: rotate(45deg); }
.mobile-menu__links { list-style: none; }
.mobile-menu__links a { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-size: 1.35rem; font-weight: 750; font-stretch: 110%; border-bottom: 1px solid rgb(255 255 255 / .12); }
.mobile-menu__links a:hover { color: var(--yellow); }
.mobile-menu__lines { list-style: none; display: grid; gap: 10px; }
.mobile-menu__lines a { color: var(--white); text-decoration: none; font-weight: 700; display: flex; justify-content: space-between; padding: 12px 14px; border: 1px solid rgb(255 255 255 / .18); border-radius: var(--radius); }
.mobile-menu__lines span { color: var(--muted-light); font-weight: 500; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding: 40px 0 0; isolation: isolate; }
.hero__rings {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -320px; top: -260px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgb(200 0 58 / .16) 0 34px, transparent 34px 70px);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.3rem + 5.2vw, 4.75rem); font-stretch: 122%; font-weight: 850; line-height: .98; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__accent { color: var(--white); background: linear-gradient(transparent 70%, var(--red) 70% 92%, transparent 92%); padding-right: .08em; }
.hero__lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: #dbe3f1; max-width: 38em; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__call { color: var(--muted-light); margin: 0; }
.hero__call a { color: var(--white); font-weight: 700; }
.hero__call a:hover { color: var(--yellow); }
.hero__visual { position: relative; }
.hero__figure { margin: 0; position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 55%;
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
  border-radius: var(--radius) 0 0 var(--radius);
}
.tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; background: rgb(6 23 58 / .86); color: var(--white); font: 500 .78rem/1.3 var(--ff-mono); padding: 7px 10px; border-radius: 4px; max-width: 72%; }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgb(255 194 14 / .25); }
.hero__service { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; background: var(--white); color: var(--ink); border-radius: var(--radius); border-left: 5px solid var(--red); box-shadow: var(--shadow); }
.hero__service svg { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.hero__service p { margin: 0; font-size: .97rem; }
.hero__service a { font-weight: 800; color: var(--blue); white-space: nowrap; }
.hero__service-title { font-weight: 800; font-stretch: 108%; font-size: 1.05rem !important; }
@media (min-width: 64em) {
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 48px; }
  .hero__visual { margin-right: calc(var(--gutter) * -1); }
  .hero__img { aspect-ratio: 5 / 4.4; }
  .hero__service { position: absolute; left: -36px; bottom: -28px; max-width: 330px; margin: 0; }
}
.proof { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: rgb(255 255 255 / .12); border-top: 1px solid rgb(255 255 255 / .12); }
.proof li { background: var(--navy); padding: 20px 14px 22px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.proof svg { width: 26px; height: 26px; color: var(--yellow); grid-row: span 2; margin-top: 2px; }
.proof strong { font-size: 1.05rem; font-stretch: 110%; }
.proof span { color: var(--muted-light); font-size: .92rem; line-height: 1.4; }
@media (min-width: 48em) { .proof { grid-template-columns: repeat(4, 1fr); } .proof li { padding-left: 18px; } .proof li:first-child { padding-left: 0; } }
@media (min-width: 64em) { .proof { margin-top: 72px; } }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 64em) { .section { padding: 104px 0; } }
.section-head { margin-bottom: 36px; }
.section-head--split { display: grid; gap: 16px; }
.section-head__intro { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0; }
@media (min-width: 64em) {
  .section-head { margin-bottom: 52px; }
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

/* Routes */
.routes { background: var(--paper); }
.routes__grid { list-style: none; display: grid; gap: 16px; }
.route { position: relative; background: var(--white); border-radius: var(--radius); padding: 26px 24px 24px; border-top: 4px solid var(--blue); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.route:hover { border-top-color: var(--red); transform: translateY(-3px); }
.route__num { font: 500 .85rem var(--ff-mono); color: var(--muted); margin-bottom: 14px; }
.route h3 { margin-bottom: 10px; }
.route p { color: var(--muted); flex: 1; }
.route__link, .text-link, .kit-card__link { display: inline-flex; align-items: center; gap: .45em; font-weight: 750; text-decoration: none; color: var(--blue); }
.route__link svg, .text-link svg, .kit-card__link svg { width: 1.1em; height: 1.1em; transition: transform .18s; }
.route__link:hover, .text-link:hover, .kit-card__link:hover { color: var(--red); text-decoration: underline; }
.route__link:hover svg, .text-link:hover svg, .kit-card__link:hover svg { transform: translateX(3px); }
.route__link::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 40em) { .routes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .routes__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Planner */
.planner {
  position: relative; color: var(--white);
  background-color: var(--navy-2);
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.planner .section-head__intro { color: #d0d9ea; }
.planner__grid { display: grid; gap: 24px; }
@media (min-width: 64em) { .planner__grid { grid-template-columns: minmax(300px, .78fr) 1.5fr; gap: 32px; align-items: start; } .planner__controls { position: sticky; top: calc(var(--header-h) + 16px); } }
.chips { border: 0; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.chips legend { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; font-stretch: 108%; margin-bottom: 12px; padding: 0; }
.step-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 500 .9rem var(--ff-mono); }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px 12px 42px; border: 1.5px solid rgb(255 255 255 / .22); border-radius: var(--radius); background: rgb(255 255 255 / .04); transition: border-color .15s, background-color .15s; position: relative; }
.chip > span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .6); }
.chip strong { font-weight: 650; font-size: .98rem; line-height: 1.3; }
.chip small { font: 500 .74rem/1.3 var(--ff-mono); color: var(--muted-light); text-align: right; flex-shrink: 0; max-width: 45%; }
.chip:hover > span { border-color: rgb(255 255 255 / .55); }
.chip input:checked + span { border-color: var(--yellow); background: rgb(255 194 14 / .1); }
.chip input:checked + span::before { border-color: var(--yellow); background: radial-gradient(circle, var(--yellow) 0 4px, transparent 5px); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.chips__note { margin: 4px 0 0; font-size: .92rem; color: #d0d9ea; background: rgb(255 255 255 / .06); border-left: 3px solid var(--yellow); padding: 10px 12px; border-radius: 0 var(--radius) var(--radius) 0; }

.plan-card { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .25); }
.plan-card__head { padding: 24px 24px 8px; }
.plan-card__kicker { font: 500 .8rem var(--ff-mono); color: var(--red); margin-bottom: 8px; }
.plan-card__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-stretch: 112%; margin-bottom: 10px; }
.plan-card__desc { color: var(--muted); margin: 0; }
.plan { margin: 18px 24px 0; }
.plan__canvas { background: var(--navy); border-radius: var(--radius); aspect-ratio: 2 / 1; overflow: hidden; }
.plan__canvas svg { width: 100%; height: 100%; display: block; }
.plan__fallback { color: var(--white); padding: 24px; margin: 0; }
.plan figcaption { font: 500 .74rem/1.4 var(--ff-mono); color: var(--muted); margin-top: 8px; }
.plan-card__body { padding: 18px 24px 24px; }
.plan-card__sub { margin-bottom: 12px; font-stretch: 108%; }
.kit { list-style: none; counter-reset: kit; display: grid; gap: 8px; margin-bottom: 14px; }
.kit li { counter-increment: kit; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.kit li::before { content: counter(kit); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font: 500 .75rem var(--ff-mono); margin-top: -1px; }
.kit a { color: var(--ink); text-decoration-color: rgb(0 72 153 / .35); }
.kit a:hover { color: var(--blue); }
.plan-card__formats { margin: 0; font-size: .94rem; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
@media (min-width: 40em) { .kit { grid-template-columns: 1fr 1fr; column-gap: 20px; } }

/* plan drawing */
.p-floor { fill: #0d2552; }
.p-grid { stroke: rgb(255 255 255 / .06); stroke-width: 1; }
.p-bay { fill: #11306a; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 6 4; }
.p-hazard { fill: url(#hz); }
.p-equip { fill: #2a63b8; stroke: #cfe0ff; stroke-width: 1.4; }
.p-equip--red { fill: var(--red); stroke: #ffd2dd; }
.p-equip--dark { fill: #081b40; stroke: #9fb6dc; stroke-width: 1.2; }
.p-roller { fill: #c9d3e3; stroke: #081b40; stroke-width: .8; }
.p-pit { fill: #020b1f; stroke: #9fb6dc; stroke-width: 1.4; }
.p-line { stroke: #9fb6dc; stroke-width: 1.2; fill: none; }
.p-dim { stroke: var(--yellow); stroke-width: 1; fill: none; }
.p-dimtext { fill: var(--yellow); font: 500 11px var(--ff-mono); }
.p-label { fill: #d9e4f7; font: 500 10.5px var(--ff-mono); }
.p-marker circle { fill: var(--yellow); }
.p-marker text { fill: var(--ink); font: 600 11px var(--ff-mono); text-anchor: middle; dominant-baseline: central; }
.p-arrow { fill: var(--red); }

.estimator { margin-top: 16px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px 24px; border-top: 4px solid var(--yellow); }
.estimator[hidden] { display: none; }
.estimator__title { font-stretch: 108%; margin-bottom: 14px; }
.estimator__inputs { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 40em) { .estimator__inputs { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; } }
.estimator__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 8px; color: var(--muted); }
.estimator__big { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); font-weight: 850; font-stretch: 118%; color: var(--blue); line-height: 1; }
.estimator__note { font-size: .86rem; color: var(--muted); margin: 0; }
.planner__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.planner__ctas p { margin: 0; color: #d0d9ea; }
.planner__ctas a:not(.btn) { color: var(--white); font-weight: 700; }
.planner__ctas a:not(.btn):hover { color: var(--yellow); }

.steps-block { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / .16); }
.steps-block__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-stretch: 112%; margin-bottom: 28px; }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 20px 20px 18px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); }
.steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow); font: 500 .95rem var(--ff-mono); margin-bottom: 12px; }
.steps h4 { margin-bottom: 6px; font-stretch: 108%; }
.steps p { margin: 0; color: #cdd7e8; font-size: .96rem; }
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 80em) { .steps { grid-template-columns: repeat(6, 1fr); } .steps li { padding: 20px 16px; } }

/* Equipment */
.equipment { background: var(--paper); }
.kit-grid { list-style: none; display: grid; gap: 18px; }
@media (min-width: 40em) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .kit-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.kit-card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.kit-card:hover { transform: translateY(-3px); }
.kit-card__media { aspect-ratio: 4 / 3; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.kit-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kit-card__media--cutout img { object-fit: contain; padding: 18px; }
.kit-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kit-card h3 { margin-bottom: 8px; }
.kit-card p { color: var(--muted); flex: 1; }
.kit-card__link::after { content: ""; position: absolute; inset: 0; }

.ev { margin-top: 48px; display: grid; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-left: 6px solid var(--blue); }
.ev__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ev__body { padding: 28px 24px; }
.ev__body h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); font-stretch: 112%; margin-bottom: 12px; }
.ev__body > p:not(.eyebrow) { color: var(--muted); }
.ev__specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.ev__specs div { background: var(--blue-100); border-radius: var(--radius); padding: 10px 14px; min-width: 104px; }
.ev__specs dt { font: 500 .74rem var(--ff-mono); color: var(--muted); }
.ev__specs dd { margin: 2px 0 0; font-weight: 850; font-size: 1.45rem; font-stretch: 115%; color: var(--blue); }
@media (min-width: 64em) { .ev { grid-template-columns: .9fr 1.1fr; } .ev__media img { aspect-ratio: auto; } .ev__body { padding: 44px 48px; } }

/* Work */
.feature-case { display: grid; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; --focus: var(--yellow); }
.feature-case__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-case__body { padding: 28px 24px 32px; }
.feature-case__where, .case__where { font: 500 .8rem var(--ff-mono); color: var(--yellow); margin-bottom: 10px; }
.feature-case h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-stretch: 115%; margin-bottom: 14px; }
.feature-case p { color: #d6deec; }
.feature-case__facts { list-style: none; display: grid; gap: 8px; margin: 18px 0 22px; }
.feature-case__facts li { display: flex; gap: 10px; align-items: flex-start; }
.feature-case__facts svg { width: 20px; height: 20px; color: var(--yellow); margin-top: 3px; }
.feature-case .text-link { color: var(--white); }
.feature-case .text-link:hover { color: var(--yellow); }
@media (min-width: 64em) { .feature-case { grid-template-columns: 1fr 1fr; } .feature-case__media img { aspect-ratio: auto; } .feature-case__body { padding: 52px 52px; align-self: center; } }
.cases { list-style: none; display: grid; gap: 20px; }
@media (min-width: 40em) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .cases { grid-template-columns: repeat(4, 1fr); } }
.case { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.case__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__where { color: var(--red); margin: 18px 20px 6px; }
.case h3 { margin: 0 20px 8px; font-size: 1.18rem; }
.case p:not(.case__where) { margin: 0 20px 14px; color: var(--muted); font-size: .97rem; flex: 1; }
.case .text-link { margin: 0 20px 20px; }

.quote { margin: 56px 0 0; display: grid; background: var(--blue); color: var(--white); border-radius: var(--radius); overflow: hidden; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.quote__body { padding: 32px 24px 36px; position: relative; }
.quote__mark { width: 52px; height: 44px; color: var(--red); margin-bottom: 18px; }
.quote blockquote { margin: 0 0 22px; }
.quote blockquote p { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.32; font-weight: 650; font-stretch: 104%; margin: 0; }
.quote figcaption { color: #d2def2; font-size: .98rem; }
.quote figcaption strong { display: block; color: var(--white); font-size: 1.08rem; }
@media (min-width: 64em) { .quote { grid-template-columns: 1fr 1.1fr; } .quote__media img { aspect-ratio: auto; } .quote__body { padding: 56px 56px; align-self: center; } }

/* Service */
.service { position: relative; background: var(--navy); color: var(--white); padding-top: 0; }
.hazard { height: 14px; background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--ink) 18px 36px); margin-bottom: 64px; }
@media (min-width: 64em) { .hazard { margin-bottom: 104px; } }
.service__grid { display: grid; gap: 36px; align-items: center; }
.service__media { position: relative; }
.service__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service__badge { position: absolute; right: 14px; bottom: -22px; width: 128px; height: 128px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 8px rgb(255 255 255 / .9), 0 0 0 16px var(--red); line-height: 1.15; }
.service__badge strong { font-size: 1.25rem; font-stretch: 112%; }
.service__badge span { font-size: .85rem; }
.service__lede { color: #d6deec; font-size: 1.1rem; margin: 18px 0 26px; }
.service__list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.service__list li { display: flex; gap: 14px; align-items: flex-start; }
.service__list svg { width: 28px; height: 28px; color: var(--yellow); margin-top: 2px; }
.service__list strong { display: block; font-stretch: 106%; }
.service__list span { color: #c3cee2; }
.service__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.service__small { color: var(--muted-light); font-size: .9rem; margin: 0; }
.service__small a { color: var(--white); }
@media (min-width: 40em) { .service__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .service__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } .service__media img { aspect-ratio: 4 / 4.4; } .service__badge { right: -24px; bottom: 36px; width: 150px; height: 150px; } }

/* Heritage */
.heritage { background: var(--paper); }
.timeline { list-style: none; display: grid; gap: 0; position: relative; margin-bottom: 44px; }
.timeline li { position: relative; padding: 0 0 26px 40px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--red); background: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--red); }
.timeline__year { display: block; font-weight: 850; font-stretch: 120%; font-size: 1.6rem; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
@media (min-width: 64em) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .timeline li { padding: 40px 0 0; }
  .timeline li::before { left: 22px; right: -28px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline li:last-child::before { display: block; right: 0; }
  .timeline li::after { top: 0; }
}
.accred { display: grid; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.accred__img { width: 100%; max-width: 560px; }
.accred p { margin: 0; color: var(--muted); }
@media (min-width: 64em) { .accred { grid-template-columns: 560px 1fr; gap: 40px; padding: 28px 36px; } }

/* FAQ */
.faq__grid { display: grid; gap: 28px; }
.faq__head p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
@media (min-width: 64em) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } .faq__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 750; font-size: 1.1rem; font-stretch: 104%; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--blue); transition: transform .2s, background-color .2s; }
.faq__list details[open] summary svg { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq__list summary:hover { color: var(--blue); }
.faq__list details p { color: var(--muted); padding: 0 40px 20px 0; margin: 0; }

/* Enquiry */
.enquiry { background: var(--navy); color: var(--white); }
.enquiry__grid { display: grid; gap: 32px; align-items: start; }
.enquiry__aside > p:not(.eyebrow) { color: #d6deec; font-size: 1.08rem; margin: 16px 0 24px; }
.lines { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.lines li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / .16); border-radius: var(--radius); }
.lines span { font: 500 .78rem var(--ff-mono); color: var(--muted-light); }
.lines a { color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.lines a:first-of-type { font-size: 1.25rem; font-stretch: 112%; font-weight: 800; }
.lines a:hover { color: var(--yellow); text-decoration: underline; }
.enquiry__aside address { color: var(--muted-light); }
.enquiry__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 24px 60px rgb(0 0 0 / .25); }
@media (min-width: 40em) { .enquiry__form { padding: 32px; } }
@media (min-width: 64em) { .enquiry__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } .enquiry__form { padding: 40px; } }
.form-grid { display: grid; gap: 16px; margin-bottom: 22px; }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field[hidden] { display: none; }
.field__label { font-weight: 650; font-size: .95rem; display: flex; justify-content: space-between; gap: 8px; }
.req { font-weight: 500; font-size: .82rem; color: var(--muted); }
.field input:not([type="radio"]):not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: 400 1rem/1.4 var(--ff); color: var(--ink);
  background: var(--white); border: 1.5px solid #aab4c6; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgb(0 72 153 / .25); outline-offset: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: .88rem; margin: 0; font-weight: 600; }
.radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.radios legend { margin-bottom: 6px; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: var(--blue); }
.field--range input[type="range"] { width: 100%; accent-color: var(--blue); min-height: 32px; }
.field--range output { font: 500 .95rem var(--ff-mono); color: var(--blue); }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input--short { max-width: 14em; }

/* Footer */
.site-footer { background: #041029; color: var(--muted-light); padding: 56px 0 120px; font-size: .95rem; }
@media (min-width: 64em) { .site-footer { padding-bottom: 40px; } }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { width: 150px; margin-bottom: 14px; }
.footer__brand p { color: var(--white); font-weight: 650; font-stretch: 106%; }
.footer__title { font-size: 1rem; color: var(--white); margin-bottom: 12px; font-stretch: 106%; }
.footer__col ul, .social, .footer__legal ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; color: var(--white); }
@media (min-width: 64em) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }
.footer__legal { display: grid; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .86rem; }
.footer__legal p { margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 64em) { .footer__legal { grid-template-columns: 1fr auto; } }

/* Floating calls to action: pill on laptops, bar on phones */
.float-cta[hidden] { display: none; }
.float-cta__pill { display: none; }
.float-cta__bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(6 23 58 / .97); box-shadow: 0 -8px 24px rgb(0 0 0 / .2);
  transition: transform .25s ease;
}
.float-cta__bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); font-weight: 750; text-decoration: none; color: var(--white); border: 1.5px solid rgb(255 255 255 / .4); }
.float-cta__bar svg { width: 18px; height: 18px; }
.float-cta__bar .float-cta__primary { background: var(--red); border-color: var(--red); }
.float-cta.is-away .float-cta__bar { transform: translateY(110%); }
@media (min-width: 64em) {
  .float-cta__bar { display: none; }
  .float-cta__pill {
    position: fixed; right: 28px; bottom: 28px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 22px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 800; font-stretch: 108%;
    text-decoration: none; box-shadow: 0 10px 30px rgb(200 0 58 / .35), 0 2px 6px rgb(0 0 0 / .2); transition: transform .25s ease, opacity .25s, background-color .2s;
  }
  .float-cta__pill svg { width: 18px; height: 18px; }
  .float-cta__pill:hover { background: var(--red-700); color: var(--white); }
  .float-cta.is-away .float-cta__pill { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Thank-you page */
.thanks-page { background: var(--navy); color: var(--white); --focus: var(--yellow); }
.thanks { min-height: 100vh; display: grid; align-items: center; padding: 48px 0; }
.thanks__inner { max-width: 760px; }
.thanks__logo { width: 150px; margin-bottom: 40px; }
.thanks__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.8rem); font-stretch: 118%; margin-bottom: 16px; }
.thanks__lede { color: #d6deec; font-size: 1.15rem; margin-bottom: 28px; }
.thanks__lines { max-width: 420px; margin-bottom: 32px; }
