/* DC Build Recruitment: site styles
   Palette from the brand board. Kept deliberately small: one dark header,
   light reading sections, amber for the one action that matters. */

:root {
  --ink-navy: #1f212d;      /* brand board background */
  --navy: #232b3c;
  --steel: #636b76;
  --concrete: #9ea2a6;
  --amber: #e08c29;
  --blue: #1f74c4;

  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --text: #1d2130;
  --muted: #5c6370;
  --line: #e4e4e0;

  --max: 1080px;
  --head: "Saira", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header { background: var(--ink-navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }

.lockup { display: block; width: 150px; flex: 0 0 auto; }
.lockup img { width: 150px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: #d5d8de; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current] { box-shadow: 0 2px 0 var(--amber); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font: 600 16px/1 var(--body); padding: 14px 22px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-amber { background: var(--amber); color: #1f212d !important; }
.btn-amber:hover { background: #ec9b3d; }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-dark { background: var(--ink-navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--ink-navy); color: #fff; padding: 72px 0 88px; border-top: 1px solid rgba(255,255,255,.06); }
.hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }

.hero .lead { color: #c3c7cf; max-width: 56ch; margin-top: 20px; font-size: 19px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.tagline { font: 400 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--concrete); margin-bottom: 22px; }
.tagline i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin: 0 10px 2px 0; }
.tagline i.b { background: var(--blue); }
.tagline span + i { margin-left: 14px; }

.page-hero { background: var(--ink-navy); color: #fff; padding: 56px 0 64px; border-top: 1px solid rgba(255,255,255,.06); }
.page-hero .lead { color: #c3c7cf; max-width: 60ch; margin-top: 16px; font-size: 19px; }
.eyebrow { font: 400 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--concrete); margin-bottom: 18px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section.tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.label { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.three h3 { margin-bottom: 8px; }
.three p { color: var(--muted); }
.three .n { font: 600 14px/1 var(--head); color: var(--amber); display: block; margin-bottom: 14px; }

/* Stages: one clean row */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--text); }
.stage { padding: 20px 18px 4px 0; }
.stage + .stage { padding-left: 18px; border-left: 1px solid var(--line); }
.stage .n { font: 600 13px/1 var(--head); color: var(--muted); }
.stage h3 { margin: 10px 0 8px; font-size: 18px; }
.stage p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.clients div { padding: 22px; }
.clients div + div { border-left: 1px solid var(--line); }
.clients b { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.clients span { color: var(--muted); font-size: 15px; }

.cta { background: var(--ink-navy); color: #fff; padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta p { color: #c3c7cf; margin-top: 8px; }

/* Steps and lists */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: s; border-top: 2px solid var(--text); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font: 600 13px/1 var(--head); color: var(--amber); display: block; margin-bottom: 10px; }
.steps b { display: block; font-family: var(--head); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15.5px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.term { border: 1px solid var(--line); border-radius: 6px; padding: 26px; background: #fff; }
.term .label { margin-bottom: 10px; }
.term p { color: var(--muted); margin-top: 8px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #cfd0cc; border-radius: 4px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.form-done { display: none; padding: 20px 0; font-weight: 500; }
.form-done.show { display: block; }

.contact { margin-top: 28px; color: var(--muted); }
.contact b { color: var(--text); display: block; font-family: var(--head); font-size: 18px; font-weight: 600; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: #3b404c; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.muted { color: var(--muted); }
.mono { font-size: 14px; }

/* Placeholder marker: visible on the draft, remove before launch */
.todo { border-bottom: 1px dashed var(--amber); color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-navy); color: #aeb3bc; padding: 44px 0 30px; font-size: 15px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fb-top { font: 800 17px/1 var(--head); color: #fff; }
.fb-sub { font: 400 13px/1 var(--head); color: var(--concrete); letter-spacing: .28em; }
.footer-brand p { margin-top: 10px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 13.5px; color: #8a909b; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr 1fr; }
  .stage, .stage + .stage { padding: 18px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .clients { grid-template-columns: 1fr 1fr; }
  .clients div + div { border-left: 0; }
  .clients div { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-direction: column; gap: 16px; }
  .site-nav { gap: 22px; flex-wrap: wrap; justify-content: center; }
  .site-nav .btn { display: none; }
  .tagline span + i { margin-left: 8px; }
  .tagline { letter-spacing: .16em; font-size: 12px; }
  .lockup, .lockup img { width: 128px; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 56px 0; }
  .three, .split, .terms, .steps, .stages, .clients, form, .hero .wrap { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
}

/* ---------- News ---------- */
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.more, .back { font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 4px; padding: 24px; text-decoration: none; transition: border-color .15s, transform .15s; }
.news-card:hover { border-top-color: var(--amber); transform: translateY(-2px); }
.news-num { font: 600 12.5px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.news-title { font: 600 21px/1.2 var(--head); color: var(--text); }
.news-preview { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

.subscribe { margin-top: 48px; background: var(--ink-navy); color: #fff; border-radius: 6px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.subscribe h3 { font-size: 22px; }
.subscribe p { color: #c3c7cf; margin-top: 6px; }
.sub-form { display: flex; gap: 10px; }
.sub-form input { width: 260px; border-color: transparent; }
.subscribe .form-done { grid-column: 1 / -1; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap.narrow { max-width: 760px; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { color: #fff; }
.article { max-width: none; font-size: 18px; line-height: 1.7; }
.article p, .article li { color: #2c313d; }
.article p { margin: 0 0 18px; }
.article h3 { font-size: 23px; margin: 40px 0 12px; }
.article h4 { font-size: 18px; margin: 28px 0 8px; font-family: var(--head); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--amber); }
.article blockquote p { font-size: 20px; color: var(--text); }
.article a { color: var(--blue); }
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.article table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--head); font-weight: 600; border-bottom: 2px solid var(--text); }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .subscribe { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .news-grid { grid-template-columns: 1fr; }
  .sub-form { flex-direction: column; }
  .sub-form input { width: 100%; }
  .article { font-size: 17px; }
}

/* ---------- Roles ---------- */
.roles-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.role-side { position: sticky; top: 20px; }
.side-box summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--text); padding-bottom: 14px; border-bottom: 2px solid var(--text); cursor: default; }
.side-box summary::-webkit-details-marker { display: none; }
.clear { font: 500 14px var(--body); letter-spacing: 0; text-transform: none; background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font: 600 15px/1 var(--head); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.fopt { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; padding: 5px 0; cursor: pointer; clear: both; }
.fopt input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--ink-navy); flex: 0 0 auto; }
.fopt span { flex: 1; }
.fopt em { font-style: normal; font-size: 13px; color: var(--muted); }
.role-count { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roles-main .role-grid { grid-template-columns: repeat(2, 1fr); }
.role-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 4px; padding: 22px 24px; }
.role-card[hidden] { display: none; }
.role-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.role-meta span { font: 600 11.5px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); padding: 5px 8px; border-radius: 3px; }
.role-card h3 { font-size: 19px; }
.role-where { color: var(--text); font-weight: 500; font-size: 15px; margin-top: 6px; }
.role-sum { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 10px; flex: 1; }
.role-cta { margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--text); align-self: flex-start; border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.role-empty { margin-top: 12px; color: var(--muted); }
.inline-link { color: #fff; }
.opt { font-weight: 400; color: var(--muted); }
@media (max-width: 900px) {
  .role-grid, .roles-main .role-grid { grid-template-columns: 1fr 1fr; }
  .roles-layout { grid-template-columns: 200px 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .roles-layout { grid-template-columns: 1fr; }
  .role-side { position: static; }
  .side-box summary { cursor: pointer; }
  .side-box summary span::after { content: " +"; }
  .side-box[open] summary span::after { content: " −"; }
  .role-grid, .roles-main .role-grid { grid-template-columns: 1fr; }
}

/* ---------- Home: problems, method, Talent Count ---------- */
.hero-alt { margin-top: 22px; color: #9ea2a6; font-size: 15.5px; }
.hero-alt a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--amber); }

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { border: 1px solid var(--line); border-radius: 6px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.problem .quote { font: 600 21px/1.3 var(--head); color: var(--text); padding-left: 16px; border-left: 3px solid var(--amber); }
.problem p:not(.quote) { color: var(--muted); font-size: 15.5px; }

.method { background: var(--navy); color: #fff; }
.method .section-head { max-width: 760px; }
.method .section-head .label { color: var(--concrete); }
.method .section-head p:not(.label) { color: #c3c7cf; font-size: 18px; }
.method-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.method-steps li { padding: 26px 28px 8px 0; border-top: 2px solid rgba(255,255,255,.18); position: relative; }
.method-steps li + li { padding-left: 28px; }
.method-steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.method-steps li + li::before { left: 28px; }
.method-steps li:last-child::before { background: var(--blue); }
.step-n { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 12px; }
.method-steps li:last-child .step-n { color: #6fb0ec; }
.method-steps h3 { font-size: 21px; margin-bottom: 8px; }
.method-steps p { color: #c3c7cf; font-size: 15.5px; }

.tc-band { background: var(--bg-alt); padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tc-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tc-band .wrap > div { max-width: 640px; }
.tc-band p:not(.label) { color: var(--muted); margin-top: 10px; }

/* Sample shortlist card */
.sample { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(31,33,45,.08); overflow: hidden; }
.sample-head { background: var(--ink-navy); color: #fff; padding: 18px 24px; }
.sample-head span { display: block; font: 600 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--concrete); margin-bottom: 8px; }
.sample-head b { font: 600 20px/1.2 var(--head); }
.sample dl { margin: 0; padding: 8px 24px; }
.sample dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.sample dl div:last-child { border-bottom: 0; }
.sample dt { font: 600 13px/1.4 var(--head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sample dd { margin: 0; font-size: 15px; }
.sample-foot { padding: 12px 24px; background: var(--bg-alt); font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .problems { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li, .method-steps li + li { padding: 22px 0 14px; }
  .method-steps li + li::before { left: 0; }
  .sample dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- News categories ---------- */
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.news-tabs button { font: 500 15px var(--body); background: #fff; color: var(--text); border: 1px solid #cfd0cc; border-radius: 99px; padding: 9px 16px; cursor: pointer; }
.news-tabs button em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: 4px; }
.news-tabs button[aria-pressed="true"] { background: var(--ink-navy); border-color: var(--ink-navy); color: #fff; }
.news-tabs button[aria-pressed="true"] em { color: var(--concrete); }
.news-cat + .news-cat { margin-top: 56px; }
.news-cat[hidden] { display: none; }
.news-cat-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-cat-head h2 { font-size: 24px; }
.news-cat-head p { color: var(--muted); font-size: 15.5px; }
.news-card.soon { border-style: dashed; border-top: 3px solid var(--blue); background: var(--bg-alt); }
.news-card.soon .news-num { color: var(--blue); }

/* ---------- Hero hub map ---------- */
.hub-map { position: relative; margin: 0; width: 460px; }
.map-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 3px; margin-bottom: 18px; }
.map-toggle button { font: 500 14px var(--body); color: #c3c7cf; background: transparent; border: 0; border-radius: 99px; padding: 7px 18px; cursor: pointer; }
.map-toggle button[aria-pressed="true"] { background: var(--amber); color: var(--ink-navy); }
.map-pane[hidden] { display: none; }
.map-pane { aspect-ratio: 460 / 566; display: flex; align-items: center; justify-content: center; }
.hub-svg.hub-eu { width: 87%; }
.hub-svg.hub-us { width: 100%; }
.hub-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hub-svg .land { fill: none; stroke: #474e62; stroke-linecap: round; }
.hub-svg .arc { vector-effect: non-scaling-stroke; fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-opacity: .7; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease-out forwards; }
.hub-svg .hub { cursor: pointer; outline: none; }
.hub-svg .hub .dot { vector-effect: non-scaling-stroke; stroke: var(--ink-navy); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transition: transform .15s; }
.hub-svg .hub.new .dot { fill: var(--amber); }
.hub-svg .hub.est .dot { fill: #c3c7cf; }
.hub-svg .hub .hit { fill: transparent; }
.hub-svg .hub:hover .dot, .hub-svg .hub:focus .dot, .hub-svg .hub.on .dot { transform: scale(1.5); }
.hub-svg .pulse { vector-effect: non-scaling-stroke; fill: none; stroke: var(--amber); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; opacity: 0; }
.hub-svg .hub:nth-child(3n) .pulse { animation-delay: .9s; }
.hub-svg .hub:nth-child(3n+1) .pulse { animation-delay: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.hub-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); background: #fff; color: var(--text); border-radius: 4px; padding: 7px 11px; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.hub-tip b { display: block; font: 600 15px/1.2 var(--head); }
.hub-tip span { color: var(--muted); font-size: 13px; }
.hub-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: #9ea2a6; }
.hub-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.lg-new { background: var(--amber); }
.lg-hub { background: #9ea2a6; }
.hub-legend i.lg-arc { width: 16px; height: 0; border-radius: 0; border-top: 2px solid var(--amber); opacity: .7; vertical-align: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hub-svg .arc { animation: none; stroke-dashoffset: 0; }
  .hub-svg .pulse { animation: none; }
}
@media (max-width: 900px) { .hub-map { width: 340px; } }
@media (max-width: 720px) { .hub-map { width: 100%; max-width: 380px; margin: 8px auto 0; } }

/* Hero tagline: big and bold, so "data centre construction search" reads first */
.hero .tagline { font: 700 clamp(15px, 1.5vw, 19px)/1.5 var(--head); letter-spacing: .1em; color: #fff; margin-bottom: 24px; }
.hero .tagline span { white-space: nowrap; }
.hero .tagline i { width: 9px; height: 9px; margin: 0 10px 2px 0; }
.hero .tagline span + i { margin-left: 16px; }
.hero .tagline span[hidden] { display: none; }
@media (max-width: 720px) {
  .hero .tagline { font-size: 13px; letter-spacing: .06em; }
  .hero .tagline i { width: 7px; height: 7px; margin-right: 6px; }
  .hero .tagline span + i { margin-left: 9px; }
  .site-header .wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .lockup, .lockup img { width: 96px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 15px; }
}

/* ---------- Scroll-drawn site plan (first white section) ---------- */
.plan-scroll { position: relative; height: 430vh; background: #fff; }
.plan-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.plan-wrap { width: 100%; }
.plan-head { margin-bottom: 28px; }
.plan-head h2 { margin-top: 2px; }
.plan-body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.plan-svg { display: block; width: 100%; height: auto; }
.plan-svg .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.plan-svg .fd { opacity: 0; transition: opacity .45s ease; }
.plan-svg .fd.on { opacity: 1; }
.plan-svg .rk { fill: #f1f2f4; stroke: #9ea2a6; stroke-width: .6; }
.plan-svg .plant { fill: #f5f5f3; stroke: #232b3c; stroke-width: 1; }
.plan-svg .gen { fill: #eceef1; }
.plan-svg .fan { fill: none; stroke: #9ea2a6; stroke-width: 1; }
.plan-svg .led { fill: #e08c29; animation: plan-led 2.6s ease-in-out infinite; }
.plan-svg text { font-family: var(--head); }
.plan-svg .lbl { font-size: 11px; font-weight: 600; letter-spacing: .12em; fill: #636b76; }
.plan-svg .room { font-size: 15px; font-weight: 600; letter-spacing: .16em; fill: #232b3c; }
.plan-svg .room-s { font-size: 11px; font-weight: 600; letter-spacing: .14em; fill: #232b3c; }
.plan-svg .bub { font-size: 9px; font-weight: 600; fill: #636b76; }
.plan-svg .live-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; fill: #1f212d; }
.plan-svg .blink { animation: plan-led 1.2s ease-in-out infinite; }
.plan-svg.is-live .route { stroke-dasharray: .012 .01 !important; animation: plan-flow 1.2s linear infinite; }
.plan-svg.is-live .rk { fill: #232b3c; stroke: #232b3c; transition: fill .6s; }
@keyframes plan-led { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes plan-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.044; } }

.plan-rail { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 6px; }
.plan-rail li { flex: 1; font: 600 12px/1.2 var(--head); letter-spacing: .04em; color: #9ea2a6; border-top: 3px solid var(--line); padding-top: 8px; transition: color .3s, border-color .3s; }
.plan-rail li span { display: block; font-size: 11px; letter-spacing: .14em; margin-bottom: 2px; }
.plan-rail li.done { border-top-color: var(--navy); color: var(--muted); }
.plan-rail li.active { border-top-color: var(--amber); color: var(--text); }
.plan-cap[hidden] { display: none; }
.plan-cap { animation: plan-in .4s ease; }
.plan-n { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.plan-cap h3 { font-size: 30px; margin-bottom: 12px; }
.plan-cap p { color: var(--muted); }
.plan-place { margin-top: 16px; font-size: 15.5px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-place b { color: var(--text); font-weight: 600; }
@keyframes plan-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .plan-body { grid-template-columns: 1fr; gap: 18px; }
  .plan-head { margin-bottom: 14px; }
  .plan-rail li { font-size: 0; }
  .plan-rail li span { font-size: 11px; margin: 0; }
  .plan-cap h3 { font-size: 22px; margin-bottom: 6px; }
  .plan-cap p { font-size: 15px; }
  .plan-place { margin-top: 10px; padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-scroll { height: auto; }
  .plan-sticky { position: static; height: auto; padding: 84px 0; }
  .plan-svg .ln { stroke-dashoffset: 0 !important; }
  .plan-svg .fd { opacity: 1; }
  .plan-svg .led, .plan-svg .blink, .plan-svg.is-live .route { animation: none; }
}
