/* Remy Solutions — site styles */

:root {
  /* Brand colors, sampled from the Remy Solutions logo */
  --navy: #0c1d35;
  --navy-800: #142a4a;
  --navy-tint: #1b3a66;
  --gold: #c9a44e;
  --gold-deep: #86651c; /* gold for text on light backgrounds (AA contrast) */

  /* Neutrals */
  --paper: #f4f5f7;
  --white: #ffffff;
  --ink: var(--navy);
  --muted: #4a5568;
  --on-dark: #e8ecf2;
  --on-dark-muted: #b8c2d1;
  --rule: #d8dde5;
  --error: #b42318;

  /* Type */
  --font-display: "Gloock", "Georgia", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-pad: clamp(48px, 6vw, 80px);
  --header-h: 88px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

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

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 20px; background: var(--gold); color: var(--navy);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Brand lockup ---------- */

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
}
.brand__mark { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-weight: 600; font-size: 1.05rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.brand__tagline { font-size: .72rem; color: var(--gold); letter-spacing: .01em; margin-top: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--white);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}
.site-header.is-scrolled {
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 0 var(--rule), 0 8px 24px rgba(12, 29, 53, .06);
}
.site-header.is-scrolled .brand__tagline { color: var(--gold-deep); }

.site-nav__list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.site-nav a {
  display: inline-block; padding: 8px 0;
  font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .3s var(--ease-out);
}
.site-nav a:hover,
.site-nav a[aria-current] { background-size: 100% 1px; }

.site-nav .site-nav__cta a {
  padding: 12px 20px;
  background: var(--gold); color: var(--navy); font-weight: 600; letter-spacing: .12em;
  transition: background-color .2s var(--ease-out);
}
.site-nav .site-nav__cta a:hover { background: #d8b766; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; padding: 0; margin-right: -12px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; margin-inline: auto;
  background: currentColor; transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 18px;
  min-height: 56px; padding: 0 32px;
  font: 500 .95rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn__icon {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5;
  transition: transform .25s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--outline-light { color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }

.btn--gold { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn--gold:hover { background: #d8b766; }

.text-link {
  display: inline-block;
  font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  padding-bottom: 4px; border-bottom: 2px solid var(--gold);
  transition: color .2s;
}
.text-link:hover { color: var(--gold-deep); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-dark); }

.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 1.04;
  letter-spacing: -.005em; color: var(--navy);
  text-wrap: balance;
}
.section-title--center { text-align: center; }
.section-title--light { color: var(--white); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(100svh, 880px);
  padding-block: calc(var(--header-h) + 48px) clamp(64px, 9vw, 112px);
  color: var(--white);
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  filter: grayscale(1) contrast(1.1);
}
/* Navy duotone, then a left-weighted scrim so text stays legible */
.hero__media::before,
.hero__media::after { content: ""; position: absolute; inset: 0; }
.hero__media::before { background: var(--navy-tint); mix-blend-mode: color; }
.hero__media::after {
  background: linear-gradient(100deg, rgba(12, 29, 53, .92) 0%, rgba(12, 29, 53, .72) 45%, rgba(12, 29, 53, .35) 100%);
}

/* Homepage video hero: clips keep their color under a navy scrim */
.hero__media--video::before { display: none; }
.hero__media--video img { filter: none; }
.hero__media--video::after {
  background: linear-gradient(100deg, rgba(12, 29, 53, .9) 0%, rgba(12, 29, 53, .68) 48%, rgba(12, 29, 53, .4) 100%);
}
.hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__media video.is-active { opacity: 1; }

.hero__video-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 4vw, 40px); z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--white); background: rgba(12, 29, 53, .45);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
.hero__video-toggle:hover { background: rgba(12, 29, 53, .8); }
.hero__video-toggle[hidden] { display: none; }
.hero__video-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero__video-toggle .icon-play { display: none; fill: currentColor; stroke: none; }
.hero__video-toggle.is-paused .icon-play { display: block; }
.hero__video-toggle.is-paused .icon-pause { display: none; }

.hero__content { position: relative; }
.hero__title {
  max-width: 14ch;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .98; letter-spacing: -.01em;
}
.hero__lead {
  max-width: 36rem; margin: clamp(28px, 4vw, 40px) 0 clamp(32px, 4vw, 48px);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--on-dark);
}
.hero__cta { margin-top: clamp(28px, 4vw, 44px); }

/* One orchestrated load sequence for the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__lead,
  .hero__content .btn { animation: rise .9s var(--ease-out) both; }
  .hero__lead { animation-delay: .15s; }
  .hero__content .btn { animation-delay: .3s; }
  .hero__media img { animation: settle 2.4s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- How we help ---------- */

.help-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(32px, 4vw, 56px);
  text-align: center;
}
.help-item__icon {
  width: 64px; height: 64px; margin: 0 auto 28px;
  fill: none; stroke: var(--navy); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.help-item__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15;
  margin-bottom: 16px;
}
.help-item p { max-width: 34ch; margin-inline: auto; color: var(--muted); }

/* ---------- Services ---------- */

.service-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(28px, 3vw, 40px);
}
/* Three cards per row; on the homepage the seven services sit three over four */
.service-grid > li { grid-column: span 4; }
.service-grid--home > li:nth-child(n + 4) { grid-column: span 3; }

.service-card {
  position: relative; display: flex; align-items: flex-end;
  height: 100%; min-height: clamp(300px, 30vw, 400px); overflow: hidden;
  padding: clamp(20px, 2vw, 28px);
  color: var(--white); text-decoration: none; background: var(--navy);
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 29, 53, .05) 15%, rgba(12, 29, 53, .65) 50%, rgba(12, 29, 53, .96) 100%);
}
.service-card__body,
.service-card__arrow { position: relative; z-index: 1; }
.service-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-right: 20px; }
.service-card__title {
  max-width: 18ch;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.1;
  overflow-wrap: break-word;
}
.service-card__desc { max-width: 42ch; font-size: .95rem; line-height: 1.55; color: var(--on-dark); }
.service-card__arrow {
  flex: none; width: 26px; height: 26px; margin-bottom: 4px;
  fill: none; stroke: var(--gold); stroke-width: 1.5;
  transition: transform .3s var(--ease-out);
}
.service-card:hover img { transform: scale(1.05); }
.service-card:hover .service-card__arrow { transform: translateX(4px); }
.service-card:focus-visible { outline-offset: 4px; }

/* ---------- Sectors ---------- */

/* Centered heading, sectors in four columns below */
.sectors { display: grid; gap: clamp(28px, 3.5vw, 48px); }
.sector-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
}
.sector-list li { padding: 24px 0 28px; border-top: 1px solid rgba(201, 164, 78, .45); }
.sector-list h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2;
  color: var(--white); margin-bottom: 8px;
}
.sector-list p { font-size: .95rem; color: var(--on-dark-muted); }

/* ---------- About ---------- */

.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body p { max-width: 58ch; color: var(--muted); }
.about__body .section-title { margin-bottom: 24px; }
.about__body p + p { margin-top: 20px; }
.about__body .text-link { margin-top: 28px; }

/* ---------- Inner pages ---------- */

.hero--page { min-height: min(66svh, 620px); }
.hero--short { min-height: min(50svh, 460px); }
.hero--page .hero__title {
  max-width: 18ch;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem); line-height: 1.02;
}
.hero__crumb a {
  display: inline-block; margin-bottom: 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.hero__crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.page-intro p { max-width: 58ch; font-size: 1.15rem; color: var(--muted); }

.offer-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(28px, 3.5vw, 48px);
}
.offer-grid li { padding: 28px 0 40px; border-top: 1px solid var(--gold); }
.offer-grid h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2;
  margin-bottom: 12px;
}
.offer-grid p { color: var(--muted); font-size: .98rem; }

.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(44px, 5vw, 64px); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.cta-band__title {
  max-width: 20ch;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08;
}

.service-grid--compact .service-card { min-height: clamp(240px, 22vw, 300px); }

.hero--plain {
  min-height: 0; background: var(--navy);
  padding-block: calc(var(--header-h) + clamp(56px, 8vw, 96px)) clamp(56px, 7vw, 88px);
}

.btn--small { min-height: 48px; padding: 0 22px; font-size: .85rem; gap: 12px; }
.btn__icon--fill { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ---------- Leadership ---------- */

.leader,
.bio {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.leader__photo img,
.bio__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  background: var(--navy);
}
.leader__body .section-title { margin-bottom: 24px; }
.leader__name {
  display: block;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1;
}
.leader__role { display: block; margin: 6px 0 24px; font-weight: 600; color: var(--gold-deep); }
.leader__body > p:not(.leader__role) { max-width: 62ch; color: var(--muted); }
.leader__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 36px; }

.bio__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.bio__photo figcaption { margin-top: 24px; }
.bio__photo .leader__role { margin-bottom: 20px; }
.bio__body p { max-width: 66ch; font-size: 1.075rem; line-height: 1.75; color: var(--ink); }
.bio__body p + p { margin-top: 22px; }

/* ---------- Consultation form ---------- */

.consult {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
.form-note { margin: 16px 0 32px; font-size: .95rem; color: var(--muted); }

.error-summary { margin-bottom: 32px; padding: 20px 24px; background: var(--white); border-left: 4px solid var(--error); }
.error-summary h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.error-summary ul { list-style: disc; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 500; }

.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .95rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #8a94a3; border-radius: 0;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: .9rem; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }
.field__hint { font-size: .875rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form__status { font-size: .95rem; }

/* Booking calendar takes the full width so Calendly uses its side-by-side layout */
.consult--booking { grid-template-columns: 1fr; }
.consult--booking .consult__aside { position: static; }
.consult--booking .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.consult--booking .steps li + li { margin-top: 0; }
.scheduler { min-height: 700px; margin-top: 8px; background: var(--white); border: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .consult--booking .steps { grid-template-columns: 1fr; gap: 24px; }
}
/* Floor so the calendar never shows collapsed before Calendly reports its height */
.scheduler iframe { display: block; min-height: 700px; }
.scheduler__fallback { padding: 24px; color: var(--muted); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-tint); }

.consult__aside {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(32px, 4vw, 48px);
  background: var(--navy); color: var(--on-dark);
}
.consult__aside-title {
  font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.1;
  color: var(--white); margin-bottom: 28px;
}
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-left: 48px; counter-increment: step; }
.steps li + li { margin-top: 24px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--gold); color: var(--gold); font-size: .9rem; font-weight: 600;
}
.steps h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.steps p,
.consult__direct p { font-size: .95rem; color: var(--on-dark-muted); }
.consult__direct { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.consult__direct h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.consult__direct a { color: var(--white); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative; isolation: isolate;
  color: var(--white); background: var(--navy);
  padding-block: clamp(56px, 6vw, 80px) 32px;
}
.site-footer__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.site-footer__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.site-footer__media::before,
.site-footer__media::after { content: ""; position: absolute; inset: 0; }
.site-footer__media::before { background: var(--navy-tint); mix-blend-mode: color; }
.site-footer__media::after { background: rgba(12, 29, 53, .82); }

.footer-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.footer-col__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 1;
  padding-bottom: clamp(20px, 2.5vw, 32px); margin-bottom: 20px;
  border-bottom: 1px solid var(--white);
}
.footer-contact div + div { margin-top: 20px; }
.footer-contact dt { color: var(--on-dark-muted); font-size: .95rem; }
.footer-links li + li { margin-top: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.brand--footer .brand__mark { width: 44px; }
.footer-bottom__legal { font-size: .875rem; color: var(--on-dark-muted); }
.footer-bottom__legal a { margin-left: 16px; color: var(--on-dark); }

/* ---------- Responsive ---------- */

.brand__name,
.site-nav a { white-space: nowrap; }

/* Mid-size screens: keep the tabs visible by tightening the header */
@media (max-width: 1280px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand__mark { width: 44px; }
  .site-nav__list { gap: 18px; }
  .site-nav a { font-size: .76rem; letter-spacing: .08em; }
  .site-nav .site-nav__cta a { padding: 10px 14px; letter-spacing: .06em; }
}

@media (max-width: 1060px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; align-items: center;
    padding: var(--header-h) var(--gutter) 48px;
    background: var(--navy); color: var(--white);
    visibility: hidden; opacity: 0;
    transition: opacity .25s var(--ease-out), visibility 0s linear .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease-out); }
  .site-nav__list { flex-direction: column; gap: 8px; }
  .site-nav a {
    font-family: var(--font-display); font-size: 2.25rem; font-weight: 400;
    letter-spacing: 0; text-transform: none;
  }
  /* Keep the bar readable above the open menu */
  .site-header.nav-open { background: transparent; color: var(--white); box-shadow: none; }
  .site-header.nav-open .brand { position: relative; z-index: 2; }
  .site-header.nav-open .brand__tagline { color: var(--gold); }
  .site-nav .site-nav__cta a {
    margin-top: 24px; padding: 16px 24px;
    font-family: var(--font-body); font-size: .95rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
  }
}

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid > li,
  .service-grid--home > li:nth-child(n + 4) { grid-column: auto; }
  /* Odd card out spans the full row */
  .service-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .page-intro,
  .consult { grid-template-columns: 1fr; }
  .sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult__aside { position: static; }
}

@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .about,
  .leader,
  .bio { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 10; }
  .leader__photo,
  .bio__photo { position: static; max-width: 420px; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand__mark { width: 44px; }
  .brand__tagline { font-size: .68rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .sector-list,
  .offer-grid,
  .form__row { grid-template-columns: 1fr; }
  .btn { padding: 0 24px; gap: 14px; }
  .footer-bottom__legal a { margin-left: 0; display: inline-block; margin-top: 4px; }
}

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