/* =========================================================================
   FCN Solutions — site styles
   Plain CSS, no build step. Custom properties → layout → components.
   ========================================================================= */

:root {
  /* Palette: white paper, graphite type, the logo orange as the accent */
  --paper:      #ffffff;
  --paper-2:    #f5f6f8;
  --paper-3:    #eceef2;
  --ink:        #23272e;   /* headings */
  --ink-2:      #1b1f25;   /* dark bands + footer */
  --ink-3:      #262b33;
  --text:       #5f636b;   /* body copy */
  --muted:      #686c74;   /* labels, meta */
  --line:       #dfe2e8;
  --line-dark:  #333942;
  --brand:      #d37700;   /* the7 theme colour carried over */
  --brand-soft: #ef8f14;
  --brand-ink:  #a85e00;   /* brand at text contrast on white */

  --font-display: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shell: 76rem;      /* max content width */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4rem, 9vw, 7.5rem);

  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.06rem);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::selection { background: var(--brand); color: #fff; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.h-xl { font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.05; }
.h-lg { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 600; }

/* Section headings are orange on this site, per the brand */
.h-lg, .h-md { color: var(--brand); }

.eyebrow {
  font-family: var(--font-display);
  line-height: 1.7;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 0 0 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.lede {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem);
  color: #4f535a;
  line-height: 1.7;
}

.dim { color: var(--muted); }

/* ---------- layout ---------- */
.shell {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--shell));
  margin-inline: auto;
}
.shell--wide { --shell: 88rem; }

.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }

.stack > * + * { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 1.8rem; }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--brand-soft); transform: translateY(-2px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }

/* Underlined text link with a sweeping rule */
.link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-ink);
  padding-bottom: .35rem;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .35s var(--ease), color .3s var(--ease);
}
.link:hover { color: var(--brand); background-size: 0% 1px; }

/* =========================================================================
   Header — thin contact strip above the main bar
   ========================================================================= */
.topbar {
  background: var(--ink-2);
  color: #b9bdc5;
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.8rem;
  padding-block: .6rem;
}
.topbar a { text-decoration: none; transition: color .3s var(--ease); }
.topbar a:hover { color: var(--brand-soft); }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--brand); flex: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  padding-block: 1.1rem;
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.header.is-stuck {
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(35, 39, 46, .07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  width: auto;
  height: clamp(34px, 4.4vw, 48px);
  transition: height .35s var(--ease);
}
.header.is-stuck .brand img { height: clamp(30px, 3.6vw, 38px); }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.2rem); }

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-block: .3rem;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--brand); }

.nav__cta { margin-left: .5rem; padding: .65rem 1.3rem; }

/* Mobile menu button */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 2;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  /* keep the logo above the full-screen menu */
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { font-size: 1rem; letter-spacing: .2em; }
  .nav__cta { margin-left: 0; }
  body.nav-open { overflow: hidden; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: min(88svh, 820px);
  display: grid;
  place-items: center;
  padding-block: 6rem 4rem;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    var(--ink-2)
    image-set(
      url("/assets/img/hero.avif") type("image/avif"),
      url("/assets/img/hero.jpg") type("image/jpeg")
    )
    center/cover no-repeat;
  transform: scale(1.05);
  animation: heroDrift 24s var(--ease) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(20,24,30,.42), rgba(20,24,30,.78) 76%),
    linear-gradient(to bottom, rgba(20,24,30,.72), rgba(20,24,30,.35) 40%, rgba(20,24,30,.88));
}
@keyframes heroDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media { animation: none; transform: none; } }

.hero h1 { color: #fff; }
.hero__welcome {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
  font-weight: 700;
  color: var(--brand-soft);
  letter-spacing: .02em;
}
.hero__name {
  display: block;
  font-size: clamp(2.9rem, 9.5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.hero__tagline {
  font-size: clamp(1.15rem, 1rem + 1vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  max-width: 22ch;
  margin-inline: auto;
  color: rgba(255,255,255,.82);
}
.hero__rule {
  width: 96px; height: 3px;
  margin-inline: auto;
  background: var(--brand);
  border: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}

/* The four capability words under the hero copy */
.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem clamp(1.5rem, 4vw, 3.25rem);
  list-style: none;
  padding: 0;
}
.pillars li {
  font-family: var(--font-display);
  font-size: clamp(.85rem, .8rem + .3vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}

/* thin scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  translate: -50% 0;
  width: 1px; height: 48px;
  background: linear-gradient(var(--brand), transparent);
  opacity: .9;
}

/* =========================================================================
   Page header for interior pages
   ========================================================================= */
.pagehead {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 120% at 82% 0%, rgba(211,119,0,.10), transparent 64%);
  pointer-events: none;
}
.pagehead__inner { position: relative; }
.pagehead h1 { margin-top: .6rem; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); }

/* breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  color: var(--muted);
}
.crumbs a { text-decoration: none; transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .55; }
.crumbs [aria-current="page"] { color: var(--ink); }

/* =========================================================================
   Generic split / feature blocks
   ========================================================================= */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.split > *, .service-intro > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__media { order: 2; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__media--wide img { aspect-ratio: 16 / 7; }
/* orange hairline frame, offset behind the photo */
.split__media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid rgba(211,119,0,.42);
  border-radius: var(--radius);
  z-index: -1;
}

/* stat / detail row */
.facts {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.fact__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.fact__label {
  margin-top: .45rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================================
   Service / capability cards
   ========================================================================= */
.cards {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
.card {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background-color .4s var(--ease);
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card:hover { background: var(--paper-2); }
.card__index {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .18em;
}
.card h3 { margin: .85rem 0 .65rem; font-size: 1.35rem; color: var(--brand); font-weight: 600; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand-ink); }
.card p { color: var(--text); font-size: .96rem; line-height: 1.7; }

/* =========================================================================
   Checklist — "Our experience" / service inventories
   ========================================================================= */
.checklist { list-style: none; padding: 0; margin-top: 1.5rem; }
.checklist li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  line-height: 1.6;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .35rem; top: 1.15rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* =========================================================================
   Service detail pages
   ========================================================================= */
.service-intro {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .service-intro { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); }
}
.service-summary {
  border-left: 3px solid var(--brand);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}
.service-summary h2 { font-size: 1.25rem; color: var(--ink); }
.service-summary ul { margin-top: 1rem; padding-left: 1.1rem; }
.service-summary li + li { margin-top: .45rem; }
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: 2.5rem;
}
.service-note {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

/* =========================================================================
   Experience bars
   ========================================================================= */
.exp { margin-top: 2.5rem; }
.exp__row + .exp__row { margin-top: 1.5rem; }
.exp__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .55rem;
}
.exp__label {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.exp__years { font-size: .84rem; color: var(--muted); letter-spacing: .06em; }
.exp__track {
  height: 6px;
  border-radius: 99px;
  background: var(--paper-3);
  overflow: hidden;
}
.exp__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
  transition: width 1.2s var(--ease);
  transition-delay: var(--delay, 0s);
}
.is-in .exp__fill, .no-js .exp__fill { width: var(--pct); }
@media (prefers-reduced-motion: reduce) { .exp__fill { transition: none; } }

/* =========================================================================
   Recent projects
   ========================================================================= */
.projects {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: 3rem;
}
.project {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover {
  border-color: rgba(211,119,0,.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(35,39,46,.08);
}
.project__logo {
  display: grid;
  place-items: center;
  height: 78px;
}
.project__logo img {
  max-height: 78px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.project:hover .project__logo img { filter: none; opacity: 1; }
.project__name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.project__role {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.project__visit {
  margin-top: auto;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project:hover .project__visit { color: var(--brand-ink); }

/* =========================================================================
   Contact details
   ========================================================================= */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.detail + .detail { margin-top: 1.85rem; }
.detail__label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}
.detail__value {
  margin-top: .35rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  text-decoration: none;
  display: inline-block;
  transition: color .3s var(--ease);
}
a.detail__value:hover { color: var(--brand); }

.hours { border-top: 1px solid var(--line); margin-top: 1.25rem; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.hours__day {
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.hours__time { font-size: 1rem; color: var(--ink); }
.hours__row.is-closed .hours__time {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hours__row.is-today { background: linear-gradient(90deg, rgba(211,119,0,.09), transparent); }
.hours__row.is-today .hours__day { color: var(--brand); }

/* =========================================================================
   Backup / iDrive block (carried over from the old sidebar widget)
   ========================================================================= */
.backup {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .backup { grid-template-columns: minmax(0, 320px) 1fr; } }
.backup__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =========================================================================
   CTA band
   ========================================================================= */
.band {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  background: var(--ink-2);
  color: #c8ccd4;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 140% at 50% 100%, rgba(211,119,0,.24), transparent 70%);
}
.band > * { position: relative; }
.band .h-lg { color: #fff; }
.band .eyebrow { color: var(--brand-soft); }

.band__lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem clamp(2rem, 6vw, 4.5rem);
  margin-top: 2.5rem;
}
.band__line { text-align: center; }
.band__label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-soft);
}
.band__value {
  display: inline-block;
  margin-top: .35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color .3s var(--ease);
}
.band__value:hover { color: var(--brand-soft); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; background: var(--ink-2); color: #9aa0a9; }
.footer__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer__logo { width: 200px; margin-bottom: 1.15rem; }
.footer h2 {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; }
.footer li + li { margin-top: .55rem; }
.footer a { text-decoration: none; color: #9aa0a9; font-size: .95rem; transition: color .3s var(--ease); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; color: #9aa0a9; font-size: .95rem; line-height: 1.7; }
.footer p { font-size: .95rem; }

.footer__promo {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}
.footer__promo-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 3vw, 1.5rem);
}
.footer__promo-links > a {
  display: block;
  min-width: 0;
}
.footer__promo-links > a:nth-child(1) { flex: 0 1 300px; }
.footer__promo-links > a:nth-child(2) { flex: 0 1 120px; }
.footer__promo img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  border: 0;
  border-radius: var(--radius);
}
.footer__promo + .footer__base { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: .8rem;
  letter-spacing: .04em;
}

/* back-to-top */
.to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 50;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-soft); }
.to-top svg { width: 16px; height: 16px; fill: currentColor; }

/* =========================================================================
   Reveal on scroll (JS adds .is-in)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
/* Never leave content hidden if JS fails */
.no-js .reveal { opacity: 1; transform: none; }

/* visually hidden (available to screen readers and crawlers) */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* skip link */
.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .7rem 1.2rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  transition: top .25s var(--ease);
}
.skip:focus { top: 1rem; }
