/* Second Power LLC — site styles. No external resources: system fonts only. */

:root {
  --mist: #F3F6FB;
  --paper: #FFFFFF;
  --line: #DCE3EF;
  --ink: #172033;
  --muted: #525E75;
  --navy: #12358F;
  --navy-deep: #0B2257;
  --sky: #0A84D0;
  --royal: #0050B0;
  --sky-soft: #9FCBF2;

  --font-sign: "Bahnschrift", "DIN Alternate", "DIN 2014", "D-DIN", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --plate-radius: 12px;
  /* one content width shared by every section (resolved where used) */
  --hero-w: min(var(--wrap), 100% - 2 * var(--gutter));
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-sign);
  font-stretch: 87.5%;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1em; }

.wrap { width: var(--hero-w); margin-inline: auto; } /* one content width on every page, shared with the hero drawing */

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--paper); color: var(--navy); font-weight: 600; padding: 10px 16px; border-radius: 10px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -10px rgb(11 34 87 / 0.35);
}
.skip:focus { top: 10px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------------- header */

.utility { color: var(--muted); font-size: var(--step--1); }
.utility .wrap { display: flex; gap: 24px; justify-content: flex-end; padding-block: 8px 6px; flex-wrap: wrap; }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--navy); text-decoration: underline; }

/* Floating header card in the same frame as the hero drawing; stays pinned just below the top edge. */
.site-header { position: sticky; top: 10px; z-index: 20; }
.site-header .wrap {
  display: flex; align-items: center; gap: 24px; min-height: 72px;
  padding-inline: clamp(14px, 2vw, 24px);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.3);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 48px; width: auto; }
.brand-name { white-space: nowrap; font-family: var(--font-sign); font-stretch: 87.5%; font-weight: 700; font-size: 1.45rem; line-height: 1; }
.brand-name small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-top: 4px; font-stretch: 100%; }

.iso-mini { width: 54px; height: 54px; flex: none; }

.nav-toggle { /* navy button in the hero style: rounded, soft shadow, lifts on hover */
  display: none; align-items: center; gap: 8px;
  font: 600 var(--step--1) var(--font-body);
  background: var(--navy); color: #fff;
  border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgb(11 34 87 / 0.55);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s;
}
.nav-toggle::before { /* three-line menu icon */
  content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.nav-toggle:hover, .nav-toggle:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgb(11 34 87 / 0.6); }
.nav-toggle[aria-expanded="true"] { background: var(--navy-deep); }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a, .nav summary {
  display: block; white-space: nowrap; padding: 9px 13px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer;
}
.nav a:hover, .nav summary:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"], .nav .is-current > summary { color: var(--navy); background: #E3ECF9; font-weight: 600; }

.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; margin-left: 8px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.nav details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav details ul { /* dropdown card in the same frame as the hero drawing */
  list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px;
  position: absolute; top: calc(100% + 26px); left: 0; min-width: 230px; /* floats just below the header card */
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.28);
  animation: drop-in .16s ease-out;
}
.nav details ul a { border-radius: 10px; padding: 10px 14px; }
.nav details ul a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -6px rgb(11 34 87 / 0.5); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.nav details ul::before { /* invisible bridge over the gap, so hovering down into the dropdown keeps it open */
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 28px;
}

/* ---------------------------------------------------------------- sign plates (blue Omani highway-sign motif) */

.plate {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: var(--plate-radius);
  padding: 5px;
}
.plate > span {
  display: block;
  border: 2px solid #fff;
  border-radius: calc(var(--plate-radius) - 5px); /* concentric with the plate edge (5px padding) */
  padding: 0.35em 0.75em;
  font-family: var(--font-sign);
  font-stretch: 87.5%;
  font-weight: 600;
  line-height: 1.15;
}

/* ---------------------------------------------------------------- home hero */

.hero { padding-top: clamp(14px, 2.2vw, 26px); }
.hero-intro { /* centred headline and description, framing the drawing below */
  text-align: center; margin-bottom: clamp(14px, 1.7vw, 24px);
}
.hero-copy h1 {
  position: relative; padding-top: 13px;
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1;
  color: var(--navy-deep); margin: 0 auto 0.35em; text-wrap: balance;
}
.hero-copy h1::before { /* short sky-blue accent bar, as on the values cards and footer headings */
  content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 4px; margin-left: -20px;
  border-radius: 4px; background: var(--sky);
}
.hero-copy p { margin: 0 auto; max-width: 64ch; font-size: var(--step-0); line-height: 1.6; color: var(--muted); text-wrap: balance; }

.button { /* navy button in the hero style: rounded, soft shadow, lifts on hover */
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font: 600 var(--step-0) var(--font-body); text-decoration: none; cursor: pointer;
  border: 0; background: var(--navy); color: #fff;
  box-shadow: 0 8px 18px -8px rgb(11 34 87 / 0.55);
  transition: transform .18s ease, background-color .18s, box-shadow .18s;
}
.button:hover, .button:focus-visible {
  background: var(--navy-deep); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgb(11 34 87 / 0.6);
}

/* Full content width. The drawing is framed at 1600x560, so at the 1280px maximum it is 448px tall. */
.section-drawing {
  position: relative; container-type: inline-size; margin-inline: auto;
  width: var(--hero-w);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.28);
}
.section-drawing img { width: 100%; aspect-ratio: 1600 / 560; object-fit: cover; }
.section-drawing::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}

.callout {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  transform: translateX(-50%);
  text-decoration: none; font-size: clamp(0.72rem, 0.35rem + 0.8cqw, 1rem);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .18s ease;
}
.callout .plate { --plate-radius: 9px; box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -10px rgb(11 34 87 / 0.45); transition: background-color .18s; white-space: nowrap; }
.callout::after { content: ""; width: 3px; height: calc(var(--pole) * 0.35cqw); background: #51607A; border-radius: 2px; }
.callout.below { flex-direction: column-reverse; }
.callout:hover, .callout:focus-visible { transform: translate(-50%, -3px); }
.callout:hover .plate, .callout:focus-visible .plate { background: var(--royal); }
.callout:focus-visible { outline: none; }
.callout:focus-visible .plate { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(48px, 8vw, 96px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head h2 { font-size: var(--step-2); color: var(--navy); }
.hero + .section { padding-top: clamp(56px, 7vw, 88px); } /* clear break between the drawing and Business Divisions */
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

.divisions { /* four division cards: 4 across on desktop, 2x2 on tablets, 1 per row on phones */
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.division { /* white card in the same frame as the hero drawing */
  display: flex; flex-direction: column; padding: 8px 8px 20px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.division:hover, .division:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 22px 44px -16px rgb(11 34 87 / 0.36);
}
.division > a { display: block; border-radius: 10px; overflow: hidden; }
.division img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.division > div { display: flex; flex-direction: column; flex: 1; padding: 16px 12px 0; }
.division h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.division h3 a { text-decoration: none; }
.division h3 a:hover { text-decoration: underline; }
.division p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.division .more { margin-top: auto; font-weight: 600; font-size: var(--step--1); }
@media (max-width: 1080px) { .divisions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .divisions { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- galleries */

.gallery { list-style: none; margin: 0 0 2em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.gallery.wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; } /* same spacing as the division cards */
.gallery.compact figcaption { font-size: 0.82rem; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 12px 6px 4px; }
.gallery li { display: flex; }
.gallery figure { margin: 0; flex: 1; }

.gallery button { /* same frame as the hero drawing, scaled to thumbnail size */
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--line);
  border-radius: 12px; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -12px rgb(11 34 87 / 0.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery button::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.gallery button:hover, .gallery button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 34px -12px rgb(11 34 87 / 0.38);
}

/* Every gallery (division pages and homepage Recent Projects): an inset photo in a white card, caption inside */
.gallery figure {
  display: flex; flex-direction: column; padding: 8px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 14px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -12px rgb(11 34 87 / 0.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery figure:hover, .gallery figure:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 34px -12px rgb(11 34 87 / 0.38);
}
.gallery figure button,
.gallery figure button:hover,
.gallery figure button:focus-visible { border-radius: 8px; box-shadow: none; transform: none; }
.gallery figure button::after { box-shadow: none; }
.gallery figure figcaption { padding: 10px 4px 2px; }
.gallery.compact figure { padding: 8px; border-radius: 16px; } /* same frame as the division cards */
.gallery.compact figure button { border-radius: 10px; }
@media (min-width: 900px) { .gallery.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); } } /* 12 projects = two even rows */
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: var(--step--1); font-weight: 600; color: var(--navy); padding: 10px 12px 12px; line-height: 1.35; }
.gallery .tag { /* division label as a small light-blue pill, like the menu's current-page marker */
  display: inline-block; margin-top: auto; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; color: var(--navy); background: #E3ECF9; text-decoration: none;
  transition: background-color .18s, color .18s;
}
.gallery .tag:hover { background: var(--navy); color: #fff; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); overflow: visible; }
.lightbox[open] { animation: drop-in .18s ease-out; }
.lightbox::backdrop { background: rgb(8 20 50 / 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox figure { /* white card in the same frame as the hero drawing */
  margin: 0; padding: 10px; background: var(--paper); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 30px 60px -20px rgb(0 0 0 / 0.55);
}
.lightbox img { width: auto; max-width: 100%; max-height: 76vh; margin-inline: auto; border-radius: 10px; background: var(--line); min-width: min(88vw, 640px); object-fit: contain; }
.lightbox figcaption { color: var(--navy); font-weight: 600; text-align: center; padding: 12px 8px 4px; }
.lightbox figcaption:empty { display: none; }
.lightbox .close { /* white button in the hero style */
  position: absolute; top: 20px; right: 20px; z-index: 1;
  background: var(--paper); color: var(--navy); border: 0; border-radius: 10px;
  font: 600 var(--step--1) var(--font-body); padding: 9px 14px; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgb(0 0 0 / 0.45);
  transition: transform .18s ease, box-shadow .18s;
}
.lightbox .close:hover, .lightbox .close:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgb(0 0 0 / 0.5); }

/* ---------------------------------------------------------------- inner pages */

.page-head { padding-top: clamp(16px, 3vw, 32px); }
.page-head .banner-frame { /* same frame as the homepage drawing */
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.28);
}
.page-head .banner-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.page-head .banner { width: 100%; height: clamp(84px, 8.5vw, 120px); object-fit: cover; object-position: 50% 72%; } /* keep the ground-level detail in view */
.page-head h1 { position: relative; margin: -26px 0 0 clamp(14px, 2.5vw, 28px); font-size: clamp(1.2rem, 0.95rem + 1.1vw, 1.8rem); }
.page-head .plate { box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.45); max-width: calc(100% - 28px); }
.page-head .plate > span { padding: 0.3em 0.7em; }

.crumbs { font-size: 0.78rem; color: var(--muted); padding: 12px 0 0; }
.crumbs ol { /* small bar in the same frame as the hero drawing */
  list-style: none; margin: 0; padding: 5px 12px;
  display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 10px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 10px 22px -14px rgb(11 34 87 / 0.28);
}
.crumbs li + li::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 1px 2px;
  border: solid #9AA6BD; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); /* chevron */
}
.crumbs a { color: var(--navy); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: clamp(36px, 6vw, 72px); align-items: start; }
.prose { max-width: 70ch; overflow-wrap: anywhere; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--sky); }
.prose .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }

.cols { columns: 2 220px; column-gap: 32px; }
.cols li { break-inside: avoid; }

/* Fibre Optics lists, all in the same frame as the hero drawing */
.steps { /* numbered stages of the project cycle */
  list-style: none; padding: 0 !important; margin: 0 0 1.4em; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px;
}
.steps li {
  counter-increment: step; position: relative; margin: 0;
  padding: 16px 18px 16px 60px; min-height: 64px; display: flex; align-items: center;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 12px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -14px rgb(11 34 87 / 0.28);
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  font-family: var(--font-sign); font-weight: 700; color: #fff; background: var(--navy);
  border-radius: 8px; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3.5px #fff; /* mini sign plate */
}
.card-list {
  list-style: none; padding: 6px 22px !important; margin: 0 0 1.4em;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.card-list li { position: relative; margin: 0; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); }
.card-list li:last-child { border-bottom: 0; }
.card-list li::before {
  content: ""; position: absolute; left: 2px; top: calc(11px + 0.8em - 4px); /* beside the first line */
  width: 8px; height: 8px; border-radius: 3px; background: var(--navy);
}
.chips {
  list-style: none; padding: 0 !important; margin: 0 0 1.4em;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px;
}
.chips li {
  margin: 0; padding: 11px 14px; line-height: 1.35; font-size: var(--step--1); font-weight: 600; color: var(--navy);
  display: flex; align-items: center;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 12px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 10px 22px -14px rgb(11 34 87 / 0.28);
}
.policy-card { /* one card per policy section, in the same frame as the hero drawing */
  margin: 0 0 16px; padding: 22px 26px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.prose .policy-card h2 { margin: 0 0 0.5em; font-size: var(--step-1); color: var(--navy); }
.policy-card > :last-child { margin-bottom: 0; }
.policy-card li::marker { color: var(--navy); }
.prose > .lead + .policy-card { margin-top: 1.6em; }
.prose .gallery { padding-left: 0; } /* galleries line up with the text, not indented like lists */
.clients { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.clients li { /* card in the same frame as the hero drawing, with a navy accent bar */
  position: relative; margin: 0; padding: 14px 18px 14px 30px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 12px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -14px rgb(11 34 87 / 0.28);
}
.clients li::before {
  content: ""; position: absolute; left: 12px; top: 12px; bottom: 12px;
  width: 4px; border-radius: 4px; background: var(--navy);
}

.spec { /* card in the same frame as the hero drawing */
  border-collapse: separate; border-spacing: 0; margin: 0 0 1.4em; min-width: 300px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.spec th, .spec td { padding: 12px 22px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { text-align: left; font-weight: 600; color: var(--navy); background: #EEF3FB; }
.spec td { text-align: right; font-variant-numeric: tabular-nums; }
.sizes { /* size tiles in the same frame as the hero drawing */
  list-style: none; padding: 0 !important; margin: 0 0 1.2em;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.sizes li {
  margin: 0; padding: 14px 16px; text-align: center;
  font-family: var(--font-sign); font-stretch: 87.5%; font-weight: 600; font-size: var(--step-1);
  color: var(--navy); font-variant-numeric: tabular-nums;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 12px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 12px 26px -14px rgb(11 34 87 / 0.28);
}

.values { columns: 2 240px; column-gap: 18px; margin: 0 0 1.5em; } /* balanced columns: each card only as tall as its text */
.values div { /* card in the same frame as the hero drawing, with a navy accent bar */
  position: relative; padding: 30px 22px 22px; margin-bottom: 18px; break-inside: avoid;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.values div::before {
  content: ""; position: absolute; left: 22px; top: 18px;
  width: 36px; height: 4px; border-radius: 4px; background: var(--navy);
}
.values dt { font-family: var(--font-sign); font-stretch: 87.5%; font-weight: 600; font-size: var(--step-1); margin-bottom: 6px; }
.values dd { margin: 0; color: var(--muted); }

.statement { /* same frame as the hero drawing */
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  padding: 22px 26px; margin: 0 0 1.2em;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.statement h3 { margin: 0 0 0.3em; font-size: var(--step-1); color: var(--navy); }
.statement p { margin: 0; }

.it-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 36px; margin-top: 1em; }
.it-services h2 { font-size: var(--step-1); margin: 0 0 0.35em; }
.it-services p { color: var(--muted); margin: 0; }

.aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.aside-box { /* same frame as the hero drawing */
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px; padding: 22px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.22);
}
.aside-box h2 { font-size: var(--step-1); margin-bottom: 12px; }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); transition: background-color .18s; }
.aside-nav a:hover { background: var(--mist); }
.aside-nav a[aria-current="page"] { background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgb(11 34 87 / 0.5); }
.aside-box address { font-style: normal; }
.aside-box .iso { width: 96px; margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-block: clamp(36px, 6vw, 72px); }
.contact-list { /* card in the same frame as the hero drawing, matching the form beside it */
  margin: 0; padding: 6px clamp(20px, 3vw, 28px);
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.22);
}
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-weight: 600; color: var(--navy); font-size: var(--step--1); margin-bottom: 2px; }
.contact-list dd { margin: 0; font-size: var(--step-1); }
.map { /* same frame as the hero drawing */
  position: relative; border-radius: 16px; overflow: hidden; margin-top: 28px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.28);
}
.map::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}

.form { /* same frame as the hero drawing */
  display: grid; gap: 18px; background: var(--paper);
  border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px; padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.22);
}
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .req { color: var(--royal); }
.form input, .form textarea {
  width: 100%; font: inherit; color: inherit; background: var(--mist);
  border: 1px solid #C9D3E5; border-radius: 10px; padding: 12px 14px;
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.form input:hover, .form textarea:hover { border-color: #9FB0CE; }
.form input:focus, .form textarea:focus {
  outline: none; background: var(--paper); border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(10 132 208 / 0.22);
}
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: var(--step--1); color: var(--muted); margin: 0; }
.form .error { color: #A1301F; font-size: var(--step--1); margin: 6px 0 0; }
.form .button { justify-self: start; }

.sitemap-grid { /* balanced: two equal-height cards, then Company across the full width */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.sitemap-card {
  padding: 20px 22px;
  background: var(--paper); border: 1px solid rgb(11 34 87 / 0.08); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -16px rgb(11 34 87 / 0.25);
}
.sitemap-card.wide { grid-column: 1 / -1; }
.prose .sitemap-card h2 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: var(--step-1); }
.sitemap-card ul { list-style: none; padding: 0 !important; margin: 0; }
.sitemap-card li { position: relative; margin: 0; padding: 7px 0 7px 18px; }
.sitemap-card li::before {
  content: ""; position: absolute; left: 1px; top: calc(7px + 0.8em - 4px);
  width: 8px; height: 8px; border-radius: 3px; background: var(--navy);
}
.sitemap-main li { font-family: var(--font-sign); font-stretch: 87.5%; font-weight: 600; font-size: var(--step-1); }
.sitemap-main li::before { top: calc(7px + 0.7em - 4px); }
.sitemap-main a { text-decoration: none; }
.sitemap-main a:hover { text-decoration: underline; }
.sitemap-card ul.inline { display: flex; flex-wrap: wrap; gap: 0 28px; }
@media (max-width: 560px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */

.site-footer { color: #C5D3EC; font-size: var(--step--1); padding-block: clamp(24px, 4vw, 48px); }
.footer-card { /* navy card in the same frame as the hero drawing */
  position: relative; background: var(--navy-deep); border-radius: 16px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px) 0;
  box-shadow: 0 1px 2px rgb(11 34 87 / 0.08), 0 18px 40px -12px rgb(11 34 87 / 0.35);
}
.footer-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.site-footer h2 { /* signage font with a short sky-blue accent bar, like the values cards */
  font-size: var(--step-1); color: #fff; margin-bottom: 14px; padding-top: 14px; position: relative;
}
.site-footer h2::before {
  content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 4px; border-radius: 4px; background: var(--sky);
}
.site-footer ul { list-style: none; margin: 0 0 0 -10px; padding: 0; display: grid; gap: 2px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul a { display: inline-block; padding: 5px 10px; border-radius: 8px; transition: background-color .18s, color .18s; }
.site-footer ul a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address a:hover { color: var(--sky-soft); text-decoration: underline; }
.site-footer .label { color: var(--sky-soft); }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #fff; font-family: var(--font-sign); font-stretch: 87.5%; font-weight: 600; font-size: 1.2rem; }
.footer-brand img { width: 40px; height: 40px; }
.legal { border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.legal p { margin: 0; }
.legal ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.legal ul a { /* small rounded pills, like the Recent Projects tags */
  padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-size: 0.8rem; font-weight: 600;
}
.legal ul a:hover { background: var(--paper); color: var(--navy); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .layout, .contact-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .iso-mini { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { width: 100%; padding-bottom: 12px; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav details ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav details ul::before { display: none; }
}

@media (max-width: 860px) {
  .callout { display: none; }
}

@media (max-width: 560px) {
  .section-drawing img { aspect-ratio: 2 / 1; object-position: 52% 50%; } /* taller crop on phones */
  .section-drawing, .page-head .banner-frame, .footer-card, .site-header .wrap { border-radius: 12px; }
  .brand img { height: 38px; }
  .crumbs li[aria-current] { display: none; } /* repeats the page title right above it */
  .site-header .wrap { gap: 12px; min-height: 64px; padding-block: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
  .utility .wrap { justify-content: flex-start; gap: 4px 16px; }
}

@media (max-width: 360px) {
  .brand img { height: 30px; }
  .nav-toggle { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .utility, .site-header, .site-footer, .aside, .page-head .banner-frame { display: none; }
  .page-head .plate { background: none; color: #000; box-shadow: none; }
}
