:root {
  --navy: #0d2d50;
  --ink: #0b2039;
  --blue: #175dba;
  --cyan: #75c8fc;
  --coral: #ff727a;
  --wash: #f0f5fa;
  --line: #d6e1ed;
  --muted: #4d6077;
  --hero-image: url("hero.webp");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: white; font-size: 1rem; line-height: 1.6; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { margin-bottom: 1.1rem; }
h1 { font-size: clamp(2.6rem, 4.25vw, 4rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.16; letter-spacing: -.03em; margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .75rem; }
.wrap { width: min(1180px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 12px; background: white; color: black; }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 20; background: #0d2d50fa; color: white; border-bottom: 1px solid #ffffff1c; }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .75rem; font-size: 1.8rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 43px; height: 43px; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav a { padding-block: 12px; color: #e5eef8; text-decoration: none; font-size: .94rem; }
.nav a:hover { color: var(--cyan); }
.language-switch { display: flex; align-items: center; padding: 3px; gap: 3px; border: 1px solid #ffffff45; border-radius: 5px; flex-shrink: 0; }
.language-switch button { min-width: 42px; min-height: 42px; padding: 6px 9px; color: #d5e3f0; background: transparent; border: 0; border-radius: 3px; font-size: .875rem; }
.language-switch button[aria-pressed="true"] { background: white; color: var(--navy); font-weight: 700; }
.mobile-nav { display: none; }
.hero { position: relative; isolation: isolate; color: white; background: #081b30; }
.hero-image { position: absolute; z-index: -2; inset: 0 auto 0 -10%; width: 78%; background-image: var(--hero-image); background-size: cover; background-position: center 58%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #081b301a 5%, #081b3040 27%, #081b30d6 49%, #081b30f5 67%, #081b30 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 2rem; align-items: center; min-height: clamp(620px, calc(100svh - 82px), 780px); padding-block: 3.5rem; }
.hero-copy { grid-column: 2; min-width: 0; }
.eyebrow { color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .095em; line-height: 1.5; margin-bottom: 1.15rem; }
.hero .eyebrow { color: var(--cyan); }
.hero-clearances { margin: 0 0 1.5rem; }
.hero-clearances p { color: #d3e1ee; font-size: .875rem; margin-bottom: .35rem; }
.hero-clearances a { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.65rem; width: fit-content; max-width: 100%; color: white; font-size: 1.15rem; font-weight: 700; letter-spacing: .015em; text-decoration: none; }
.hero-clearances a:hover { color: var(--cyan); }
.lead { color: #d3dfec; font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; max-width: 100%; padding: 12px 21px; border: 1px solid transparent; border-radius: 5px; background: var(--blue); color: white; font-weight: 700; line-height: 1.45; text-decoration: none; text-align: center; }
.button:hover { background: #124e9e; }
.hero .button { background: var(--coral); color: var(--ink); }
.hero .button:hover { background: #ff979d; }
.text-link { padding-block: 10px; font-size: .95rem; }
.section { padding-block: clamp(3.25rem, 6vw, 5.25rem); }
.section-heading { max-width: 700px; margin-bottom: 2.25rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.partis { background: var(--wash); }
.partis-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(2rem, 5vw, 4rem); }
.partis-intro > p:not(.eyebrow) { color: var(--muted); }
.partis-intro .scope { font-size: .94rem; margin: 1.5rem 0; }
.partis-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.partis-item { border-top: 1px solid #bacde0; padding-top: 1rem; min-width: 0; }
.partis-item .num { display: block; color: var(--blue); font-weight: 700; font-size: .82rem; margin-bottom: .5rem; }
.partis-item h3 { font-size: 1.08rem; margin-bottom: .6rem; }
.partis-item p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.reference { padding-top: 1.5rem; margin: 2.25rem 0 0; border-top: 1px solid #d2dfeb; color: var(--muted); font-size: .875rem; }
.reference a { display: inline-block; margin-left: 5px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service { min-width: 0; padding: 1.75rem; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; }
.service .tag { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .07em; margin-bottom: .75rem; }
.service p { color: var(--muted); font-size: 1rem; }
.service ul { margin: 0; padding: 1.1rem 0 0 1.15rem; border-top: 1px solid #e4ebf3; font-size: 1rem; }
.service li { margin-block: .3rem; padding-left: 3px; }
.service li::marker { color: var(--blue); }
.service-more { color: var(--blue); font-weight: 700; margin-top: 1rem; padding-block: .4rem; }
.fortinet { background: #e8f1fa; }
.architecture { background: var(--wash); }
.fortinet-layout, .architecture-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(2rem, 5vw, 4rem); }
.fortinet-intro > p:not(.eyebrow), .architecture-intro > p:not(.eyebrow) { color: var(--muted); }
.fortinet-intro .scope, .architecture-intro .scope { font-size: .94rem; margin: 1.5rem 0; }
.fortinet-list, .architecture-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.fortinet-list { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.fortinet-item, .architecture-item { border-top: 1px solid #bacde0; padding-top: 1rem; min-width: 0; }
.fortinet-item h3, .architecture-item h3 { font-size: 1.08rem; margin-bottom: .6rem; overflow-wrap: anywhere; }
.fortinet-item p, .architecture-item p { color: var(--muted); margin-bottom: 0; }
.architecture + .partis { background: white; }
.clearance { background: var(--navy); color: white; }
.clearance-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.clearance .eyebrow { color: var(--cyan); }
.clearance h2 { font-size: clamp(1.9rem, 3vw, 2.3rem); }
.clearance-body { color: #c6d7e7; margin-bottom: 0; }
.clearance-levels { display: grid; gap: 1rem; min-width: 0; }
.clearance-level { border: 1px solid #6685a6; border-radius: 5px; padding: 1.25rem 1.5rem; min-width: 0; }
.clearance-level small { display: block; color: #c6d7e7; font-size: .875rem; margin-bottom: .5rem; }
.clearance-level strong { display: block; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; overflow-wrap: anywhere; }
.about-layout, .contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: start; }
.about-layout > p:last-child { font-size: 1.1rem; color: var(--muted); margin-top: .35rem; }
.contact { background: var(--wash); border-top: 1px solid var(--line); }
.contact-copy { color: var(--muted); }
.contact-links { align-self: center; min-width: 0; }
.contact-links a { display: block; font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.4; margin: .35rem 0 1.5rem; color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; }
.contact-links small, .contact-note { color: var(--muted); font-size: .875rem; }
.contact-note { margin-bottom: 0; }
.footer { background: #0a2039; color: #bed0e1; padding-block: 2rem; font-size: .875rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; }
.footer p { margin-bottom: .35rem; }
.footer strong { color: white; font-weight: 600; }
.footer-meta { text-align: right; }
.copyright { color: #afc3d8; font-size: .8rem; }

/* Tablet navigation starts before the desktop links can become cramped. */
@media (max-width: 1180px) {
  .wrap { width: calc(100% - 3rem); }
  .header-inner { min-height: 76px; gap: 1rem; }
  .nav { display: none; }
  .language-switch { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; min-width: 52px; min-height: 46px; padding: 6px; font-size: .94rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] .mobile-links { position: absolute; inset: 100% 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 1rem; padding: .75rem 1.5rem; background: var(--navy); border-top: 1px solid #ffffff20; box-shadow: 0 12px 22px #06192e40; }
  .mobile-links a { padding: .7rem; min-height: 44px; text-decoration: none; font-size: 1rem; }
  .hero-inner { grid-template-columns: minmax(0, .56fr) minmax(0, 1fr); gap: 1.5rem; min-height: 640px; padding-block: 3rem; }
  .hero-image { left: -26%; width: 105%; }
  .hero::after { background: linear-gradient(90deg, #081b3030, #081b3070 25%, #081b30e6 52%, #081b30fa 78%); }
  .hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.4rem); }
  .partis-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fortinet-layout, .architecture-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fortinet-intro, .architecture-intro { max-width: 720px; }
  .partis-intro { max-width: 720px; }
  .partis-list { gap: 2rem; }
  .clearance-layout, .about-layout, .contact-layout { gap: 2rem; }
  .clearance-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .clearance-level { padding: 1.1rem; }
}

/* Narrow tablets and phones use natural document flow, with no fixed content height. */
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2.25rem); }
  html { scroll-padding-top: 5.5rem; }
  .header-inner { min-height: 72px; gap: .75rem; }
  .brand { font-size: 1.5rem; gap: .55rem; }
  .brand img { width: 36px; height: 36px; }
  .hero-image { inset: 0 0 auto; width: 100%; height: 390px; background-size: cover; background-position: center 58%; }
  .hero::after { background: linear-gradient(180deg, #081b3005 0, #081b3026 85px, #081b30b8 180px, #081b30f5 300px, #081b30 400px); }
  .hero-inner { display: block; min-height: 0; padding-block: 165px 2.75rem; }
  .hero-copy { max-width: 570px; margin-inline: auto; }
  .hero h1 { font-size: clamp(2.15rem, 7vw, 3.05rem); line-height: 1.12; margin-bottom: 1.15rem; }
  .hero .eyebrow { font-size: .8rem; margin-bottom: .9rem; }
  .hero-clearances { margin-bottom: 1.15rem; }
  .hero-clearances a { font-size: 1.1rem; gap: .3rem 1.5rem; }
  .lead { font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }
  .services-grid, .clearance-layout, .about-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 1.5rem; }
  .clearance-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clearance-level strong { font-size: 1rem; }
  .about-layout > p:last-child { margin-top: 0; }
  .footer-meta { text-align: left; }
}

@media (max-width: 460px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: .5rem; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 32px; height: 32px; }
  .language-switch button { min-width: 38px; padding-inline: 6px; }
  .mobile-nav summary { min-width: 44px; padding-inline: 3px; font-size: .875rem; }
  .mobile-nav[open] .mobile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 1rem; }
  .hero-image { height: 330px; background-position: center 62%; }
  .hero-inner { padding-top: 136px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-clearances p { font-size: .85rem; }
  .actions { gap: .55rem; }
  .actions .button { width: 100%; }
  .actions .text-link { display: block; text-align: center; width: 100%; }
  .partis-list, .clearance-levels { grid-template-columns: minmax(0, 1fr); }
  .fortinet-list, .architecture-list { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .header, .actions, .hero-image { display: none; }
  .hero, .clearance, .footer, .contact, .partis, .fortinet, .architecture { color: #111; background: white; }
  .hero::after { display: none; }
  .hero-inner { display: block; min-height: 0; padding-block: 10px; }
  .hero .eyebrow, .hero-clearances p, .hero-clearances a, .lead, .clearance-body, .clearance-level small, .footer strong { color: #222; }
  .section { padding-block: 24px; }
  .partis-layout, .clearance-layout, .about-layout, .contact-layout { display: block; }
  .fortinet-layout, .architecture-layout { display: block; }
  .service { break-inside: avoid; }
}

/* Language links are ordinary crawlable anchors in the published language pages. */
.language-switch a { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 6px 9px; border-radius: 3px; color: #d5e3f0; text-decoration: none; font-size: .875rem; }
.language-switch a[aria-current="page"] { background: white; color: var(--navy); font-weight: 700; }
@media(max-width:460px) { .language-switch a { min-width: 38px; padding-inline: 6px; } }
