/* Digital Corporate Solutions - marketing site
   Tokens: harbour navy + gold (brand), cool paper, slate text. */
:root {
  --navy: #0e2240;
  --navy-2: #17305a;
  --navy-line: #2a4170;
  --gold: #c9a24a;
  --gold-soft: #e7d39f;
  --paper: #f5f6f8;
  --white: #ffffff;
  --ink: #142238;
  --slate: #44536b;
  --line: #d9dee7;
  --focus: #e0b75a;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1160px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; }
.brand small { display: block; font-weight: 400; color: var(--gold-soft); font-size: 12px; letter-spacing: 0.01em; line-height: 1.1; }
.brand span { line-height: 1.15; font-size: 15.5px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: #cfd8e8; }
.nav a:hover { color: var(--white); }
.login { text-decoration: none; font-size: 14px; border: 1px solid var(--gold); color: var(--gold-soft); padding: 7px 14px; border-radius: var(--radius-s); white-space: nowrap; }
.login:hover { background: var(--gold); color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--navy-line); color: var(--white); border-radius: var(--radius-s); padding: 6px 10px; font: inherit; font-size: 14px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 24px; max-width: 13ch; }
.hero p.lede { font-size: 19px; color: #c3cee0; max-width: 46ch; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: var(--radius-s); border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--navy-line); color: var(--white); }
.btn-ghost:hover { border-color: #cfd8e8; }

/* The flight plan: a media-flighting chart, the hero's one bold element */
.flight { margin: 0; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-m); padding: 22px 22px 18px; }
.flight-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.flight-head strong { font-size: 15px; }
.flight-head span { font-size: 13px; color: #9fb0cb; }
.weeks, .lane { display: grid; grid-template-columns: 112px repeat(12, 1fr); align-items: center; }
.weeks { font-size: 11.5px; color: #8fa1bf; padding-bottom: 8px; border-bottom: 1px solid var(--navy-line); }
.weeks span { text-align: center; }
.lane { height: 40px; border-bottom: 1px dashed #24396a; position: relative; }
.lane:last-child { border-bottom: 0; }
.lane > b { font-weight: 500; font-size: 14px; color: #dde5f2; }
.bar { height: 14px; border-radius: 3px; background: var(--gold); transform-origin: left center; animation: draw 0.9s cubic-bezier(.2,.7,.2,1) both; }
.bar.soft { background: transparent; border: 1.5px solid var(--gold); }
.bar.repeat { background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .bar { animation: none; } }
.flight-key { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 12.5px; color: #9fb0cb; }
.flight-key i { display: inline-block; width: 18px; height: 8px; border-radius: 2px; background: var(--gold); margin-right: 6px; vertical-align: middle; }
.flight-key i.soft { background: transparent; border: 1.5px solid var(--gold); }
.flight-key i.repeat { background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 7px); }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.block.white { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-bottom: 48px; align-items: end; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
.section-head p { margin: 0; color: var(--slate); max-width: 58ch; }

/* services: a ruled two-column index, not cards */
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.service { padding: 26px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; }
.service::before { content: ""; width: 10px; height: 10px; margin-top: 9px; background: var(--gold); transform: rotate(45deg); }
.service h3 { font-size: 21px; letter-spacing: -0.01em; margin: 0 0 6px; }
.service p { margin: 0 0 10px; color: var(--slate); }
.service ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.service li { padding-left: 16px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1.5px; background: var(--gold); }
.service h3, .service p, .service ul { grid-column: 2; }

/* process: genuinely sequential, mirrors the hero lanes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; border-top: 2px solid var(--navy); }
.steps li { counter-increment: step; padding: 22px 20px 0 0; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); font-weight: 700; font-size: 15px; position: absolute; top: -18px; left: 0; }
.steps h3 { margin: 26px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--slate); font-size: 15.5px; }

/* engagement: a comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
table.engage { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 16px; }
.engage th, .engage td { text-align: left; padding: 18px 22px; vertical-align: top; border-bottom: 1px solid var(--line); }
.engage tr:last-child th, .engage tr:last-child td { border-bottom: 0; }
.engage thead th { background: var(--navy); color: var(--white); font-size: 18px; font-weight: 700; }
.engage thead th:first-child { background: var(--navy-2); }
.engage tbody th { width: 18%; color: var(--slate); font-weight: 500; font-size: 15px; }

/* scope */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--white); }
.scope > div { padding: 32px 34px; }
.scope > div + div { border-left: 1px solid var(--line); background: var(--paper); }
.scope h3 { margin: 0 0 12px; font-size: 20px; }
.scope ul { margin: 0; padding-left: 20px; color: var(--slate); }
.scope li { margin-bottom: 6px; }

/* contact */
.contact { background: var(--navy); color: var(--white); }
.contact .section-head p { color: #c3cee0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
form.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-size: 14px; color: #cfd8e8; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 11px 12px; }
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry .note { font-size: 13.5px; color: #9fb0cb; margin: 0; }
.details dl { margin: 0; display: grid; gap: 18px; }
.details dt { font-size: 14px; color: #9fb0cb; }
.details dd { margin: 2px 0 0; font-size: 17px; }
.details a { color: var(--gold-soft); }

/* footer */
.site-footer { background: #0a1a33; color: #9fb0cb; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer a { color: #cfd8e8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-left: auto; display: flex; gap: 20px; }

/* legal pages */
.doc { background: var(--white); padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.doc .updated { color: var(--slate); margin: 0 0 36px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2b3a52; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .hero .wrap { gap: 40px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); margin-left: 17px; }
  .steps li { padding: 0 0 26px 34px; }
  .steps li::before { left: -18px; top: 0; }
  .steps h3 { margin-top: 4px; }
  .scope { grid-template-columns: 1fr; }
  .scope > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav, .site-header .login { display: none; }
  .menu-btn { display: block; }
  .site-header.open .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
  .site-header.open .nav { display: flex; flex-direction: column; gap: 14px; width: 100%; order: 3; margin: 6px 0 0; }
  .site-header.open .login { display: inline-block; order: 4; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section.block { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .weeks, .lane { grid-template-columns: 84px repeat(12, 1fr); }
  .lane > b { font-size: 12.5px; }
  form.enquiry { grid-template-columns: 1fr; }
  .site-footer .legal { margin-left: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
