/* ==========================================================================
   Mobere — site styles
   Brand red is sampled from the logo: #AB2F37
   Hero / display type: Apollo   ·   Body type: Plus Jakarta Sans
   Both are self-hosted WOFF files in /assets/fonts/
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Apollo"; src: url("../fonts/apollo-regular.woff") format("woff");  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Apollo"; src: url("../fonts/apollo-medium.woff") format("woff");   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Apollo"; src: url("../fonts/apollo-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Apollo"; src: url("../fonts/apollo-bold.woff") format("woff");     font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Apollo"; src: url("../fonts/apollo-heavy.woff") format("woff");    font-weight: 800; font-style: normal; font-display: swap; }

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-regular.woff") format("woff");   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-medium.woff") format("woff");    font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-semibold.woff") format("woff");  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-bold.woff") format("woff");      font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --red: #AB2F37;
  --red-dark: #8E232B;
  --red-tint: #F7ECED;
  --red-tint-2: #EFD9DB;
  --ink: #17171A;
  --ink-soft: #4A4A52;
  --muted: #76767F;
  --line: #E7E2E2;
  --paper: #FFFFFF;
  --paper-warm: #FAF7F7;

  --font-display: "Apollo", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 80px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 60px -24px rgba(23, 23, 26, .28);
  --section: clamp(72px, 10vw, 140px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 17px 30px; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: #fff; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(171, 47, 55, .7); }
.btn--ghost { background: transparent; color: var(--red); }
.btn--ghost:hover { background: var(--red-tint); color: var(--red-dark); box-shadow: none; }
.btn--sm { padding: 13px 24px; font-size: .9rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.text-link .arrow { transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
#site-header { min-height: var(--header-h); }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(23, 23, 26, .4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a.nav-link, .primary-nav button.nav-link {
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s;
}
.primary-nav a.nav-link:hover, .primary-nav button.nav-link:hover, .primary-nav .is-current > .nav-link { color: var(--red); background: var(--red-tint); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.has-dropdown { position: relative; }
.has-dropdown.open .chev, .has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 6px; min-width: 330px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s, translate .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; } /* hover bridge */
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown a { display: flex; align-items: baseline; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.dropdown a small { color: var(--red); font-weight: 700; font-size: .75rem; letter-spacing: .08em; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--red-tint); color: var(--red); }
.header-cta { margin-left: 10px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  /* backdrop-filter would trap the fixed mobile menu inside the 80px header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a.nav-link, .primary-nav button.nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .primary-nav a.nav-link:hover, .primary-nav button.nav-link:hover, .primary-nav .is-current > .nav-link { background: none; }
  .dropdown { position: static; translate: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { translate: none; }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta { margin: 24px 0 0; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-top: calc(var(--header-h) + 12px); }
.hero-stage { position: relative; }
.hero-media {
  position: relative; height: clamp(440px, 66vh, 720px); border-radius: var(--radius-lg); overflow: hidden; background: var(--red-tint);
}
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,26,.08) 0%, rgba(23,23,26,.12) 35%, rgba(23,23,26,.62) 100%); pointer-events: none; }
.hero-dots { position: absolute; right: 28px; bottom: 28px; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.hero-dots button[aria-current="true"] { background: #fff; transform: scale(1.15); }
.hero-title { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(28px, 5vw, 56px); right: 96px; z-index: 3; color: #fff; }
.hero-title h1 { color: #fff; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-title h1 em { font-style: normal; display: block; }
.hero-title .eyebrow { color: #fff; }
.hero-title .eyebrow::before { background: #fff; }
.hero-intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 72px) 0 0; }
.hero-intro p { color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.7; margin: 0; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 860px) { .hero-intro { grid-template-columns: 1fr; } .hero-actions { justify-content: flex-start; } .hero-title { right: 24px; } .hero-dots { right: 18px; top: 18px; bottom: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--warm { background: var(--paper-warm); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }

/* Who we help */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.audience-card:hover { transform: translateY(-4px); border-color: var(--red-tint-2); box-shadow: var(--shadow); }
.audience-card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 24px; }
.audience-card .icon svg { width: 26px; height: 26px; }
.audience-card h3 { margin-bottom: .4em; }
.audience-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.2rem; }
.audience-card .links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--red-tint); color: var(--red); transition: background .2s, color .2s; }
.chip:hover { background: var(--red); color: #fff; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }

/* Services list */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 90px minmax(220px, 4fr) 6fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.service-row .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); line-height: 1.3; }
.service-row h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .3em; }
.service-row h3 a { color: var(--ink); transition: color .2s; }
.service-row:hover h3 a { color: var(--red); }
.service-row .tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.service-row .body p { color: var(--ink-soft); margin-bottom: 1.3rem; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 10px; } .service-row .num { font-size: 1.2rem; } }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 32px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--red); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-intro p { color: var(--ink-soft); font-size: 1.12rem; }
.offices { margin-top: 2.2rem; display: grid; gap: 14px; }
.offices li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.offices svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper-warm); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 15px 18px; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(171, 47, 55, .14); }
.field .hint { font-size: .82rem; color: var(--muted); }
.human-check { background: var(--red-tint); border-radius: 14px; padding: 18px 20px; }
.human-check label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.human-check .q { font-family: var(--font-display); font-size: 1.35rem; color: var(--red); font-weight: 500; }
.human-check input { max-width: 160px; background: #fff; margin-top: 8px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form-status { font-weight: 600; font-size: .98rem; min-height: 1.5em; }
.form-status.is-ok { color: #1E6B46; }
.form-status.is-error { color: var(--red); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Service pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(32px, 4vw, 56px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.page-hero-aside { padding-bottom: .6rem; }
.page-hero-aside .btn { margin-top: .4rem; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.service-hero-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--red-tint); aspect-ratio: 5 / 2; }
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .service-hero-img { aspect-ratio: 4 / 3; } }

.content-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose ul.ticks { margin: 0 0 1.6em; display: grid; gap: 14px; }
.prose ul.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.prose ul.ticks li strong { color: var(--ink); font-weight: 700; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AB2F37' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.phase-list { display: grid; gap: 0; margin: 0 0 1.6em; border-top: 1px solid var(--line); counter-reset: phase; }
.phase-list li { counter-increment: phase; display: grid; grid-template-columns: 56px 1fr; gap: 8px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.phase-list li::before { content: counter(phase, decimal-leading-zero); font-family: var(--font-display); font-size: 1.4rem; color: var(--red); grid-row: span 2; line-height: 1.3; }
.phase-list h3 { font-size: 1.25rem; margin: 0; }
.phase-list p { margin: 0; font-size: .98rem; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.aside-card h4 { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--red); margin-bottom: 1rem; }
.aside-card ul { display: grid; gap: 10px; margin-bottom: 1.6rem; font-size: .96rem; color: var(--ink-soft); }
.aside-card li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }

.cta-band { background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.88); margin: .8rem 0 0; max-width: 52ch; }
.cta-band .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta-band .btn:hover { background: var(--red-tint); color: var(--red-dark); border-color: var(--red-tint); }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .25s, border-color .25s, box-shadow .25s; background: #fff; }
.related-card:hover { transform: translateY(-4px); border-color: var(--red-tint-2); box-shadow: var(--shadow); color: var(--ink); }
.related-card small { color: var(--red); font-weight: 700; letter-spacing: .1em; font-size: .75rem; }
.related-card span { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
@media (max-width: 960px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-warm); border-top: 4px solid var(--red); padding: clamp(56px, 8vw, 96px) 0 32px; margin-top: var(--section); }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: clamp(32px, 5vw, 80px); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-soft); max-width: 38ch; font-size: .98rem; }
.site-footer h4 { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--red); margin-bottom: 1.2rem; }
.footer-links { display: grid; gap: 10px; font-size: .96rem; }
.footer-links a { color: var(--ink); font-weight: 500; } .footer-links a:hover { color: var(--red); }
.footer-offices { display: grid; gap: 10px; font-size: .96rem; font-weight: 500; }
.footer-offices li { display: flex; align-items: center; gap: 10px; }
.footer-offices svg { width: 16px; height: 16px; color: var(--red); }
.footer-note { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.footer-bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
