@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}
:root {
  /* Layout idea: navy cover-style hero and footer, white reading sections between,
     hairline rules and one teal accent, as in the Cranleigh Cyber document style. */
  --navy: #0A0F1A;
  --teal: #2DD4A8;
  --teal-dark: #0B7F63;
  --ink: #1A2332;
  --grey: #5B6675;
  --pale-teal: #E6F8F3;
  --rule: #D9DEE5;
  --off-white: #F0F2F5;
  --white: #FFFFFF;
  --font: "Inter", "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(45, 212, 168, 0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--white); text-decoration: none; }
.wordmark img { display: block; height: 44px; width: auto; }
.wordmark .wm-text span { color: var(--teal); }
.nav { display: flex; gap: 8px 28px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--off-white); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav a.nav-cta { color: var(--navy); background: var(--teal); padding: 8px 16px; border-radius: 4px; font-weight: 600; }
.nav a.nav-cta:hover { color: var(--navy); background: #5BE0BD; }

/* Hero */
.hero { background: var(--navy); color: var(--off-white); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; }
.hero-main { position: relative; }
.hero-main .wrap { position: relative; z-index: 1; }
.watermark { position: absolute; z-index: 0; top: 50%; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); transform: translateY(-50%); height: 84%; width: auto; opacity: 0.13; pointer-events: none; }
@media (max-width: 900px) { .watermark { opacity: 0.07; } }
.bar { width: 98px; height: 6px; background: var(--teal); margin-bottom: 28px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5.6vw, 62px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; max-width: 17ch; }
.hero .lede { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #C5CBD4; max-width: 50ch; }
.actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: #5BE0BD; }
.btn-ghost { color: var(--white); border: 1px solid #4A5362; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.sectors { border-top: 1px solid #252C3A; }
.sectors .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; gap: 10px 36px; flex-wrap: wrap; align-items: baseline; }
.sectors .label { color: var(--teal); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 32px; flex-wrap: wrap; color: #C5CBD4; font-size: 15px; }

/* Sections */
section { padding: 88px 0; }
.eyebrow { color: var(--teal-dark); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); font-weight: 700; max-width: 22ch; }
.intro { margin-top: 18px; max-width: 65ch; color: var(--ink); }
h3 { font-size: 19px; line-height: 1.3; color: var(--navy); font-weight: 600; }

/* Services */
.services { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.service { border-top: 2px solid var(--teal-dark); padding: 24px 0 40px; display: flex; flex-direction: column; gap: 10px; }
.service p { color: var(--ink); font-size: 16px; }
.service ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--grey); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.service li { padding-left: 16px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 2px; background: var(--teal-dark); }

/* Approach */
.tint { background: #F6F8FA; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 64px; align-items: start; }
.principles { display: flex; flex-direction: column; gap: 28px; }
.principles div { display: flex; flex-direction: column; gap: 6px; }
.principles p { font-size: 16px; }
.finding { background: var(--white); border: 1px solid var(--rule); overflow-x: auto; }
.finding table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.5; }
.finding caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--grey); font-size: 13px; }
.finding th, .finding td { padding: 12px 16px; text-align: left; vertical-align: top; }
.finding thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.finding tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; }
.finding tbody tr { border-bottom: 1px solid var(--rule); }
.finding tbody tr:last-child { border-bottom: 0; }

/* Engagement */
.models { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.model { background: var(--pale-teal); border-left: 5px solid var(--teal-dark); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.model p { font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px 64px; align-items: start; }
.about .body { display: flex; flex-direction: column; gap: 16px; max-width: 65ch; }
.platforms h3 { margin-bottom: 14px; }
.platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { border: 1px solid var(--rule); padding: 5px 12px; font-size: 14px; color: var(--ink); border-radius: 3px; }

/* Contact and footer */
.contact { background: var(--navy); color: var(--off-white); }
.contact h2 { color: var(--white); }
.contact .intro { color: #C5CBD4; }
.contact-lines { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 19px; }
.contact a { color: var(--teal); }
.site-footer { background: var(--navy); color: #8D97A6; border-top: 1px solid #252C3A; font-size: 14px; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 28px; display: flex; gap: 8px 32px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: #C5CBD4; }

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .nav { gap: 6px 18px; }
  .finding tbody th { white-space: normal; }
}

/* Phones and small tablets */
@media (max-width: 900px) {
  .watermark { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header { position: static; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 10px; gap: 8px 16px; }
  .wordmark { font-size: 19px; gap: 10px; }
  .wordmark img { height: 36px; }
  .nav { width: 100%; justify-content: space-between; gap: 4px 12px; flex-wrap: nowrap; }
  .nav a { font-size: 13px; padding: 8px 0; white-space: nowrap; }
  .nav a.nav-cta { padding: 8px 0; background: none; color: var(--teal); }
  .nav a.nav-cta:hover { background: none; color: var(--teal); }
  .hero .wrap { padding-top: 44px; padding-bottom: 48px; }
  .bar { width: 72px; height: 5px; margin-bottom: 20px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 17px; margin-top: 18px; }
  .actions { margin-top: 28px; }
  .btn { padding: 12px 18px; font-size: 15px; }
  .sectors .wrap { padding-top: 18px; padding-bottom: 20px; flex-direction: column; gap: 10px; }
  .sectors ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; }
  section { padding: 52px 0; }
  h2 { font-size: 27px; }
  .services { margin-top: 36px; grid-template-columns: 1fr; }
  .service { padding: 20px 0 28px; }
  .split { margin-top: 36px; grid-template-columns: 1fr; gap: 36px; }
  .principles { gap: 22px; }
  .finding tbody tr { display: block; padding: 12px 16px; }
  .finding tbody th, .finding tbody td { display: block; padding: 0; }
  .finding tbody th { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 2px; }
  .models { margin-top: 32px; grid-template-columns: 1fr; gap: 14px; }
  .model { padding: 18px 18px 20px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contact-lines { font-size: 17px; overflow-wrap: anywhere; }
  .site-footer .wrap { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
  .nav a { font-size: 12.5px; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 900px) {
  .site-header { position: static; }
}
@media (max-width: 345px) {
  .nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 14px; }
}

/* Headline: "Cyber security" carries the weight, the rest is lighter */
.hero h1 { font-weight: 300; }
.hero h1 strong { font-weight: 700; }

/* Situations */
#situations h2 { max-width: 26ch; }
.situations { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.situation { background: var(--white); border: 1px solid var(--rule); border-left: 5px solid var(--teal-dark); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.situation h3 { font-size: 17.5px; }
.situation p { font-size: 16px; color: var(--ink); }
@media (max-width: 720px) {
  .situations { margin-top: 32px; grid-template-columns: 1fr; gap: 12px; }
  .situation { padding: 16px 18px 18px; }
}

/* Footer legal lines: one statement per line, postcode never left on its own */
.site-footer .wrap { align-items: flex-start; }
.site-footer .legal { display: flex; flex-direction: column; gap: 4px; }
.site-footer .nw { white-space: nowrap; }
