/* featblueprint.co.uk | stylesheet */
:root {
  --teal: #1f2a5a;          /* primary: deep navy */
  --teal-deep: #121a3d;
  --teal-bright: #e8613c;   /* accent: coral */
  --mint: #fde7df;
  --mist: #f4f5fa;
  --ink: #181c2e;
  --ink-soft: #5a6078;
  --paper: #ffffff;
  --line: #dcdfeb;
  --warn: #b3261e;
  --radius-s: 6px;
  --radius-m: 14px;
  --wrap: 1180px;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}
mark.todo { background: #fff3c4; color: #5a4300; padding: .05em .35em; border-radius: 4px; font-weight: 600; font-family: var(--font-head); font-size: .92em; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-bright); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--mist { background: var(--mist); }
.section--teal { background: var(--teal); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: #fff; padding: .5rem 1rem; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-s); text-decoration: none;
  border: 2px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--light { background: var(--teal-bright); border-color: var(--teal-bright); color: #fff; }
.btn--light:hover { background: #c94d2b; border-color: #c94d2b; color: #fff; }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--teal); }
.text-link { font-family: var(--font-head); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }

/* Top bar and header */
.topbar { background: var(--teal-deep); color: #cfe3e0; font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.25rem; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-stuck { box-shadow: 0 6px 20px rgba(10, 61, 61, .08); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; transition: min-height .25s; }
.header.is-stuck .wrap { min-height: 66px; }
.logo img { height: 46px; width: auto; transition: height .25s; }
.header.is-stuck .logo img { height: 38px; }
.logo__region { font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: var(--teal); margin-left: .5rem; padding: .15rem .45rem; border: 1.5px solid var(--teal); border-radius: var(--radius-s); vertical-align: middle; }
.logo { display: flex; align-items: center; text-decoration: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav a { display: block; padding: .6rem .8rem; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); }
.nav a:hover { color: var(--teal); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; padding: 5.5rem 1.5rem 2rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.12); z-index: 60; }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.15rem; padding: .8rem .5rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: .9rem; }
  .nav-toggle { position: relative; z-index: 70; }
  .topbar__links { display: none; }
}

/* Hero with background video */
.hero { position: relative; color: #fff; overflow: hidden; min-height: min(88vh, 760px); display: flex; align-items: center; background: var(--teal-deep); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(232,97,60,.45), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.hero .wrap { position: relative; z-index: 2; padding: 5rem 0; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e2f0ee; max-width: 52ch; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__regions { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--font-head); font-size: .95rem; color: #b9d8d4; }
.hero__regions span { white-space: nowrap; }
.hero__regions span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e8613c; margin-right: .5rem; vertical-align: middle; }

/* Hero load sequence: the one orchestrated motion moment */
.hero [data-seq] { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero [data-seq="1"] { animation-delay: .1s; }
.hero [data-seq="2"] { animation-delay: .3s; }
.hero [data-seq="3"] { animation-delay: .5s; }
.hero [data-seq="4"] { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page header for inner pages */
.page-head { background: var(--teal); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #d6eae7; font-size: 1.2rem; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #b9d8d4; }
.crumbs a { color: #fff; }

/* Grids */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.img-frame { display: flex; justify-content: center; }

/* Services strip on home */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service { padding: 2rem 1.75rem 2.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); display: flex; flex-direction: column; }

.service h3 { color: var(--teal); }
.service p { font-size: 1rem; color: var(--ink-soft); flex: 1; }
@media (max-width: 1020px) { .services { grid-template-columns: 1fr 1fr; } .service:nth-child(2) { border-right: 0; } .service { border-bottom: 1px solid var(--line); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; } }

/* Section heading row */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.slider-ctrls { display: flex; gap: .5rem; }
.slider-ctrls button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal); background: #fff; color: var(--teal); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.slider-ctrls button:hover { background: var(--teal); color: #fff; }
.slider-ctrls button:disabled { opacity: .35; cursor: default; background: #fff; color: var(--teal); }

/* Horizontal slider (jobs and insights) */
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .5rem; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
@media (max-width: 1020px) { .slider { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 620px) { .slider { grid-auto-columns: 86%; } }

/* Job card */
.job { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal-bright); border-radius: var(--radius-s); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.job h3 { margin: 0; font-size: 1.25rem; }
.job h3 a { color: var(--ink); text-decoration: none; }
.job h3 a:hover { color: var(--teal); }
.job dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .96rem; }
.job dt { color: var(--ink-soft); }
.job dd { margin: 0; font-weight: 600; }
.job .btn { align-self: flex-start; margin-top: auto; padding: .6rem 1.2rem; font-size: .95rem; }

/* Jobs page filters and list */
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; background: #fff; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 2rem; }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.jobs-list { display: grid; gap: 1rem; }
.jobs-list .job { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.jobs-list .job > div { flex: 1 1 420px; }
.jobs-list .job .btn { margin-top: 0; align-self: center; }
.tag { display: inline-block; font-size: .82rem; padding: .15rem .55rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); margin: .2rem .3rem 0 0; }
.results-count { color: var(--ink-soft); margin-bottom: 1rem; }
.empty { padding: 2.5rem; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-m); }

/* Client logo marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Insight card */
.insight { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 1.75rem; border-radius: var(--radius-m); background: var(--teal); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.insight:nth-child(3n+2) { background: var(--teal-deep); }
.insight:nth-child(3n+3) { background: #2d3b7a; }
.insight::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.insight small { font-family: var(--font-head); color: #bfe0dc; font-size: .9rem; }
.insight h3 { color: #fff; font-size: 1.45rem; margin: .4rem 0 1.5rem; }
.insight span { font-family: var(--font-head); font-weight: 600; border-bottom: 2px solid #fff; align-self: flex-start; }
.insight:hover { color: #fff; }
.insight:hover span { border-color: #7fd0c6; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .insights-grid { grid-template-columns: 1fr; } }

/* Why DRC proof list */
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.proof li { padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.proof strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1.1; }
.proof span { color: #cfe6e3; font-size: 1rem; }
.proof li.proof--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius-m); border: 1px solid var(--line); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: .2rem; left: 1.2rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--mint); }
.quote blockquote { margin: 1.5rem 0 1.25rem; font-size: 1.08rem; }
.quote figcaption { font-family: var(--font-head); font-weight: 600; color: var(--teal); }
.quote figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.quote--feature { grid-column: 1 / -1; background: var(--teal); color: #fff; border: 0; }
.quote--feature blockquote { font-size: clamp(1.2rem, 2vw, 1.5rem); font-family: var(--font-head); font-weight: 400; line-height: 1.45; max-width: 60ch; }
.quote--feature figcaption { color: #fff; }
.quote--feature figcaption span { color: #cfe6e3; }
.quote--feature::before { color: rgba(255,255,255,.15); }

/* Services page */
.specialisms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.specialisms li { padding: .5rem 1rem; border: 1.5px solid var(--teal); border-radius: 999px; color: var(--teal-deep); font-family: var(--font-head); font-weight: 500; }
.svc-block { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:first-of-type { border-top: 0; }
.svc-block h2 { font-size: 1.75rem; color: var(--teal); }
.svc-block ul { padding-left: 1.2rem; }
.svc-block li { margin-bottom: .5rem; }
@media (max-width: 760px) { .svc-block { grid-template-columns: 1fr; gap: .5rem; } }
.stat-callout { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.stat-callout strong { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: #fff; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form--two { grid-template-columns: 1fr 1fr; }
.form--two .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form--two { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.field label .req { color: var(--warn); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(17,95,95,.15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--warn); }
.field .err { color: var(--warn); font-size: .88rem; margin-top: .3rem; display: none; }
.field.has-error .err { display: block; }
.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius-s); background: var(--mint); color: var(--teal-deep); display: none; }
.form-status.is-shown { display: block; }
.consent { font-size: .9rem; color: var(--ink-soft); display: flex; gap: .6rem; align-items: flex-start; }
.consent input { margin-top: .3rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.5rem); }

/* Contact block */
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.25rem; }
.contact-list dt, .contact-list .k { font-family: var(--font-head); color: #b9d8d4; font-size: .95rem; }
.contact-list a, .contact-list .v { color: #fff; font-size: 1.2rem; font-family: var(--font-head); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius-m); display: block; }

/* Footer */
.footer { background: var(--teal-deep); color: #cfe3e0; padding: 4rem 0 2rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.15); }
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }
.footer img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer h4 { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.social a:hover { background: #fff; text-decoration: none; }
.social a:hover svg { fill: var(--teal-deep); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer__bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.region-switch { font-size: .9rem; }

/* Cookie consent */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; background: #fff; border-radius: var(--radius-m); box-shadow: 0 20px 50px rgba(10,61,61,.25); padding: 1.5rem; z-index: 100; transform: translateY(140%); transition: transform .4s ease; }
.cookie.is-shown { transform: none; }
.cookie h4 { margin-bottom: .4rem; }
.cookie p { font-size: .95rem; color: var(--ink-soft); }
.cookie__prefs { display: none; margin: 1rem 0; border-top: 1px solid var(--line); }
.cookie__prefs.is-open { display: block; }
.cookie__group { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cookie__group label { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-head); font-weight: 500; }
.cookie__group p { margin: .3rem 0 0; font-size: .88rem; }
.cookie__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie__actions .btn { padding: .6rem 1.1rem; font-size: .92rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero [data-seq] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Link alignment inside flex columns */
.service .text-link, .job .text-link { align-self: flex-start; }

/* Mobile top bar */
body { overflow-x: clip; }
.topbar a { white-space: nowrap; }
@media (max-width: 620px) {
  .topbar__contact a[href^="mailto"] { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* Text wordmark (no logo file yet) */
.wordmark { font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; color: var(--teal); letter-spacing: -.02em; }
.wordmark b { font-weight: 800; }
.wordmark small { font-size: .7em; color: var(--teal-bright); font-weight: 700; margin-left: .1em; }
.wordmark--light { color: #fff; display: inline-block; margin-bottom: 1rem; }
.topbar__contact span { color: #cfd4ec; }

/* Concept mockup banner */
.concept { background: #fff3c4; color: #5a4300; font-family: var(--font-head); font-weight: 700; font-size: .85rem; text-align: center; padding: .45rem 1rem; }
.tag--sample { background: #eef0f7; color: var(--ink-soft); }
