:root {
  --navy: #07192b;
  --navy-soft: #10283f;
  --blue: #0788d1;
  --blue-light: #5ab6eb;
  --ink: #101b2b;
  --muted: #5a6673;
  --line: #dce3e9;
  --surface: #f4f7f9;
  --white: #fff;
  --shadow: 0 18px 45px rgba(7, 25, 43, .10);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--blue); text-decoration: none; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; height: 84px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(7,25,43,.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; width: 120px; text-decoration: none; }
.logo img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.main-nav a { position: relative; padding: 31px 0 27px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--blue); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 690px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(90deg, rgba(4,17,31,.83) 0%, rgba(4,17,31,.6) 37%, rgba(4,17,31,.06) 70%), url("../images/hero-hdc-logo.png") center/cover no-repeat; }
.hero-content { padding-top: clamp(86px, 11vw, 150px); padding-bottom: 110px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: var(--blue-light); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(52px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue-light); }
.hero-subtitle { margin: 22px 0 20px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; font-weight: 300; }
.hero-subtitle span { color: var(--blue-light); }
.hero-copy { max-width: 610px; margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.94); }
.hero-copy-secondary { max-width: 680px; color: rgba(255,255,255,.75); font-size: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; margin-top: 22px; padding: 0 24px; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 2px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: #0576b7; border-color: #0576b7; transform: translateY(-2px); }
.button span { font-size: 20px; line-height: 1; }
.hero-facts { width: min(calc(100% - 48px), 1200px); margin-inline: auto; background: rgba(5,22,38,.88); border: 1px solid rgba(255,255,255,.20); border-bottom: 0; backdrop-filter: blur(10px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts .facts-grid { width: 100%; }
.fact { position: relative; min-height: 112px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 20px; padding: 18px 28px; }
.fact + .fact { border-left: 1px solid rgba(255,255,255,.16); }
.fact svg { width: 48px; height: 48px; fill: none; stroke: var(--blue-light); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.fact-content { display: flex; min-width: 0; flex-direction: column; }
.fact strong { color: #fff; font-size: 24px; line-height: 1.1; }
.fact .fact-kicker { margin: 0 0 5px; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.fact strong.fact-title { margin-bottom: 9px; font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.fact .fact-copy { margin-top: 6px; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.7; }
.fact strong.fact-title + .fact-copy { margin-top: 0; }

.section { padding: 104px 0; }
.split-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); gap: clamp(55px, 8vw, 130px); }
.section h2 { margin: 0; font-size: clamp(35px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.heading-line { display: block; width: 54px; height: 3px; margin-top: 25px; background: var(--blue); }
.rich-copy { columns: 2; column-gap: 48px; color: var(--muted); }
.rich-copy p { margin: 0 0 20px; break-inside: avoid; }
.rich-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.5; }
.location-note { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 30px; margin-top: 58px; padding: 35px 42px; background: var(--surface); border-left: 3px solid var(--blue); }
.location-index { color: var(--blue); font-size: 50px; font-weight: 800; line-height: 1; }
.location-note p { max-width: 870px; margin: 0; color: #39495a; }

.activities-section { background: var(--surface); }
.center-heading { max-width: 780px; margin: 0 auto 54px; text-align: center; }
.center-heading .heading-line { margin: 20px auto; }
.center-heading > p:last-child { color: var(--muted); }
.activity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.activity-card { grid-column: span 2; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 26px rgba(7,25,43,.045); transition: transform .25s, box-shadow .25s; }
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.activity-image { height: 205px; background-image: url("../images/activities-sprite.png"); background-repeat: no-repeat; background-size: 200% auto; }
.activity-ecommerce { background-position: 0 0; }
.activity-purchasing { background-position: 100% 0; }
.activity-stock { background-position: 0 100%; }
.activity-service { background-position: 100% 100%; }
.activity-body { position: relative; padding: 28px 28px 31px; }
.activity-body > span { position: absolute; top: 27px; right: 26px; color: #b9c7d2; font-size: 13px; font-weight: 700; }
.activity-card h3 { max-width: 85%; margin: 0 0 16px; font-size: 17px; line-height: 1.3; text-transform: uppercase; }
.activity-card h3::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; background: var(--blue); }
.activity-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.58; }
.activity-card p:last-child { margin-bottom: 0; }
.compact-card { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: #fff; }
.compact-card .activity-body { padding: 40px 34px; }
.compact-card p { color: rgba(255,255,255,.69); }
.wide-card { grid-column: span 4; display: grid; grid-template-columns: .82fr 1.18fr; }
.wide-card .activity-image { height: 100%; min-height: 290px; }
.wide-card .activity-body { align-self: center; padding: 38px; }

.organisation-section { color: #fff; background: linear-gradient(125deg, #07192b, #102f4c); }
.organisation-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(65px, 9vw, 135px); align-items: center; }
.organisation-copy h2 { margin-bottom: 28px; }
.organisation-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.process { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.process li { position: relative; min-height: 98px; display: flex; align-items: center; padding: 22px 18px 22px 65px; border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 700; line-height: 1.3; }
.process li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
.process li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; z-index: 2; width: 22px; height: 22px; display: grid; place-items: center; color: var(--blue-light); background: #0d2943; font-size: 15px; }
.process li:nth-child(even)::after { display: none; }
.process span { position: absolute; left: 19px; color: var(--blue-light); font-size: 12px; }

.contact-section { padding-bottom: 0; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 9vw, 135px); padding-bottom: 104px; }
.contact-copy > p:not(.eyebrow) { max-width: 430px; color: var(--muted); }
.contact-copy address { margin: 30px 0 16px; color: #39495a; font-style: normal; }
.contact-copy address strong { color: var(--ink); }
.phone-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact-form { padding: 38px; background: var(--surface); border-top: 3px solid var(--blue); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: #27384a; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd5dd; border-radius: 2px; outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,136,209,.12); }
.contact-form .button { margin-top: 0; }
.form-note { margin: 21px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.honeypot { position: absolute !important; left: -10000px !important; }

.site-footer { padding: 37px 0; color: rgba(255,255,255,.65); background: #04111e; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 0; font-size: 12px; }
.logo-light { width: 96px; filter: invert(1) hue-rotate(180deg); }

@media (max-width: 980px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 10px; }
  .hero { min-height: 660px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { min-height: 82px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fact:nth-child(odd) { border-left: 0; }
  .split-layout, .organisation-layout, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .rich-copy { columns: 1; }
  .activity-card { grid-column: span 3; }
  .activity-card:nth-child(3) { grid-column: span 3; }
  .compact-card { grid-column: span 3; }
  .wide-card { grid-column: 1 / -1; }
  .contact-copy h2 br { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { height: 70px; }
  .logo { width: 104px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: grid; gap: 0; padding: 10px 24px 22px; background: #fff; box-shadow: 0 15px 30px rgba(7,25,43,.12); transform: translateY(-140%); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav a::after { bottom: 9px; }
  .hero { min-height: 780px; background-position: 61% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgba(3,17,30,.18); }
  .hero-content, .hero-facts { position: relative; }
  .hero-content { padding-top: 80px; padding-bottom: 60px; }
  .hero-copy-secondary { display: none; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .hero-facts { width: 100%; border-inline: 0; }
  .fact { grid-template-columns: 38px 1fr; gap: 10px; padding: 16px; }
  .fact:nth-child(odd) { border-left: 0; }
  .fact svg { width: 34px; height: 34px; }
  .fact strong { font-size: 18px; }
  .section { padding: 76px 0; }
  .location-note { grid-template-columns: 60px 1fr; gap: 18px; margin-top: 35px; padding: 25px 22px; }
  .location-index { font-size: 38px; }
  .activity-grid { display: grid; grid-template-columns: 1fr; }
  .activity-card, .activity-card:nth-child(3), .compact-card, .wide-card { grid-column: 1; }
  .wide-card { grid-template-columns: 1fr; }
  .wide-card .activity-image { min-height: 205px; }
  .process { grid-template-columns: 1fr; }
  .process li:nth-child(odd) { border-right: 0; }
  .process li::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

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