/* =========================================================
   BradleySoft — design system
   Dark / space theme derived from the HERO template
   ========================================================= */

:root{
  --bg:            #0a0e17;
  --bg-alt:        #0d1220;
  --panel:         #111827;
  --panel-2:       #141b2d;
  --line:          rgba(255,255,255,0.09);
  --line-soft:     rgba(255,255,255,0.05);
  --text:          #f3f5f8;
  --text-dim:      #aab3c2;
  --text-faint:    #7c8698;
  --orange:        #ff6a39;
  --orange-dim:    rgba(255,106,57,0.15);
  --blue:          #4fb3ff;
  --blue-dim:      rgba(79,179,255,0.15);
  --green:         #4fd18b;
  --radius:        14px;
  --radius-sm:     8px;
  --maxw:          1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; }
h1,h2,h3,h4{ margin:0 0 .5em; font-weight:600; line-height:1.2; }
p{ margin:0 0 1em; color: var(--text-dim); }
.wrap{ max-width: var(--maxw); margin:0 auto; padding:0 28px; }
.eyebrow{
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
}
.accent-orange{ color: var(--orange); }
.accent-blue{ color: var(--blue); }
.section{ padding: 72px 0; }
.section-tight{ padding: 44px 0; }
.center{ text-align:center; }

/* stars utility background, used on inner pages instead of photos */
.bg-stars{
  position:relative;
  background: radial-gradient(ellipse 90% 60% at 20% -10%, rgba(79,179,255,0.14), transparent 60%),
              radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,106,57,0.10), transparent 60%),
              var(--bg);
}
.bg-stars::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(1px 1px at 8% 22%, #fff, transparent),
    radial-gradient(1px 1px at 18% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 32% 12%, #fff, transparent),
    radial-gradient(1px 1px at 46% 82%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 58% 34%, #fff, transparent),
    radial-gradient(1px 1px at 72% 58%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 84% 18%, #fff, transparent),
    radial-gradient(1px 1px at 92% 74%, #fff, transparent),
    radial-gradient(1px 1px at 4% 90%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 64% 92%, #fff, transparent);
  opacity:.55;
  pointer-events:none;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(10,14,23,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 28px;
  max-width: var(--maxw); margin:0 auto;
  gap: 24px;
}
/* Brand lockup — same icon + wordmark + tagline as the HERO header
   (.hh-brand-*), same proportions/sizes/alignment, reused site-wide
   (nav header + footer) so the logo is identical everywhere. */
.brand{ display:flex; align-items:flex-start; text-decoration:none; color:#fff; }
.brand-mark{ width:36px; height:36px; flex:none; display:block; }
.brand-copy{ display:flex; flex-direction:column; margin-left:10px; }
.brand-word{ display:block; width:170px; height:auto; }
.brand-tagline{
  display:block; width:160px; margin-top:3px; margin-left:3px;
  font-size:9px; font-weight:600; line-height:1;
  text-transform:uppercase; color:#dfe6ef; white-space:nowrap;
  text-align:justify; text-align-last:justify; text-justify:inter-character;
}

.nav-main{ display:flex; align-items:center; gap:6px; flex:1; justify-content:center; }
.nav-item{ position:relative; }
.nav-link{
  display:flex; align-items:center; gap:5px;
  padding: 10px 14px;
  font-size:13.5px; font-weight:600;
  text-transform:uppercase; letter-spacing:.04em;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  white-space:nowrap;
}
.nav-link:hover, .nav-item.active > .nav-link{ color:var(--text); background: rgba(255,255,255,0.05); }
.nav-item.active > .nav-link{ color: var(--orange); }
.caret{ width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; opacity:.7;}

.nav-cta{
  display:flex; align-items:center; gap:8px;
  padding:9px 18px;
  border:1px solid var(--orange);
  color:var(--orange);
  border-radius: 999px;
  font-size:13px; font-weight:700; letter-spacing:.03em;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--orange); color:#12100f; }

.burger{ display:none; flex-direction:column; gap:5px; padding:6px; cursor:pointer; background:none; border:0; }
.burger span{ width:22px; height:2px; background:var(--text); display:block; }

/* dropdown / mega menu
   Kept permanently in the layout (no display:none) and shown/hidden via
   opacity + a transition-delay on visibility/pointer-events, instead of
   an instant display toggle — this gives the close a short grace period
   and a smooth fade instead of an abrupt cut.
   On top of that, .mega::before is an invisible strip that exactly
   covers the visual gap between the nav link and the panel. Hovering a
   pseudo-element counts as hovering its host element for :hover
   purposes, so that strip makes the nav-item's hoverable area
   contiguous all the way down to the panel — there is no longer any
   point along a straight line from the link to the panel where the
   mouse is over neither one, which is what caused the menu to close
   before a normal (non-instant) mouse movement could reach it. */
.mega{
  position:absolute; top: calc(100% + 10px); left:50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  padding: 22px;
  display:grid; grid-template-columns: repeat(4, 1fr);
  min-width: 800px;
  gap: 24px;
  z-index: 200;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease,
              visibility 0s linear .32s, pointer-events 0s linear .32s;
}
.mega::before{
  content:""; position:absolute; left:0; right:0; top:-12px; height:12px;
}
.mega.mega-wide{ min-width: 880px; }
.nav-item.open .mega,
.nav-item:hover .mega{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s, pointer-events 0s;
}
/* --- dropdown = one card that visibly belongs to its top item ---
   accent bar on top (blue = Web Design style, orange = the one with
   sub-items, i.e. Cybersecurity), a notch pointing at the parent link,
   the parent stays highlighted while its card is open, and thin dividers
   so the columns read as parts of ONE panel. */
.mega{ border-top:2px solid var(--blue); gap:0; padding:22px 8px; }
.mega:has(.sub){ border-top-color:var(--orange); }
.mega::after{
  content:""; position:absolute; top:-8px; left:50%; width:14px; height:14px;
  margin-left:-7px; transform:rotate(45deg);
  background:var(--panel); border-left:2px solid var(--blue); border-top:2px solid var(--blue);
}
.mega:has(.sub)::after{ border-color:var(--orange); }
.mega-col{ padding:0 18px; }
.mega-col + .mega-col{ border-left:1px solid var(--line-soft); }
.nav-item:hover > .nav-link, .nav-item.open > .nav-link{
  color:var(--text); background:rgba(255,255,255,0.07); }
.nav-item.has-mega:hover > .nav-link .caret, .nav-item.open > .nav-link .caret{ transform:rotate(225deg); margin-top:3px; }
/* a card without sub-items (Web Design) is a simple vertical list */
.mega:not(:has(.sub)){ grid-template-columns:1fr; min-width:270px; padding:14px 8px; }
.mega:not(:has(.sub)) .mega-col{ padding:0 10px; border-left:0; }
.mega:not(:has(.sub)) .mega-col a.mega-col-title{ min-height:0; margin:0; padding:9px 6px; border-bottom:0; }
/* the moment another item is hovered the old card goes away at once */
.nav-main:has(.nav-item:hover) .nav-item:not(:hover) .mega{
  opacity:0; visibility:hidden; pointer-events:none; transition:none; }
.nav-item.mega-2 .mega{ grid-template-columns: repeat(2,1fr); min-width:380px; }
.mega-col{ display:flex; flex-direction:column; gap:4px; }
.mega-col a.mega-col-title{
  font-size:14px; line-height:1.3; text-transform:uppercase; letter-spacing:.06em; color:#10baf3;
  /* reserve room for up to three lines so the divider below still lines
     up across columns when a longer title (Digital Security, Data
     Protection, Websites for Business, Website Care & Support...)
     wraps and a shorter one (ISM, GDPR, Portfolio) doesn't */
  min-height: 3.9em;
  margin-bottom:4px; padding-bottom:8px; border-bottom:1px solid var(--line-soft);
}
.mega-col a{
  font-size:13.5px; padding:7px 6px; border-radius:6px; color:var(--text-dim);
}
.mega-col a:hover{ color:var(--text); background:rgba(255,255,255,0.05); }

/* tree markers for nested nav items — a solid dot for a direct child,
   an L-shaped branch corner for a grandchild, both drawn with real
   borders/fills (not a faint text glyph) so they stay clearly visible
   at this font size instead of blending into the text. */
.mega-col a.sub{ padding-left:24px; font-size:14.5px; color:var(--text-faint); position:relative; }
.mega-col a.sub::before{
  content:""; position:absolute; left:8px; top:14px;
  width:5px; height:5px; border-radius:50%;
  background: var(--blue);
}
.mega-col a.sub:hover{ color:var(--text-dim); }
.mega-col a.sub.sub2{ padding-left:38px; }
.mega-col a.sub.sub2::before{
  background:none; border-radius:0;
  width:10px; height:11px;
  left:19px; top:0;
  border-left:2px solid var(--blue); border-bottom:2px solid var(--blue);
}

/* =========================================================
   HOME HERO — the photo always fills the full width of the
   screen (cover). Surplus height is cropped: on desktop 40% of it
   from the top and 60% from the bottom; on tablet/mobile 60% from
   the top and 40% from the bottom.
   .hh-stage is the photo's box (may be larger than the screen);
   the 01/02 panels and the CCS badge live inside it so they stay
   put on the photo. (Desktop: 1/3 top : 1/2 bottom = 40% : 60%.) The header and blue rule are laid out against
   the screen so they are never cropped.
   Three photos, picked by viewport aspect ratio (same breakpoints
   as the <picture> sources in index.html):
     desktop 16:9  — aspect > 20/13
     tablet   4:3  — 1 … 20/13
     tablet portrait 3:4 — 13/20 … 1
     mobile  9:16  — aspect < 13/20
   Desktop sizes come from the approved 1920×1080 reference
   (--u = 1% of the photo's width = 19.2px there).
   ========================================================= */
.home-hero{
  position:relative;
  /* landscape: full screen WITHOUT the browser's toolbars (page scrolls
     by the toolbar's height; desktop browsers have no collapsing toolbar,
     so there 100lvh = the window height). Portrait: exactly the visible
     screen — a taller hero would scale the portrait photo up. */
  height:100vh; height:100lvh;
  overflow:hidden;
  background:#000;
  font-family: Arial, Helvetica, sans-serif;
  container-type:size;
  --ar:1.7778;
  --py:.4;
  --kb-origin:50% 62%;
  /* photo box, resolved against the hero at each use site */
  --sw:max(100cqw, 100cqh * var(--ar));
  --sh:calc(var(--sw) / var(--ar));
  --sx:calc((100cqw - var(--sw)) / 2);
  --sy:calc((100cqh - var(--sh)) * var(--py));
  --u:calc(var(--sw) / 100);
}
.hh-stage{
  position:absolute; z-index:1;
  left:var(--sx); top:var(--sy); width:var(--sw); height:var(--sh);
}
.hh-frame{ position:absolute; inset:0; overflow:hidden; }
.hh-frame picture{ display:contents; }
/* Ken Burns layer: the photo and the flag zoom together */
.hh-kb{
  position:absolute; inset:0;
  transform-origin: var(--kb-origin);
  animation: hh-kenburns 36s ease-in-out infinite alternate;
  will-change: transform;
}
/* hold all motion until the photo is downloaded and decoded (set by
   the inline script in index.html) so the start isn't janky */
.home-hero:not(.hh-ready) .hh-kb,
.home-hero:not(.hh-ready) .hh-flag i{ animation-play-state:paused; }
.hh-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}
@keyframes hh-kenburns{
  from{ transform: scale(1); }
  to{   transform: scale(1.045); }
}

/* Waving flag over Victoria Tower. The flag is cut from the photo
   (the photo underneath has it removed) and split into vertical
   strips; each strip bobs with a growing amplitude and a phase delay
   from the pole outwards, which reads as a ripple running along it. */
.hh-flag{
  position:absolute; z-index:1;
  left:50.339%; top:46.389%; width:1.693%; aspect-ratio:65 / 66;
  --flag-img:url("../img/hero/flag-desktop.png");
  --n:16;
}
.hh-flag i{
  position:absolute; top:0; bottom:0;
  left:calc(var(--i) * 100% / var(--n));
  width:calc(100% / var(--n) + .5px);
  background:var(--flag-img) no-repeat;
  background-size:calc(var(--n) * 100%) 100%;
  background-position:calc(var(--i) * 100% / (var(--n) - 1)) 0;
  animation:hh-wave 1.3s ease-in-out infinite alternate;
  animation-delay:calc(var(--i) * -.11s);
  will-change:transform;
  --a:calc(var(--i) / (var(--n) - 1) * 7%);
}
@keyframes hh-wave{
  from{ transform:translateY(calc(var(--a) * -1)); }
  to{   transform:translateY(var(--a)); }
}
/* same flag, cut from each format's own photo */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 20/13){
  .hh-flag{ left:50.234%; top:57.188%; width:1.693%; aspect-ratio:65 / 66; --flag-img:url("../img/hero/flag-tablet.png"); }
}
@media (min-aspect-ratio: 13/20) and (max-aspect-ratio: 1/1){
  .hh-flag{ left:42.222%; top:67.552%; width:2.049%; aspect-ratio:59 / 59; --flag-img:url("../img/hero/flag-tablet-portrait.png"); }
}
@media (max-aspect-ratio: 13/20){
  .hh-flag{ left:43.704%; top:67.24%; width:2.176%; aspect-ratio:47 / 49; --flag-img:url("../img/hero/flag-mobile.png"); }
}
@media (prefers-reduced-motion: reduce){
  .hh-kb, .hh-flag i{ animation:none; }
}

/* CCS badge — same spot on the photo as the old baked-in one, but
   kept on screen when the photo edges are cropped */
.hh-ccs{
  position:absolute; z-index:4;
  left:max(3.2%, calc(2cqw - var(--sx)));
  top:min(85.05%, calc(100lvh - var(--sy) - 4.426 * var(--u) - 3cqh));
  width:calc(5.99 * var(--u)); height:auto;
  display:block; pointer-events:none;
}

.hh-topbar{
  position:absolute; z-index:10; left:7.5%; right:5.15%; top:2.6%;
  display:flex; align-items:flex-start; justify-content:space-between;
}
.hh-brand{ display:flex; align-items:flex-start; text-decoration:none; color:#fff; }
.hh-brand-mark{ width:1.875cqw; height:1.875cqw; flex:none; display:block; }
.hh-brand-copy{ display:flex; flex-direction:column; margin-left:.521cqw; }
.hh-brand-word{ display:block; width:8.854cqw; height:auto; }
.hh-brand-tagline{
  display:block; width:8.333cqw; margin-top:.156cqw; margin-left:.156cqw;
  font-size:.469cqw; font-weight:600; line-height:1;
  text-transform:uppercase; color:#dfe6ef; white-space:nowrap;
  text-align:justify; text-align-last:justify; text-justify:inter-character;
}
.hh-nav{ display:flex; align-items:center; gap:1.667cqw; padding-top:.417cqw; margin-right:2.604cqw; }
.hh-nav a{ font-size:max(11px, .781cqw); color:#fff; text-decoration:none; white-space:nowrap; }
.hh-nav a:hover{ color:#10baf3; }
.hh-nav a.nav-cta{
  display:flex; align-items:center;
  padding:.469cqw .9375cqw;
  border:1px solid var(--orange);
  color:var(--orange);
  border-radius:999px;
  font-size:max(10px, .677cqw); font-weight:700; letter-spacing:.03em;
}
.hh-nav a.nav-cta:hover{ background:var(--orange); color:#12100f; }
.hh-rule{ position:absolute; z-index:9; left:0; right:0; top:9%; height:1px; background:rgba(16,186,243,.55); }

/* 01 / 02 panels (desktop: fixed spots on the photo) */
.hh-vline{ position:absolute; z-index:5; top:22.3%; height:24%; width:1px; background:rgba(255,255,255,.82); }
/* 02 sits 15px (at 1920) right of the reference so it clears the flag;
   never less than 15px on smaller screens */
.hh-vline.v1{ left:7.76%; } .hh-vline.v2{ left:calc(53.05% + max(.781%, 15px)); }

.hh-service{
  position:absolute; z-index:6; top:22.3%; height:24%; width:39%;
  --panel-x:-7.92%; --panel-w:calc(26.042 * var(--u)); --nl:calc(2.604 * var(--u));
}
.hh-service.hh-web{ left:11.05%; }
.hh-service.hh-cyber{ left:calc(56.40% + max(.781%, 15px)); --panel-w:calc(22.917 * var(--u)); }

.hh-service::before{
  content:""; position:absolute; z-index:0; left:var(--panel-x); top:0;
  width:var(--panel-w); height:100%; background:rgba(0,0,0,.35);
}
.hh-hit{ position:absolute; z-index:1; left:var(--panel-x); top:0; width:var(--panel-w); height:100%; display:block; }
.hh-service > *:not(.hh-hit){ position:absolute; z-index:2; left:0; }

.hh-num{
  top:10%; font-size:calc(.99 * var(--u)); line-height:1; font-weight:400; color:rgb(var(--hh-accent));
  display:flex; align-items:center; gap:calc(.729 * var(--u));
  pointer-events:none; /* let clicks fall through to .hh-hit underneath */
}
.hh-num i{ display:block; width:var(--nl); height:max(1px, calc(.104 * var(--u))); background:rgb(var(--hh-accent)); }
.hh-service h1{ top:20.9%; margin:0; font-size:calc(3.021 * var(--u)); line-height:1.02; font-weight:400; letter-spacing:-.031em; color:#fff; white-space:nowrap; pointer-events:none; }
.hh-service p{ top:48.2%; margin:0; font-size:calc(1.198 * var(--u)); line-height:1.2; white-space:nowrap; color:#fff; pointer-events:none; }
.hh-explore{ top:71.8%; font-size:calc(1.094 * var(--u)); line-height:1.2; text-decoration:none; color:rgb(var(--hh-accent)); white-space:nowrap; }
.hh-explore span{ margin-left:1.19em; font-size:1.333em; line-height:0; }

/* hover: backlit lettering + frosted panel, tinted per service.
   Triggered only by the panel's own hit area / explore link (not the
   wider invisible section box) via :has(). Glow sizes are in em so
   they scale with the text. */
.hh-web{ --hh-accent:16,186,243; }
.hh-cyber{ --hh-accent:255,85,23; }
.hh-service::before{
  transition: background .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.hh-service h1, .hh-service p{ transition: text-shadow .45s ease; }
.hh-num i{ transition: width .45s ease, box-shadow .45s ease; }
.hh-explore span{ display:inline-block; transition: transform .45s ease; }
.hh-explore{ transition: text-shadow .45s ease; }
.hh-vline{ transition: background .45s ease, box-shadow .45s ease; }

.hh-service:has(.hh-hit:hover, .hh-explore:hover)::before{
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 calc(var(--panel-w) / 8) rgba(var(--hh-accent),.14);
}
.hh-service:has(.hh-hit:hover, .hh-explore:hover) h1{
  text-shadow:
    0 0 .017em rgba(var(--hh-accent),.9),
    0 0 .172em rgba(var(--hh-accent),.75),
    0 0 .448em rgba(var(--hh-accent),.5),
    0 0 .897em rgba(var(--hh-accent),.3);
}
.hh-service:has(.hh-hit:hover, .hh-explore:hover) p{
  text-shadow: 0 0 .52em rgba(var(--hh-accent),.55);
}
.hh-service:has(.hh-hit:hover, .hh-explore:hover) .hh-explore{
  text-shadow: 0 0 .667em rgba(var(--hh-accent),.7);
}
.hh-service:has(.hh-hit:hover, .hh-explore:hover) .hh-num i{
  width:calc(var(--nl) * 1.6); box-shadow: 0 0 .5em rgba(var(--hh-accent),.9);
}
.hh-service:has(.hh-hit:hover, .hh-explore:hover) .hh-explore span{
  transform: translateX(.286em);
}
.home-hero:has(.hh-web .hh-hit:hover, .hh-web .hh-explore:hover) .hh-vline.v1{
  background:#10baf3; box-shadow: 0 0 12px rgba(16,186,243,.9);
}
.home-hero:has(.hh-cyber .hh-hit:hover, .hh-cyber .hh-explore:hover) .hh-vline.v2{
  background:#ff5517; box-shadow: 0 0 12px rgba(255,85,23,.9);
}

/* ---------- LANDSCAPE PHONE (desktop photo, short wide screen) ----------
   Surplus height cropped 70% from the top / 30% from the bottom so
   Westminster and the water stay in view. Panels stay side by side,
   centred between the blue rule and Westminster (--wy), and shrink
   (--m) to fit the little height there is. */
@media (min-aspect-ratio: 20/13) and (max-height: 540px){
  .home-hero{
    --py:.7;
    --wy:.53;
    --rule-y:calc(2.6cqh + 36px);
    --west:calc(var(--sy) + var(--sh) * var(--wy));
    --m:min(var(--u), calc((var(--west) - var(--rule-y) - 16px) / 13.5));
    --bh:calc(13.5 * var(--m));
    --gap:calc((var(--west) - var(--rule-y) - var(--bh)) / 2);
  }
  .hh-rule{ top:var(--rule-y); }
  .hh-vline, .hh-service{ top:calc(var(--rule-y) + var(--gap) - var(--sy)); height:var(--bh); }
  /* the subtitle can't go below 11px here, so the backdrop is widened to
     fit it (left inset + text + ~2em, as on desktop) when the panel
     itself has shrunk */
  /* --cap = widest the 02 backdrop may be: its right edge stops at Big
     Ben's spire tip (x 82.55%) minus one flag width (1.693%).
     If the subtitle doesn't fit that, it gets slightly smaller than 11px. */
  .home-hero{
    --cap:calc(80.857 * var(--u) - 53.311 * var(--u) - max(.781 * var(--u), 15px));
  }
  .hh-service{
    --pfs:min(max(11px, calc(1.198 * var(--m))), calc((var(--cap) - 3.089 * var(--u)) / 16.6));
    --panel-w:max(calc(26.042 * var(--m)), calc(3.089 * var(--u) + 19.2 * var(--pfs)));
    --nl:calc(2.604 * var(--m));
  }
  .hh-service.hh-cyber{ --panel-w:min(var(--cap), max(calc(22.917 * var(--m)), calc(3.089 * var(--u) + 16.6 * var(--pfs)))); }
  .hh-num{ font-size:max(10px, calc(.99 * var(--m))); gap:calc(.729 * var(--m)); }
  .hh-service h1{ font-size:calc(3.021 * var(--m)); }
  .hh-service p{ font-size:var(--pfs); }
  .hh-explore{ font-size:max(11px, calc(1.094 * var(--m))); }
}

/* ---------- TABLET + MOBILE: panels stacked (Web Design on top) and
   spaced evenly between the blue rule and the top of Westminster
   (--wy = its height on the photo). --m is the panel size unit:
   1% of the screen width, shrunk when the cropped photo leaves less
   room so the panels always fit above Westminster. Positions are in
   screen coordinates, converted into the stage (– --sx / – --sy). */
@media (max-aspect-ratio: 20/13){
  .home-hero{
    /* surplus height cropped 60% from the top, 40% from the bottom */
    --py:.6;
    --west:calc(var(--sy) + var(--sh) * var(--wy));
    --m:min(1cqw, calc((var(--west) - var(--rule-y)) / var(--need)));
    --bh:calc(var(--bh-n) * var(--m));
    --gap:calc((var(--west) - var(--rule-y) - 2 * var(--bh)) / 3);
  }
  .hh-rule{ top:var(--rule-y); }
  .hh-vline, .hh-service{ height:var(--bh); }
  .hh-vline.v1, .hh-service.hh-web{ top:calc(var(--rule-y) + var(--gap) - var(--sy)); }
  .hh-vline.v2, .hh-service.hh-cyber{ top:calc(var(--rule-y) + 2 * var(--gap) + var(--bh) - var(--sy)); }
  .hh-service.hh-web, .hh-service.hh-cyber{
    left:calc(var(--px) - var(--sx)); width:calc(var(--pw-n) * var(--m));
    --panel-x:calc(var(--pad-n) * -1 * var(--m)); --panel-w:calc(var(--panw-n) * var(--m)); --nl:calc(var(--nl-n) * var(--m));
  }
  .hh-vline.v1, .hh-vline.v2{ left:calc(var(--px) - var(--pad-n) * var(--m) - var(--sx)); }
  /* pinned to the screen's bottom-left so it is never cropped */
  .hh-ccs{
    left:calc(var(--ccs-x) - var(--sx)); width:var(--ccs-w);
    top:calc(100svh - var(--sy) - var(--ccs-w) * .7389 - var(--ccs-b));
  }
}
/* landscape tablets: badge at its normal spot at the very bottom, so it
   starts under the browser toolbar and slides in when the page is
   scrolled (portrait keeps it pinned above the toolbar) */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 20/13){
  .hh-ccs{ top:calc(100lvh - var(--sy) - var(--ccs-w) * .7389 - var(--ccs-b)); }
}

/* TABLET (4:3 photo) */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 20/13){
  .home-hero{
    --ar:1.3333; --kb-origin:57% 76%;
    --wy:.54; --rule-y:8.6cqw; --need:34.5; --bh-n:15;
    --px:46cqw; --pw-n:48; --pad-n:3; --panw-n:46; --nl-n:4;
    --ccs-x:3cqw; --ccs-b:3.5cqw; --ccs-w:9.6cqw;
  }
  .hh-topbar{ left:5%; right:4%; top:3%; }
  .hh-brand-mark{ width:3.2cqw; height:3.2cqw; }
  .hh-brand-copy{ margin-left:.9cqw; }
  .hh-brand-word{ width:15cqw; }
  .hh-brand-tagline{ width:14.1cqw; margin-top:.27cqw; margin-left:.27cqw; font-size:.8cqw; }
  .hh-nav{ gap:2.4cqw; padding-top:.7cqw; margin-right:0; }
  .hh-nav a{ font-size:1.35cqw; }
  .hh-nav a.nav-cta{ font-size:1.2cqw; padding:.8cqw 1.6cqw; }

  .hh-num{ font-size:calc(1.6 * var(--m)); gap:calc(1.2 * var(--m)); }
  .hh-num i{ height:max(1px, calc(.18 * var(--m))); }
  .hh-service h1{ font-size:calc(3.8 * var(--m)); }
  .hh-service p{ font-size:calc(1.9 * var(--m)); }
  .hh-explore{ font-size:calc(1.8 * var(--m)); }
}

/* TABLET PORTRAIT (3:4 photo) — portrait screens wider than phones */
@media (min-aspect-ratio: 13/20) and (max-aspect-ratio: 1/1){
  .home-hero{
    --ar:.75; --kb-origin:50% 79%;
    --wy:.65; --rule-y:9.5cqw; --need:66; --bh-n:26.8;
    --px:12cqw; --pw-n:70; --pad-n:5; --panw-n:76; --nl-n:6;
    --ccs-x:4cqw; --ccs-b:4.5cqw; --ccs-w:12cqw;
  }
  .hh-topbar{ left:4%; right:4%; top:3cqw; }
  .hh-brand-mark{ width:4.2cqw; height:4.2cqw; }
  .hh-brand-copy{ margin-left:1.1cqw; }
  .hh-brand-word{ width:17cqw; }
  .hh-brand-tagline{ width:16cqw; margin-top:.35cqw; margin-left:.35cqw; font-size:.95cqw; }
  .hh-nav{ gap:2.2cqw; padding-top:.9cqw; margin-right:0; }
  .hh-nav a{ font-size:1.6cqw; }
  .hh-nav a.nav-cta{ font-size:1.5cqw; padding:1cqw 2cqw; }

  .hh-num{ font-size:calc(2.5 * var(--m)); gap:calc(1.8 * var(--m)); }
  .hh-num i{ height:max(1px, calc(.3 * var(--m))); }
  .hh-service h1{ font-size:calc(6 * var(--m)); }
  .hh-service p{ font-size:calc(2.8 * var(--m)); }
  .hh-explore{ font-size:calc(2.7 * var(--m)); }
}

/* portrait (mobile + tablet portrait): hero = visible screen height */
@media (max-aspect-ratio: 1/1){
  .home-hero{ height:100vh; height:100svh; }
}

/* MOBILE (9:16 photo) — phones in portrait */
@media (max-aspect-ratio: 13/20){
  .home-hero{
    --ar:.5625; --kb-origin:53% 78%;
    --wy:.65; --rule-y:22.3cqw; --need:86; --bh-n:33.8;
    --px:13cqw; --pw-n:80; --pad-n:6; --panw-n:86; --nl-n:8;
    --ccs-x:5cqw; --ccs-b:6cqw; --ccs-w:17cqw;
  }
  .hh-topbar{
    left:5%; right:5%; top:4.4cqw;
    display:grid; grid-template-columns:repeat(4, auto); justify-content:space-between;
    row-gap:3.4cqw; align-items:center;
  }
  .hh-brand{ grid-column:1 / span 3; grid-row:1; }
  .hh-brand-mark{ width:8cqw; height:8cqw; }
  .hh-brand-copy{ margin-left:2.2cqw; }
  .hh-brand-word{ width:34cqw; }
  .hh-brand-tagline{ width:32cqw; margin-top:.6cqw; margin-left:.6cqw; font-size:1.8cqw; }
  .hh-nav{ display:contents; }
  .hh-nav a{ grid-row:2; font-size:2.55cqw; }
  .hh-nav a.nav-cta{ grid-column:4; grid-row:1; justify-self:end; font-size:3cqw; padding:1.6cqw 3.4cqw; }

  .hh-num{ font-size:calc(3.6 * var(--m)); gap:calc(2.6 * var(--m)); }
  .hh-num i{ height:max(1px, calc(.45 * var(--m))); }
  .hh-service h1{ font-size:calc(8.6 * var(--m)); }
  .hh-service p{ font-size:calc(4 * var(--m)); }
  .hh-explore{ font-size:calc(3.9 * var(--m)); }
}

/* Ken Burns is barely visible on narrow portrait screens at the
   desktop strength, so it is stronger and faster there. */
@keyframes hh-kenburns-tp{
  from{ transform: scale(1); }
  to{   transform: scale(1.075); }
}
@media (max-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference){
  .hh-kb{ animation-name:hh-kenburns-tp; animation-duration:26s; }
}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 22px; border-radius:8px;
  font-size:13.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  border:1px solid var(--text);
  color:var(--text);
  margin-top: 10px;
  text-decoration:none;
  background:transparent; font-family:inherit; cursor:pointer;
}
.btn:hover{ background:var(--text); color:var(--bg); }
.btn.btn-orange{ border-color:var(--orange); color:var(--orange); }
.btn.btn-orange:hover{ background:var(--orange); color:#12100f; }
.btn.btn-solid{ background:var(--text); color:var(--bg); }

/* The home page renders its own self-contained header inside
   .home-hero (the .hh-* rules above) instead of the site-wide
   .site-header, so no override rules are needed here. */

/* =========================================================
   HOME — service cards grid
   ========================================================= */
.cards-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:2px;
  background: var(--line);
}
.card-tile{
  background: var(--bg-alt);
  padding: 40px 36px 34px;
  min-height: 190px;
  display:flex; flex-direction:column; justify-content:flex-end;
  position:relative;
  transition: background .2s;
}
.card-tile:hover{ background:#101627; }
.card-num{ font-size:12px; color:var(--text-faint); font-weight:700; margin-bottom:16px; letter-spacing:.05em; }
.card-tile h3{ font-size:24px; text-transform:uppercase; letter-spacing:.01em; margin-bottom:8px; }
.card-tile p{ font-size:14px; margin-bottom:14px; }
.card-tile .card-link{ font-size:13px; font-weight:700; letter-spacing:.02em; }
.card-tile .card-link.orange{ color:var(--orange); }
.card-tile .card-link.blue{ color:var(--blue); }
@media (max-width: 760px){ .cards-grid{ grid-template-columns: 1fr; } }

/* partners strip */
.partners-strip{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background: var(--bg-alt);
  padding: 26px 0;
}
.partners-row{ display:flex; align-items:center; gap:34px; flex-wrap:wrap; }
.partners-row .p-label{ min-width:200px; }
.partners-row .p-label div:first-child{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); margin-bottom:3px; }
.partners-row .p-label div:last-child{ font-size:13px; color:var(--text-dim); }
.partner-logos{ display:flex; align-items:center; gap:30px; flex:1; flex-wrap:wrap; }
.partner-logo{
  font-weight:800; letter-spacing:.02em; font-size:15px; color:#d7dbe3;
  padding:7px 14px; border:1px solid var(--line); border-radius:999px;
}
.more-partners{ margin-left:auto; font-size:13px; font-weight:700; color:var(--orange); white-space:nowrap; }

/* CTA cosmic banner (SAME PLANET) */
.cta-cosmic{
  position:relative; overflow:hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(79,179,255,0.35), transparent 42%),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,0.06) 0 2px, transparent 3px) ,
    linear-gradient(180deg, #070a11 0%, #0a0e17 100%);
}
.cta-cosmic::after{
  content:"";
  position:absolute; right:6%; top:18%;
  width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle at 35% 32%, #7fc8ff 0%, #2f7fd1 38%, #0c2a4a 75%);
  box-shadow: 0 0 90px rgba(79,179,255,0.45);
}
.cta-cosmic .wrap{ position:relative; }
.cta-cosmic h2{ font-size: 30px; text-transform:uppercase; max-width:560px; letter-spacing:.01em; }
.cta-cosmic p{ max-width:480px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  border-top:1px solid var(--line);
  background: #070a11;
  padding: 46px 0 22px;
}
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap; }
.footer-nav{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-nav a{ font-size:13px; color:var(--text-dim); }
.footer-nav a:hover{ color:var(--text); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{
  width:34px; height:34px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--text-dim);
}
.footer-tagline{ font-size:11px; color:var(--text-faint); letter-spacing:.08em; text-transform:uppercase; margin-top:6px; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  margin-top:34px; padding-top:18px; border-top:1px solid var(--line-soft);
  font-size:12px; color:var(--text-faint);
}

/* =========================================================
   INNER PAGE BANNER  (Westminster/space background)
   ========================================================= */
.page-banner{
  position:relative;
  min-height: 260px;
  display:flex; align-items:center;
  background-image:
    linear-gradient(90deg, rgba(6,9,15,0.90) 0%, rgba(6,9,15,0.55) 55%, rgba(6,9,15,0.35) 100%),
    url("../img/hero-westminster.jpg");
  background-size: cover; background-position: center;
}
.page-banner.banner-space{
  background-image:
    linear-gradient(90deg, rgba(6,9,15,0.90) 0%, rgba(6,9,15,0.55) 55%, rgba(6,9,15,0.35) 100%),
    url("../img/hero-home-bg.jpg");
  background-size: cover; background-position: center;
}
.page-banner .wrap{ padding: 46px 28px; }
.breadcrumb{ font-size:12px; color:var(--text-faint); margin-bottom:14px; }
.breadcrumb a:hover{ color:var(--text-dim); }
.breadcrumb .sep{ margin:0 6px; opacity:.5; }
.page-banner h1{ font-size:34px; margin-bottom:6px; }
.page-banner .sub{ color:#c7cede; font-size:15px; max-width:560px; }
.crown-badge{
  position:absolute; left:28px; bottom:16px;
  border-left:2px solid var(--blue); padding-left:10px;
  font-size:11px; line-height:1.4; color:#c9ceda; letter-spacing:.02em;
}

/* =========================================================
   CONTENT COMPONENTS (used across inner pages)
   ========================================================= */
.content-section{ padding: 60px 0; }
.content-section h2{ font-size:26px; margin-bottom:14px; }
.content-section h2.center, .content-section .center h2{ text-align:center; }
.lede{ font-size:17px; color:#dbe0e8; max-width:760px; }
.lede.center{ margin:0 auto; text-align:center; }

.content-photo{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  margin: 26px 0;
}
.content-photo img{ display:block; width:100%; height:auto; max-height:420px; object-fit:cover; }
/* For source images with a plain white/light background (old vendor
   graphics, stock illustrations): mute them into the dark palette
   instead of leaving a stark white box. The image itself is untouched,
   only how it's toned down here. */
.content-photo.tinted{ position:relative; background:#132039; }
.content-photo.tinted img{ mix-blend-mode:multiply; }
.content-photo.tinted::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(160deg, rgba(6,9,15,.15) 0%, rgba(6,9,15,0) 45%, rgba(6,9,15,.5) 100%);
  box-shadow: inset 0 0 60px 10px rgba(6,9,15,.6);
}

.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
@media (max-width:800px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.panel{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel h3{ font-size:17px; margin-bottom:8px; }
.panel p{ font-size:14px; margin-bottom:0; }

.icon-box{
  width:52px; height:52px; border-radius:12px;
  background: var(--blue-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--blue);
  margin-bottom:16px;
}
.icon-box.orange{ background:var(--orange-dim); color:var(--orange); }
.icon-box.green{ background: rgba(79,209,139,0.15); color:var(--green); }
.icon-box svg{ width:26px; height:26px; }

.bullet-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.bullet-list li{ display:flex; gap:12px; font-size:14.5px; color:var(--text-dim); }
.bullet-list li::before{
  content:""; flex:none; width:7px; height:7px; margin-top:7px; border-radius:50%;
  background: var(--orange);
}
.bullet-list.blue li::before{ background: var(--blue); }
.bullet-list strong{ color:var(--text); }
.content-section a:not(.pill):not(.mega-col-title):not(.sub):not(.btn){ color:var(--blue); text-decoration:underline; text-decoration-color:rgba(87,169,255,.35); text-underline-offset:2px; }
.content-section a:not(.pill):not(.mega-col-title):not(.sub):not(.btn):hover{ color:var(--orange); }

.callout{
  border:1px solid var(--line); border-left:3px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--panel);
  padding: 18px 20px;
  font-size:14.5px; color:var(--text-dim);
}
.callout.blue{ border-left-color:var(--blue); }
.callout strong{ color:var(--text); }

.pill-links{ display:flex; gap:14px; flex-wrap:wrap; margin-top:8px; }
.pill{
  padding:12px 20px; border-radius:999px;
  background: var(--panel-2); border:1px solid var(--line);
  font-size:13.5px; font-weight:600;
}
.pill:hover{ border-color: var(--blue); color:var(--blue); }

.stat-row{ display:flex; gap:22px; flex-wrap:wrap; }
.stat-card{
  flex:1; min-width:200px;
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  padding:22px;
}
.stat-num{ font-size:28px; font-weight:700; color:var(--orange); }
.stat-card p{ font-size:13px; margin:6px 0 0; }

.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius: var(--radius); }
table{ width:100%; border-collapse:collapse; font-size:13.5px; min-width:520px; }
table th, table td{ padding:12px 16px; border-bottom:1px solid var(--line-soft); text-align:left; }
table th{ background: var(--panel-2); color:var(--text-faint); text-transform:uppercase; font-size:11px; letter-spacing:.06em; }
table td{ color: var(--text-dim); }
table td.yes{ color: var(--green); font-weight:700; }
tr:last-child td{ border-bottom:0; }

.pricing-row{ display:flex; gap:20px; flex-wrap:wrap; }
.price-card{
  flex:1; min-width:200px; text-align:center;
  border:1px solid var(--line); border-radius: var(--radius); padding: 26px 18px;
  background: var(--panel);
}
.price-card h4{ text-transform:uppercase; font-size:13px; letter-spacing:.08em; color:var(--text-faint); margin-bottom:14px; }
.price-tag{ display:inline-block; padding:10px 18px; border-radius:999px; border:1px solid var(--blue); color:var(--blue); font-weight:700; font-size:14px; }

.logo-strip{ display:flex; gap:26px; flex-wrap:wrap; align-items:center; }
.logo-chip{ font-weight:800; letter-spacing:.02em; color:#d7dbe3; padding:9px 16px; border:1px solid var(--line); border-radius:999px; font-size:13px;}

.divider{ height:1px; background:var(--line); margin: 46px 0; }

.timeline{ display:flex; flex-direction:column; gap:0; }
.timeline .step{ display:flex; gap:18px; padding:16px 0; border-bottom:1px solid var(--line-soft); }
.timeline .step:last-child{ border-bottom:0; }
.timeline .step .n{ flex:none; width:34px; height:34px; border-radius:50%; border:1px solid var(--blue); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; }
.timeline .step .t{ font-weight:700; margin-bottom:2px; }
.timeline .step .d{ font-size:13.5px; color:var(--text-dim); }

/* contact form */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:40px; }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }
input, textarea{
  width:100%; padding:13px 14px;
  background: var(--panel); border:1px solid var(--line); border-radius:8px;
  color:var(--text); font-family:var(--font); font-size:14px;
}
input::placeholder, textarea::placeholder{ color:var(--text-faint); }
textarea{ min-height:120px; resize:vertical; }
.submit-btn{
  padding:13px 26px; border-radius:8px; border:0;
  background: var(--orange); color:#161006; font-weight:700; letter-spacing:.03em;
  text-transform:uppercase; font-size:13px; cursor:pointer;
}
.submit-btn:hover{ background:#ff8256; }
.contact-info-list{ display:flex; flex-direction:column; gap:22px; }
.contact-info-list .row{ display:flex; gap:14px; }
.contact-info-list .ic{ flex:none; width:40px; height:40px; border-radius:10px; background:var(--blue-dim); color:var(--blue); display:flex; align-items:center; justify-content:center; }
.contact-info-list .tx b{ display:block; color:var(--text); margin-bottom:2px; }
.contact-info-list .tx{ color:var(--text-dim); font-size:14px; }

.empty-page{
  text-align:center; padding: 90px 0;
}
.empty-page .icon-box{ margin:0 auto 20px; }
.empty-page h2{ font-size:24px; }
.empty-page p{ max-width:420px; margin:0 auto; }

/* mobile nav */
@media (max-width: 900px){
  .nav-main{ display:none; }
  .burger{ display:flex; }
  .navbar{ flex-wrap:wrap; }
  .nav-cta{ order:4; margin-top:0; flex-basis: auto; }
  /* open menu: logo, burger and Contact stay in the top row, the menu drops below them (2026-11-22) */
  body.nav-open .nav-main{
    display:flex; flex-direction:column; align-items:flex-start;
    width:100%; flex-basis:100%; order:5; gap:0; padding-top:10px; border-top:1px solid var(--line); margin-top:10px;
  }
  body.nav-open .mega{ position:static; transform:none; display:none; grid-template-columns:1fr!important; width:100%; margin:6px 0 10px; min-width:0; }
  body.nav-open .nav-item.open .mega{ display:flex; flex-direction:column; }
  body.nav-open .nav-item.open .mega, body.nav-open .nav-item:hover .mega{ transform:none; }
  body.nav-open .mega::after{ display:none; }
  /* the arrow is its own, finger-sized tap target (name = go to the page, arrow = submenu) */
  body.nav-open .nav-item.has-mega > .nav-link{ padding-right:30px; }
  body.nav-open .mega{ padding:10px 4px; }
  body.nav-open .mega-col{ padding:0 8px; }
  body.nav-open .mega-col + .mega-col{ border-left:0; }
  /* each section of the submenu is its own block: no 3-line title reserve, clear gap + line between sections */
  body.nav-open .mega-col a.mega-col-title{ min-height:0; }
  body.nav-open .mega-col + .mega-col{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
}

/* Web Design page: portfolio strip right under the banner */
.pf-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:22px; }
.pf-strip a{ display:block; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--panel); text-decoration:none!important; }
.pf-strip img{ width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top; display:block; transition:transform .5s ease; }
.pf-strip a:hover img{ transform:scale(1.04); }
.pf-strip span{ display:block; padding:10px 14px; font-size:13.5px; font-weight:700; color:var(--text); }
@media(max-width:800px){ .pf-strip{ grid-template-columns:repeat(2,1fr); } }

/* narrow desktops / landscape tablets */
@media (min-width: 901px) and (max-width: 1180px){
  /* wide card hangs off the right edge of its item instead of centring past the window */
  .mega:has(.sub){ left:auto; right:-60px; transform:translateY(-6px); min-width:720px; }
  .nav-item:hover .mega:has(.sub), .nav-item.open .mega:has(.sub){ transform:translateY(0); }
  .mega:has(.sub)::after{ left:auto; right:126px; margin-left:0; }
}

/* contact form */
.hp{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.form-status{ margin-top:12px; font-size:14px; min-height:1.4em; }
.form-status.ok{ color:#3ecf8e; }
.form-status.err{ color:var(--orange); }
.form-status a{ color:inherit; text-decoration:underline; }
.form-note{ margin-top:6px; font-size:12.5px; color:var(--text-faint); }

/* Cybersecurity page: partner logos */
.partner-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:28px; }
.partner-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-decoration:none!important; transition:transform .25s ease, box-shadow .25s ease; }
.partner-card:hover{ transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.18); }
.partner-card img{ width:100%; aspect-ratio:3/2; object-fit:contain; display:block; background:#fff; }
.partner-card span{ padding:12px 16px; font-size:13.5px; font-weight:700; text-align:center; color:var(--blue); border-top:1px solid var(--line-soft); }
@media(max-width:800px){ .partner-grid{ grid-template-columns:1fr; } }

/* CCS badge on inner banners = the same picture as on the home hero (2026-11-22) */
.crown-badge-img{ position:absolute; left:28px; bottom:16px; width:120px; height:auto; z-index:2; }
@media (max-width:600px){ .crown-badge-img{ width:84px; left:16px; bottom:12px; } }

/* About Us: partner logos on white plates (2026-11-22) */
.partner-logos-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:22px; }
.partner-logos-row > *{ display:flex; align-items:center; justify-content:center; background:#fff; border-radius:var(--radius); padding:18px 20px; height:110px; }
.partner-logos-row img{ max-width:100%; max-height:100%; object-fit:contain; }
@media (max-width:800px){ .partner-logos-row{ grid-template-columns:repeat(2,1fr); } }

/* small phones: banner title fits (long words like "Implementing" overflowed at 320 px);
   full-bleed blocks (margin: calc(50% - 50vw)) no longer add a sideways scroll (2026-11-22) */
main{ overflow-x:clip; }
@media (max-width:400px){
  .page-banner .wrap{ padding:36px 16px; }
  .page-banner h1{ font-size:28px; }
}
.partner-logos-row > *{ overflow:hidden; }
.partner-logos-row img.pl-acronis{ transform:scale(1.9); } /* the Acronis file has wide empty margins */
