/* ==========================================================================
   SRB Services style.css
   Palette: deep charcoal base, flame-orange accent, warm paper neutrals.
   Mobile-first. No dependencies.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #171a1f;
  --ink-800: #1f232b;
  --ink-700: #2a2f39;
  --ink-600: #3a404c;
  --paper: #f5f3ef;
  --white: #ffffff;
  --line: #e5e2dc;
  --line-dark: #343a45;
  --muted: #6d6a65;
  --muted-dark: #a9adb6;
  --accent: #ee2e01;
  --accent-deep: #c22500;
  --accent-soft: #fdeae4;
  --ph-grey: #d9d6d1;
  --ph-grey-dark: #262b33;

  /* Type */
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Rhythm */
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --container: 1180px;
  --radius: 4px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul[class],
ol[class] {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.3rem;
}

p {
  max-width: 62ch;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: calc(var(--space-section) * 0.6);
}

/* Dark sections */
.dark {
  background: var(--ink);
  color: var(--white);
}

.dark p {
  color: var(--muted-dark);
}

.dark .lead {
  color: #cfd3da;
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.section-head--split > div {
  max-width: 42rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.dark .btn--ghost,
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.dark .btn--ghost:hover,
.btn--ghost-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent);
}

.arrow-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  height: 40px;
  width: auto;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.2rem;
}

.site-nav {
  position: fixed;
  inset: 4.5rem 0 auto 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding: 1rem 1.25rem 1.75rem;
  display: none;
}

.nav-open .site-nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.65rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #d6d9de;
  border-radius: var(--radius);
  transition: color 0.15s ease;
}

.nav-list a:hover {
  color: var(--white);
}

.nav-list a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--accent);
  padding-left: 0.9rem;
}

.nav-cta {
  display: none;
}

.site-nav .nav-cta-mobile {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.35rem;
  }

  .nav-list a {
    font-size: 0.95rem;
    padding: 0.45rem 0.8rem;
  }

  .nav-list a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--accent);
    padding-left: 0.8rem;
  }

  .site-nav .nav-cta-mobile {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    padding: 0.65rem 1.3rem;
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-800) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  color: #c4c8d0;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

/* Sub-page hero */
.page-hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-800) 100%);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.page-hero .lead {
  color: #c4c8d0;
  margin-top: 1.1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-dark);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--ink-600);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  background: var(--ink-800);
  border-top: 1px solid var(--line-dark);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.stat-num {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}

.stat-num sup {
  font-size: 0.5em;
  color: var(--accent);
  font-weight: 800;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -18px rgba(23, 26, 31, 0.35);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--muted);
  flex-grow: 1;
}

.card .arrow-link {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

/* Pillar cards (dark context) */
.dark .card {
  background: var(--ink-800);
  border-color: var(--line-dark);
}

.dark .card p {
  color: var(--muted-dark);
}

.dark a.card:hover {
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Values strip (Compliance / Reliability / Satisfaction)
   -------------------------------------------------------------------------- */
.values {
  display: grid;
  gap: 1.25rem;
}

.value {
  border-top: 3px solid var(--accent);
  padding-top: 1.1rem;
}

.value h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.value p {
  font-size: 0.96rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Photo placeholders (client photography TBC)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--ph-grey)
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(23, 26, 31, 0.04) 14px 28px
    );
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.ph--wide {
  aspect-ratio: 16 / 9;
}

.ph--tall {
  aspect-ratio: 4 / 5;
}

.ph--square {
  aspect-ratio: 1 / 1;
}

.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-label {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: #56534e;
  background: rgba(245, 243, 239, 0.88);
}

.ph-label strong {
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}

.dark .ph {
  background-color: var(--ph-grey-dark);
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.03) 14px 28px
  );
}

.dark .ph-label {
  background: rgba(23, 26, 31, 0.85);
  color: var(--muted-dark);
}

.dark .ph-label strong {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Split feature (text + image)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split h2 {
  margin-bottom: 1rem;
}

.split p + p {
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .split--flip > :first-child {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */
.checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.2 4.6a.75.75 0 0 1-1.1 0L4.3 8.6a.75.75 0 1 1 1.1-1l1.5 1.6 3.7-4a.75.75 0 0 1 1.1 1z"/></svg>')
    center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.2 4.6a.75.75 0 0 1-1.1 0L4.3 8.6a.75.75 0 1 1 1.1-1l1.5 1.6 3.7-4a.75.75 0 0 1 1.1 1z"/></svg>')
    center / contain no-repeat;
}

.checklist--cols {
  gap: 0.7rem;
}

@media (min-width: 720px) {
  .checklist--cols {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */
.testimonial {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.testimonial blockquote {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.dark .testimonial blockquote {
  color: var(--white);
}

.testimonial blockquote::before {
  content: "“";
  display: block;
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.testimonial cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dark .testimonial cite {
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -18px rgba(23, 26, 31, 0.35);
}

.project-card .ph {
  border-radius: 0;
}

.project-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.95rem;
  color: var(--muted);
  flex-grow: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
}

.tag--neutral {
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
}

.project-card--soon {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-style: dashed;
  background: transparent;
  color: var(--muted);
}

.project-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.75rem;
}

.cta-band .btn--invert {
  background: var(--ink);
  color: var(--white);
}

.cta-band .btn--invert:hover {
  background: var(--ink-700);
}

.cta-band .btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn--ghost-light:hover {
  background: var(--white);
  color: var(--accent-deep);
}

@media (min-width: 900px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-band-inner .hero-actions {
    flex-shrink: 0;
  }
}

/* --------------------------------------------------------------------------
   Accreditation strip
   -------------------------------------------------------------------------- */
.accred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.accred-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.accred-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.accred-logos img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.accred-logos .accred-logo--round img {
  height: 3.5rem;
  width: 3.5rem;
}

.accred-logos .accred-logo--tall img {
  height: 3.75rem;
  width: auto;
  max-width: 4.5rem;
}

.accred span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.accred .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}

.accred .badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #c9a227; /* Constructionline Gold */
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid .field--full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.thank-you-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.thank-you-panel p {
  margin-bottom: 1rem;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Contact info list */
.contact-list {
  display: grid;
  gap: 1.5rem;
}

.contact-list h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-list a {
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.footer-grid h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: 0.5rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 34ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer social links */
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--muted-dark);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.socials a:hover {
  color: var(--white);
  border-color: var(--accent);
}

/* Contact page map embed */
.map-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  background: var(--ph-grey);
}

/* Contact form: honeypot + error state */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: var(--radius);
}

/* Footer logo lockup */
.footer-logo {
  width: 230px;
  height: auto;
}
