/* =========================================================================
   Stealth East Africa
   Charcoal and orange, with the TIA-598 fibre colour code as a second
   palette used only where fibre is literally drawn. Every
   pattern below is an SVG of solid shapes.
   ========================================================================= */

@font-face {
  font-family: 'AR One Sans';
  src: url('../fonts/ar-one-sans.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans.woff2') format('woff2');
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

:root {
  --ink: #282828;          /* brand charcoal */
  --ink-0: #1D1D1D;        /* deepest charcoal: top bar and footer */
  --ink-2: #333333;        /* raised surface on dark */
  --ink-3: #444444;        /* lines on dark */
  --orange: #F58C31;       /* brand orange: fills, large type, graphics */
  --orange-text: #A9520C;  /* orange for small text on white (5:1) */
  --orange-deep: #E57B20;
  --paper: #FFFFFF;
  --mist: #EFEEEC;
  --line: #DAD8D4;
  --text: #2B2B2B;
  --muted: #5F5B56;
  --on-dark: #F3F2F0;
  --on-dark-muted: #ABA69F;

  --display: 'AR One Sans', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 148px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --t-1: clamp(2.7rem, 5.6vw, 5rem);
  --t-2: clamp(2rem, 3.8vw, 3.3rem);
  --t-3: clamp(1.35rem, 1.8vw, 1.6rem);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text); overflow-x: clip;
  font: 400 1.0625rem/1.68 var(--body);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ buttons
   Boxy. The fill slides in from the left like a patch lead being seated. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font: 700 1rem/1 var(--display); letter-spacing: .005em; text-decoration: none;
  border: 2px solid transparent; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center; transition: transform .38s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn span { position: relative; }
.btn { gap: 10px; }
.btn .ic { position: relative; flex: none; width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn-sm .ic { width: 16px; height: 16px; }
.btn:hover .ic-arrow, .btn:focus-visible .ic-arrow { transform: translateX(4px); }
.btn:hover .ic-send, .btn:focus-visible .ic-send { transform: translate(3px, -3px); }
.btn:hover .ic-grid, .btn:hover .ic-list, .btn:hover .ic-home, .btn:hover .ic-mail { transform: scale(1.1); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }

.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--paper); }
.hero .btn-primary::before, .pagehead .btn-primary::before { background: var(--paper); }
.hero .btn-primary:hover, .hero .btn-primary:focus-visible { color: var(--ink); }

.btn-ghost { color: var(--on-dark); border-color: #5a5a5a; }
.btn-ghost::before { background: var(--on-dark); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ink); border-color: var(--on-dark); }

.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--paper); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark::before { background: var(--paper); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: .4em; font: 700 1rem/1.3 var(--display); color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.link:hover { color: var(--orange-text); }
.link .ic { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.ic-link { display: inline-flex; align-items: center; gap: 8px; }
.ic-link .ic { width: 16px; height: 16px; flex: none; color: var(--orange-text); }
.mobile-menu .ic-link .ic { color: var(--orange); }

/* ------------------------------------------------------------ top bar */
.topbar { display: flex; align-items: stretch; background: var(--ink-0); color: var(--on-dark); font: 600 .88rem/1 var(--display); }
.topbar-inner { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; min-width: 0; }
.topbar-list { display: flex; align-items: center; gap: 28px; min-width: 0; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar-list a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: color .2s; }
.topbar-list a:hover { color: var(--orange); }
.topbar .ic { width: 17px; height: 17px; flex: none; color: var(--orange); }
.topbar-note { display: inline-flex; align-items: center; gap: 9px; margin: 0; white-space: nowrap; }
.topbar-cta {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 0 28px 0 40px; flex: none;
  background: var(--orange); color: var(--ink) !important; font-weight: 700; isolation: isolate; overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.topbar-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease); }
.topbar-cta:hover::before, .topbar-cta:focus-visible::before { transform: scaleX(1); }
.topbar-cta .ic { color: var(--ink); transition: transform .3s var(--ease); }
.topbar-cta:hover .ic { transform: translateX(4px); }
@media (max-width: 1180px) { .topbar-address { display: none; } }
@media (max-width: 860px) { .topbar-note { display: none; } }
@media (max-width: 640px) {
  .topbar-cta { display: none; }
  .topbar-list { gap: 18px; justify-content: space-between; width: 100%; }
  .topbar { font-size: .82rem; }
}
@media (max-width: 360px) { .topbar-list li:nth-child(2) span { display: none; } }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word span:first-child { font: 700 1.3rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.brand-word span:last-child { font: 600 .66rem/1 var(--display); letter-spacing: .2em; color: var(--orange-text); margin-top: 5px; text-transform: uppercase; }
.brand-light { color: var(--on-dark); }
.brand-light .brand-word span:last-child { color: var(--orange); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none;
  font: 600 .98rem/1 var(--display); color: var(--ink);
}
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--display); text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-actions .btn { white-space: nowrap; }
/* the number is in the top bar too, so it gives way first when the menu runs short of room */
@media (max-width: 1280px) { .header-phone { display: none; } }
.header-phone:hover { color: var(--orange-text); }
.header-phone .ic { width: 17px; height: 17px; color: var(--orange-text); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.menu-bars { position: relative; width: 20px; height: 12px; display: block; }
.menu-bars span { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 78px 0 0; background: var(--ink); color: var(--on-dark); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: var(--on-dark); text-decoration: none; }
.mobile-menu li a { display: block; font: 700 2.1rem/1.15 var(--display); padding: 12px 0; border-bottom: 1px solid var(--ink-3); }
.mobile-menu li a[aria-current="page"] { color: var(--orange); }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; font: 600 1.05rem/1.4 var(--display); }

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .header-actions .btn { display: none; }
  .brand-word span:last-child { letter-spacing: .14em; }
}

/* ------------------------------------------------------------ rack rails
   Framing for dark heads: the vertical rails of a 19-inch rack, with
   square cage-nut holes. Drawn as an SVG tile. */
.rack-rail {
  position: absolute; top: 0; bottom: 0; width: 22px; z-index: 1; pointer-events: none;
  background-color: #2f2f2f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='44'%3E%3Crect x='7' y='5' width='8' height='8' rx='1' fill='%23222222'/%3E%3Crect x='7' y='18' width='8' height='8' rx='1' fill='%23222222'/%3E%3Crect x='7' y='31' width='8' height='8' rx='1' fill='%23222222'/%3E%3Crect x='0' y='43' width='22' height='1' fill='%233a3a3a'/%3E%3C/svg%3E");
  background-size: 22px 44px;
}
.rack-rail-l { left: 0; border-right: 1px solid #3a3a3a; }
.rack-rail-r { right: 0; border-left: 1px solid #3a3a3a; }
@media (max-width: 700px) { .rack-rail { width: 12px; background-size: 12px 24px; } }

/* ------------------------------------------------------------ hero
   A photo reel. A wide site photo fills the back and drifts; two framed
   shots sit on the right. The tall frame opens in six slats, like blanking
   panels pulled from a rack, and the small one wipes in after it. The
   active tab's fill is the clock: when it finishes, site.js moves on. */
@property --u0 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }
@property --u1 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }
@property --u2 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }
@property --u3 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }
@property --u4 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }
@property --u5 { syntax: '<percentage>'; inherits: false; initial-value: 17%; }

.hero {
  --mx: 0; --my: 0; --dur: 7s;
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark);
  min-height: min(940px, calc(100svh - 124px)); display: flex; flex-direction: column; padding-bottom: 86px;
}
.hero-bgs {
  position: absolute; inset: -18px; z-index: -3;
  translate: calc(var(--mx) * -12px) calc(var(--my) * -9px); transition: translate 1.4s var(--ease);
}
.hero-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-bg.is-active { opacity: 1; }
.hero-bg:not(.is-active):not(.is-armed):not(.is-leaving) { display: none; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { filter: saturate(.9) contrast(1.06); }
.hero-shade, .ph-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-shade {
  background:
    radial-gradient(48% 55% at 80% 48%, rgba(245, 140, 49, .16), rgba(245, 140, 49, 0) 70%),
    linear-gradient(90deg, rgba(29, 29, 29, .97) 0%, rgba(29, 29, 29, .9) 36%, rgba(29, 29, 29, .5) 66%, rgba(29, 29, 29, .64) 100%),
    linear-gradient(0deg, #1d1d1d 0, rgba(29, 29, 29, 0) 34%);
}
/* film grain over the photos, so the reel reads as one picture */
.hero-shade::after, .ph-shade::after {
  content: ''; position: absolute; inset: 0; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-top: clamp(40px, 7vh, 84px); padding-bottom: clamp(24px, 4vh, 40px);
}
.hero-h {
  color: var(--paper); font-size: clamp(2.6rem, 4.3vw, 4.4rem); line-height: .98; letter-spacing: -.034em;
  margin-bottom: 28px;
}
.hero-h .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero-h .line > span { display: inline-block; }
.hero-lead { max-width: 31em; font-size: 1.14rem; color: #C9C4BD; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* the stage: everything inside is placed in % so the composition scales */
.hero-stage {
  position: relative; width: 100%; max-width: 600px; margin-left: auto; aspect-ratio: 10 / 9;
  translate: calc(var(--mx) * 10px) calc(var(--my) * 8px); transition: translate 1.1s var(--ease);
}
.hero-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.hero-slide.is-active { visibility: visible; z-index: 2; }
.hero-slide.is-leaving { visibility: visible; z-index: 1; }
.hero-slide:not(.is-active):not(.is-armed):not(.is-leaving) { display: none; }
/* the shadow lives on ::after so the empty frame never shows before the photo opens */
.hs-frame { position: absolute; }
.hs-frame::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: 0 36px 64px -26px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1);
}
.hs-img { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); }
.hs-img picture, .hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-a { top: 0; right: 3%; width: 58%; height: 86%; }
.hs-b { left: 0; bottom: 0; width: 50%; height: 40%; z-index: 2; }
/* viewfinder bracket on the tall frame, and an offset outline behind it */
.hs-a::before {
  content: ''; position: absolute; z-index: 2; top: -12px; left: -12px; width: 44px; height: 44px;
  border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); pointer-events: none;
}
.hs-deco { position: absolute; top: 7%; right: 0; width: 58%; height: 86%; border: 2px solid rgba(245, 140, 49, .55); }
.hs-dots {
  position: absolute; left: 6%; bottom: 33%; width: 30%; height: 26%;
  background-image: radial-gradient(rgba(245, 140, 49, .6) 1.6px, transparent 2px); background-size: 14px 14px;
}
.hs-cap {
  position: absolute; z-index: 3; left: 0; top: 5%; width: min(45%, 250px); padding: 16px 18px 18px;
  display: grid; gap: 4px; background: rgba(29, 29, 29, .64); border-left: 3px solid var(--orange);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .7);
}
.hs-num { font: 700 2.3rem/1 var(--display); color: var(--orange); letter-spacing: -.03em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.hs-num small { margin-left: 4px; font-size: .9rem; letter-spacing: 0; color: var(--on-dark-muted); }
.hs-label { font: 700 1.14rem/1.15 var(--display); color: var(--paper); }
.hs-place { font-size: .9rem; line-height: 1.4; color: #C9C4BD; }
.hs-coords {
  display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14);
  font: 700 .7rem/1.4 var(--display); letter-spacing: .08em; color: var(--orange); white-space: pre-wrap; font-variant-numeric: tabular-nums;
}
.hs-coords .ic { width: 14px; height: 14px; flex: none; }

/* tabs: one length of fibre per slide, lit while that slide is showing */
.hero-nav { position: relative; z-index: 3; }
.hero-nav-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.hero-tab {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px 10px;
  padding: 10px 0 6px; border: 0; background: none; color: var(--on-dark-muted); cursor: pointer; text-align: left;
  font: 600 .88rem/1.2 var(--display); transition: color .25s;
}
.hero-tab:hover, .hero-tab[aria-current="true"] { color: var(--paper); }
.ht-num { font-weight: 700; font-variant-numeric: tabular-nums; transition: color .25s; }
.hero-tab[aria-current="true"] .ht-num { color: var(--orange); }
.ht-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-bar { grid-column: 1 / -1; position: relative; height: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ht-bar span { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero-tab[aria-current="true"] .ht-bar span { box-shadow: 0 0 12px 1px rgba(245, 140, 49, .7); }
/* the fill is the reel's clock, so with reduced motion there is no clock and no autoplay */
@media (prefers-reduced-motion: no-preference) {
  .hero-tab[aria-current="true"] .ht-bar span { animation: ht-fill var(--dur) linear both; }
  .hero:is(.is-paused, .is-held, .is-away) .hero-tab[aria-current="true"] .ht-bar span { animation-play-state: paused; }
}
.hero-ctrl { display: flex; gap: 8px; flex: none; }
.hero-btn {
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .24); border-radius: var(--radius); background: rgba(29, 29, 29, .45); color: var(--on-dark);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s, background .2s, color .2s;
}
.hero-btn:hover, .hero-btn:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.hero-btn .ic { width: 18px; height: 18px; }
.hero-toggle .ic-play, .hero.is-paused .hero-toggle .ic-pause { display: none; }
.hero.is-paused .hero-toggle .ic-play { display: block; }
html:not(.js) .hero-nav { display: none; }
@keyframes ht-fill { to { transform: scaleX(1); } }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-stage { margin: 0 auto; max-width: 560px; }
  .hero-shade {
    background:
      radial-gradient(70% 40% at 50% 75%, rgba(245, 140, 49, .14), rgba(245, 140, 49, 0) 70%),
      linear-gradient(180deg, rgba(29, 29, 29, .94) 0%, rgba(29, 29, 29, .82) 45%, rgba(29, 29, 29, .7) 70%, #1d1d1d 100%);
  }
}
@media (max-width: 700px) {
  .hero-h { font-size: calc((100vw - 2 * var(--gutter)) / 9.4); }
  .ht-label { display: none; }
  .hero-tab { grid-template-columns: 1fr; }
  .hero-btn { width: 42px; height: 42px; }
  .hs-cap { width: 47%; padding: 12px 12px 14px; }
  .hs-num { font-size: 1.6rem; margin-bottom: 4px; }
  .hs-label { font-size: .96rem; }
  .hs-place { font-size: .78rem; }
  .hs-coords { font-size: .6rem; letter-spacing: .04em; }
  .hs-a::before { top: -8px; left: -8px; width: 30px; height: 30px; }
}
@media (max-width: 400px) { .hs-coords { display: none; } }

/* Load sequence: headline rises, then each slide builds itself. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-h .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
  .js .hero-h .line:nth-child(1) > span { animation-delay: .15s; }
  .js .hero-h .line:nth-child(2) > span { animation-delay: .25s; }
  .js .hero-h .line:nth-child(3) > span { animation-delay: .35s; }
  .js .hero-tag, .js .hero-lead, .js .hero-actions, .js .hero-nav { opacity: 0; animation: fade .8s var(--ease) forwards; }
  .js .hero-tag { animation-delay: .05s; }
  .js .hero-lead { animation-delay: .55s; }
  .js .hero-actions { animation-delay: .7s; }
  .js .hero-nav { animation-delay: .9s; }

  .js .hero-bg.is-active img, .js .hero-bg.is-leaving img { animation: drift 14s linear both; }
  .js .hero-slide.is-active .hs-a .hs-img {
    -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 0 0, 0 20%, 0 40%, 0 60%, 0 80%, 0 100%; mask-position: 0 0, 0 20%, 0 40%, 0 60%, 0 80%, 0 100%;
    -webkit-mask-size: 100% var(--u0), 100% var(--u1), 100% var(--u2), 100% var(--u3), 100% var(--u4), 100% var(--u5);
    mask-size: 100% var(--u0), 100% var(--u1), 100% var(--u2), 100% var(--u3), 100% var(--u4), 100% var(--u5);
    animation: u0 .85s var(--ease) .2s both, u1 .85s var(--ease) .28s both, u2 .85s var(--ease) .36s both,
               u3 .85s var(--ease) .44s both, u4 .85s var(--ease) .52s both, u5 .85s var(--ease) .6s both;
  }
  .js .hero-slide:is(.is-active, .is-leaving) .hs-a img { animation: settle 9s cubic-bezier(.2, .6, .3, 1) .2s both; }
  .js .hero-slide:is(.is-active, .is-leaving) .hs-b img { animation: settle 9s cubic-bezier(.2, .6, .3, 1) .55s both; }
  .js .hero-slide.is-active .hs-b { animation: wipe 1s var(--ease) .55s both; }
  .js .hero-slide.is-active .hs-deco { animation: deco 1.1s var(--ease) .4s both; }
  .js .hero-slide.is-active .hs-dots { animation: show 1s var(--ease) .8s both; }
  .js .hero-slide.is-active .hs-a::before { animation: bracket .7s var(--ease) 1s both; }
  .js .hero-slide.is-active .hs-a::after { animation: show .8s var(--ease) .7s both; }
  .js .hero-slide.is-active .hs-cap { animation: cap .8s var(--ease) .6s both; }
  .js .hero-slide.is-active .hs-cap > * { animation: fade .6s var(--ease) both; }
  .js .hero-slide.is-active .hs-cap > :nth-child(1) { animation-delay: .75s; }
  .js .hero-slide.is-active .hs-cap > :nth-child(2) { animation-delay: .83s; }
  .js .hero-slide.is-active .hs-cap > :nth-child(3) { animation-delay: .91s; }
  .js .hero-slide.is-active .hs-cap > :nth-child(4) { animation-delay: .99s; }
  .js .hero-slide.is-leaving { animation: leave .9s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-toggle { display: none; }
  .hero-tab[aria-current="true"] .ht-bar span { transform: none; }
}
@keyframes u0 { from { --u0: 0%; } }
@keyframes u1 { from { --u1: 0%; } }
@keyframes u2 { from { --u2: 0%; } }
@keyframes u3 { from { --u3: 0%; } }
@keyframes u4 { from { --u4: 0%; } }
@keyframes u5 { from { --u5: 0%; } }
@keyframes drift { from { transform: scale(1.16) translate3d(-1.5%, 0, 0); } to { transform: scale(1.03) translate3d(1%, 0, 0); } }
@keyframes settle { from { transform: scale(1.24); } to { transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-90px); } }
@keyframes deco { from { clip-path: inset(0 0 100% 0); opacity: 0; } to { clip-path: inset(-4px); opacity: 1; } }
@keyframes bracket { from { opacity: 0; transform: translate(14px, 14px); } to { opacity: 1; transform: none; } }
@keyframes cap { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes leave { to { opacity: 0; transform: translateX(-30px); } }
@keyframes show { from { opacity: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ cable
   A length of orange fibre cable with its jacket print sliding past. */
.cable {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 4; height: 34px;
  background: var(--orange); overflow: hidden;
  border-top: 3px solid #F9A65C; border-bottom: 3px solid var(--orange-deep);
}
.cable-print { display: flex; width: max-content; height: 100%; align-items: center; }
.cable-print span { font: 700 .72rem/1 var(--display); letter-spacing: .16em; color: #5A2D07; white-space: nowrap; padding-right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cable-print { animation: pull 60s linear infinite; }
}
@keyframes pull { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ page heads
   Three site photos crossfade behind the title on an 18 second loop and
   the thumbnails light up in step, all on the same CSS clock. Each photo
   holds until the next is fully in, so the crossfade never shows black. */
.pagehead {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark);
  min-height: clamp(480px, 66vh, 660px); display: flex; flex-direction: column;
}
.ph-bgs { position: absolute; inset: 0; z-index: -3; }
.ph-bg { position: absolute; inset: 0; opacity: 0; }
.ph-bg:first-child { opacity: 1; }
.ph-bg picture, .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-bg img { filter: saturate(.9) contrast(1.06); }
.ph-shade {
  background:
    radial-gradient(40% 60% at 88% 50%, rgba(245, 140, 49, .14), rgba(245, 140, 49, 0) 70%),
    linear-gradient(90deg, rgba(29, 29, 29, .96) 0%, rgba(29, 29, 29, .86) 42%, rgba(29, 29, 29, .5) 76%, rgba(29, 29, 29, .66) 100%),
    linear-gradient(0deg, #1d1d1d 0, rgba(29, 29, 29, 0) 42%);
}
.pagehead-inner {
  position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: 138px;
}
.pagehead h1 { color: var(--paper); font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -.032em; max-width: 12em; }
.pagehead .lead { margin: 24px 0 0; max-width: 34em; font-size: 1.18rem; color: #C9C4BD; }

.ph-thumbs { display: grid; gap: 12px; width: clamp(180px, 17vw, 236px); }
.ph-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2);
  opacity: .45; filter: grayscale(1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.ph-thumb:first-child { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--orange), 0 18px 34px -16px rgba(0, 0, 0, .8); }
.ph-thumb picture, .ph-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph-thumb > span {
  position: absolute; left: 8px; top: 8px; padding: 4px 6px; background: rgba(29, 29, 29, .75);
  font: 700 .7rem/1 var(--display); letter-spacing: .14em; color: var(--paper);
}
.ph-thumb::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .ph-bg, .ph-bg img, .ph-thumb, .ph-thumb::after { animation-duration: 18s; animation-iteration-count: infinite; animation-fill-mode: both; animation-delay: calc(var(--i) * 6s - 1s); }
  .ph-bg { animation-name: ph-show; animation-timing-function: ease-in-out; }
  .ph-bg img { animation-name: ph-zoom; animation-timing-function: linear; }
  .ph-thumb { animation-name: ph-thumb; animation-timing-function: var(--ease); }
  .ph-thumb::after { animation-name: ph-prog; animation-timing-function: linear; }
}
@keyframes ph-show { 0% { opacity: 0; } 6%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes ph-zoom { 0% { transform: scale(1.15); } 46%, 100% { transform: scale(1.02); } }
@keyframes ph-thumb {
  0%, 100% { opacity: .45; filter: grayscale(1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); transform: none; }
  3%, 33.33% { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--orange), 0 18px 34px -16px rgba(0, 0, 0, .8); transform: translateX(-8px); }
  37% { opacity: .45; filter: grayscale(1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); transform: none; }
}
@keyframes ph-prog { 0% { transform: scaleX(0); opacity: 1; } 33.33% { transform: scaleX(1); opacity: 1; } 35%, 100% { transform: scaleX(1); opacity: 0; } }

/* Breadcrumb as a route on the footprint map: home is a stop, the line
   runs out to this page, which sits on it as the orange office square. */
.crumbs { margin-bottom: clamp(24px, 3vw, 34px); }
.crumbs ol {
  display: inline-flex; flex-wrap: wrap; align-items: center; padding: 10px 18px 10px 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 .9rem/1 var(--display);
}
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: #C9C4BD; text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--orange); }
.crumbs .ic { width: 16px; height: 16px; flex: none; }
.crumbs li + li::before {
  content: ''; width: 46px; height: 12px; margin: 0 12px; flex: none; transform-origin: left;
  background:
    radial-gradient(circle at 5px 50%, var(--ink) 0 2px, var(--orange) 2.5px 5px, transparent 5.5px),
    linear-gradient(var(--orange), var(--orange)) 0 50% / 100% 3px no-repeat;
}
.crumbs [aria-current] { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 700; }
.crumbs [aria-current]::before { content: ''; width: 11px; height: 11px; background: var(--orange); border-radius: 1px; box-shadow: 0 0 0 3px rgba(245, 140, 49, .25); }
@media (prefers-reduced-motion: no-preference) {
  .crumbs li + li::before { animation: crumb-line .9s var(--ease) .25s both; }
  .crumbs [aria-current] { animation: fade .6s var(--ease) .8s both; }
  .pagehead h1, .pagehead .lead { animation: fade .9s var(--ease) both; }
  .pagehead h1 { animation-delay: .1s; }
  .pagehead .lead { animation-delay: .3s; }
}
@keyframes crumb-line { from { transform: scaleX(0); } }
@media (max-width: 900px) {
  .pagehead-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 124px; }
  .ph-thumbs { display: none; }
  .ph-shade {
    background:
      linear-gradient(90deg, rgba(29, 29, 29, .94) 0%, rgba(29, 29, 29, .78) 100%),
      linear-gradient(0deg, #1d1d1d 0, rgba(29, 29, 29, 0) 42%);
  }
}

/* ------------------------------------------------------------ titles
   Eyebrow: an orange connector on a short run of fibre, then the label.
   Accent (.hl, written as *phrase* and rendered by mark()): orange words
   over a band of section hatching from an engineering drawing, with a
   solid rule beneath. Both draw in as they scroll into view. */
.eyebrow, .hero-tag {
  --eb: var(--orange);
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 700 .8rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-text);
}
.eyebrow::before, .hero-tag::before {
  content: ''; flex: none; width: 46px; height: 10px;
  background:
    linear-gradient(var(--eb), var(--eb)) 0 50% / 10px 10px no-repeat,
    linear-gradient(var(--eb), var(--eb)) 0 50% / 100% 2px no-repeat;
  transition: width 1s var(--ease) .1s;
}
.js .eyebrow:not(.in)::before { width: 10px; }
.hero-tag, .pagehead .eyebrow, .on-dark .eyebrow, .block-dark .eyebrow, .strip-dark .eyebrow, .footprint .eyebrow { color: var(--orange); }
.hero-tag { margin-bottom: 26px; }
.cta .eyebrow { --eb: var(--ink); color: var(--ink); }
.eyebrow-strand { --eb: var(--cl, var(--orange)); }

.hl {
  --hl: #CF6410;   /* deeper brand orange: 3.8:1 on white, for display sizes */
  --hl-rule: var(--orange); --hl-hatch: rgba(245, 140, 49, .55);
  font-style: inherit; color: var(--hl); padding: 0 .04em; margin: 0 -.04em;
  background-image:
    linear-gradient(var(--hl-rule), var(--hl-rule)),
    repeating-linear-gradient(-45deg, var(--hl-hatch) 0 2px, transparent 2px 7px);
  background-repeat: no-repeat;
  background-position: 0 94%, 0 82%;
  background-size: 100% .075em, 100% .26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.2s var(--ease) .2s;
}
.js .hl:not(.in) { background-size: 0 .075em, 0 .26em; }
.hero .hl, .pagehead .hl, .on-dark .hl, .block-dark .hl, .strip-dark .hl, .footprint .hl { --hl: var(--orange); --hl-hatch: rgba(245, 140, 49, .45); }
.hero .hl { transition-delay: 1.1s; }
.pagehead .hl { transition-delay: .6s; }
.cta .hl { --hl: var(--ink); --hl-rule: var(--ink); --hl-hatch: rgba(40, 40, 40, .32); }

/* ------------------------------------------------------------ section heads */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: var(--t-2); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 16px; }
.section-head p:where(:not(.eyebrow)) { color: var(--muted); font-size: 1.12rem; max-width: 38em; margin: 0; }
.section-head.on-dark h2 { color: var(--paper); }
.section-head.on-dark p:where(:not(.eyebrow)) { color: var(--on-dark-muted); }
/* a big outlined word behind the head, like a stencil on a cabinet door */
.section-head[data-mark] { position: relative; isolation: isolate; }
.section-head[data-mark]::before {
  content: attr(data-mark); position: absolute; z-index: -1; left: -.05em; top: -.6em; pointer-events: none;
  font: 700 clamp(4.8rem, 12vw, 10.5rem)/1 var(--display); letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(40, 40, 40, .09);
}
.section-head.on-dark[data-mark]::before { -webkit-text-stroke-color: rgba(255, 255, 255, .08); }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 800px) { .section-head-split { grid-template-columns: 1fr; gap: 12px; } }

/* ------------------------------------------------------------ intro */
.intro { padding: var(--section) 0 calc(var(--section) * .8); }
.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-h { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.intro-copy p { font-size: 1.14rem; color: var(--text); }
.intro-copy p:first-child { font-size: 1.32rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Timeline: a single fibre with a splice at each date. A real sequence. */
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: clamp(56px, 8vw, 104px); padding-top: 40px;
}
.timeline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: var(--ink);
  transform-origin: left; transition: transform 1.4s var(--ease);
}
.timeline li { position: relative; }
.timeline li::before {
  content: ''; position: absolute; top: -40px; left: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); transition: background .4s, border-color .4s;
}
.timeline li:last-child::before { background: var(--orange); border-color: var(--orange); }
.timeline-year { display: block; font: 700 clamp(2rem, 3.4vw, 2.8rem)/1 var(--display); color: var(--ink); letter-spacing: -.02em; margin: 6px 0 10px; font-variant-numeric: lining-nums; }
.timeline-text { display: block; color: var(--muted); max-width: 24em; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .timeline::before { transform: scaleX(0); }
  .js [data-reveal].in .timeline::before { transform: scaleX(1); }
}
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 44px; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 11px; right: auto; width: 3px; height: auto; transform-origin: top; }
  .timeline li::before { top: 4px; left: -44px; }
  .js [data-reveal] .timeline::before { transform: scaleY(0); }
  .js [data-reveal].in .timeline::before { transform: scaleY(1); }
}

/* ------------------------------------------------------------ patch panel */
.services-home { background: var(--mist); padding: var(--section) 0; }
.services-home, .services-index {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect x='11' y='11' width='6' height='6' rx='1' fill='%23E3E1DD'/%3E%3C/svg%3E");
}
.panel { --port-gap: 6px; }
.rack {
  position: relative; display: flex; align-items: stretch; background: var(--ink);
  border-radius: var(--radius); padding: 14px 0 18px; box-shadow: 0 1px 0 #1a1a1a;
}
.rack-ear { flex: none; width: 34px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 0; }
.rack-ear i { width: 12px; height: 18px; border-radius: 6px; background: #1c1c1c; box-shadow: inset 0 0 0 2px #3c3c3c; }
.ports { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--port-gap); }

.port {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; font: inherit;
}
.port:focus-visible { outline-offset: 4px; }
.port-label {
  display: flex; align-items: center; min-height: 54px; padding: 8px 10px;
  background: #F6F5F2; color: var(--ink); border-radius: 1px;
  font: 600 .8rem/1.2 var(--display); letter-spacing: -.005em;
  border-bottom: 3px solid var(--cl, var(--c));
}
.port-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.port-led { width: 8px; height: 8px; border-radius: 50%; background: #3d3d3d; box-shadow: 0 0 0 2px #222; transition: background .25s, box-shadow .25s; }
.port-socket {
  position: relative; width: 46px; height: 40px; background: #161616; border-radius: 2px;
  box-shadow: inset 0 0 0 2px #3e3e3e; overflow: visible;
}
.port-socket::before { content: ''; position: absolute; left: 14px; right: 14px; top: 8px; height: 6px; background: #2c2c2c; border-radius: 1px; }
.port-plug {
  position: absolute; left: 6px; right: 6px; top: 4px; bottom: -4px; background: var(--c);
  border-radius: 2px; transform: translateY(-140%); opacity: 0;
  transition: transform .35s var(--ease), opacity .2s;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
/* the patch lead from the seated plug down to the detail panel */
.port-plug::after {
  content: ''; position: absolute; left: 50%; top: 100%; width: 8px; margin-left: -4px;
  height: 60px; background: var(--c); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease) .12s; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
.port:hover .port-led { background: #6b6b6b; }
.port[aria-selected="true"] .port-led { background: var(--orange); box-shadow: 0 0 0 2px #222, 0 0 10px 2px rgba(245, 140, 49, .55); }
.port[aria-selected="true"] .port-plug { transform: none; opacity: 1; }
.port[aria-selected="true"] .port-plug::after { transform: scaleY(1); }
.port[aria-selected="true"] .port-label { background: var(--paper); }

.panel-detail { margin-top: 38px; position: relative; }
.svc {
  display: grid; grid-template-columns: 5fr 6fr; background: var(--paper);
  border-top: 6px solid var(--cl, var(--c)); min-height: 420px;
}
.svc[hidden] { display: none; }
html:not(.js) .svc[hidden] { display: grid; }
html:not(.js) .svc + .svc { margin-top: 24px; }
.svc-media { position: relative; min-height: 300px; background: var(--mist); }
.svc-media picture, .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: clamp(28px, 4vw, 56px); }
.svc-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 16px; }
.svc-summary { font-size: 1.12rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .svc:not([hidden]) .svc-body > * { animation: fade .5s var(--ease) both; }
  .js .svc:not([hidden]) .svc-body > *:nth-child(2) { animation-delay: .05s; }
  .js .svc:not([hidden]) .svc-body > *:nth-child(3) { animation-delay: .1s; }
  .js .svc:not([hidden]) .svc-body > *:nth-child(4) { animation-delay: .15s; }
}

.ticks { margin: 22px 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; background: var(--cl, var(--c, var(--orange))); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

@media (max-width: 1000px) {
  .ports { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .port-plug::after { display: none; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .rack-ear { width: 18px; }
  .rack-ear i { width: 8px; height: 12px; }
  .ports { grid-template-columns: repeat(2, 1fr); padding-right: 0; }
  .port-label { min-height: 46px; font-size: .78rem; }
}

/* ------------------------------------------------------------ footprint */
.footprint {
  position: relative; background: var(--ink); color: var(--on-dark); padding: var(--section) 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.4' fill='%23363636'/%3E%3C/svg%3E");
}
.footprint-map-wrap { margin: 0 calc(var(--gutter) * -0.5); }
.footprint-map { width: 100%; height: auto; overflow: visible; }
.region { font: 700 72px/1 var(--display); fill: #333333; letter-spacing: -2px; }
.route { fill: none; stroke: var(--c); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.node { fill: var(--ink); stroke: var(--on-dark); stroke-width: 3.5; transition: fill .2s; }
.node.office { fill: var(--orange); stroke: var(--ink); stroke-width: 3; }
.stop { cursor: default; outline: none; }
.stop:hover .node:not(.office), .stop:focus .node:not(.office) { fill: var(--orange); }
.stop:focus-visible .node { stroke: var(--orange); stroke-width: 5; }
.stop-label {
  font: 600 17px/1 var(--display); fill: var(--on-dark);
  paint-order: stroke; stroke: var(--ink); stroke-width: 7px; stroke-linejoin: round;
}
.stop-label.is-office { fill: var(--orange); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .route { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i) * 140ms); }
  .js [data-reveal].in .route { stroke-dashoffset: 0; }
  .js [data-reveal] .stop { opacity: 0; transition: opacity .4s var(--ease); transition-delay: calc(.6s + var(--i) * 70ms); }
  .js [data-reveal].in .stop { opacity: 1; }
}

.map-hint { display: none; margin: 4px 0 0; font-size: .9rem; color: var(--on-dark-muted); }
.countries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ink-3); }
.countries h3 { color: var(--paper); font-size: 1.2rem; margin-bottom: 12px; }
.countries ul { display: grid; gap: 8px; }
.countries li li { font-size: .92rem; line-height: 1.4; color: var(--on-dark-muted); }
.countries li li span { display: block; color: var(--on-dark); font-weight: 700; }
@media (max-width: 900px) { .countries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .footprint-map-wrap { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--orange) var(--ink-2); }
  .footprint-map { width: 760px; max-width: none; }
  .map-hint { display: block; }
}

/* ------------------------------------------------------------ work */
.work { padding: var(--section) 0; }
.work-grid { display: grid; grid-template-columns: 8fr 5fr; grid-template-rows: auto auto; gap: 28px; }
.work-item.is-lead { grid-row: span 2; }
.work-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.work-media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.is-lead .work-media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.work-media picture, .work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-media img { transition: transform 1.1s var(--ease); }
.work-link:hover .work-media img { transform: scale(1.035); }
.work-meta { padding: 18px 0 4px; border-top: 3px solid var(--ink); margin-top: 0; }
.work-link:hover .work-meta { border-top-color: var(--orange); }
.work-kind { font-size: .92rem; color: var(--muted); margin-bottom: 6px; }
.work-meta h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 4px; }
.work-role { margin: 0; font-weight: 700; color: var(--orange-text); }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-item.is-lead { grid-row: auto; }
  .is-lead .work-media { aspect-ratio: 4 / 3; min-height: 0; }
}

.index { margin-top: clamp(56px, 7vw, 96px); }
.index-h { font-size: var(--t-3); margin-bottom: 18px; }
.index-list { border-top: 3px solid var(--ink); margin-bottom: 36px; }
.index-list li {
  display: grid; grid-template-columns: 4fr 5fr 4fr; gap: 20px; padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s;
}
.index-list li:hover { padding-left: 14px; background: var(--mist); }
.i-name { font: 700 1.06rem/1.35 var(--display); color: var(--ink); }
.i-what { color: var(--text); }
.i-place { color: var(--muted); }
@media (max-width: 760px) { .index-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------ partners */
.partners { background: var(--mist); padding: clamp(72px, 9vw, 120px) 0; }
.partners-inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.partners-head h2 { font-size: var(--t-2); letter-spacing: -.025em; margin-bottom: 14px; }
.partners-head p:where(:not(.eyebrow)) { color: var(--muted); margin: 0; max-width: 26em; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.logo-tile { display: flex; align-items: center; justify-content: center; background: var(--paper); aspect-ratio: 3 / 2; padding: 14% 16%; }
.logo-tile img { width: 100%; height: auto; max-height: 56px; object-fit: contain; }
.logo-tile.is-filled { background: #0EAACB; }
.logo-tile.is-cta { background: var(--ink); padding: 0; }
.logo-tile.is-cta a {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 100%; height: 100%; padding: 18px 20px; color: var(--paper);
  text-decoration: none; font: 700 1.05rem/1.2 var(--display); position: relative; transition: background .25s;
}
.logo-tile.is-cta a span { order: 2; }
.logo-tile.is-cta .ic { order: 1; align-self: flex-end; width: 22px; height: 22px; color: var(--orange); transition: transform .3s var(--ease); }
.logo-tile.is-cta a:hover { background: #1f1f1f; }
.logo-tile.is-cta a:hover .ic { transform: translateX(4px); }
@media (max-width: 900px) { .partners-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ CTA */
.cta {
  background: var(--orange); color: var(--ink); padding: clamp(72px, 10vw, 128px) 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Crect x='8' y='10' width='40' height='30' rx='2' fill='none' stroke='%23EE8226' stroke-width='2'/%3E%3Crect x='20' y='16' width='16' height='5' rx='1' fill='%23EE8226'/%3E%3C/svg%3E");
}
.cta-inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.cta-side p { font-size: 1.15rem; color: #3b2a1c; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.cta-phone .ic { width: 22px; height: 22px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font: 700 1.5rem/1 var(--display); text-decoration: none; color: var(--ink); border-bottom: 3px solid var(--ink); padding-bottom: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink-0); color: var(--on-dark-muted); }
.ribbon { display: grid; grid-template-columns: repeat(12, 1fr); height: 8px; }
.ribbon span { background: var(--c); }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 2fr 2.4fr 2.4fr; gap: 36px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin: 18px 0 0; }
.footer-contact a { color: var(--on-dark); text-decoration: none; font-weight: 700; }
.footer-h { font: 700 1rem/1.2 var(--display); color: var(--paper); margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-office a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-office a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-office address { line-height: 1.7; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--ink-3); font-size: .9rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--on-dark); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Inner pages
   ========================================================================= */
.block { padding: var(--section) 0; }
.block-mist { background: var(--mist); }
.block-dark { background: var(--ink); color: var(--on-dark); }

/* about: statement typography */
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--ink); }
.statement { padding: 40px 48px 8px 0; }
.statement + .statement { padding-left: 48px; border-left: 1px solid var(--line); }
.statement p { font: 600 clamp(1.3rem, 2.1vw, 1.75rem)/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.statement.is-vision p { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -.025em; }
@media (max-width: 860px) { .statements { grid-template-columns: 1fr; } .statement + .statement { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ink-3); margin-top: 8px; }
.value { background: var(--ink); padding: 36px 28px 40px; position: relative; }
.value::before { content: ''; display: block; width: 36px; height: 6px; background: var(--c); margin-bottom: 28px; }
.value h3 { color: var(--paper); font-size: 1.5rem; margin-bottom: 12px; }
.value p { color: var(--on-dark-muted); margin: 0; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.split-media picture, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: var(--t-2); letter-spacing: -.025em; line-height: 1.05; margin-bottom: 22px; }
.split p:where(:not(.eyebrow)) { font-size: 1.1rem; }
.reasons { margin-top: 28px; border-top: 3px solid var(--ink); }
.reasons li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 4 / 3; } }

/* services page */
.service { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:nth-of-type(odd) { background: var(--mist); border-top: 0; }
.service-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.service:nth-of-type(odd) .service-media { order: 2; }
.service-media { position: sticky; top: 104px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.service-media::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--c); }
.service-media picture, .service-media img { width: 100%; height: 100%; object-fit: cover; }
.service h2 { font-size: var(--t-2); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 22px; }
.service .svc-summary { font-size: 1.22rem; color: var(--ink); line-height: 1.5; }
.service-body p:where(:not(.eyebrow)) { font-size: 1.08rem; }
.service .ticks { margin-top: 30px; }
.fibre-code { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.fibre-code p { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.fibre-code ol { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.fibre-code li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted); }
.fibre-code li span { display: block; width: 100%; height: 30px; background: var(--c); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service:nth-of-type(odd) .service-media { order: 0; }
  .service-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .fibre-code ol { grid-template-columns: repeat(6, 1fr); row-gap: 14px; }
}
.services-index { background-color: var(--mist); padding: clamp(56px, 7vw, 96px) 0; }

/* projects page */
.case { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 90px; }
.case + .case { border-top: 1px solid var(--line); }
.case-head { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.case-head h2 { font-size: var(--t-2); letter-spacing: -.025em; line-height: 1.04; }
.case-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.case-facts dt { color: var(--muted); }
.case-facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.case-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 8px; }
.case-gallery > :first-child { grid-row: span 2; }
.case-gallery a { position: relative; display: block; overflow: hidden; background: var(--mist); }
.case-gallery picture, .case-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case-gallery a:hover img { transform: scale(1.04); }
.case-gallery > :nth-child(4):last-child { grid-column: span 2; }
.case-body.is-single { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: end; }
.case-gallery.is-single { grid-template-columns: 1fr; grid-template-rows: 480px; }
.case-body.is-single .case-text { margin: 0; padding-left: 24px; border-left: 6px solid var(--orange); font: 600 clamp(1.15rem, 1.7vw, 1.4rem)/1.45 var(--display); color: var(--ink); }
.case p.case-text { font-size: 1.12rem; max-width: 40em; margin-top: 24px; }
@media (max-width: 860px) {
  .case-head { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 160px 160px; }
  .case-gallery > :first-child { grid-column: span 2; grid-row: auto; }
  .case-gallery.is-single { grid-template-rows: 300px; }
  .case-body.is-single { grid-template-columns: 1fr; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  min-height: 40px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: 700 .9rem/1 var(--display); cursor: pointer;
  transition: background .2s, color .2s;
}
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--paper); }
.index-list li[hidden] { display: none; }
.i-kind { color: var(--orange-text); font-weight: 700; font-size: .92rem; }
.index-list.has-kind li { grid-template-columns: 4fr 4fr 3fr 2fr; }
@media (max-width: 760px) { .index-list.has-kind li { grid-template-columns: 1fr; } }

.album { margin-top: clamp(56px, 7vw, 88px); }
.album-head { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; margin-bottom: 20px; align-items: end; }
.album-head h3 { font-size: var(--t-3); }
.album-head p { margin: 0; color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.album-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.album-grid picture, .album-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.album-grid a:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .album-grid { grid-template-columns: repeat(3, 1fr); } .album-head { grid-template-columns: 1fr; gap: 6px; } }

/* lightbox: one photo, its caption, and where it sits in the set */
.lightbox { padding: 0; border: 0; background: #1d1d1d; color: var(--on-dark); width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgba(26, 26, 26, .95); }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 64px 72px 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 0 1px #3a3a3a; }
.lb-bar { display: flex; align-items: center; gap: 18px; padding: 14px 72px 22px; }
.lb-bar::before { content: ''; flex: none; width: 12px; height: 12px; background: var(--c, var(--orange)); border-radius: 1px; }
.lb-caption { margin: 0; font: 600 1.02rem/1.35 var(--display); }
.lb-count { margin: 0 0 0 auto; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border: 2px solid #5a5a5a; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: border-color .2s, background .2s;
}
.lb-btn:hover { border-color: var(--orange); }
.lb-btn svg { width: 18px; height: 18px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; margin-top: -40px; }
.lb-next { right: 12px; top: 50%; margin-top: -40px; }
@media (max-width: 700px) {
  .lb-stage { padding: 64px 8px 8px; }
  .lb-bar { padding: 12px 16px 76px; flex-wrap: wrap; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] .lb-stage img { animation: appear .3s var(--ease); }
}

/* gallery page */
.gallery { padding-top: clamp(56px, 7vw, 96px); }
.spool { margin-bottom: clamp(32px, 4vw, 48px); }
.spool-bar { display: flex; height: 10px; gap: 2px; margin-bottom: 18px; }
.spool-bar span { background: var(--cl, var(--c)); transition: opacity .3s var(--ease), transform .3s var(--ease); transform-origin: bottom; }
.spool[data-active]:not([data-active="all"]) .spool-bar span { opacity: .18; }
.spool[data-active]:not([data-active="all"]) .spool-bar span.is-on { opacity: 1; transform: scaleY(1.6); }
.spool-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.spool-keys button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
  font: 700 .92rem/1 var(--display); cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.spool-keys button:hover { border-color: var(--ink); }
.spool-keys button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.key-chip { width: 10px; height: 18px; background: var(--c); border-radius: 1px; }
.key-n { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.spool-keys button[aria-pressed="true"] .key-n { color: var(--on-dark-muted); }

.shots { columns: 4 260px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 22px; }
.shot[hidden] { display: none; }
.shot a { position: relative; display: block; overflow: hidden; background: var(--mist); }
.shot img { width: 100%; transition: transform .9s var(--ease); }
.shot a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.shot a:hover img, .shot a:focus-visible img { transform: scale(1.035); }
.shot a:hover::after, .shot a:focus-visible::after { transform: scaleX(1); }
.shot figcaption { padding-top: 10px; font-size: .95rem; line-height: 1.4; color: var(--text); }
.shot-set { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; font: 700 .8rem/1.2 var(--display); color: var(--muted); }
.shot-set::before { content: ''; width: 8px; height: 8px; background: var(--c); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
@media (prefers-reduced-motion: no-preference) {
  .js .shots.is-filtering .shot:not([hidden]) { animation: appear .45s var(--ease) both; }
}
@media (max-width: 560px) { .shots { columns: 2; column-gap: 10px; } .shot figcaption { font-size: .88rem; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.office { padding: 30px 0; border-top: 3px solid var(--ink); }
.office + .office { border-top-width: 1px; border-top-color: var(--line); }
.office h2 { font-size: 1.5rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.office h2::before { content: ''; width: 14px; height: 14px; background: var(--ink); border-radius: 2px; }
.office.is-primary h2::before { background: var(--orange); }
.office address { font-size: 1.08rem; line-height: 1.6; margin-bottom: 14px; }
.office dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.office dt { color: var(--muted); }
.office dd { margin: 0; }
.office dd a { color: var(--ink); font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.form { background: var(--mist); padding: clamp(28px, 4vw, 52px); border-top: 6px solid var(--orange); scroll-margin-top: 100px; }
.form h2 { font-size: var(--t-3); margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font: 700 .95rem/1.2 var(--display); color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #CFCCC7; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: 400 1.02rem/1.4 var(--body); transition: border-color .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23282828' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--orange); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-weight: 700; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 20px; margin-bottom: 24px; border-left: 6px solid #2E9E55; background: var(--paper); font-weight: 600; }
.notice.is-error { border-left-color: #B3261E; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* contact: the Kenya office on a map. A full-width band, greyed to sit with
   the charcoal and orange, back in colour while someone is using it. The
   address card floats on the left, clear of the pin in the middle. */
.findus { position: relative; scroll-margin-top: 90px; }
.findus-map { position: relative; height: clamp(440px, 62vh, 580px); background: var(--mist); border-top: 1px solid var(--line); }
/* the office sits at the map's centre; an orange beacon rings it on the grey map */
.findus-beacon {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none;
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 16px rgba(0, 0, 0, .35);
  transition: opacity .5s var(--ease);
}
.findus-beacon::before, .findus-beacon::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0;
}
.findus-beacon > span {
  position: absolute; left: 30px; top: 50%; transform: translateY(-50%); display: grid; gap: 3px; white-space: nowrap;
  padding: 9px 12px; background: var(--ink); border-left: 3px solid var(--orange); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  font: 600 .78rem/1.2 var(--display); color: #C9C4BD;
}
.findus-beacon b { font-size: .9rem; color: var(--paper); }
/* once someone pans the map the centre no longer marks the office; Google's own pin takes over */
.findus-map:focus-within .findus-beacon { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .findus-beacon::before, .findus-beacon::after { animation: beacon 2.6s ease-out infinite; }
  .findus-beacon::after { animation-delay: 1.3s; }
}
@keyframes beacon { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.4); } }
.findus-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) contrast(1.08) brightness(.97); transition: filter .7s var(--ease);
}
.findus-map:is(:hover, :focus-within) iframe { filter: none; }
.findus-overlay { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; pointer-events: none; }
.findus-card {
  position: relative; pointer-events: auto; width: min(380px, 100%); padding: 30px 30px 28px;
  background: var(--ink); color: var(--on-dark); border-top: 6px solid var(--orange);
  box-shadow: 0 34px 64px -26px rgba(0, 0, 0, .7);
}
.findus-card::before {
  content: ''; position: absolute; top: -18px; left: -12px; width: 44px; height: 44px;
  border-top: 3px solid var(--orange); border-left: 3px solid var(--orange);
}
.findus-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 .76rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.findus-tag::before { content: ''; width: 11px; height: 11px; background: var(--orange); border-radius: 1px; box-shadow: 0 0 0 3px rgba(245, 140, 49, .25); }
.findus-card h3 { color: var(--paper); font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 12px; }
.findus-card address { font-size: 1.06rem; line-height: 1.6; color: #C9C4BD; margin-bottom: 14px; }
.findus-coords {
  display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 0; border-block: 1px solid rgba(255, 255, 255, .12);
  font: 700 .74rem/1.3 var(--display); letter-spacing: .1em; color: var(--orange); white-space: pre; font-variant-numeric: tabular-nums;
}
.findus-coords .ic, .findus-phone .ic { width: 16px; height: 16px; flex: none; }
.findus-phone { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 700 1.15rem/1 var(--display); color: var(--paper); text-decoration: none; font-variant-numeric: tabular-nums; }
.findus-phone .ic { color: var(--orange); }
.findus-phone:hover { color: var(--orange); }
.findus-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.findus-card .btn-primary::before { background: var(--paper); }
.findus-card .btn-primary:hover, .findus-card .btn-primary:focus-visible { color: var(--ink); }
.findus-link { font: 700 .95rem/1.3 var(--display); color: var(--on-dark); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 3px; }
.findus-link:hover { color: var(--orange); }
@media (hover: none) { .findus-map iframe { filter: grayscale(.35); } }
@media (max-width: 760px) {
  .findus-map { height: auto; border-top: 0; }
  .findus-map iframe { position: relative; display: block; height: 360px; }
  .findus-beacon { top: 180px; }
  .findus-beacon > span { left: 50%; top: 32px; transform: translateX(-50%); }
  .findus-overlay { height: auto; padding-top: 0; padding-bottom: 0; }
  .findus-card { width: 100%; }
  .findus-card::before { display: none; }
}

/* 404 */
.lost { padding: clamp(80px, 12vw, 160px) 0; }
.lost svg { width: min(520px, 100%); margin-bottom: 40px; }
.lost h1 { font-size: var(--t-2); margin-bottom: 14px; }
.lost p { font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.lost .hero-actions { margin-top: 28px; }


/* additions: inner page details */
.reasons-h { margin-top: 36px; }
.values-block { position: relative; overflow: hidden; }
.values-block .wrap { position: relative; z-index: 2; }
.split-flip > :first-child { order: 0; }
.split .policy-quote { font: 600 clamp(1.3rem, 2.2vw, 1.8rem)/1.38 var(--display); color: var(--ink); letter-spacing: -.01em; padding-left: 24px; border-left: 6px solid var(--orange); margin: 8px 0 28px; }
.svc-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.svc-jump a {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px; background: var(--paper);
  text-decoration: none; color: var(--ink); font: 600 .98rem/1.25 var(--display); transition: background .2s;
}
.svc-jump a::before { content: ''; flex: none; width: 10px; height: 26px; background: var(--cl); border-radius: 1px; transition: height .25s var(--ease); }
.svc-jump a:hover { background: var(--mist); }
.svc-jump a:hover::before { height: 36px; }
@media (max-width: 900px) { .svc-jump { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-jump { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ photo strips
   Full-bleed rows of same-size photos. With JS the row steps along one
   photo at a time and loops through clones; without it, it scrolls sideways.
   Hovering one photo dims the rest, like a lamp on one rack. */
.strip { padding: clamp(64px, 8vw, 112px) 0; }
.strip-dark { background: var(--ink); color: var(--on-dark); }
.strip-mist { background: var(--mist); }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3vw, 40px); }
.strip-h { font-size: var(--t-2); line-height: 1.04; letter-spacing: -.025em; max-width: 16em; }
.strip-dark .strip-h { color: var(--paper); }
.strip-ctrl { display: flex; gap: 8px; flex: none; }
.strip-ctrl[hidden] { display: none; }
.strip-btn {
  width: 52px; height: 52px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.strip-btn:hover, .strip-btn:focus-visible { background: var(--ink); color: var(--paper); }
.strip-dark .strip-btn { border-color: #5a5a5a; color: var(--on-dark); }
.strip-dark .strip-btn:hover, .strip-dark .strip-btn:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.strip-btn .ic { width: 18px; height: 18px; }

.strip-viewport {
  --per: 5; --gap: 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.strip-viewport::-webkit-scrollbar { display: none; }
.strip-viewport.is-live { overflow: hidden; touch-action: pan-y; }
.strip-track { display: flex; gap: var(--gap); }
.is-live .strip-track { transition: transform 1s var(--ease); will-change: transform; }
.strip-item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.strip-item a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); color: var(--paper); text-decoration: none; }
.strip-landscape .strip-item a { aspect-ratio: 4 / 3; }
.strip-item picture, .strip-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip-item img { transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.strip-item a::before {
  content: ''; position: absolute; inset: 35% 0 0; z-index: 1; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(rgba(20, 20, 20, 0), rgba(20, 20, 20, .88));
}
.strip-item a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 5px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.strip-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 20px;
  font: 600 .92rem/1.3 var(--display); opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.strip-n { display: block; margin-bottom: 6px; font: 700 .72rem/1 var(--display); letter-spacing: .16em; color: var(--orange); }
.strip-item a:is(:hover, :focus-visible) img { transform: scale(1.07); }
.strip-item a:is(:hover, :focus-visible)::before { opacity: 1; }
.strip-item a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.strip-item a:is(:hover, :focus-visible) .strip-cap { opacity: 1; transform: none; }
.strip-track:hover .strip-item a:not(:hover) img { filter: grayscale(.7) brightness(.7); }
.strip-item a:focus-visible { outline-offset: -3px; }
@media (hover: none) {
  .strip-item a::before { opacity: 1; }
  .strip-cap { opacity: 1; transform: none; }
}
@media (max-width: 1200px) { .strip-viewport { --per: 4; } }
@media (max-width: 900px) { .strip-viewport { --per: 3; } }
@media (max-width: 600px) {
  .strip-portrait .strip-viewport { --per: 2.2; }
  .strip-landscape .strip-viewport { --per: 1.35; }
  .strip-head { display: block; }
  .strip-ctrl { margin-top: 20px; }
  .strip-btn { width: 46px; height: 46px; }
  .strip-cap { padding: 12px 12px 14px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { .is-live .strip-track { transition-duration: .01s; } }

@media print {
  .site-header, .cta, .cable, .rack-rail, .hero-bgs, .hero-nav, .ph-bgs, .ph-thumbs, .strip { display: none; }
  .hero, .pagehead, .footprint, .site-footer { background: none; color: #000; }
}
