/* THB Design — site stylesheet
   Brand colours live in :root below. Change them there and the whole site follows. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-v29-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-v29-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-v29-latin-700.woff2") format("woff2"); }

:root {
  --navy: #0b2450;          /* brand dark blue */
  --navy-deep: #071a3a;     /* darker sections and footer */
  --navy-soft: #13336b;
  --orange: #ff9c00;        /* brand orange: buttons, accents on dark */
  --orange-dark: #b85400;   /* brand dark orange: accent text on light backgrounds */
  --ink: #142033;
  --muted: #566274;
  --line: #dde3ea;
  --bg-soft: #f4f6f9;
  --white: #ffffff;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.125rem; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 120px) 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--orange); color: var(--navy); font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { margin-bottom: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dark); }
.eyebrow-light { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ffb23d; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, height .3s ease; }
.site-header.is-solid { --header-h: 72px; height: var(--header-h); background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11,36,80,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

/* Logo: white version on dark backgrounds, colour version on white */
.logo { display: inline-flex; align-items: center; }
.logo-img { width: auto; height: 50px; transition: height .3s ease; }
.logo-on-light { display: none; }
.site-header.is-solid .logo-on-dark, .site-header.nav-open .logo-on-dark { display: none; }
.site-header.is-solid .logo-on-light, .site-header.nav-open .logo-on-light { display: block; }
.site-header.is-solid .logo-img { height: 44px; }
.logo-footer .logo-img { height: 56px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > a:not(.btn) { position: relative; font-size: 0.92rem; font-weight: 600; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--orange); transition: right .25s ease; }
.main-nav > a:not(.btn):hover::after { right: 0; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }

.nav-toggle { display: none; padding: 8px; margin-right: -8px; border: 0; background: none; color: inherit; cursor: pointer; }
.nav-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,58,.88) 0%, rgba(7,26,58,.62) 55%, rgba(7,26,58,.35) 100%), linear-gradient(0deg, rgba(7,26,58,.55) 0%, rgba(7,26,58,0) 40%); }
.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--white); }
.hero-lead { max-width: 560px; margin-bottom: 36px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Section heading ---------- */
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px 80px; align-items: end; margin-bottom: 56px; }
.section-head > p { color: var(--muted); font-size: 1.02rem; }
.section-head-light h2 { color: var(--white); }
.section-head-light > p { color: rgba(255,255,255,.75); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px 80px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.intro-statement { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; font-weight: 600; }
.intro-copy { color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 56px; }
.value-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: var(--radius); background: var(--navy); color: var(--orange); }
.value-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.value-card p { color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; padding: 32px 28px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.service-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { border-color: #c9d3df; box-shadow: 0 14px 34px rgba(11,36,80,.08); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { display: block; margin-bottom: 26px; color: var(--navy); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; line-height: 1.65; color: var(--muted); }

/* ---------- Approach ---------- */
.approach { background: var(--navy); color: var(--white); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 36px 32px 8px 0; border-top: 1px solid rgba(255,255,255,.22); }
.process-step::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--orange); }
.process-num { display: block; margin-bottom: 18px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: var(--orange); }
.process-step h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--white); }
.process-step p { color: rgba(255,255,255,.72); font-size: 0.95rem; }

/* ---------- BSR ---------- */
.bsr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 96px; align-items: center; }
.bsr-copy h2 { margin-bottom: 22px; }
.bsr-copy p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); }
.bsr-copy .btn { margin-top: 14px; }
.thread-card { padding: 40px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.thread-title { margin-bottom: 26px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.thread-list li { position: relative; display: flex; gap: 20px; padding-bottom: 26px; }
.thread-list li:last-child { padding-bottom: 0; }
.thread-list li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 2px; width: 2px; background: #c8d2de; }
.thread-dot { position: relative; z-index: 1; flex: none; width: 18px; height: 18px; margin-top: 4px; border: 3px solid var(--navy); border-radius: 50%; background: var(--white); }
.thread-dot-end { border-color: var(--orange); background: var(--orange); }
.thread-list strong { display: block; color: var(--navy); font-weight: 600; }
.thread-list div span { display: block; font-size: 0.9rem; color: var(--muted); }

/* ---------- Lifecycle ---------- */
.lifecycle { background: var(--bg-soft); }
.stages { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stages li { padding: 22px 20px; font-weight: 600; color: var(--navy); }
.stages li + li { border-left: 1px solid var(--line); }
.stages span { display: block; margin-bottom: 4px; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--orange-dark); }
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engage-card { padding: 40px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.engage-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.engage-card p:not(.eyebrow) { color: var(--muted); }

/* ---------- Logos (optional section) ---------- */
.logos { padding: 56px 0; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 56px; }
.logo-row img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-deep); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px 96px; align-items: center; }
.contact h2 { margin-bottom: 20px; color: var(--white); font-size: clamp(2rem, 3.6vw, 2.9rem); }
.contact-grid > div > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.75); }
.contact-card { padding: 40px; border-radius: var(--radius); background: var(--navy); border: 1px solid rgba(255,255,255,.12); }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: rgba(255,156,0,.14); color: var(--orange); }
.contact-label { font-size: 0.85rem; color: rgba(255,255,255,.65); }
.contact-email { display: inline-block; margin: 4px 0 28px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; word-break: break-word; }
.contact-email:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { padding-top: 64px; background: #04112a; color: rgba(255,255,255,.7); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.logo-footer { margin-bottom: 18px; color: var(--white); }
.footer-about { max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-heading { margin-bottom: 10px; font-weight: 600; color: var(--white); }
.footer-base { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.85rem; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stages li:nth-child(4) { border-left: 0; }
  .stages li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--white); color: var(--navy); box-shadow: 0 16px 30px rgba(11,36,80,.12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 18px; min-height: 50px; }
  .site-header.nav-open { background: var(--white); color: var(--navy); }
  .site-header.nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .site-header.nav-open .nav-toggle-open { display: none; }
  .site-header.nav-open .nav-toggle-close { display: block; }

  .section-head, .intro-grid, .bsr-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; gap: 18px; }
  .intro-grid { gap: 20px; padding-bottom: 48px; }
  .value-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .engage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-overlay { background: linear-gradient(0deg, rgba(7,26,58,.92) 0%, rgba(7,26,58,.7) 60%, rgba(7,26,58,.55) 100%); }
  .hero-content { padding-bottom: 110px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .service-grid, .process { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stages li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .stages li:nth-child(-n+2) { border-top: 0; }
  .stages li:nth-child(2n) { border-left: 1px solid var(--line); }
  .thread-card, .engage-card, .contact-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

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