:root {
  --bg: #020814;
  --surface: #081529;
  --surface-tint: #0c2038;
  --text: #f2f7fb;
  --text-muted: #94a9bb;
  --brand: #03142f;
  --brand-2: #0a3976;
  --accent: #00c9b7;
  --accent-bright: #47f2df;
  --border: rgba(137, 190, 225, .18);
  --shadow: rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #020814; }

body {
  background:
    radial-gradient(circle at 85% 12%, rgba(5, 91, 190, .14), transparent 28rem),
    #020814;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 1240px; padding-inline: clamp(22px, 5vw, 70px); }
section { padding-block: clamp(82px, 10vw, 138px); }

.eyebrow {
  color: var(--accent-bright);
  font-size: 11px;
  letter-spacing: 2.4px;
}

.lead { color: var(--text-muted); font-size: 18px; line-height: 1.75; }

.btn {
  border-radius: 0;
  min-height: 52px;
  padding: 0 24px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-bright); color: #001b1e; box-shadow: 0 14px 45px rgba(0, 201, 183, .18); }
.btn-primary:hover { background: #7bffef; box-shadow: 0 18px 60px rgba(0, 201, 183, .28); }
.btn-navy { background: #061b37; }
.btn-navy:hover { background: #0a3976; }

header.site {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #dbe5ea;
  backdrop-filter: blur(18px);
  transition: background .3s ease, box-shadow .3s ease;
}

header.site.scrolled { background: rgba(255, 255, 255, .98); box-shadow: 0 15px 45px rgba(3, 20, 47, .12); }

.nav { min-height: 78px; padding-block: 10px; }
.nav .brand-lockup { background: #fff; padding: 6px 9px; border: 1px solid #dbe5ea; }
.nav img.logo { height: 46px; }
.nav-links { gap: 34px; }
.nav-links a { color: #073260; opacity: 1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a:hover { color: #008f89; }
.burger { color: #073260; }

.case-studies-home { color:#102438; background:#f3f8fa; }
.case-studies-head { display:flex; align-items:end; justify-content:space-between; gap:28px; max-width:none; }
.case-studies-head .eyebrow { color:#008f89; }
.case-studies-head h2 { max-width:760px; color:#03142f; }
.case-study-preview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:42px; }
.case-study-preview { min-height:270px; padding:28px; background:#fff; border:1px solid #d9e6ee; border-top:4px solid #00b8a9; box-shadow:0 16px 38px rgba(3,20,47,.08); }
.case-study-preview h3 { margin:18px 0 12px; color:#03142f; font-size:25px; }
.case-study-preview p { margin:0; color:#587085; line-height:1.7; }
.case-kicker { color:#007d76; font:700 11px/1.35 "JetBrains Mono",monospace; letter-spacing:.08em; text-transform:uppercase; }
@media(max-width:980px){.case-study-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.case-studies-head{align-items:flex-start;flex-direction:column}.case-study-preview-grid{grid-template-columns:1fr}.case-study-preview{min-height:0}}

.hero {
  min-height: 920px;
  display: flex;
  align-items: center;
  padding-block: 160px 84px;
  background:
    radial-gradient(circle at 12% 18%, rgba(28, 184, 203, .18), transparent 27rem),
    radial-gradient(circle at var(--mx, 76%) var(--my, 28%), rgba(36, 137, 232, .44), transparent 25rem),
    linear-gradient(135deg, #08213e 0%, #0b3159 56%, #092440 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(120, 183, 226, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 183, 226, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-grid { grid-template-columns: 1.42fr .82fr; gap: clamp(50px, 8vw, 110px); }
.hero h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: .98; letter-spacing: -.055em; max-width: 13ch; }
.hero h1 em { color: var(--accent-bright); text-shadow: 0 0 42px rgba(71, 242, 223, .2); }
.hero .lead { max-width: 670px; color: #c9d8e3; font-size: 19px; }
.hero .cta-row { margin-top: 38px; }

.hero-badges { position: relative; padding: 54px 0; }
.hero-badges::before,
.hero-badges::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid rgba(71, 242, 223, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-badges::before { width: 430px; height: 430px; }
.hero-badges::after { width: 300px; height: 300px; border-style: dashed; animation: spin 30s linear infinite; }
.hero-badge { position: relative; z-index: 2; border-radius: 0; padding: 20px; background: rgba(6, 24, 47, .8); backdrop-filter: blur(12px); }
.hero-badge:first-child { transform: translateX(-34px); }
.hero-badge:last-child { transform: translateX(28px); }

.stat-row { border-top: 1px solid var(--border); padding-top: 30px; gap: 0; }
.stat { min-width: 155px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .num { color: #fff; font-size: 33px; }
.stat .cap { color: #a5bacb; }

.trust { padding-block: 40px; background: #eef4f7; border: 0; }
.trust img { height: 54px; filter: grayscale(1); mix-blend-mode: multiply; opacity: .74; }
.trust p { color: #5b6d7e; letter-spacing: .02em; }

#about { background: #f4f8fa; color: #0b1b2b; }
#about h2, #about h3, #about h4 { color: #0b1b2b; }
#about .eyebrow, #about .value h4 { color: #087e9d; }
#about .lead, #about .value p.desc, #about .lineage { color: #5d7081; }
.about-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 8vw, 100px); }
.about-grid h2 { font-size: clamp(39px, 4.8vw, 67px); line-height: 1.02; letter-spacing: -.05em; }
.values { gap: 1px; background: #cad8e1; border: 1px solid #cad8e1; }
.value { min-height: 190px; padding: 26px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.value:hover { position: relative; z-index: 2; transform: translateY(-5px); box-shadow: 0 24px 55px rgba(17, 46, 68, .12); }
.lineage { border-color: #c9d8e1; }

#iso-process {
  position: relative;
  background:
    radial-gradient(circle at 90% 5%, rgba(12, 91, 184, .25), transparent 27rem),
    #020a18 !important;
}
#iso-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(112, 183, 229, .2) .7px, transparent .7px);
  background-size: 17px 17px;
  mask-image: radial-gradient(circle at 75% 30%, #000, transparent 55%);
  pointer-events: none;
}
#iso-process .wrap { position: relative; }
#iso-process .section-head h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -.05em; }
.win-banner { max-width: 820px; border-radius: 0; padding: 23px 26px; background: linear-gradient(90deg, #00bca9, #55f7e4); }
.standards-grid { max-width: none; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.std-card { border: 0; border-radius: 0; padding: 36px; background: rgba(8, 26, 49, .86); }
.std-card h3 { font-size: 32px; }
.stage-list { max-width: 900px; margin-top: 20px; }
.stage { gap: 30px; }
.stage-num { width: 46px; height: 46px; background: #03152c; box-shadow: 0 0 24px rgba(31, 189, 184, .12); }
.stage-body { padding-bottom: 38px; }
.stage-body h4 { font-size: 20px; }
.stage-body p { max-width: 70ch; }

#services { background: #071426; }
#services .section-head h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -.05em; }
.services-grid { grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.services-grid .card { grid-column: span 2; min-height: 310px; border: 0; border-radius: 0; box-shadow: none; padding: 34px; background: #0a1a30; transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.services-grid .card:nth-child(1), .services-grid .card:nth-child(2) { grid-column: span 3; }
.services-grid .card:hover { z-index: 2; transform: translateY(-6px); background: #0d223d; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.card .tag { color: var(--accent-bright); }
.card h3 { font-size: 23px; }
.card p { color: #91a6b9; font-size: 15px; line-height: 1.75; }

.training { background: #edf3f6; color: #0b1b2b; }
.training h2, .training h3, .training h4 { color: #0b1b2b; }
.training .lead, .training .tprog p, .training .tprog ul { color: #607283; }
.training .section-head h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -.05em; }
.training-grid { grid-template-columns: repeat(10, 1fr); gap: 1px; background: #cbd8e0; border: 1px solid #cbd8e0; }
.tprog { grid-column: span 2; min-height: 410px; border: 0; border-radius: 0; padding: 28px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.tprog:hover { z-index: 2; transform: translateY(-6px); box-shadow: 0 24px 55px rgba(16, 46, 68, .14); }
.tprog h4 { font-size: 19px; }
.tprog .earn { margin-top: auto; border-color: #cdd9e1; }
.tprog .earn .lbl2 { color: #087e9d; }
.tprog .earn .val2 { color: #273c4d; }
.badges-row { padding-top: 20px; }
.badges-row img { filter: grayscale(1); opacity: .72; mix-blend-mode: multiply; }

#partners { background: #071426; }
#partners .section-head h2 { font-size: clamp(38px, 4.5vw, 62px); letter-spacing: -.05em; }
.partners-row { gap: 1px; background: var(--border); border: 1px solid var(--border); }
.partner-pill { flex: 1 1 260px; border: 0; border-radius: 0; padding: 28px; background: #0a1a30; }
.partner-pill .name { font-size: 18px; }
.partner-pill .loc { color: var(--accent-bright); margin-top: 10px; }

#contact { background: #f4f8fa; color: #0b1b2b; }
#contact h2 { color: #0b1b2b; font-size: clamp(40px, 4.5vw, 62px); letter-spacing: -.05em; }
#contact .eyebrow { color: #087e9d; }
.contact-item .icn { border-radius: 0; background: #e1edf1; color: #087e9d; }
.contact-item .lbl { color: #6b7d8c; }
.contact-item .val { color: #1f3445; }
.cta-card { border-radius: 0; padding: 45px; background: #06172d; box-shadow: 22px 22px 0 #dce7ec; }
.cta-card h3 { font-size: 31px; }
.cta-card p { color: #9cafc0; }

footer.site { background: #fff; border-color: #d2dee5; padding-block: 44px; }
.footer-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: #0a66c2; font-weight: 700; text-decoration: none; }
.footer-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-social:hover, .footer-social:focus-visible { color: #073260; text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: inline-flex; align-items: center; gap: 14px; }
.legal-links a { color: #526170; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.legal-links a:hover, .legal-links a:focus-visible { color: #073260; text-decoration: underline; text-underline-offset: 3px; }
.privacy-consent { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); gap: 9px !important; align-items: start; color: #4b5968; font-size: 12px !important; font-weight: 500 !important; line-height: 1.45; }
.privacy-consent input { width: 17px !important; height: 17px; margin: 1px 0 0; accent-color: #019a98; }
.privacy-consent a { color: #005f62; font-weight: 800; }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal-item.visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 1120px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .card, .services-grid .card:nth-child(1), .services-grid .card:nth-child(2) { grid-column: auto; }
  .services-grid .card:last-child { grid-column: 1 / -1; }
  .training-grid { grid-template-columns: 1fr 1fr; }
  .tprog { grid-column: auto; }
  .tprog:last-child { grid-column: 1 / -1; min-height: 310px; }
}

@media (max-width: 820px) {
  header.site { background: rgba(2, 8, 20, .95); }
  .nav { min-height: 68px; }
  .nav img.logo { height: 38px; }
  .nav-links { inset: 68px 0 auto; background: #051225; border-color: var(--border); }
  .nav-links a { color: #dbe5ed; }
  .hero { min-height: auto; padding-block: 130px 78px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badges { width: min(100%, 550px); }
  .hero-badges::before { width: 330px; height: 330px; }
  .hero-badges::after { width: 230px; height: 230px; }
  .hero-badge:first-child, .hero-badge:last-child { transform: none; }
  .stat-row { margin-top: 45px; }
  .stat { min-width: 120px; padding-right: 18px; margin-right: 18px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .training-grid, .services-grid { grid-template-columns: 1fr; }
  .services-grid .card:last-child, .tprog:last-child { grid-column: auto; }
  .tprog { min-height: auto; }
  .cta-card { box-shadow: 12px 12px 0 #dce7ec; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero .lead { font-size: 17px; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
  .stat-row { display: grid; grid-template-columns: 1fr 1fr; }
  .stat { border: 0; margin: 0; padding: 14px 12px 14px 0; }
  .values { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .std-card { padding: 28px 24px; }
  .contact-grid { gap: 55px; }
  .cta-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badges::after { animation: none; }
  .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* Opening-page image composition */
.hero-visual {
  position: relative;
  width: min(100%, 540px);
  justify-self: end;
  align-self: center;
}

.hero-media {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  border: 1px solid rgba(137, 190, 225, .28);
  background: #06172d;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .38);
  overflow: visible;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, .05), rgba(2, 8, 20, .3)),
    linear-gradient(90deg, rgba(0, 201, 183, .14), transparent 40%);
  mix-blend-mode: multiply;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 18px;
  border: 1px solid rgba(71, 242, 223, .28);
  pointer-events: none;
}

.hero-city {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.88) contrast(1.08) brightness(.84);
}

.hero-anniversary {
  position: absolute;
  z-index: 5;
  width: 155px;
  aspect-ratio: 1 / 1;
  right: -26px;
  top: -34px;
  object-fit: cover;
  object-position: 50% 23%;
  border-radius: 50%;
  border: 6px solid #071426;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .4), 0 0 0 1px rgba(71, 242, 223, .35);
}

.hero-visual .hero-badges {
  position: relative;
  z-index: 6;
  width: calc(100% - 44px);
  margin: -54px 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(137, 190, 225, .22);
  border: 1px solid rgba(137, 190, 225, .22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.hero-visual .hero-badges::before,
.hero-visual .hero-badges::after { display: none; }

.hero-visual .hero-badge,
.hero-visual .hero-badge:first-child,
.hero-visual .hero-badge:last-child {
  min-height: 112px;
  margin: 0;
  padding: 17px;
  border: 0;
  border-radius: 0;
  transform: none;
  background: rgba(4, 17, 35, .96);
}

.hero-visual .hero-badge .ic {
  width: 38px;
  height: 38px;
}

.hero-visual .hero-badge .txt {
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1060px) and (min-width: 821px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 42px; }
  .hero-media { min-height: 340px; }
  .hero-anniversary { width: 128px; right: -15px; top: -26px; }
  .hero-visual .hero-badges { width: calc(100% - 24px); margin-inline: 12px; }
  .hero-visual .hero-badge { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 820px) {
  .hero-visual {
    justify-self: start;
    width: min(100%, 620px);
    margin-top: 24px;
  }
  .hero-media { min-height: clamp(280px, 62vw, 390px); }
  .hero-anniversary { width: 132px; right: 16px; top: -28px; }
  .hero-visual .hero-badges { width: calc(100% - 28px); margin: -42px 14px 0; }
}

@media (max-width: 520px) {
  .hero-media { min-height: 270px; }
  .hero-anniversary { width: 108px; right: 10px; top: -22px; border-width: 4px; }
  .hero-visual .hero-badges { grid-template-columns: 1fr; margin-top: -30px; }
  .hero-visual .hero-badge { min-height: 84px; flex-direction: row; }
}

/* 2026 consultation, header and first-page refinement */
header.site,
header.site.scrolled {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: rgba(0, 44, 102, .12);
  box-shadow: 0 10px 35px rgba(0, 27, 55, .08);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 92px;
  gap: 20px;
}

.nav .brand-lockup {
  flex: 0 0 auto;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
}

.header-anniversary-logo {
  flex: 0 0 auto;
  width: 82px;
  height: 62px;
  object-fit: contain;
}

.nav img.logo {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.header-anniversary-mark {
  flex: 0 0 88px;
  width: 88px;
  padding: 2px 1px 3px;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(17, 73, 129, .13), transparent 72%);
  filter: drop-shadow(0 6px 12px rgba(0, 44, 102, .2));
}

.header-anniversary-mark img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 0;
  filter: brightness(1.12) contrast(1.08) saturate(1.12);
}

.header-anniversary-mark span {
  position: relative;
  display: block;
  color: #003c78;
  font: 800 7px/1.2 "Space Grotesk", Inter, sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
}

.anniversary-lockup {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  margin-left: -5px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(0, 155, 142, .25);
  box-shadow: 0 7px 18px rgba(0, 44, 102, .12);
}

.anniversary-lockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.16);
}

.nav-links {
  margin-left: auto;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-links a {
  color: #008a7e;
  font-weight: 800;
  opacity: 1;
  letter-spacing: .07em;
}

.nav-links a:hover { color: #003c78; }
.burger { color: #003c78; }
.btn { font: inherit; cursor: pointer; }
.nav-cta .btn-navy { background: #003c78; color: #fff; border-color: #003c78; }

.hero {
  padding-top: 190px;
  min-height: 930px;
}

.hero-grid {
  max-width: 1400px;
  grid-template-columns: minmax(0, 1.22fr) minmax(430px, .9fr);
  gap: clamp(58px, 7vw, 120px);
  padding-left: clamp(110px, 10vw, 150px);
}

.hero-copy { position: relative; }

.hero-visual {
  width: min(120%, 780px);
  justify-self: end;
  transform: translateX(clamp(22px, 4.8vw, 86px)) translateY(-34px);
  perspective: 1400px;
}

.hero-media {
  min-height: 540px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
}

.hero-media::before {
  inset: -58px -36px -42px -72px;
  z-index: -2;
  opacity: 1;
  mix-blend-mode: normal;
  background:
    radial-gradient(circle at 26% 34%, rgba(71, 242, 223, .34), transparent 18%),
    radial-gradient(circle at 78% 28%, rgba(27, 116, 232, .34), transparent 26%),
    linear-gradient(145deg, rgba(15, 75, 146, .58), rgba(0, 201, 183, .08));
  clip-path: polygon(13% 0, 100% 8%, 88% 100%, 0 82%);
  filter: blur(1px);
}

.hero-media::after {
  inset: 22px -18px -22px 26px;
  z-index: -1;
  border: 1px solid rgba(71, 242, 223, .38);
  background-image:
    linear-gradient(rgba(71, 242, 223, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 242, 223, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: translateZ(-50px) rotate(3deg);
}

.hero-city-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 540px;
  overflow: hidden;
  border: 1px solid rgba(137, 190, 225, .28);
  box-shadow: -28px 38px 75px rgba(0, 0, 0, .48), 0 0 60px rgba(15, 95, 180, .18);
  transform: rotateY(-8deg) rotateX(2deg) translateZ(30px);
  transform-origin: center right;
  clip-path: polygon(5% 0, 100% 0, 94% 95%, 0 100%);
  background: #06172d;
}

.hero-city-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-city-blended {
  z-index: 1;
  object-position: 53% 50%;
  filter: saturate(1.03) contrast(1.06) brightness(.92);
  transform: scale(1.015);
}

.hero-city-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, .02), rgba(2, 8, 20, .22)),
    radial-gradient(circle at 70% 70%, rgba(0, 201, 183, .16), transparent 34%),
    linear-gradient(115deg, rgba(6, 23, 45, .38), transparent 34%);
  box-shadow: inset 0 0 55px rgba(1, 10, 24, .3);
}

.hero-anniversary { display: none; }

.hero-visual .hero-badges {
  width: calc(100% - 70px);
  margin: -58px 35px 0;
  transform: translateZ(85px);
}

.global-threat-watch {
  position: relative;
  z-index: 5;
  width: calc(100% - 70px);
  margin: 8px 35px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 242, 223, .24);
  background: linear-gradient(135deg, rgba(5, 25, 50, .96), rgba(4, 18, 38, .9));
  box-shadow: 0 18px 40px rgba(0, 5, 18, .3);
  color: #fff;
}
.consulting-team-feature { border-color: rgba(76, 242, 223, .28); }
.consulting-team-frame {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #020b18;
}
.consulting-team-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 34, 62, .58) 0%, rgba(5, 34, 62, .34) 34%, rgba(5, 34, 62, .04) 62%, transparent 100%);
}
.consulting-team-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}
.consulting-team-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: min(48%, 330px);
  padding: 24px;
  transform: translateY(-50%);
}
.consulting-team-overlay h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.consulting-team-overlay p {
  margin: 0;
  color: #b8cbd8;
  font-size: 12px;
  line-height: 1.55;
}
.live-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px 15px; border-bottom: 1px solid rgba(76,242,223,.2); }
.live-map-heading h2 { margin: 5px 0 0; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.live-map-heading > a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(76,242,223,.28); color: #4cf2df; font: 700 9px/1.2 "JetBrains Mono", monospace; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.live-map-heading > a:hover, .live-map-heading > a:focus-visible { border-color: #4cf2df; background: rgba(76,242,223,.1); color: #fff; outline: none; }
.live-map-frame { position: relative; width: 100%; height: 410px; background: #020b18; }
.live-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #020b18; }
.live-map-credit { margin: 0; padding: 9px 20px 11px; border-top: 1px solid rgba(76,242,223,.12); color: #718c9e; font-size: 10px; line-height: 1.4; }
.global-threat-console { display: grid; grid-template-columns: 155px minmax(0, 1fr); min-height: 230px; }
.threat-radar { position: relative; min-height: 230px; overflow: hidden; border-right: 1px solid rgba(76, 242, 223, .18); background: radial-gradient(circle at 50% 50%, rgba(8, 108, 128, .3), rgba(2, 14, 32, .95) 68%); }
.threat-radar::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(76,242,223,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(76,242,223,.14) 1px, transparent 1px); background-size: 19px 19px; }
.threat-radar svg { position: absolute; top: 50%; left: 50%; width: 130px; transform: translate(-50%, -50%); fill: rgba(76,242,223,.08); stroke: rgba(76,242,223,.48); stroke-width: 1; }
.radar-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(76,242,223,.22); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 54px; height: 54px; } .ring-two { width: 100px; height: 100px; } .ring-three { width: 150px; height: 150px; }
.radar-sweep { position: absolute; top: 50%; left: 50%; width: 75px; height: 75px; transform-origin: 0 0; background: conic-gradient(from 250deg, transparent 0 76%, rgba(76,242,223,.42) 92%, transparent 100%); animation: threat-sweep 5s linear infinite; }
.threat-ping { position: absolute; width: 7px; height: 7px; border: 1px solid #4cf2df; border-radius: 50%; background: #4cf2df; box-shadow: 0 0 14px #4cf2df; animation: threat-pulse 2.4s ease-out infinite; }
.ping-one { top: 34%; left: 30%; } .ping-two { top: 62%; left: 68%; animation-delay: .8s; } .ping-three { top: 47%; left: 54%; animation-delay: 1.4s; }
@keyframes threat-sweep { to { transform: rotate(360deg); } }
@keyframes threat-pulse { 0%, 100% { opacity: .35; scale: .65; } 45% { opacity: 1; scale: 1.35; } }
.global-threat-content { min-width: 0; padding: 20px; }

.global-threat-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4cf2df;
  font: 700 9px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.global-threat-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cf2df;
  box-shadow: 0 0 12px rgba(76, 242, 223, .8);
}

.global-threat-content h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: -.02em;
}
.global-threat-content > p { margin: 8px 0 13px; color: #a9bdcb; font-size: 12px; line-height: 1.5; }
.threat-provider-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.threat-provider { min-height: 32px; padding: 7px 10px; border: 1px solid rgba(159,184,202,.24); border-radius: 3px; background: rgba(5,25,50,.8); color: #9fb8ca; font: 700 9px/1 "JetBrains Mono", monospace; letter-spacing: .04em; cursor: pointer; }
.threat-provider:hover, .threat-provider:focus-visible, .threat-provider.is-active { border-color: #4cf2df; background: rgba(76,242,223,.12); color: #fff; outline: none; }
.threat-map-launch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid rgba(76,242,223,.32); background: linear-gradient(90deg, rgba(0,145,149,.25), rgba(5,25,50,.75)); color: #fff; text-decoration: none; }
.threat-map-launch span:first-child { color: #4cf2df; font: 700 9px/1.2 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.threat-map-launch strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.threat-map-launch:hover, .threat-map-launch:focus-visible { border-color: #4cf2df; background: linear-gradient(90deg, rgba(0,180,174,.35), rgba(5,35,64,.92)); outline: none; }
.global-threat-content small { display: block; margin-top: 8px; color: #718c9e; font-size: 9px; line-height: 1.4; }

.service-email {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  color: #007f7b;
  font: 700 13px/1.4 "JetBrains Mono", monospace;
  overflow-wrap: anywhere;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 127, 123, .34);
}

.service-email:hover,
.service-email:focus-visible {
  color: #005b58;
  border-bottom-color: currentColor;
}

.service-email-light {
  display: inline-block;
  margin-top: 18px;
  color: #007f7b;
}

.email-directory {
  display: grid;
  gap: 8px;
}

.email-directory span {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.email-directory small {
  color: var(--text-muted);
  font: 600 10px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.email-directory a,
.dialog-contact a {
  overflow-wrap: anywhere;
}

#about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 201, 183, .11), transparent 22rem),
    linear-gradient(145deg, #f8fbfc, #eaf2f6);
}

#about::after {
  content: "HCSE";
  position: absolute;
  right: -1vw;
  bottom: -5vw;
  color: rgba(0, 44, 102, .035);
  font: 800 clamp(130px, 22vw, 340px)/.8 "Space Grotesk", sans-serif;
  letter-spacing: -.09em;
  pointer-events: none;
}

#about .wrap { position: relative; z-index: 1; }
#about .eyebrow, #about .value h4 { color: #008f83; font-weight: 800; }
.about-grid { grid-template-columns: 1.12fr .88fr; align-items: start; }
.about-copy { margin-top: 22px; color: #435b6d; font-size: 17px; line-height: 1.8; }
.lineage { margin-top: 26px; padding: 24px 26px; background: rgba(255,255,255,.72); border-left: 4px solid #00a795; }
.about-proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border: 1px solid #c6d8e1; background: #fff; }
.about-proof div { padding: 22px 18px; border-right: 1px solid #d5e1e7; }
.about-proof div:last-child { border-right: 0; }
.about-proof strong { display: block; color: #003c78; font: 800 25px/1.1 "Space Grotesk", sans-serif; }
.about-proof span { display: block; margin-top: 7px; color: #617687; font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .05em; }
.values { transform: translateY(28px); box-shadow: 22px 22px 0 rgba(0, 60, 120, .08); }
.value { min-height: 210px; }

.consultation-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  color: #10283b;
  background: #f7fafb;
  box-shadow: 0 35px 100px rgba(0, 18, 42, .45);
}

.consultation-dialog::backdrop { background: rgba(0, 12, 30, .8); backdrop-filter: blur(7px); }
.dialog-shell { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; }
.dialog-close { position: absolute; z-index: 2; top: 13px; right: 17px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #e4edf1; color: #17384c; font-size: 30px; line-height: 1; cursor: pointer; }
.dialog-intro { padding: clamp(38px, 5vw, 68px); color: #fff; background: linear-gradient(145deg, #032650, #061426); }
.dialog-intro h2 { margin: 16px 0 18px; color: #fff; font-size: clamp(35px, 4vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
.consultation-dialog:not(.event-dialog) .dialog-intro h2 {
  max-width: 12ch;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.dialog-intro p { color: #b3c4d1; line-height: 1.75; }
.dialog-contact { margin-top: 27px; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.dialog-contact span { display: block; margin-bottom: 5px; color: #47f2df; font: 600 11px/1.3 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.consultation-form { display: grid; gap: 17px; padding: clamp(38px, 5vw, 66px); background: #fff; }
.consultation-form label { display: grid; gap: 8px; color: #244054; font-size: 13px; font-weight: 700; }
.consultation-form input, .consultation-form select, .consultation-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c6d7df; border-radius: 0; background: #f8fbfc; color: #10283b; font: 16px/1.4 Inter, sans-serif; }
.consultation-form .form-honey { display: none; }
.consultation-form textarea { min-height: 120px; resize: vertical; }
.consultation-form input:focus, .consultation-form select:focus, .consultation-form textarea:focus { outline: 3px solid rgba(0, 201, 183, .18); border-color: #009f91; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 0; color: #6a7e8d; font-size: 12px; text-align: center; }

.training-enquiry-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.training-enquiry-cta span { color: #526b7d; font-size: 13px; }
.training-dialog-intro { background: radial-gradient(circle at 18% 8%, rgba(0, 201, 183, .24), transparent 22rem), linear-gradient(145deg, #032650, #061426); }
.training-enquiry-form { gap: 14px; padding-block: clamp(28px, 4vw, 46px); }
.training-enquiry-form textarea { min-height: 88px; }

@media (max-width: 1180px) {
  .nav { gap: 13px; }
  .nav img.logo { height: 52px; }
  .header-anniversary-logo { width: 70px; height: 52px; }
  .anniversary-lockup { flex-basis: 58px; width: 58px; height: 58px; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 11px; }
  .hero-visual { transform: translateX(20px) translateY(-24px); }
}

@media (max-width: 1100px) {
  .hero-grid { padding-left: clamp(22px, 5vw, 70px); }
}

@media (max-width: 900px) {
  .anniversary-lockup { margin-right: auto; }
  .nav-links { margin-left: 0; }
  header.site .nav-links { background: #fff; border-bottom-color: rgba(0, 44, 102, .14); }
  .hero { padding-top: 160px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 680px); justify-self: start; transform: translateY(-12px); margin-top: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .values { transform: none; }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-intro { padding-bottom: 35px; }
}

@media (max-width: 820px) {
  header.site .nav-links { inset: 92px 0 auto; }
}

@media (max-width: 560px) {
  .nav { min-height: 78px; }
  .nav img.logo { height: 44px; max-width: 176px; }
  .header-anniversary-logo { width: 59px; height: 44px; }
  .anniversary-lockup { flex-basis: 48px; width: 48px; height: 48px; }
  header.site .nav-links { inset: 78px 0 auto; }
  .hero { padding-top: 135px; }
  .hero-media, .hero-city-frame { min-height: 290px; height: 290px; }
  .hero-visual .hero-badges { width: calc(100% - 26px); margin-inline: 13px; }
  .about-proof { grid-template-columns: 1fr; }
  .about-proof div { border-right: 0; border-bottom: 1px solid #d5e1e7; }
  .about-proof div:last-child { border-bottom: 0; }
  .consultation-dialog { max-height: calc(100vh - 16px); }
  .dialog-intro, .consultation-form { padding: 34px 24px; }
  .form-pair { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .nav img.logo { max-width: 145px; height: 40px; }
  .header-anniversary-logo { width: 54px; height: 40px; }
  .anniversary-lockup { flex-basis: 44px; width: 44px; height: 44px; }
  .nav-cta .btn { display: none; }
}

/* Featured cybersecurity event */
.event-float {
  position: fixed;
  z-index: 36;
  top: 51%;
  left: 18px;
  width: 250px;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 34px rgba(0, 16, 38, .3));
}

.event-float-motion {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(76, 242, 223, .45);
  background: linear-gradient(145deg, rgba(4, 35, 72, .98), rgba(2, 14, 34, .98));
  animation: eventFloat 5.5s ease-in-out infinite;
  box-shadow: 0 18px 46px rgba(0, 16, 38, .34);
}

.event-float-close {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(1, 12, 29, .82);
  font: 500 22px/1 sans-serif;
  cursor: pointer;
}

.event-float-close:hover,
.event-float-close:focus-visible { background: #00a897; outline: 2px solid #fff; }

.event-flyer-preview {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  height: 266px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: radial-gradient(circle at 50% 45%, #123c58, #04172d 72%);
  cursor: pointer;
}

.event-flyer-preview:hover,
.event-flyer-preview:focus-visible {
  border-color: #4cf2df;
  outline: 2px solid rgba(76, 242, 223, .55);
  outline-offset: 2px;
}

.event-flyer-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.event-float-copy { padding: 13px 7px 6px; color: #fff; }
.event-kicker { display: block; margin-bottom: 6px; color: #4cf2df; font: 700 10px/1.2 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.event-float-copy strong { display: block; color: #fff; font: 800 18px/1.12 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.event-float-copy > span:last-of-type { display: block; margin-top: 6px; color: #b9cad7; font-size: 11px; }
.event-register-trigger {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 13px;
  border: 0;
  color: #031629;
  background: linear-gradient(90deg, #4cf2df, #b4ff6d);
  font: 800 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.event-register-trigger:hover,
.event-register-trigger:focus-visible { background: #fff; outline: 2px solid #4cf2df; outline-offset: 2px; }
.event-flyer-link { display: block; margin-top: 9px; color: #b8cad8; font: 600 10px/1.2 "JetBrains Mono", monospace; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.event-flyer-link:hover,
.event-flyer-link:focus-visible { color: #fff; }

.event-dialog { width: min(1120px, calc(100vw - 32px)); }
.event-dialog-intro { background: radial-gradient(circle at 12% 10%, rgba(0, 201, 183, .23), transparent 23rem), linear-gradient(145deg, #052b59, #061426); }
.event-dialog-intro h2 { font-size: clamp(31px, 3.5vw, 49px); }
.event-dialog-details { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.event-dialog-details div { color: #fff; font-size: 13px; line-height: 1.45; }
.event-dialog-details span { display: block; margin-bottom: 4px; color: #4cf2df; font: 700 10px/1.2 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.event-registration-form { gap: 14px; padding-block: clamp(30px, 4vw, 48px); }
.event-registration-form textarea { min-height: 85px; }

@keyframes eventFloat {
  0%, 100% { transform: translateY(-7px); }
  50% { transform: translateY(7px); }
}

@keyframes eventPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 242, 223, .06), 0 0 18px rgba(0, 201, 183, .12); }
  50% { box-shadow: 0 0 0 7px rgba(76, 242, 223, .12), 0 0 28px rgba(0, 201, 183, .27); }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .event-float { width: 210px; left: 12px; }
  .event-flyer-preview { height: 228px; }
}

@media (max-width: 760px) {
  .event-float {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    transform: none;
  }
  .event-float-motion { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; }
  .event-flyer-preview { height: 92px; }
  .event-float-copy { padding: 4px 34px 4px 0; }
  .event-float-copy strong { font-size: 15px; }
  .event-float-copy > span:last-of-type { font-size: 10px; }
  .event-register-trigger { width: auto; margin-top: 8px; padding: 8px 12px; }
  .event-flyer-link { display: inline; margin-left: 10px; }
  .event-dialog-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .event-float-motion { grid-template-columns: 62px minmax(0, 1fr); }
  .event-flyer-preview { height: 82px; }
  .event-kicker { margin-bottom: 3px; font-size: 9px; }
  .event-float-copy > span:last-of-type { display: none; }
  .event-dialog-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .event-float-motion { animation: none; }
}

@media print {
  .event-float,
  .consultation-dialog { display: none !important; }
}

/* HiLCoE story and innovation visuals from the original HCSE site */
.origin-story {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(66px, 8vw, 110px);
}

.origin-photo { position: relative; margin: 0; min-width: 0; }
.origin-photo::after { content: ""; position: absolute; inset: auto -16px -16px 16px; z-index: 0; height: 32%; border: 1px solid rgba(0, 119, 133, .25); pointer-events: none; }
.origin-photo img { position: relative; z-index: 1; display: block; width: 100%; height: clamp(290px, 35vw, 430px); object-fit: cover; object-position: center; box-shadow: 0 28px 60px rgba(14, 53, 79, .15); }
.origin-photo figcaption { position: absolute; z-index: 2; bottom: 18px; left: 18px; padding: 9px 12px; color: #fff; background: rgba(3, 25, 53, .88); font: 700 12px/1.3 "JetBrains Mono", monospace; letter-spacing: .02em; }
.origin-copy { position: relative; padding-block: 16px; }
.origin-copy h3 { max-width: 12ch; margin: 15px 0 23px; color: #073260 !important; font: 800 clamp(32px, 3.4vw, 49px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.045em; }
.origin-copy p { max-width: 55ch; margin: 0 0 17px; color: #435b6d; font-size: 16px; line-height: 1.75; }

.innovation-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  min-height: 290px;
  margin-top: 32px;
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid rgba(115, 198, 223, .27);
  background: radial-gradient(circle at 88% 50%, rgba(6, 134, 178, .22), transparent 38%), linear-gradient(115deg, #0a2a4d, #071b34 75%);
}
.innovation-spotlight::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(109, 215, 222, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(109, 215, 222, .22) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.innovation-copy, .innovation-spotlight img { position: relative; z-index: 1; }
.innovation-copy h3 { max-width: 17ch; margin: 14px 0 16px; color: #fff; font: 800 clamp(31px, 3.2vw, 48px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.innovation-copy p { max-width: 67ch; margin: 0; color: #b9ccdb; font-size: 16px; line-height: 1.7; }
.innovation-spotlight img { display: block; width: min(100%, 280px); height: auto; justify-self: center; border-radius: 50%; box-shadow: 0 25px 70px rgba(0, 0, 0, .25); }

@media (max-width: 820px) {
  .origin-story { grid-template-columns: 1fr; }
  .origin-copy h3 { max-width: 17ch; }
  .innovation-spotlight { grid-template-columns: minmax(0, 1fr) 180px; }
}

@media (max-width: 600px) {
  .origin-photo::after { right: -9px; bottom: -9px; left: 9px; }
  .origin-photo img { height: 260px; }
  .origin-copy h3 { font-size: 34px; }
  .innovation-spotlight { grid-template-columns: 1fr; gap: 22px; }
  .innovation-spotlight img { width: 170px; justify-self: start; }
}

/* Cybersecurity-focused opening experience */
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 228, 199, .16), transparent 24rem),
    radial-gradient(circle at 16% 80%, rgba(13, 89, 190, .24), transparent 30rem),
    linear-gradient(132deg, #010712 0%, #041a34 52%, #020b19 100%);
}

.hero::before {
  opacity: .72;
  background-image:
    linear-gradient(rgba(71, 242, 223, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 242, 223, .08) 1px, transparent 1px),
    radial-gradient(circle, rgba(71, 242, 223, .42) 1px, transparent 1.8px);
  background-size: 54px 54px, 54px 54px, 108px 108px;
  mask-image: linear-gradient(115deg, rgba(0,0,0,.88), rgba(0,0,0,.25) 72%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(71, 242, 223, .28) 8px, transparent 9px 15px);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
  animation: cyber-scan 18s linear infinite;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
}

.hero .lead {
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.72;
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 700;
}

.service-detail-link:hover { color: #fff; }

@keyframes cyber-scan {
  to { background-position: 0 160px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(34px, 9.8vw, 45px); }
  .hero .lead { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* Premium technology typography and animated binary hero treatment */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3,
h4,
.stat .num,
.event-float-copy strong,
.event-register-trigger {
  font-family: "Space Grotesk", Inter, "Segoe UI Variable", sans-serif;
  font-kerning: normal;
}

.mono,
.eyebrow,
.stat .cap,
.card .tag,
.event-kicker,
.event-flyer-link {
  font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, monospace;
}

.hero-grid {
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(0, 1.02fr) minmax(510px, 1fr);
  gap: clamp(30px, 3.5vw, 52px);
}

@media (min-width: 821px) {
  .hero-copy {
    align-self: start;
    margin-top: -6px;
  }
}

.hero-visual {
  width: min(700px, 47vw);
  justify-self: end;
  align-self: start;
  margin-top: -6px;
  margin-right: -26px;
}

.hero-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.hero-city-frame {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 2px solid rgba(76, 242, 223, .3);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center right;
  clip-path: polygon(3% 0, 100% 0, 97% 97%, 0 100%);
  box-shadow: -24px 32px 70px rgba(0, 10, 28, .44), 0 0 34px rgba(76, 242, 223, .09);
}

.hero-city-blended {
  object-position: center;
  transform: scale(1.012);
}

.hero-visual .hero-badges {
  width: 100%;
  margin: 18px 0 0;
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hero-visual .hero-badge {
  border: 1px solid rgba(137, 190, 225, .24);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.binary-streams {
  position: absolute;
  z-index: 2;
  inset: 78px 0 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .24;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.86) 50%, transparent 96%);
}

.binary-streams span {
  position: absolute;
  top: -34rem;
  width: 1.1em;
  color: rgba(71, 242, 223, .8);
  font: 600 12px/1.55 "JetBrains Mono", "Cascadia Code", monospace;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
  text-shadow: 0 0 12px rgba(71, 242, 223, .55);
  animation: binary-flow 24s linear infinite;
}

.binary-streams span:nth-child(1) { left: 3%; animation-duration: 26s; }
.binary-streams span:nth-child(2) { left: 12%; animation-delay: -15s; animation-duration: 31s; }
.binary-streams span:nth-child(3) { left: 23%; animation-delay: -7s; animation-duration: 23s; }
.binary-streams span:nth-child(4) { left: 35%; animation-delay: -19s; animation-duration: 34s; }
.binary-streams span:nth-child(5) { left: 49%; animation-delay: -11s; animation-duration: 28s; }
.binary-streams span:nth-child(6) { left: 63%; animation-delay: -4s; animation-duration: 32s; }
.binary-streams span:nth-child(7) { left: 77%; animation-delay: -22s; animation-duration: 27s; }
.binary-streams span:nth-child(8) { left: 91%; animation-delay: -9s; animation-duration: 30s; }

@keyframes binary-flow {
  from { transform: translate3d(0, -15%, 0); }
  to { transform: translate3d(0, 190vh, 0); }
}

.hero-city-blended {
  image-rendering: auto;
  filter: saturate(1.08) contrast(1.04) brightness(1.09);
}

.hero-city-glow {
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0), rgba(2, 8, 20, .08)),
    radial-gradient(circle at 68% 38%, rgba(76, 242, 223, .1), transparent 34%),
    linear-gradient(115deg, rgba(6, 23, 45, .12), transparent 34%);
  box-shadow: inset 0 0 32px rgba(0, 10, 28, .12);
}

.hero-image-copyright {
  position: absolute;
  z-index: 9;
  right: 9px;
  bottom: 8px;
  padding: 3px 5px;
  color: rgba(255, 255, 255, .74);
  background: rgba(2, 8, 20, .38);
  border: 1px solid rgba(255, 255, 255, .12);
  font: 600 8px/1 "JetBrains Mono", "Cascadia Code", monospace;
  letter-spacing: .08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
  backdrop-filter: blur(4px);
}

/* Keep the artwork itself crisp while the complete card moves gently. */
.event-flyer-preview,
.event-flyer-preview img {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.event-flyer-preview { cursor: pointer; }
.event-flyer-preview:hover,
.event-flyer-preview:focus-visible {
  border-color: rgba(255, 255, 255, .15);
  outline: none;
}

@media (max-width: 820px) {
  .binary-streams { opacity: .16; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { width: min(100%, 650px); margin: 0; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .header-anniversary-mark { flex-basis: 62px; width: 62px; }
  .header-anniversary-mark img { height: 37px; }
  .global-threat-watch { width: calc(100% - 28px); margin: 18px 14px 0; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: 38px; }
  .hero-visual { width: min(100%, 580px); margin-right: -10px; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .header-anniversary-mark { flex-basis: 72px; width: 72px; }
  .header-anniversary-mark img { height: 43px; }
}

@media (max-width: 520px) {
  .header-anniversary-mark { flex-basis: 54px; width: 54px; }
  .header-anniversary-mark img { height: 32px; }
  .header-anniversary-mark span { font-size: 5.5px; letter-spacing: .04em; }
  .consulting-team-frame,
  .consulting-team-frame > img { min-height: 250px; }
  .consulting-team-frame > img { object-position: 61% center; }
  .consulting-team-frame::after { background: linear-gradient(90deg, rgba(5, 34, 62, .7) 0%, rgba(5, 34, 62, .42) 50%, rgba(5, 34, 62, .08) 78%, transparent 100%); }
  .consulting-team-overlay { width: 58%; padding: 17px 14px; }
  .consulting-team-overlay h2 { font-size: 19px; }
  .consulting-team-overlay p { font-size: 11px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  .binary-streams span { animation: none; top: 8%; }
  .radar-sweep, .threat-ping { animation: none; }
}

/* Final mobile fit and touch-layout pass */
@media (max-width: 900px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .wrap { width: 100%; max-width: 100%; padding-inline: clamp(16px, 4.5vw, 32px); }
  .nav { width: 100%; min-width: 0; gap: 10px; padding-block: 8px; }
  .nav .brand-lockup { min-width: 0; max-width: min(52vw, 210px); }
  .nav img.logo { width: 100%; height: auto; max-height: 52px; object-fit: contain; }
  .nav-cta { margin-left: auto; gap: 4px; }
  .nav-cta .btn { display: none; }
  .burger { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; }
  .header-anniversary-mark { margin-left: 0; flex-basis: 68px; width: 68px; }
  .header-anniversary-mark img { height: 40px; }
  .header-anniversary-mark span { font-size: 6px; letter-spacing: .045em; }
  header.site .nav-links {
    inset: 76px 0 auto;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 20px clamp(18px, 5vw, 34px) 24px;
  }
  .nav-links a { width: 100%; padding-block: 6px; font-size: 13px; }

  .hero { min-height: auto; padding: 118px 0 72px; }
  .hero-grid { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: clamp(16px, 4.5vw, 32px); }
  .hero-copy, .hero-visual { min-width: 0; }
  .hero-copy .eyebrow { max-width: 100%; font-size: 10px; line-height: 1.6; letter-spacing: 1.5px; }
  .hero h1 { max-width: 15ch; font-size: clamp(36px, 9.2vw, 49px); line-height: 1.04; letter-spacing: -.04em; }
  .hero .lead { max-width: none; font-size: 17px; line-height: 1.65; }
  .hero .cta-row { gap: 10px; margin-top: 28px; }
  .hero .cta-row .btn { min-height: 48px; }
  .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 38px; }
  .stat { min-width: 0; margin: 0; padding: 12px; text-align: center; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .stat .num { font-size: clamp(24px, 7vw, 31px); }
  .stat .cap { font-size: 9px; line-height: 1.35; overflow-wrap: anywhere; }

  .hero-visual { width: 100%; max-width: 680px; justify-self: stretch; margin: 0; transform: none; }
  .hero-media, .hero-city-frame { width: 100%; min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .hero-media::before { inset: -20px -12px -18px -22px; }
  .hero-media::after { inset: 10px -6px -10px 12px; }
  .hero-city-frame { transform: none; transform-origin: center; clip-path: polygon(2% 0, 100% 0, 98% 97%, 0 100%); }
  .hero-city-blended { object-position: 53% 50%; transform: scale(1.01); }
  .hero-visual .hero-badges { width: calc(100% - 20px); margin: -24px 10px 0; }
  .hero-visual .hero-badge { min-width: 0; padding: 14px; }
  .hero-visual .hero-badge .txt { font-size: 12px; }

  .global-threat-watch { width: calc(100% - 20px); margin: 14px 10px 0; padding: 0; }
  .global-threat-content h2 { font-size: 17px; }

  section { padding-block: 68px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, #about h2, #iso-process .section-head h2, #services .section-head h2, .training .section-head h2, #contact h2 {
    font-size: clamp(29px, 7.5vw, 42px);
    line-height: 1.08;
  }
  .lead { font-size: 17px; line-height: 1.65; }
  .services-grid, .training-grid, .standards-grid, .about-grid, .contact-grid { min-width: 0; }
  .services-grid .card, .tprog, .std-card, .value, .partner-pill { min-width: 0; padding: 24px; }
  .services-grid .card { min-height: 0; }
  .training-grid { margin-bottom: 28px; }
  .badges-row img { width: 100%; height: auto; }
  .contact-item > div:last-child { min-width: 0; }
  .contact-item .val, .contact-item .val a, .email-directory { overflow-wrap: anywhere; word-break: break-word; }
  .cta-card { padding: 30px 24px; box-shadow: 10px 10px 0 #dce7ec; }
  .footer-row, .footer-meta { width: 100%; align-items: flex-start; justify-content: flex-start; }

  .consultation-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; }
  .dialog-shell { display: block; }
  .dialog-intro, .consultation-form { padding: 32px 22px; }
  .dialog-close { position: sticky; float: right; top: 8px; right: 8px; margin: 8px 8px -50px 0; }
  .form-pair { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .nav { min-height: 70px; gap: 6px; }
  .nav .brand-lockup { max-width: min(45vw, 160px); }
  .nav img.logo { max-height: 42px; }
  .header-anniversary-mark { flex-basis: 54px; width: 54px; }
  .header-anniversary-mark img { height: 32px; }
  .header-anniversary-mark span { font-size: 5.5px; }
  header.site .nav-links { inset: 70px 0 auto; max-height: calc(100dvh - 70px); }

  .hero { padding: 104px 0 58px; }
  .hero-grid { padding-left: 16px; gap: 28px; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 42px); }
  .hero .lead { font-size: 16px; }
  .hero .cta-row { display: grid; grid-template-columns: 1fr; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
  .stat { padding-inline: 7px; }
  .hero-media, .hero-city-frame { aspect-ratio: 16 / 10; }
  .hero-visual .hero-badges { grid-template-columns: 1fr; margin-top: -18px; }
  .hero-visual .hero-badge { min-height: 72px; }

  .global-threat-watch { padding: 0; }
  .live-map-heading { align-items: flex-start; padding: 16px; }
  .live-map-heading h2 { font-size: 16px; }
  .live-map-heading > a { padding: 7px 8px; font-size: 8px; }
  .live-map-frame { height: 340px; }
  .live-map-credit { padding-inline: 16px; }
  .global-threat-console { grid-template-columns: 1fr; }
  .threat-radar { min-height: 130px; border-right: 0; border-bottom: 1px solid rgba(76, 242, 223, .18); }
  .ring-three { width: 126px; height: 126px; }
  .radar-sweep { width: 63px; height: 63px; }
  .global-threat-content { padding: 17px; }
  .threat-map-launch { grid-template-columns: 1fr auto; }
  .threat-map-launch span:first-child { grid-column: 1 / -1; }
  .threat-map-launch strong { white-space: normal; }

  section { padding-block: 56px; }
  .win-banner { padding: 20px; }
  .stage { gap: 14px; }
  .stage-num { width: 40px; height: 40px; }
  .stage-body h4 { font-size: 18px; }
  .services-grid .card, .tprog, .std-card, .value, .partner-pill { padding: 22px 20px; }
  .contact-item { gap: 10px; }
  .contact-item .icn { width: 34px; height: 34px; }
  .cta-card { padding: 26px 20px; }
  .footer-meta { flex-direction: column; gap: 12px; }

  .event-float { right: 8px; bottom: 54px; left: 8px; width: auto; }
  .event-float-motion { grid-template-columns: 66px minmax(0, 1fr); gap: 9px; }
  .event-flyer-preview { height: 84px; }
  .event-float-copy { min-width: 0; padding-right: 30px; }
  .event-float-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .event-register-trigger { min-height: 40px; padding: 8px 10px; }
  .event-flyer-link { margin-left: 7px; font-size: 10px; }
  .hcse-has-news-ticker .hcse-chat-launcher { bottom: 184px; }
  .hcse-has-news-ticker .hcse-chat-panel { right: 8px; bottom: 116px; width: calc(100vw - 16px); max-height: calc(100dvh - 132px); }
  .hcse-has-news-ticker.event-float-dismissed .hcse-chat-launcher { bottom: 60px; }
}

@media (max-width: 360px) {
  .nav .brand-lockup { max-width: 132px; }
  .header-anniversary-mark { flex-basis: 48px; width: 48px; }
  .header-anniversary-mark img { height: 29px; }
  .header-anniversary-mark span { font-size: 5px; }
  .burger { min-width: 40px; width: 40px; }
  .hero h1 { font-size: 31px; }
  .stat .num { font-size: 22px; }
  .stat .cap { font-size: 8px; }
  .event-float-motion { grid-template-columns: 58px minmax(0, 1fr); }
  .event-flyer-preview { height: 76px; }
}

/* First-screen alignment, richer cyber atmosphere and horizontal performance figures */
.hero {
  padding-top: 142px;
  background:
    radial-gradient(circle at 14% 17%, rgba(0,201,183,.22), transparent 18rem),
    radial-gradient(circle at 82% 23%, rgba(18,112,224,.29), transparent 25rem),
    radial-gradient(circle at 58% 92%, rgba(0,88,183,.22), transparent 30rem),
    linear-gradient(132deg, #010610 0%, #05264a 48%, #020b1b 100%);
}
.hero svg.net { opacity:.88; filter:drop-shadow(0 0 18px rgba(71,242,223,.12)); }
.hero::before { opacity:.86; animation:cyber-grid-drift 32s linear infinite; }
.binary-streams { opacity:.34; }
.hero-copy { transform: translateY(-32px); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 18px;
  gap: 0;
  position: relative;
  z-index: 7;
  transform: translateY(-12px);
  overflow: visible;
}
.stat {
  min-width: 0;
  margin: 0;
  padding: 15px 22px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat .cap { display: block; white-space: normal; }

@keyframes cyber-grid-drift {
  from { background-position: 0 0,0 0,0 0; }
  to { background-position: 54px 54px,54px 54px,108px 108px; }
}

@media (max-width: 820px) {
  .hero { padding-top: 92px; }
  .hero-copy { transform: none; }
  .stat-row { margin-top: 20px; transform: translateY(-10px); }
  .stat { padding: 12px 8px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 82px; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding-inline: 5px; }
  .stat .num { font-size: clamp(21px, 6.5vw, 28px); }
  .stat .cap { font-size: clamp(7px, 2.4vw, 9px); line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation:none; }
}
