/* APMS Interiors — frosted glass over soft brand-blue light.
   Layout: full-width bands, content padded by a fluid gutter; cards on auto-fit grids. */

:root {
  --bg: #EEF5FC;
  --ink: #0A1B2C;
  --muted: #46586B;
  --brand: #0072BC;          /* APMS logo blue */
  --brand-strong: #005A96;
  --brand-soft: rgba(0, 114, 188, .09);
  --brand-line: rgba(0, 114, 188, .22);
  --on-brand: #FFFFFF;
  --glass: rgba(255, 255, 255, .66);
  --glass-2: rgba(255, 255, 255, .38);
  --glass-edge: rgba(255, 255, 255, .9);
  --line: rgba(10, 27, 44, .1);
  --shadow: rgba(0, 72, 128, .22);
  --orb-1: #7DB9EA;
  --orb-2: #A9D3F4;
  --orb-3: #C8C3F2;
  --ok: #15803D;
  --ok-soft: rgba(21, 128, 61, .12);
  --field: rgba(255, 255, 255, .7);

  --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.75rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.3rem, 5.4vw, 4.2rem);

  --radius: 22px;
  --radius-lg: 30px;
  --gutter: clamp(0px, 3.5vw, 64px);
  --section-gap: clamp(56px, 7vw, 96px);  /* space between sections */
  --head-gap: clamp(20px, 2.4vw, 32px);   /* section heading to its content */
  --card-gap: clamp(14px, 1.6vw, 20px);   /* between cards and blocks */
  color-scheme: light;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--step-4); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: var(--step-3); font-weight: 700; line-height: 1.1; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
p { margin: 0; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; display: block; }
ul { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }

/* ---------- Backdrop light ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.orb-1 { width: 46vw; height: 46vw; top: -14vw; left: -10vw; background: var(--orb-1); opacity: .7; }
.orb-2 { width: 40vw; height: 40vw; top: 18vh; right: -12vw; background: var(--orb-2); opacity: .8; }
.orb-3 { width: 38vw; height: 38vw; bottom: -14vw; left: 30vw; background: var(--orb-3); opacity: .55; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(155deg, var(--glass), var(--glass-2));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 24px 60px -30px var(--shadow);
  border-radius: var(--radius);
}
.lift { transition: transform .25s ease, border-color .25s ease; }
.lift:hover { transform: translateY(-3px); border-color: var(--brand-line); }

/* ---------- Layout ---------- */
.band { padding-inline: var(--gutter); padding-block: var(--section-gap) 0; }
main > .band:last-child { padding-bottom: var(--section-gap); }
.band-tight { }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: var(--head-gap); }
.head-row > * { min-width: 0; }
.head-center { text-align: center; margin-bottom: var(--head-gap); display: grid; justify-items: center; gap: 12px; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.lead { color: var(--muted); font-size: var(--step-1); max-width: 58ch; }
.sub { color: var(--muted); max-width: 52ch; }
.stack { display: grid; gap: 12px; align-content: start; }

.grid { display: grid; gap: var(--card-gap); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid > * { min-width: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-inline: calc(var(--gutter) * .6); padding-top: 12px; }
.site-header .nav { margin-top: 0; }
.nav { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 999px; position: relative; }
.brand { display: flex; align-items: center; flex: none; }
.logo-chip { background: #FFFFFF; border-radius: 999px; padding: 6px 14px; display: flex; align-items: center; }
.logo-chip img { height: 42px; width: auto; }
.brand-name { display: none; }
.nav-links { display: flex; gap: 2px; flex: 1 1 auto; justify-content: center; min-width: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: var(--step--1); font-weight: 500; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--brand-soft); }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--field); color: var(--ink); cursor: pointer; place-items: center; }

@media (max-width: 1240px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius);
    background: linear-gradient(155deg, var(--glass), var(--glass-2)), var(--bg);
    border: 1px solid var(--glass-edge);
    box-shadow: 0 24px 60px -24px var(--shadow);
  }
  .nav-links:not(.open) { display: none; }
  .nav-links a { padding: 12px 14px; font-size: var(--step-0); }
}
@media (max-width: 480px) {
  .logo-chip img { height: 26px; }
  .nav-actions .btn { padding-inline: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 78%, #FFFFFF), var(--brand));
  color: var(--on-brand);
  box-shadow: 0 10px 28px -10px var(--brand);
}
.btn-primary:hover { color: var(--on-brand); filter: brightness(1.06); }
.btn-ghost { background: var(--brand-soft); color: var(--ink); border: 1px solid var(--brand-line); }
.btn-ghost:hover { color: var(--ink); background: color-mix(in srgb, var(--brand) 16%, transparent); }
.btn-block { width: 100%; }

/* ---------- Chips & pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: var(--step--1); font-weight: 600; color: var(--brand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); }
.chip-lg { font-size: var(--step--1); padding: 9px 16px; border: 1px solid var(--brand-line); }
.badge { flex: none; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.badge-solid { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.badge-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 64px) 0; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.accent-text { color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 10px; }
.fact { display: grid; }
.fact b { font: 700 1.6rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.fact span { font-size: var(--step--1); color: var(--muted); }
.fact-sep { width: 1px; align-self: stretch; background: var(--line); }

.hero-art { position: relative; min-width: 0; padding-bottom: 28px; }
.spec { padding: 18px; border-radius: var(--radius-lg); display: grid; gap: 14px; }
.spec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.spec-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec img { border-radius: 18px; width: 100%; }
.float-card { position: absolute; left: clamp(-8px, -1vw, 0px); bottom: 0; padding: 12px 16px; border-radius: 18px; display: flex; gap: 12px; align-items: center; }
.float-card strong { display: block; font-size: var(--step--1); }
.float-card span { font-size: 12.5px; color: var(--muted); }
.icon-tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.icon-tile.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- Spaces ---------- */
.space { margin: 0; padding: 12px; border-radius: var(--radius-lg); display: grid; gap: 4px; }
.space img { border-radius: 20px; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.space figcaption { padding: 14px 8px 6px; display: grid; gap: 10px; }
.space h3 { font-size: var(--step-1); }

/* ---------- Cards ---------- */
.card { padding: 26px; display: grid; gap: 10px; align-content: start; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card .icon-tile { margin-bottom: 6px; }
.card-lg { padding: clamp(24px, 3vw, 36px); gap: 14px; }
.list { padding-left: 18px; display: grid; gap: 8px; }
.points { display: grid; gap: 16px; }
.point { display: flex; gap: 14px; }
.point-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; }
.point p { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font: 800 2.4rem/1 var(--font-display); color: var(--brand); opacity: .9; margin-bottom: 8px; }
.step:nth-child(n+5)::before { color: var(--brand-strong); }

.timeline { padding: 26px; margin-top: var(--card-gap); display: grid; gap: 16px; }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.timeline-head span, .note { font-size: var(--step--1); color: var(--muted); }
.stage { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--brand-line); background: var(--brand-soft); display: grid; gap: 2px; text-align: center; justify-items: center; }
.stage small { font-size: 1rem; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.stage strong { font-weight: 600; }
.stage-2 { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.stage-3 { background: color-mix(in srgb, var(--brand) 26%, transparent); }

/* ---------- Roles ---------- */
.role-tag { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: var(--on-brand); }
.role-tag.alt { background: var(--ink); color: var(--bg); }
.role-tag.soft { background: var(--brand-soft); color: var(--brand); }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; max-width: 100%; }
.tabs-plain { background: var(--brand-soft); border: 1px solid var(--line); }
.tabs-fill { display: flex; }
.tabs-fill .tab { flex: 1 1 0; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 500 var(--step--1) var(--font-body); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); font-weight: 600; box-shadow: 0 6px 18px -8px var(--brand); }

/* ---------- Vendors ---------- */
.feature { padding: clamp(24px, 3vw, 34px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.feature > div { flex: 1 1 320px; min-width: 0; display: grid; gap: 8px; }
.feature p { color: var(--muted); }
.mark { flex: none; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; font: 800 2.4rem var(--font-display); color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.figure { padding: 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--line); display: grid; }
.figure b { font: 700 1.35rem/1.25 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.figure span { font-size: 13px; color: var(--muted); }
.empty { margin-top: var(--card-gap); padding: 36px 24px; border-radius: var(--radius); border: 1.5px dashed var(--brand-line); text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty p { color: var(--muted); max-width: 60ch; }

/* ---------- Catalogue ---------- */
.panel-lg { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); }
.spec-tile { padding: 20px; border-radius: 18px; background: var(--brand-soft); border: 1px solid var(--line); display: grid; gap: 4px; }
.spec-tile strong { font-weight: 600; }
.spec-tile span { color: var(--muted); font-size: 15px; }
.panel-lg .note { margin-top: 20px; }

/* ---------- Projects ---------- */
.skyline { overflow: hidden; padding: 0; border-radius: var(--radius-lg); margin-bottom: var(--head-gap); }
.skyline img { width: 100%; height: clamp(110px, 14vw, 180px); object-fit: cover; object-position: bottom; }
.project { padding: 26px; display: grid; gap: 14px; }
.project-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.project-head h3 { font-size: var(--step-2); }
.place { display: flex; gap: 6px; align-items: center; font-size: var(--step--1); color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { font-size: 13.5px; padding: 6px 12px; border-radius: 10px; background: var(--brand-soft); font-variant-numeric: tabular-nums; }

/* ---------- Downloads ---------- */
.downloads { padding: 8px 24px; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dl:last-child { border-bottom: 0; }
.dl strong { display: block; font-weight: 600; }
.dl span { font-size: var(--step--1); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { width: 100%; }
.faq { padding: 8px clamp(18px, 3vw, 30px); }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 6px 0 4px; max-width: 110ch; }

/* ---------- Forms ---------- */
.portal { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); align-items: center; gap: 40px; }
.form-shell { padding: 22px; border-radius: var(--radius); background: var(--glass-2); border: 1px solid var(--line); display: grid; gap: 18px; }
.form { display: grid; gap: 14px; }
.field-label { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; }
.field { font: inherit; font-size: 15px; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--brand-line); background: var(--field); color: var(--ink); width: 100%; }
textarea.field { padding: 12px 16px; min-height: 104px; resize: vertical; }
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.status { min-height: 1.4em; font-size: var(--step--1); color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 12px; max-width: 520px; margin-top: var(--head-gap); }
.contact-item { padding: 14px 14px 14px 18px; border-radius: 18px; display: flex; align-items: center; gap: 14px; }
.contact-item > div { flex: 1 1 auto; min-width: 0; }
.contact-item small { display: block; font-size: 13px; color: var(--muted); }
.contact-item a { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.copy-btn { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.copy-btn:hover { color: var(--brand); }
.copy-btn.done { color: var(--ok); }

/* ---------- Footer ---------- */
.site-footer { padding-inline: var(--gutter); padding-block: var(--section-gap) 24px; }
.footer-inner { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); font-size: var(--step--1); color: var(--muted); }
.footer-inner p { max-width: 62ch; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand .logo-chip img { height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift, .faq summary::after { transition: none; }
}

.spaced { margin-top: var(--card-gap); }

/* ---------- Top bar (from the APMS dashboard header) ---------- */
.topbar { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: var(--brand); color: var(--on-brand); font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 8px; padding-inline: max(16px, calc(var(--gutter) * .6 + 16px)); }
.topbar-tag { font-weight: 600; letter-spacing: .04em; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.topbar a { color: var(--on-brand); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.topbar a:hover { color: var(--on-brand); text-decoration: underline; }
.topbar-login { padding: 2px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--on-brand) 55%, transparent); }
@media (max-width: 560px) { .topbar-tag { display: none; } }

/* ---------- About APMS band ---------- */
.apms-band { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: center; }
.apms-intro { display: grid; gap: 14px; min-width: 0; }
.promise { display: flex; flex-wrap: wrap; gap: 8px; }
.service-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.service-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.service-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- Office and departments ---------- */
.office { margin-top: 12px; max-width: 520px; padding: 20px; border-radius: 20px; display: grid; gap: 12px; }
.office-head { display: flex; align-items: center; gap: 14px; }
.office-head small { display: block; font-size: 13px; color: var(--muted); }
.office address { font-style: normal; color: var(--ink); line-height: 1.55; }
.office-phones { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.office-phones a { font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.office-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.depts { margin: 8px 0 0; max-width: 520px; display: grid; gap: 8px; }
.depts div { display: grid; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.depts dt { font-size: 13px; color: var(--muted); }
.depts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; user-select: all; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }

/* ---------- Footer columns ---------- */
.footer-inner { display: grid; gap: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.footer-col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.footer-col h3 { font-size: var(--step-0); color: var(--ink); margin-bottom: 4px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--brand); }
.footer-about { grid-column: span 2; gap: 14px; }
.footer-about .logo-chip { justify-self: start; }
.footer-about p { max-width: 46ch; }
@media (max-width: 640px) { .footer-about { grid-column: auto; } }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.socials a:hover { background: var(--brand); color: var(--on-brand); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

.align-start { align-items: start; }

/* Signed in: Dashboard + Sign out fit beside the menu button on phones */
@media (max-width: 480px) {
  .nav-actions .btn-sm { min-height: 38px; padding-inline: 11px; font-size: 13px; }
  .nav-actions { gap: 5px; }
}
.nav-links .nav-signout { display: none; }
@media (max-width: 380px) {
  .nav-actions .btn-signout { display: none; }
  .nav-links.open .nav-signout { display: block; }   /* very small phones: Sign out moves into the menu */
}

/* Contact form messages */
.field-err { color: #c62828; font-size: 12.5px; font-weight: 500; min-height: 0; }
.field-err:empty { display: none; }
.field.is-bad { border-color: #e57373; }
.status.ok { color: #1b7f3b; font-weight: 600; }
.status.bad { color: #c62828; font-weight: 600; }
.field-label[hidden] { display: none; }

/* Project logo (Settings → Website – Projects) */
.project-logo { display: block; height: 48px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 14px; }

/* Photo sections (Settings → Website – Photo Sections) */
.ph-head { display: grid; gap: 12px; margin-bottom: var(--head-gap); }
.ph-head .sub { max-width: 72ch; }
.ph-left { text-align: left; }
.ph-center { text-align: center; justify-items: center; }
.ph-right { text-align: right; justify-items: end; }
.ph-justify .sub { text-align: justify; max-width: none; }
.ph-cols-1 { grid-template-columns: 1fr; }
.ph-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ph-cols-3, .ph-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ph-cols-2, .ph-cols-3, .ph-cols-4 { grid-template-columns: 1fr; } }
/* Photo sections: N per row, a short last row is centred (e.g. 3 per row + 4 photos → 3 + 1 in the middle) */
.ph-flow { --g: var(--card-gap); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.ph-flow > * { min-width: 0; flex: 0 0 calc((100% - (var(--ph-cols) - 1) * var(--g)) / var(--ph-cols)); }
@media (max-width: 1024px) { .ph-flow { --ph-cols: 2 !important; } .ph-flow[style*="--ph-cols: 1"] { --ph-cols: 1 !important; } }
@media (max-width: 600px) { .ph-flow { --ph-cols: 1 !important; } }
.ph-flow[style*="--ph-cols: 1"] .space-img { aspect-ratio: 21 / 9; }
.space-img { border-radius: 20px; overflow: hidden; aspect-ratio: 10 / 7; }
.space .space-img img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; display: block; }
.ph-cols-1 .space-img { aspect-ratio: 21 / 9; }

/* Information sections (Settings → Website – Information Sections) */
.info-label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.steps.ph-cols-1, .steps.ph-cols-2, .steps.ph-cols-3, .steps.ph-cols-4 { list-style: none; padding: 0; }

/* Guides & Repository (Settings → Website-Guides) */
.gd-head { max-width: 760px; margin-bottom: 22px; }
.gd-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.gd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-pill { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--brand-line); background: var(--field, #fff); color: var(--ink); font: 500 var(--step--1) var(--font-body); cursor: pointer; }
.gd-pill span { color: var(--muted); margin-left: 4px; }
.gd-pill.on { background: var(--brand); color: var(--on-brand); border-color: transparent; font-weight: 600; box-shadow: 0 6px 18px -8px var(--brand); }
.gd-pill.on span { color: inherit; opacity: .8; }
.gd-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-for { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--brand-line); background: var(--field, #fff); font-size: var(--step--1); color: var(--muted); }
.gd-for select { border: 0; background: transparent; font: 600 var(--step--1) var(--font-body); color: var(--ink); cursor: pointer; }
.gd-search { min-height: 44px; border-radius: 999px; width: 280px; max-width: 100%; }
.gd-list { padding: 6px 26px; }
.gd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gd-row:last-of-type { border-bottom: 0; }
.gd-ic { width: 52px; height: 52px; border-radius: 13px; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; letter-spacing: .02em; }
.gd-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.gd-txt strong { font-weight: 600; font-size: 17px; }
.gd-txt > span { color: var(--muted); font-size: 15px; }
.gd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gd-tag { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.gd-tag-soft { font-weight: 500; color: var(--muted); background: rgba(10, 27, 44, .05); }
.gd-act { display: flex; align-items: center; gap: 14px; flex: none; }
.gd-act small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.gd-empty { text-align: center; color: var(--muted); padding: 22px 0; margin: 0; }
.gd-vids-wrap { margin-top: 30px; }
.gd-vh { margin-bottom: 14px; }
.gd-vid { padding: 0; border: 0; text-align: left; cursor: pointer; overflow: hidden; display: grid; font: inherit; color: inherit; border-radius: 22px; }
.gd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #12304f, #1d5a8a); overflow: hidden; }
.gd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.gd-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.gd-vid:hover .gd-play { background: #e62117; }
.gd-thumb em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .7); padding: 3px 8px; border-radius: 6px; }
.gd-vt { display: grid; gap: 4px; padding: 16px 18px 18px; }
.gd-vt strong { font-weight: 600; }
.gd-vt small { color: var(--muted); font-size: 14px; }
.gd-dlg { width: min(960px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.gd-dlg::backdrop { background: rgba(5, 15, 30, .75); }
.gd-frame { aspect-ratio: 16 / 9; } .gd-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; display: block; }
.gd-x { position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 700px) {
  .gd-list { padding: 4px 16px; }
  .gd-row { flex-wrap: wrap; gap: 12px; }
  .gd-txt { flex-basis: calc(100% - 64px); }
  .gd-act { width: 100%; justify-content: flex-end; }
  .gd-search { width: 100%; } .gd-tools { width: 100%; }
}

/* Projects: picture slider per tab + sliding project cards */
.pj-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); }
.pj-panel .skyline { margin-bottom: 0; }
.pj-slider { position: relative; padding: 0; overflow: hidden; border-radius: var(--radius-lg); }
.pj-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pj-track::-webkit-scrollbar, .pj-cards::-webkit-scrollbar { display: none; }
.pj-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; aspect-ratio: 16 / 6; min-height: 220px; overflow: hidden; }
.pj-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(5, 20, 40, .65)); }
.pj-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -10px rgba(10, 27, 44, .5); display: grid; place-items: center; cursor: pointer; }
.pj-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pj-arrow:hover { background: #fff; } .pj-arrow:hover svg { stroke: var(--brand); }
.pj-arrow:disabled { opacity: .35; cursor: default; }
.pj-arrow[hidden] { display: none; }
.pj-arrow.prev { left: 14px; } .pj-arrow.next { right: 14px; }
.pj-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.pj-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .2s; }
.pj-dots button[aria-current="true"] { width: 26px; background: #fff; }
.pj-car { position: relative; }
.pj-cards { --per: 4; display: flex; gap: var(--card-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px -14px; }
.pj-cards > .project { flex: 0 0 calc((100% - (var(--per) - 1) * var(--card-gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }
.pj-car .pj-arrow.prev { left: -18px; } .pj-car .pj-arrow.next { right: -18px; }
@media (max-width: 1200px) { .pj-cards { --per: 3; } }
@media (max-width: 900px) { .pj-cards { --per: 2; } }
@media (max-width: 600px) { .pj-cards { --per: 1.15; } .pj-car .pj-arrow { display: none; } .pj-slide { aspect-ratio: 4 / 3; } .pj-arrow { width: 38px; height: 38px; } }

/* a repository with several files: list under its row */
.gd-chev { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.gd-open[aria-expanded="true"] .gd-chev { transform: rotate(-135deg) translateY(-2px); }
.gd-files { flex-basis: 100%; list-style: none; margin: 0 0 0 70px; padding: 6px 14px; border-radius: 14px; background: rgba(10, 27, 44, .035); }
.gd-files li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gd-files li:last-child { border-bottom: 0; }
.gd-fic { width: 34px; height: 34px; border-radius: 9px; color: #fff; font-weight: 700; font-size: 10.5px; display: grid; place-items: center; flex: none; }
.gd-fn { flex: 1; min-width: 0; font-weight: 500; }
.gd-files small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.gd-files .btn { min-height: 36px; padding: 0 16px; }
@media (max-width: 700px) { .gd-files { margin-left: 0; } .gd-files li { flex-wrap: wrap; } .gd-fn { flex-basis: calc(100% - 46px); } }

/* repository with several files: folder icon + file count */
.gd-folder { position: relative; background: linear-gradient(135deg, #ffc93c, #f2a600); }
.gd-folder svg { width: 28px; height: 28px; fill: #fff; }
.gd-folder em { position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font: 700 11.5px/22px var(--font-body); font-style: normal; text-align: center; border: 2px solid #fff; }

/* FAQs: Show more / Show less */
.faq-toggle { display: flex; justify-content: center; padding-top: 18px; }
.faq details:has(+ details[hidden]) { border-bottom: 0; }

/* project card: logo left, status badge right */
.project { grid-template-columns: minmax(0, 1fr); }
.project-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.project-top .project-logo { margin-bottom: 0; flex: 0 1 auto; min-width: 0; object-position: left center; }
.project-top .badge { flex: none; }

/* The Aparna Collective (static, above the footer) */
.collective, main > .collective:last-child { padding-block: clamp(32px, 4vw, 48px) 0; }
.collective-panel { padding: clamp(28px, 4vw, 48px); display: grid; gap: clamp(24px, 3vw, 36px); }
.collective-head { display: grid; gap: 8px; justify-items: center; text-align: center; }
.collective-head h2 { margin: 0; } .collective-head .sub { margin: 0; }
.collective-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--card-gap); }
.cl-tile { margin: 0; height: 140px; padding: 16px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cl-tile:hover { background: var(--brand-soft); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 27, 44, .1); border-color: rgba(0, 114, 188, .3); }
.cl-logo { width: 100%; height: 100%; display: grid; place-items: center; }
.cl-logo img { max-height: 100px; max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.cl-wide .cl-logo img { max-height: 64px; border-radius: 0; }
.cl-main .cl-logo img { max-height: 108px; border-radius: 6px; }   /* Aparna logo: first tile, full size */
@media (max-width: 1024px) { .collective-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .collective-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cl-tile { height: 110px; padding: 12px; } .cl-logo img { max-height: 80px; } .cl-wide .cl-logo img { max-height: 48px; } .cl-main .cl-logo img { max-height: 86px; } }

/* Website-Gallery section shown as a slider: "Pictures per row" cards in view */
.ph-car { position: relative; }
.ph-track { --g: var(--card-gap); display: flex; gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px -14px; }
.ph-track::-webkit-scrollbar { display: none; }
.ph-track > .space { flex: 0 0 calc((100% - (var(--per) - 1) * var(--g)) / var(--per)); scroll-snap-align: start; min-width: 0; }
.ph-car .pj-arrow { top: calc(50% - 30px); }
.ph-car .pj-arrow.prev { left: -18px; } .ph-car .pj-arrow.next { right: -18px; }
.ph-car.fits .ph-track { justify-content: center; }
.ph-car[style*="--per: 1"] .space-img { aspect-ratio: 21 / 9; }
@media (max-width: 1024px) { .ph-car:not([style*="--per: 1"]) { --per: 2 !important; } }
@media (max-width: 600px) { .ph-car { --per: 1.15 !important; } .ph-car .pj-arrow { display: none; } }

/* Empanelled vendors directory (Settings → Website-Vendors) */
.vd { margin-top: 0; }
.vd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: var(--head-gap); }
.vd-head h3 { font-size: var(--step-2); }
.vd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
.vd-card { padding: 22px; display: grid; gap: 14px; align-content: start; grid-template-columns: minmax(0, 1fr); }
.vd-card .btn { justify-self: start; margin-top: auto; }
.vd-top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.vd-top h4 { font-size: var(--step-1); font-weight: 600; margin: 0; }
.vd-top p { margin: 2px 0 0; color: var(--muted); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.vd-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.vd-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.vd-ini { color: #fff; font: 700 20px var(--font-display); border: 0; }
.vd-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-cat { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.vd-cat-A { background: var(--brand); color: var(--on-brand); }
.vd-cat-D { background: #f1ecff; color: #5b3cc4; }
.vd-cat-supporting { background: rgba(10, 27, 44, .06); color: var(--muted); }
.vd-ok { font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.vd-spec { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-spec span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); }
.vd-stat { margin: 0; font-size: 14px; color: var(--muted); } .vd-stat b { color: var(--ink); font-weight: 600; }
.vd-more { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 1024px) { .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vd-grid { grid-template-columns: 1fr; } }

/* ---------- Empanelled vendor: company page ---------- */
.vp-wrap { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 24px 0 var(--section-gap); display: grid; gap: var(--card-gap); }
.vp-back { color: var(--brand); font-weight: 600; font-size: 14px; text-decoration: none; justify-self: start; }
.vp-back:hover { text-decoration: underline; }
.vp-hero { padding: 0; overflow: hidden; }
.vp-banner { height: 120px; background: linear-gradient(120deg, var(--brand) 0%, #3d8de0 55%, #8fc3f4 100%); }
.vp-id { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 22px; padding: 18px 28px 24px; }
.vp-id .vp-logo { margin-top: -66px; } .vp-links { align-self: center; }
.vp-logo { width: 104px; height: 104px; border-radius: 22px; display: grid; place-items: center; flex: none; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(10, 27, 44, .14); }
.vp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.vp-ini { color: #fff; font: 700 36px var(--font-display); }
.vp-title { flex: 1 1 320px; min-width: 0; display: grid; gap: 8px; }
.vp-title h1 { font-size: var(--step-3, 32px); margin: 0; line-height: 1.15; }
.vp-meta { margin: 0; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vp-meta i { font-style: normal; opacity: .5; } .vp-meta svg { margin-right: 4px; vertical-align: -2px; }
.vp-code { font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(10, 27, 44, .06); color: var(--muted); }
.vp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vp-links .btn svg { width: 16px; height: 16px; margin-right: 6px; }
.vp-soc { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--brand); }
.vp-soc svg { width: 18px; height: 18px; } .vp-soc:hover { background: var(--brand-soft); }
.vp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.vp-stats div { padding: 16px 28px; display: grid; gap: 2px; } .vp-stats div + div { border-left: 1px solid var(--line); }
.vp-stats b { font: 700 24px var(--font-display); color: var(--ink); } .vp-stats span { font-size: 13.5px; color: var(--muted); }
.vp-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--card-gap); align-items: start; }
.vp-main, .vp-side { display: grid; gap: var(--card-gap); min-width: 0; }
.vp-card { padding: 24px; display: grid; gap: 14px; align-content: start; }
.vp-card h2 { font-size: var(--step-1); font-weight: 600; margin: 0; display: flex; align-items: center; gap: 10px; }
.vp-card h2 small { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.vp-card h3 { font-size: 15px; font-weight: 600; margin: 4px 0 0; }
.vp-about { margin: 0; color: var(--muted); line-height: 1.65; }
.vp-pj { display: grid; gap: 8px; }
.vp-pj-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .7); }
.vp-pj-row div { display: grid; gap: 2px; min-width: 0; } .vp-pj-row b { font-weight: 600; } .vp-pj-row span { font-size: 14px; color: var(--muted); }
.vp-pj-row em { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 3px 10px; border-radius: 999px; }
.vp-pj-row em.in { color: var(--brand); background: var(--brand-soft); } .vp-pj-row em.out { color: #7a4f00; background: #fff4dc; }
.vp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vp-list li { display: flex; align-items: center; gap: 10px; min-width: 0; } .vp-list a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-list a:hover { color: var(--brand); text-decoration: underline; }
.vp-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); } .vp-ic svg { width: 16px; height: 16px; }
.vp-dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 14.5px; }
.vp-dl dt { color: var(--muted); } .vp-dl dd { margin: 0; }
.vp-btn { justify-self: start; } .vp-btn svg { margin-right: 6px; }
.vp-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.vp-file:hover { border-color: var(--brand); }
.vp-file > span:nth-child(2) { flex: 1; min-width: 0; display: grid; } .vp-file b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vp-file small { color: var(--muted); font-size: 13px; }
.vp-pdf { width: 40px; height: 44px; border-radius: 9px; display: grid; place-items: center; flex: none; background: #e53935; color: #fff; font-weight: 800; font-size: 11px; }
.vp-dl-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
@media (max-width: 900px) { .vp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .vp-id { padding: 16px 18px 20px; } .vp-logo { width: 84px; height: 84px; } .vp-id .vp-logo { margin-top: -58px; } .vp-title { flex-basis: 100%; } .vp-card { padding: 20px 18px; }
  .vp-stats div { padding: 14px 18px; } .vp-stats div + div { border-left: 0; } .vp-stats { grid-template-columns: 1fr 1fr; } .vp-pj-row { flex-wrap: wrap; } }

/* ---------- Section backgrounds: each section gets its own look (full width, edge to edge) ---------- */

.band-fill { --fill-gap: clamp(40px, 5vw, 64px); margin-top: var(--fill-gap); padding-block: var(--fill-gap); position: relative; isolation: isolate; }
.band-fill::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--bf); border-block: var(--bb, 0); pointer-events: none; }
.band-fill + .band-fill, .band-fill + script + .band-fill, .band-fill + script + script + .band-fill { margin-top: 0; }
.band-fill + .band:not(.band-fill) { padding-top: clamp(40px, 5vw, 64px); }
main > .band-fill:last-child { padding-bottom: var(--fill-gap); }
.band-white { --bf: rgba(255, 255, 255, .72); --bb: 1px solid rgba(0, 114, 188, .08); }
.band-white .card.glass, .band-white .glass:not(.tabs) { background: linear-gradient(180deg, #f6faff, #eef5fd); }
.band-blue { --bf: linear-gradient(160deg, #e3f0fc 0%, #d4e8fa 55%, #e9f3fd 100%); }
.band-tint { --bf: linear-gradient(180deg, rgba(0, 114, 188, .08), rgba(0, 114, 188, .02)); }
/* dark band (step-by-step information section, e.g. "How it works") */
.band-dark { --bf: radial-gradient(900px 420px at 85% 0%, rgba(66, 165, 245, .28), transparent 70%), linear-gradient(160deg, #0a1b2c 0%, #0d2a47 60%, #0b3460 100%); color: #e8f1fb; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .sub, .band-dark .card p, .band-dark .card li { color: rgba(232, 241, 251, .72); }
.band-dark .eyebrow, .band-dark .info-label { color: #7cc4ff; }
.band-dark .card.glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: none; }
.band-dark .card.glass:hover { background: rgba(255, 255, 255, .1); }
.band-dark .step::before, .band-dark .step:nth-child(n+5)::before { color: #7cc4ff; }
.band-dark .icon-tile { background: rgba(124, 196, 255, .15); color: #7cc4ff; }

/* ---------- Footer: blue with white text ---------- */
.site-footer { padding-top: clamp(32px, 4vw, 48px); }
.site-footer .footer-inner { background: radial-gradient(700px 300px at 90% 0%, rgba(124, 196, 255, .35), transparent 70%), linear-gradient(135deg, #005a96 0%, var(--brand) 55%, #1e88e5 100%);
  border: 0; box-shadow: 0 18px 40px rgba(0, 90, 150, .25); backdrop-filter: none; color: rgba(255, 255, 255, .82); }
.site-footer .footer-col h3 { color: #fff; }
.site-footer .footer-col a, .site-footer .footer-col p { color: rgba(255, 255, 255, .82); }
.site-footer .footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer .socials a { background: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .socials a:hover { background: #fff; color: var(--brand); }
.site-footer .footer-base { border-top-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .75); }
.site-footer .logo-chip { background: #fff; }

/* ---------- Contact ---------- */
.ct-head { display: grid; gap: 8px; justify-items: center; text-align: center; margin-bottom: var(--head-gap); }
.ct-head h2, .ct-head .sub { margin: 0; }
.ct-quick { display: grid; grid-template-columns: repeat(var(--ct-n, 3), minmax(0, 1fr)); gap: var(--card-gap); margin-bottom: var(--card-gap); }
.ct-tile { padding: 18px 18px 18px 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; min-width: 0; }
.ct-tile > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ct-tile small, .ct-dept small { font-size: 13px; color: var(--muted); }
.ct-tile a { font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.ct-tile a:hover { color: var(--brand); }
.ct-phones { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.ct-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--card-gap); align-items: stretch; }
.ct-office { padding: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0; }
.ct-pane { display: flex; flex-direction: column; flex: 1; } .ct-pane[hidden] { display: none; }
.ct-pane .ct-map { flex: 1; }
.ct-tabs { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .55); overflow-x: auto; }
.ct-tab { flex: 1; min-width: max-content; padding: 9px 18px; border-radius: 12px; border: 0; background: transparent; font: 600 14.5px var(--font-body); color: var(--muted); cursor: pointer; }
.ct-tab:hover { color: var(--brand); background: var(--brand-soft); }
.ct-tab[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0, 114, 188, .28); }
.ct-map { position: relative; min-height: 240px; background: var(--brand-soft); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-office-body { padding: 22px 24px 24px; display: grid; gap: 12px; }
.ct-office-body address { font-style: normal; color: var(--ink); line-height: 1.55; margin: 0; }
.ct-office-body strong { font-weight: 600; }
.ct-form { align-content: start; }
.ct-form-head { display: grid; gap: 2px; margin-bottom: 4px; } .ct-form-head h3 { margin: 0; font-size: var(--step-1); } .ct-form-head p { margin: 0; color: var(--muted); font-size: 14px; }
.ct-depts { display: grid; grid-template-columns: repeat(var(--ct-n, 3), minmax(0, 1fr)); gap: var(--card-gap); margin-top: var(--card-gap); }
.ct-dept { padding: 14px 18px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; transition: transform .2s ease; }
.ct-dept:hover { transform: translateY(-2px); } .ct-dept > span:last-child { display: grid; min-width: 0; }
.ct-dept b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-dept .icon-tile { width: 38px; height: 38px; } .ct-dept .icon-tile svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .ct-quick, .ct-depts { grid-template-columns: minmax(0, 1fr); } .ct-main { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Guides: repository cards ---------- */
.gd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--card-gap); align-items: start; }
.gd-card { padding: 20px 22px; display: grid; gap: 14px; }
.gd-card .gd-row { padding: 0; border: 0; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.gd-card .gd-txt { flex: 1 1 200px; } .gd-card .gd-txt strong { font-size: 17px; }
.gd-card .gd-act { flex-basis: 100%; justify-content: flex-end; padding-top: 14px; border-top: 1px solid var(--line); }
.gd-card .gd-act small { margin-right: auto; }
.gd-card .gd-files { margin: 0; }
.gd-card .gd-files li { flex-wrap: wrap; }
/* ---------- FAQs: heading left, questions right ---------- */
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-side { display: grid; gap: 12px; justify-items: start; position: sticky; top: 110px; }
.faq-side h2, .faq-side .sub { margin: 0; }
.faq-side .tabs { margin-top: 6px; }
.faq-n { font-size: 12px; font-weight: 700; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(0, 114, 188, .12); }
.tab[aria-selected="true"] .faq-n { background: rgba(255, 255, 255, .25); }
.faq-ask { margin-top: 10px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-soft), rgba(255, 255, 255, .7)); border: 1px solid rgba(0, 114, 188, .14); display: grid; gap: 6px; justify-items: start; width: 100%; }
.faq-ask strong { font-weight: 600; } .faq-ask p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.faq-main { min-width: 0; }
.faq-main .faq-toggle { justify-content: flex-start; }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } .faq-ask { display: none; } }

/* ---------- Guides: text left, repositories right ---------- */
.gd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gd-side { display: grid; gap: 14px; justify-items: start; position: sticky; top: 110px; }
.gd-side h2, .gd-side .sub { margin: 0; }
.gd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 8px; border-radius: var(--radius); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); overflow: hidden; }
.gd-stats div { padding: 16px 18px; display: grid; gap: 2px; } .gd-stats div + div { border-left: 1px solid var(--line); }
.gd-stats b { font: 700 26px/1.1 var(--font-display); color: var(--brand); } .gd-stats span { font-size: 13px; color: var(--muted); }
.gd-note { margin: 0; font-size: 14px; color: var(--muted); }
.gd-stack { display: grid; gap: 12px; min-width: 0; }
.gd-item { padding: 0; border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.gd-item.is-open { border-color: rgba(0, 114, 188, .3); box-shadow: 0 16px 36px -18px rgba(0, 90, 150, .35); }
.gd-item .gd-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 0; flex-wrap: nowrap; }
.gd-item .gd-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.gd-item .gd-txt strong { font-size: 17px; font-weight: 600; }
.gd-item .gd-txt > span { font-size: 14.5px; color: var(--muted); }
.gd-item .gd-txt small { font-size: 13px; color: var(--muted); }
.gd-btn { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 0; cursor: pointer; background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px var(--brand); transition: transform .2s ease, background .2s ease; }
.gd-btn:hover { transform: translateY(-2px); } .gd-btn svg { width: 20px; height: 20px; }
.gd-btn .gd-chev { margin: 0 0 3px; }
.gd-btn-sm { width: 36px; height: 36px; background: var(--brand-soft); color: var(--brand); box-shadow: none; } .gd-btn-sm svg { width: 17px; height: 17px; }
.gd-btn-sm:hover { background: var(--brand); color: #fff; }
.gd-item .gd-files { margin: 0; padding: 4px 20px 12px; border-radius: 0; background: rgba(0, 114, 188, .04); border-top: 1px solid var(--line); }
.gd-item .gd-files li { padding: 12px 0; flex-wrap: nowrap; }
.gd-item .gd-fn { display: grid; gap: 1px; } .gd-item .gd-fn small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .gd-split { grid-template-columns: minmax(0, 1fr); } .gd-side { position: static; } }
@media (max-width: 480px) { .gd-item .gd-row { padding: 16px; gap: 12px; } .gd-item .gd-files { padding: 4px 16px 10px; } .gd-stats div { padding: 12px; } .gd-stats b { font-size: 21px; } }

/* Guides: compact repository cards */
.gd-stack { gap: 8px; }
.gd-item .gd-row { padding: 12px 16px; gap: 12px; }
.gd-item .gd-ic { width: 42px; height: 42px; border-radius: 11px; font-size: 11.5px; }
.gd-item .gd-folder svg { width: 22px; height: 22px; }
.gd-item .gd-folder em { min-width: 19px; height: 19px; line-height: 19px; font-size: 10.5px; right: -5px; top: -5px; padding: 0 5px; }
.gd-item .gd-txt { gap: 0; } .gd-item .gd-txt strong { font-size: 16px; } .gd-item .gd-txt > span { font-size: 14px; }
.gd-item .gd-btn { width: 36px; height: 36px; } .gd-item .gd-btn svg { width: 17px; height: 17px; }
.gd-item .gd-btn-sm { width: 30px; height: 30px; } .gd-item .gd-btn-sm svg { width: 15px; height: 15px; }
.gd-item .gd-files { padding: 2px 16px 6px; }
.gd-item .gd-files li { padding: 7px 0; gap: 10px; }
.gd-item .gd-fic { width: 30px; height: 30px; font-size: 9.5px; border-radius: 8px; }

/* Text that grows a little with the screen (Roles + Information sections) – also readable at 80% zoom */
.txt-scale .card h3 { font-size: clamp(18px, calc(.45vw + 12px), 22px); }
.txt-scale .card p, .txt-scale .card li, .txt-scale .service-list li, .txt-scale .point p { font-size: clamp(15px, calc(.25vw + 12px), 17px); line-height: 1.55; }
.txt-scale .role-tag, .txt-scale .info-label { font-size: clamp(12.5px, calc(.15vw + 10.5px), 14px); }
.txt-scale .list { gap: 8px; }

/* ---------- Vendors: coloured category tabs "Category A (2)" + card badges ---------- */
.vd-tabs { gap: 6px; }
.vd-tabs .tab { --c: var(--brand); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); background: color-mix(in srgb, var(--c) 7%, #fff); }
.vd-tabs .tab .vd-n { font-weight: 700; opacity: .8; }
.vd-tabs .tab[aria-selected="true"] { background: var(--c); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px var(--c); }
.vd-tabs .tab[data-cat=""] { --c: #0a1b2c; }
.vd-tab-A { --c: #0b6fbf !important; } .vd-tab-B { --c: #2e7d32 !important; } .vd-tab-C { --c: #ef6c00 !important; } .vd-tab-D { --c: #6a1b9a !important; } .vd-tab-supporting { --c: #546e7a !important; }
.vd-cat-A { background: #0b6fbf; color: #fff; }
.vd-cat-B { background: #e7f4e8; color: #2e7d32; } .vd-cat-C { background: #fff1e3; color: #c25700; }
.vd-cat-D { background: #f3e8fb; color: #6a1b9a; } .vd-cat-supporting { background: #eceff1; color: #455a64; }
/* company page: banner image, showroom / factory blocks, several brochures */
.vp-banner { position: relative; overflow: hidden; }
.vp-id { position: relative; z-index: 1; }
.vp-banner.has-img { height: clamp(140px, 22vw, 260px); }
.vp-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-place { display: grid; gap: 8px; } .vp-place + .vp-place { padding-top: 14px; border-top: 1px solid var(--line); }
.vp-place h3 { margin: 0; font-size: 15px; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.vp-files { display: grid; gap: 8px; }

/* Section intro text uses the full width (Information sections, Contact, …) */
.sub { max-width: none; }
.txt-scale .sub, .ct-head .sub, .ph-head .sub { max-width: none; }
/* Vendor card: name + address left, category + certified right (two lines) */
.vd-top { align-items: flex-start; }
.vd-name { flex: 1; min-width: 0; }
.vd-badges-r { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 6px; flex: none; margin-left: auto; }
.vd-badges-r span { white-space: nowrap; font-size: 11.5px; padding: 3px 10px; }
.vd-top h4 { font-size: 17px; line-height: 1.3; }
.vd-top .vd-logo { width: 48px; height: 48px; border-radius: 12px; }
.vd-top { gap: 12px; }
@media (max-width: 420px) { .vd-top { flex-wrap: wrap; } .vd-badges-r { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; margin-left: 0; } }
