/* OT CYBER DEFENCE
   Minimal static-site design
*/

:root {
  --ink: #102238;
  --muted: #617083;
  --blue: #2368ad;
  --blue-dark: #12385f;
  --line: #dfe5eb;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --max: 1320px;
  --shadow: 0 12px 35px rgba(16, 34, 56, .08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

.site-header {
  height: 94px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 47px;
  height: 54px;
  display: block;
}

.brand-mark svg,
.welcome-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
}

.brand-mark text {
  fill: var(--ink);
  stroke: none;
  font-size: 17px;
  font-weight: 800;
  font-family: Inter, sans-serif;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.02em;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: .18em;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  transition: color .2s ease;
}

.nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.search-button,
.menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-button {
  width: 28px;
  height: 28px;
  padding: 2px;
}

.search-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.menu-button {
  display: none;
}

.hero {
  min-height: 550px;
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  background: linear-gradient(105deg, #fff 0%, #fff 46%, #f3f6f9 100%);
}

.hero-content {
  max-width: 650px;
  padding: 115px 0 90px 8vw;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

.hero-subtitle {
  margin: 25px 0 0;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .21em;
}

.hero-rule {
  width: 68px;
  height: 3px;
  margin: 25px 0;
  background: var(--blue);
}

.hero-copy {
  max-width: 490px;
  margin: 0 0 30px;
  color: #42556a;
  font-size: 16px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

.primary-button span {
  font-size: 20px;
  line-height: 1;
}

.hero-art {
  min-height: 550px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 48%, rgba(35,104,173,.12), transparent 35%),
    linear-gradient(90deg, #f7f9fb 0%, #edf2f6 100%);
}

.plant-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.2) 32%, transparent 55%),
    radial-gradient(ellipse at 70% 65%, rgba(26,70,109,.18), transparent 47%);
}

.factory {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 84%;
  height: 76%;
  opacity: .55;
  filter: grayscale(.25);
}

.tower, .building, .tank, .pipe {
  position: absolute;
  border: 2px solid #9eafbe;
  background: linear-gradient(90deg, rgba(180,193,204,.55), rgba(238,242,245,.35));
}

.tower {
  bottom: 4%;
  width: 9%;
  border-radius: 8px 8px 2px 2px;
}

.tower i {
  display: block;
  height: 16%;
  margin: 13% 12%;
  border-top: 1px solid #aebdca;
}

.tower-1 { left: 13%; height: 66%; }
.tower-2 { left: 38%; height: 88%; width: 11%; }
.tower-3 { left: 66%; height: 72%; width: 10%; }

.building-1 { left: 4%; bottom: 3%; width: 29%; height: 31%; }
.building-2 { left: 47%; bottom: 3%; width: 44%; height: 28%; }

.tank {
  border-radius: 50% 50% 4px 4px;
  bottom: 3%;
}
.tank-1 { left: 29%; width: 13%; height: 31%; }
.tank-2 { right: 3%; width: 11%; height: 24%; }

.pipe-1 {
  left: 4%;
  bottom: 30%;
  width: 57%;
  height: 7%;
  border-width: 3px 0 0;
  background: none;
}
.pipe-2 {
  left: 52%;
  bottom: 52%;
  width: 28%;
  height: 17%;
  border-width: 0 3px 3px 0;
  background: none;
}

.shield {
  position: absolute;
  right: 18%;
  top: 25%;
  width: 145px;
  height: 170px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  background: rgba(40,105,165,.16);
  clip-path: polygon(50% 0, 94% 15%, 88% 61%, 50% 100%, 12% 61%, 6% 15%);
  border: 1px solid rgba(255,255,255,.7);
  text-shadow: 0 2px 10px rgba(16,34,56,.25);
  font-size: 28px;
  font-weight: 800;
}

.circuit {
  position: absolute;
  height: 1px;
  background: rgba(35,104,173,.25);
}
.circuit::before, .circuit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: -3px;
  border: 1px solid rgba(35,104,173,.35);
  border-radius: 50%;
  background: #f3f6f9;
}
.circuit::before { left: 0; }
.circuit::after { right: 0; }
.circuit-a { width: 250px; right: 6%; top: 26%; }
.circuit-b { width: 190px; right: 28%; top: 63%; transform: rotate(-25deg); }

.welcome {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 155px;
  padding: 35px 6vw;
  display: flex;
  align-items: center;
  gap: 34px;
}

.welcome-icon {
  width: 62px;
  height: 70px;
  flex: 0 0 auto;
}
.welcome-icon svg {
  stroke: var(--blue);
}

.welcome h2,
.content-section h2,
.category-section h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.025em;
}

.welcome p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.content-section,
.category-section {
  padding: 70px max(6vw, calc((100vw - var(--max)) / 2));
}

.content-section {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link span {
  font-size: 19px;
  margin-left: 7px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  overflow: hidden;
  border: 1px solid #e1e6eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(16,34,56,.055);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-image {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #102b45;
}

.image-label {
  position: absolute;
  left: 17px;
  top: 16px;
  z-index: 3;
  color: rgba(255,255,255,.85);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.network-image {
  background:
    radial-gradient(circle at 50% 50%, rgba(63,139,202,.42), transparent 27%),
    linear-gradient(135deg, #0a2137, #173c5e);
}

.network-lines::before,
.network-lines::after {
  content: "";
  position: absolute;
  inset: 48px 28px 28px;
  background:
    linear-gradient(30deg, transparent 48%, rgba(108,179,229,.35) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(108,179,229,.35) 49%, transparent 51%);
  opacity: .8;
}

.lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -42%);
  width: 54px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(174,216,246,.8);
  border-radius: 7px;
  color: #b9def8;
  font-size: 27px;
}

.threat-image {
  background:
    linear-gradient(rgba(5,18,31,.35), rgba(5,18,31,.65)),
    radial-gradient(circle at 40% 45%, #24557d, #071827 65%);
}

.monitor {
  position: absolute;
  border: 4px solid #0d2031;
  border-bottom-width: 11px;
  background:
    linear-gradient(150deg, transparent 47%, rgba(88,160,213,.4) 48%, transparent 50%),
    linear-gradient(25deg, transparent 47%, rgba(88,160,213,.28) 48%, transparent 50%),
    #132d45;
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
}
.monitor-1 { width: 47%; height: 45%; left: 10%; top: 32%; }
.monitor-2 { width: 36%; height: 38%; right: 7%; top: 20%; }

.lab-image {
  background:
    radial-gradient(circle at 50% 42%, rgba(80,135,170,.42), transparent 25%),
    linear-gradient(145deg, #10283e, #071522);
}
.desk {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 20%;
  height: 8px;
  background: #20394f;
  box-shadow: 0 22px 0 #13283b;
}
.screen {
  position: absolute;
  left: 34%;
  top: 28%;
  width: 33%;
  height: 35%;
  border: 6px solid #132b41;
  background:
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(71,155,211,.14) 10px 11px),
    #0a1b2b;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.card-body {
  padding: 20px;
}

.category {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -.02em;
}

.card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.meta {
  padding-top: 13px;
  border-top: 1px solid #e7ebef;
  color: #7a8795;
  font-size: 11px;
}

.category-section {
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  min-height: 150px;
  padding: 28px;
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  gap: 20px;
  align-items: start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}

.category-card:hover {
  background: var(--soft);
}

.category-number {
  color: #9aa7b4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.category-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.category-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.arrow {
  color: var(--blue);
  font-size: 20px;
}

.footer {
  padding: 42px max(6vw, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #718091;
  font-size: 12px;
}

.footer strong {
  color: var(--ink);
  letter-spacing: .04em;
}

.footer p {
  margin: 5px 0 0;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 25px;
  background: rgba(9,24,39,.42);
  backdrop-filter: blur(8px);
}

.search-overlay[hidden] {
  display: none;
}

.search-box {
  position: relative;
  width: min(600px, 100%);
  padding: 42px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}

.search-box h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.search-box input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cfd7df;
  border-radius: 5px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,104,173,.1);
}

.search-box > button {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 28px;
}

.search-box p:last-child {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 18px 6vw 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(16,34,56,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .search-button { display: none; }
  .menu-button {
    display: flex;
    width: 32px;
    padding: 5px 0;
    flex-direction: column;
    gap: 5px;
  }
  .menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 80px 8vw 70px;
  }
  .hero-art {
    min-height: 320px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card-image { height: 250px; }
}

@media (max-width: 600px) {
  .brand strong { font-size: 15px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 39px; height: 47px; }
  .hero h1 { font-size: 47px; }
  .hero-subtitle { font-size: 12px; letter-spacing: .15em; }
  .hero-art { min-height: 250px; }
  .welcome {
    align-items: flex-start;
    padding: 35px 7vw;
    gap: 20px;
  }
  .welcome-icon { width: 45px; height: 54px; }
  .content-section, .category-section { padding: 55px 7vw; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { grid-template-columns: 40px 1fr 25px; padding: 22px; }
  .footer { padding: 35px 7vw; flex-direction: column; }
}
