/* ==========================================================================
   Pontum Solutions — styles.css
   Tokens first; every colour, size and spacing value used below is set here.
   ========================================================================== */

:root {
  /* Brand */
  --blue:        #0979F6;   /* accent only — logo, rules, focus rings, active nav */
  --blue-press:  #0A5FC4;   /* link text and primary button (AA contrast on white) */
  --blue-deep:   #063E85;   /* primary button hover */
  --blue-wash:   #EFF6FE;   /* callout panel */

  /* Type + surface */
  --navy:        #0C1B2A;
  --slate:       #46586B;
  --slate-mute:  #5F7185;   /* darkened from #75879A to pass AA on --surface-alt */
  --border:      #DEE4EA;
  --border-soft: #EDF1F4;
  --surface:     #FFFFFF;
  --surface-alt: #F5F8FA;
  --surface-deep:#0C1B2A;

  /* On-dark text */
  --on-deep:       #FFFFFF;
  --on-deep-body:  #B9C3CE;
  --on-deep-mute:  #8C99A7;
  --on-deep-rule:  rgba(255, 255, 255, 0.14);

  /* Semantic */
  --error:       #A63A32;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --fs-h1: 44px;
  --fs-h2: 32px;
  --fs-h3: 21px;
  --fs-h4: 17px;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-label: 12px;
  --lh-body: 1.65;
  --measure: 70ch;

  /* Layout */
  --max: 1240px;
  --gutter: 64px;
  --col-gap: 32px;
  --section-pad: 96px;
  --utility-h: 40px;
  --header-h: 76px;
  --radius: 4px;

  /* Imagery */
  --img-saturation: 0.2;           /* 80% desaturated */
  --img-overlay: rgba(12, 27, 42, 0.08);
}

@media (max-width: 1024px) {
  :root { --gutter: 40px; --section-pad: 64px; --col-gap: 24px; }
}
@media (max-width: 640px) {
  :root {
    --gutter: 24px;
    --section-pad: 48px;
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 19px;
    --fs-body: 16px;
    --utility-h: 44px;
    --header-h: 56px;
  }
}

/* 1. Reset and base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--slate);
  background: var(--surface);
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4 { color: var(--navy); margin: 0; font-weight: 600; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--blue-press);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease;
}
a:hover { text-decoration-color: currentColor; }

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

.tnum { font-variant-numeric: tabular-nums; }

.label {
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-mute);
}

.small { font-size: var(--fs-small); color: var(--slate-mute); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* 2. Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: calc(var(--section-pad) * 0.75); }

.section-head h2 { position: relative; padding-top: 22px; }
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 2px;
  background: var(--blue);
}
.section-head p { margin-top: 20px; }

/* Common asymmetric splits */
.span-head   { grid-column: 1 / span 4; }
.span-body   { grid-column: 6 / span 7; }

@media (max-width: 900px) {
  .grid { row-gap: 32px; }
  .grid > * { grid-column: 1 / -1 !important; }
}

/* 3. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--blue-press); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--secondary { background: var(--surface); color: var(--navy); border-color: var(--border); }
.btn--secondary:hover { background: var(--surface-alt); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.text-link span[aria-hidden] { margin-left: 6px; }

/* 4. Utility bar
   ========================================================================== */

.utility {
  background: var(--surface-deep);
  color: var(--on-deep-body);
  font-size: 13px;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--utility-h);
}
.utility a { color: var(--on-deep); }
.utility-contact { display: flex; gap: 24px; }
.utility-contact a { display: inline-flex; align-items: center; min-height: 36px; }

@media (max-width: 640px) {
  .utility-location, .utility-contact .utility-email { display: none; }
  .utility .wrap { justify-content: flex-start; }
  .utility-contact a { min-height: 44px; font-size: 14px; }
}

/* 5. Header and navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 8px rgba(12, 27, 42, 0.05); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
}
.brand-mark { width: 38px; height: auto; }
.brand-words { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-name .b { color: var(--blue); }
.brand-tag {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--slate-mute);
  white-space: nowrap;
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.primary-nav a:hover::after { opacity: 1; }
.primary-nav a[aria-current="true"]::after { opacity: 1; background: var(--blue); height: 2px; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars span { height: 2px; background: var(--navy); }

@media (max-width: 1080px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 400px) {
  .brand-tag { letter-spacing: 0.24em; }
  .brand-name { font-size: 14px; letter-spacing: 0.12em; }
  .brand-mark { width: 32px; }
  .nav-toggle-text { display: none; }
}

/* Mobile menu: full-height panel */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 27, 42, 0.4);
}
.nav-panel {
  position: fixed;
  top: 0; right: 0;
  z-index: 70;
  width: min(calc(100% - 56px), 420px);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
}
.nav-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
}
.nav-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  margin-right: -12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-panel-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
}
.nav-panel-foot { margin-top: auto; padding-top: 32px; }
.nav-panel-foot .btn { width: 100%; }
.nav-panel-foot p { margin-top: 16px; font-size: var(--fs-small); color: var(--slate-mute); }
.nav-panel-foot p a { display: inline-block; padding-block: 10px; }

/* 6. Hero
   ========================================================================== */

.hero { padding-block: 56px; }
.hero .grid { align-items: center; row-gap: 40px; }
.hero-text { grid-column: 1 / span 6; }
.hero-text .label { margin-bottom: 20px; }
.hero-text h1 { max-width: 15em; }
.hero-lede { margin-top: 20px; font-size: 17px; max-width: 36em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 32px;
}
.hero-media { grid-column: 8 / span 5; }
.hero-media .photo { height: 340px; }

@media (max-width: 640px) {
  .hero { padding-block: 40px 48px; }
  .hero-lede { font-size: 17px; }
  .services-head .services-intro { padding-top: 0; }
  .hero-media .photo { height: auto; aspect-ratio: 4 / 3; }
}

/* 7. Photographs — one treatment for every image
   ========================================================================== */

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-deep);
  border-radius: 0;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(var(--img-saturation));
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img-overlay);
  pointer-events: none;
}
.photo.is-missing img { display: none; }
.photo.is-missing::after { display: none; }

/* Designed fallback: visible whenever the <img> is absent or fails */
.photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--on-deep-body);
  font-size: var(--fs-small);
}
.photo-fallback strong {
  display: block;
  margin-bottom: 12px;
  color: var(--on-deep);
  font-size: var(--fs-h4);
  font-weight: 600;
}
.photo-fallback li {
  padding-block: 8px;
  border-top: 1px solid var(--on-deep-rule);
}

.photo-caption {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--slate-mute);
  max-width: 48ch;
}

/* 8. Authorities strip
   ========================================================================== */

.authorities {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
  padding-block: 28px;
}
.authorities .wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.authorities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}
.authorities li {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  padding-inline: 20px;
  border-left: 1px solid var(--border);
  line-height: 1.4;
}
.authorities li:first-child { padding-left: 0; border-left: 0; }

@media (max-width: 900px) {
  .authorities ul { flex-direction: column; gap: 0; width: 100%; }
  .authorities li { padding: 10px 0; border-left: 0; border-top: 1px solid var(--border); }
  .authorities li:first-child { border-top: 0; padding-top: 0; }
}

/* 9. Services
   ========================================================================== */

.services-head { row-gap: 20px; margin-bottom: 56px; }
.services-head .section-head { grid-column: 1 / span 5; }
.services-head .services-intro { grid-column: 7 / span 6; padding-top: 22px; }

.service-list { border-top: 1px solid var(--navy); }
.service {
  padding-block: 36px;
  border-bottom: 1px solid var(--border);
  row-gap: 16px;
}
.service h3 { grid-column: 1 / span 3; }
.service-summary { grid-column: 4 / span 4; }
.service-summary p { margin: 0; }
.service-points { grid-column: 9 / span 4; }
.service-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.service-points li + li { margin-top: 10px; }
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--slate-mute);
}

@media (max-width: 1024px) and (min-width: 901px) {
  .service h3 { grid-column: 1 / span 4; }
  .service-summary { grid-column: 5 / span 8; }
  .service-points { grid-column: 5 / span 8; }
}

/* Authority table */
.jurisdiction { margin-top: 80px; row-gap: 24px; }
.jurisdiction-head { grid-column: 1 / span 4; }
.jurisdiction-head p { margin-top: 14px; font-size: 16px; }
.jurisdiction-body { grid-column: 6 / span 7; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.55;
}
thead th {
  background: var(--surface-alt);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-mute);
  padding-block: 12px;
}
tbody th { color: var(--navy); font-weight: 600; width: 38%; }
tbody tr:last-child > * { border-bottom: 0; }
.table-note { margin-top: 12px; }

/* 10. Process
   ========================================================================== */

.process .span-head { align-self: start; }
@media (min-width: 901px) {
  .process .span-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

.steps { border-top: 1px solid var(--navy); counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0 16px;
  padding-block: 32px;
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--slate-mute);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16px; }

@media (max-width: 640px) {
  .step { grid-template-columns: 40px minmax(0, 1fr); padding-block: 28px; }
}

.callout {
  margin-top: 48px;
  padding: 32px;
  background: var(--blue-wash);
  border: 1px solid #D6E6FA;
  border-radius: var(--radius);
}
.callout h3 { font-size: var(--fs-h4); margin-bottom: 18px; }
.doc-list {
  columns: 2;
  column-gap: 32px;
}
.doc-list li {
  break-inside: avoid;
  padding-block: 9px;
  border-top: 1px solid #D6E6FA;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
}
@media (max-width: 640px) {
  .callout { padding: 24px 20px; }
  .doc-list { columns: 1; }
}

/* 11. Sectors
   ========================================================================== */

.sectors-grid { row-gap: 40px; }
.sectors-aside { grid-column: 1 / span 4; }
.sectors-aside .photo { margin-top: 40px; aspect-ratio: 4 / 5; }
.sectors-list {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  align-self: start;
}
.sector {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--border);
}
.sector:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--border); }
.sector h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.sector p { font-size: 15px; line-height: 1.6; }

@media (max-width: 900px) {
  .sectors-aside .photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .sectors-list { grid-template-columns: minmax(0, 1fr); }
  .sector, .sector:nth-child(even) { padding: 24px 0; border-left: 0; }
}

/* 12. Licensing
   ========================================================================== */

.licence-body { row-gap: 32px; }
.licence-prose { grid-column: 6 / span 4; }
.licence-activities { grid-column: 10 / span 3; }
.licence-activities h3 { font-size: var(--fs-h4); margin-bottom: 12px; }
.licence-activities li {
  padding-block: 10px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
}
.licence-activities li:last-child { border-bottom: 1px solid var(--border); }

@media (max-width: 1024px) and (min-width: 901px) {
  .licence-prose { grid-column: 6 / span 7; }
  .licence-activities { grid-column: 6 / span 7; }
}

/* 13. About
   ========================================================================== */

.about .grid { row-gap: 40px; }
.about-text { grid-column: 1 / span 7; }
.about-text .section-head { margin-bottom: 28px; }
.about-side { grid-column: 9 / span 4; }
.about-side .photo { aspect-ratio: 4 / 3; margin-bottom: 32px; }

.contact-card {
  border-top: 1px solid var(--navy);
  padding-top: 20px;
}
.contact-card h3 { font-size: var(--fs-h3); margin-top: 6px; }
.contact-card p { font-size: 15px; margin-top: 8px; }
.contact-card dl { margin: 16px 0 0; }
.contact-card dt { margin-top: 12px; }
.contact-card dd { margin: 2px 0 0; }
.contact-card dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* 14. Contact
   ========================================================================== */

.contact .grid { row-gap: 48px; }
.contact-main { grid-column: 1 / span 7; }
.contact-main .section-head { margin-bottom: 36px; }
.contact-side { grid-column: 9 / span 4; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--slate-mute); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid #C5CFD9;
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2346586B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA9B8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error {
  margin-top: 6px;
  font-size: var(--fs-small);
  color: var(--error);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.form-foot .small { max-width: 44ch; margin: 0; }

.form-status {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--navy);
  background: var(--surface);
  color: var(--navy);
}
.form-status h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.form-status p { font-size: 15px; color: var(--slate); }
.form-status.is-error { border-left-color: var(--error); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { min-width: 160px; }
}

.direct { border-top: 1px solid var(--navy); }
.direct li { border-bottom: 1px solid var(--border); padding-block: 12px 8px; }
.direct .label { display: block; margin-bottom: 4px; }
.direct a, .direct span.value {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 500;
}
.direct span.value { color: var(--navy); }
.direct-note { margin-top: 28px; }
.direct-note h3 { font-size: var(--fs-h4); margin-bottom: 10px; }
.direct-note li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.direct-note li + li { margin-top: 8px; }
.direct-note li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--slate-mute);
}

/* 15. Footer
   ========================================================================== */

.site-footer {
  background: var(--surface-deep);
  color: var(--on-deep-body);
  font-size: 15px;
  padding-top: 72px;
}
.site-footer a { color: var(--on-deep); }
.footer-grid { row-gap: 40px; padding-bottom: 56px; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .brand-name { color: var(--on-deep); }
.footer-brand .brand-tag { color: var(--on-deep-mute); }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-col--services { grid-column: 6 / span 2; }
.footer-col--company { grid-column: 8 / span 2; }
.footer-col--contact { grid-column: 10 / span 3; }
.footer-col h2 {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-deep-mute);
  margin-bottom: 14px;
}
.footer-col a, .footer-col span.value {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
.footer-legal {
  border-top: 1px solid var(--on-deep-rule);
  padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 13px;
  color: var(--on-deep-mute);
}
.footer-legal p { max-width: none; margin: 0; }
.footer-legal p + p { margin-top: 6px; }
.footer-legal a { color: var(--on-deep-body); display: inline-block; padding-block: 12px; }

@media (max-width: 900px) {
  .footer-col { grid-column: span 6 !important; }
  .footer-col a { min-height: 44px; }
}
@media (max-width: 480px) {
  .footer-col { grid-column: 1 / -1 !important; }
}

/* 16. Privacy page
   ========================================================================== */

.legal-page .span-body h2 {
  font-size: var(--fs-h3);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page .span-body h2:first-child { margin-top: 0; }
.legal-page .span-body ul { margin-bottom: 1em; }
.legal-page .span-body li {
  position: relative;
  padding-left: 18px;
  max-width: var(--measure);
}
.legal-page .span-body li + li { margin-top: 6px; }
.legal-page .span-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 8px; height: 1px;
  background: var(--slate-mute);
}

/* 17. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
