/*
 * APEX I M CAPITAL: theme component styles.
 * Ported from the approved static template (site-v2/assets/css/styles.css).
 * Class names are unchanged so the static markup carries over.
 *
 * Tokens: colours and fonts come from theme.json as --wp--preset--* custom
 * properties and are aliased below (--navy-950, --font-head, ...). Direction
 * neutral: logical properties only (inset-inline-*, margin-inline-*, ...).
 * The few physical values left (gradients, transform-origin, background
 * positions) have [dir="rtl"] overrides at the end of the file.
 */

:root {
  /* palette: aliases of theme.json presets (fallbacks cover slugs not yet in theme.json) */
  --navy-950: var(--wp--preset--color--navy-950);
  --navy-900: var(--wp--preset--color--navy-900);
  --navy-800: var(--wp--preset--color--navy-800);
  --navy-700: var(--wp--preset--color--navy-700);
  --gold-400: var(--wp--preset--color--gold-400, var(--wp--preset--color--primary, #c6a15b));
  --gold-700: var(--wp--preset--color--gold-700, var(--wp--preset--color--primary-ink, #7a5a1f));
  --ivory-50: var(--wp--preset--color--ivory-50, var(--wp--preset--color--surface, #f4f0e7));
  --ivory-100: var(--wp--preset--color--ivory-100, var(--wp--preset--color--line, #ebe5d8));
  --ink: var(--wp--preset--color--ink);
  --stone-600: var(--wp--preset--color--stone-600);
  --mist-300: var(--wp--preset--color--mist-300);
  --white: var(--wp--preset--color--white);

  /* palette: not in theme.json, local only */
  --gold-300: #d8bb83;
  --ivory-200: #ddd5c4;
  --mist-100: #dfe3e8;
  --error: #b42318;
  --error-bg: #fdf1ef;
  --success: #2e7d32;
  --success-ink: #1b5e20;
  --success-bg: #eef6ee;
  --warn-bg: #fff3cd;
  --field-bd: #c9c2b2;

  --font-head: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond"), Georgia, "Times New Roman", serif;
  --font-body: var(--wp--preset--font-family--montserrat, "Montserrat"), system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 2px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 600ms;

  --z-header: 40;
  --z-menu: 50;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory-50); color: var(--ink);
  font: 400 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
:root :where(a) { color: inherit; }
:root :where(h1, h2, h3, h4) { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--gold-400); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }
.on-light :focus-visible, .section--light :focus-visible, .form :focus-visible { outline-color: var(--gold-700); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 100; padding: 12px 20px;
  background: var(--gold-400); color: var(--navy-950); font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { inset-block-start: 12px; }

/* ---------- WordPress parity resets ----------
   Placed before the components on purpose: same specificity, so component rules win. */

/* root padding/margins from theme.json and the site-blocks wrapper */
:root, body { --wp--style--root--padding-top: 0px; --wp--style--root--padding-right: 0px; --wp--style--root--padding-bottom: 0px; --wp--style--root--padding-left: 0px; }
body { padding: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
main#main { margin: 0; padding: 0; max-inline-size: none; }

/* structural groups must not be capped to the constrained content width, nor get flow margins/gaps */
:where(.site-header, .site-footer, .section, .hero, .page-hero, .cta-band, .statement, main#main):is(.is-layout-flow, .is-layout-constrained) > *,
:where(.site-header, .site-footer, .section, .hero, .page-hero, .cta-band, .statement, main#main) :is(.is-layout-flow, .is-layout-constrained) > * {
  max-inline-size: none; margin-block: 0; margin-inline: 0 !important;
}
:where(.site-header, .site-footer, .section, .hero, .page-hero, .cta-band, .statement, main#main):is(.is-layout-flex, .is-layout-grid),
:where(.site-header, .site-footer, .section, .hero, .page-hero, .cta-band, .statement, main#main) :is(.is-layout-flex, .is-layout-grid) { gap: 0; }
.wp-block-group.section, .wp-block-group.hero, .wp-block-group.page-hero, .wp-block-group.cta-band,
.wp-block-group.statement, .wp-block-group.site-header, .wp-block-group.site-footer { max-inline-size: none; }
.wp-block-group.container, .is-layout-constrained > .container { max-inline-size: none; margin-inline: auto !important; }
:where(.site-header, .site-footer, .section, .hero, .page-hero, .cta-band, .statement, main#main)
  :is(.wp-block-group, .wp-block-image, .wp-block-cover, .wp-block-columns, .wp-block-column, .wp-block-buttons, .wp-block-button, .wp-block-heading, .wp-block-paragraph, .wp-block-list, .wp-block-quote, .wp-block-media-text, .wp-block-video, .wp-block-navigation) { margin-block: 0; }
.wp-block-quote { border: 0; padding: 0; }

/* core screen-reader text (the skip link reveals itself on focus) */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto; clip-path: none; width: auto; height: auto; margin: 0; overflow: visible; white-space: normal;
  z-index: 100000; padding: 12px 20px; background: var(--gold-400); color: var(--navy-950);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}

/* admin bar: the header is fixed, so it sits below the bar (46px under 783px). theme.js sets --aimc-adminbar while the bar scrolls away on phones. */
body.admin-bar .site-header { inset-block-start: var(--aimc-adminbar, var(--wp-admin--admin-bar--height, 32px)); }
body.admin-bar .mobile-menu { inset-block-start: var(--aimc-adminbar, var(--wp-admin--admin-bar--height, 32px)); }
body.admin-bar .aside { inset-block-start: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px) + 32px); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px) + 16px); }
@media (max-width: 782px) {
  body.admin-bar .site-header, body.admin-bar .mobile-menu { inset-block-start: var(--aimc-adminbar, var(--wp-admin--admin-bar--height, 46px)); }
  body.admin-bar .aside { inset-block-start: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px) + 32px); }
  html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px) + 16px); }
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font: 600 12px/1.4 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-400); }
.display { font-size: clamp(44px, 6.4vw, 92px); font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; }
.h2 { font-size: clamp(36px, 4.4vw, 60px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; max-width: 60ch; }
.muted { color: var(--stone-600); }
.section--dark .muted, .hero .muted { color: var(--mist-300); }
.gold { color: var(--gold-400); }
em.accent { font-style: italic; color: var(--gold-700); }
.section--dark em.accent, .hero em.accent, .page-hero em.accent, .cta-band em.accent { color: var(--gold-400); }

/* ---------- buttons and links ---------- */
.btn {
  --btn-bg: var(--gold-400); --btn-fg: var(--navy-950); --btn-bd: var(--gold-400);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px;
  border: 1px solid var(--btn-bd); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--gold-300); --btn-bd: var(--gold-300); color: var(--btn-fg); }
.btn:active { transform: scale(.98); }
.btn i { font-size: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ivory-50); --btn-bd: rgb(244 240 231 / .45); }
.btn--ghost:hover { --btn-bg: rgb(244 240 231 / .08); --btn-bd: var(--ivory-50); }
.btn--dark { --btn-bg: var(--navy-900); --btn-fg: var(--ivory-50); --btn-bd: var(--navy-900); }
.btn--dark:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--outline:hover { --btn-bg: var(--navy-900); --btn-fg: var(--ivory-50); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Button block: class "btn" on the wp-block-button wrapper. The wrapper only carries the --btn-* variables
   (they inherit); the inner link draws the button. */
.wp-block-button.btn { display: flex; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.wp-block-button.btn > .wp-block-button__link,
.wp-block-button__link.btn {
  display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px;
  border: 1px solid var(--btn-bd); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  box-shadow: none; word-break: normal; touch-action: manipulation;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.wp-block-button.btn > .wp-block-button__link:hover,
.wp-block-button__link.btn:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bd); }
.wp-block-button.btn.btn--sm > .wp-block-button__link { min-height: 44px; padding: 10px 20px; font-size: 12px; }
.aside-card .wp-block-button.btn, .mobile-menu .wp-block-button.btn { width: 100%; }
.wp-block-buttons.btn-row { margin: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold-700);
}
.section--dark .link-arrow, .card--dark .link-arrow { color: var(--gold-400); }
.link-arrow i { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover i { transform: translateX(4px); }
.text-link { color: var(--gold-700); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.section--dark .text-link { color: var(--gold-400); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-header); height: var(--header-h);
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), height var(--dur-2) var(--ease-out);
  border-bottom: 1px solid transparent; color: var(--ivory-50);
}
.site-header.is-solid { background: rgb(5 8 13 / .96); border-bottom-color: rgb(198 161 91 / .2); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgb(5 8 13 / .86); backdrop-filter: blur(12px); } }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.brand img { width: auto; height: 46px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font: 600 21px/1 var(--font-head); letter-spacing: .14em; white-space: nowrap; }
.brand__tag { margin-top: 6px; font: 500 9.5px/1 var(--font-body); letter-spacing: .32em; color: var(--gold-400); white-space: nowrap; }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav button.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 0; background: none; cursor: pointer;
  color: var(--ivory-50); font: 500 14px/1 var(--font-body); letter-spacing: .04em; text-decoration: none; position: relative;
}
.main-nav a::after, .main-nav button.nav-trigger::after {
  content: ""; position: absolute; inset-inline: 14px; inset-block-end: 6px; height: 1px; background: var(--gold-400);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after, .main-nav .has-menu:hover > button::after,
.main-nav button[aria-expanded="true"]::after, .main-nav button.is-current::after { transform: scaleX(1); }
.main-nav a[aria-current="page"], .main-nav button.is-current { color: var(--gold-400); }
.nav-trigger i { font-size: 14px; transition: transform var(--dur-2) var(--ease-out); }
.nav-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.header-cta { flex: none; }

.has-menu { position: relative; }
.mega {
  position: absolute; inset-block-start: calc(100% + 18px); inset-inline-start: 50%; width: min(760px, 90vw); transform: translate(-50%, 8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px;
  background: rgb(198 161 91 / .25); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.mega::before { content: ""; position: absolute; inset-block-start: -20px; inset-inline: 0; height: 20px; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .nav-trigger[aria-expanded="true"] + .mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.mega a {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; padding: 22px; min-height: 0;
  background: var(--navy-900); letter-spacing: 0;
}
.mega a::after { display: none; }
.mega a:hover { background: var(--navy-800); }
.mega a i { grid-row: span 2; font-size: 28px; color: var(--gold-400); margin-top: 2px; }
.mega strong { font: 600 22px/1.2 var(--font-head); color: var(--ivory-50); }
.mega span { font-size: 13px; line-height: 1.5; color: var(--mist-300); }
.mega .mega__all { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; padding: 16px 22px; background: var(--navy-950); }
.mega .mega__all span { font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }

.menu-toggle {
  display: none; margin-inline-start: auto; width: 48px; height: 48px; border: 1px solid rgb(244 240 231 / .3); border-radius: var(--radius);
  background: transparent; color: var(--ivory-50); cursor: pointer; align-items: center; justify-content: center; font-size: 24px;
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--navy-950); color: var(--ivory-50);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-menu nav { margin-top: 32px; }
.mobile-menu nav > ul > li { border-bottom: 1px solid var(--navy-700); }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; text-decoration: none; font: 500 28px/1.2 var(--font-head); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold-400); }
.mobile-menu .sub a { min-height: 48px; padding-inline-start: 20px; font: 500 15px/1.3 var(--font-body); color: var(--mist-300); }
.mobile-menu .sub li:last-child { padding-bottom: 12px; }
.mobile-menu .btn { margin-top: 32px; }
.mobile-menu__contact { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--mist-300); }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  :root { --header-h: 72px; }
}
@media (max-width: 420px) {
  .brand img { height: 38px; }
  .brand__name { font-size: 17px; letter-spacing: .1em; }
  .brand__tag { font-size: 8px; letter-spacing: .24em; }
}
body.menu-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; color: var(--ivory-50);
  background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / .88) 36%, rgb(5 8 13 / .5) 64%, rgb(5 8 13 / .25) 100%),
    linear-gradient(0deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / 0) 38%);
}
.hero__body { flex: 1; display: flex; align-items: center; padding: calc(var(--header-h) + 64px) 0 56px; }
.hero__copy { max-width: 720px; }
.hero__copy .lead { margin-top: 28px; color: var(--mist-100); }
.hero__copy .btn-row { margin-top: 40px; }
.hero__focus { border-top: 1px solid rgb(198 161 91 / .28); background: rgb(5 8 13 / .55); }
@supports (backdrop-filter: blur(8px)) { .hero__focus { background: rgb(5 8 13 / .4); backdrop-filter: blur(10px); } }
.hero__focus .container { display: grid; grid-template-columns: 200px repeat(4, 1fr); }
.hero__focus-label { display: flex; align-items: center; padding-block: 24px; padding-inline: 0 24px; font: 600 11px/1.5 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); }
.focus-link {
  display: flex; align-items: center; gap: 14px; padding: 28px 24px; text-decoration: none; color: var(--ivory-50);
  border-inline-start: 1px solid rgb(198 161 91 / .18); transition: background var(--dur-2) var(--ease-out);
}
.focus-link:hover { background: rgb(198 161 91 / .08); }
.focus-link i { font-size: 26px; color: var(--gold-400); flex: none; }
.focus-link span { font: 500 20px/1.2 var(--font-head); }
.focus-link small { display: block; margin-bottom: 2px; font: 500 11px/1 var(--font-body); letter-spacing: .14em; color: var(--mist-300); }
.hero__pause {
  position: absolute; inset-inline-end: var(--gutter); bottom: 120px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(244 240 231 / .4); background: rgb(5 8 13 / .4); color: var(--ivory-50); display: none; place-items: center; cursor: pointer;
}
.hero.has-video .hero__pause { display: grid; }
@media (max-width: 1080px) {
  .hero__focus .container { grid-template-columns: 1fr 1fr; }
  .hero__focus-label { display: none; }
  .focus-link { padding: 20px 16px; border-top: 1px solid rgb(198 161 91 / .18); }
  .focus-link:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 640px) {
  .hero__media img { object-position: 64% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgb(5 8 13 / .97) 0%, rgb(5 8 13 / .85) 55%, rgb(5 8 13 / .45) 100%); }
  .hero__body { align-items: flex-end; padding-bottom: 40px; }
  .focus-link span { font-size: 17px; }
  .focus-link i { font-size: 22px; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: var(--ivory-50); background: var(--navy-950);
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px); overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / .8) 45%, rgb(5 8 13 / .45) 100%); }
.page-hero .lead { margin-top: 24px; color: var(--mist-100); }
.page-hero .btn-row { margin-top: 36px; }
.page-hero h1 { max-width: 18ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 13px; color: var(--mist-300); }
.breadcrumb a { color: var(--mist-100); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: rgb(198 161 91 / .6); }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--dark { background: var(--navy-900); color: var(--ivory-50); }
.section--deep { background: var(--navy-950); color: var(--ivory-50); }
.section--light { background: var(--ivory-50); }
.section--sand { background: var(--ivory-100); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head .lead { justify-self: end; }
.section-head--stack { grid-template-columns: 1fr; max-width: 760px; }
.section-head--stack .lead { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

.grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, rgb(198 161 91 / .06) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%; }

/* split: text + image */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__media { grid-column: 7 / span 6; position: relative; }
.split--rev .split__text { grid-column: 8 / span 5; grid-row: 1; }
.split--rev .split__media { grid-column: 1 / span 6; grid-row: 1; }
.split__text > * + * { margin-top: 22px; }
.split__text .h2 + .lead, .split__text .h2 + p { margin-top: 28px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split__text, .split__media, .split--rev .split__text, .split--rev .split__media { grid-column: auto; grid-row: auto; }
}
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.frame--wide img { aspect-ratio: 4 / 3; }
.frame::before {
  content: ""; position: absolute; inset-block: 24px -24px; inset-inline: 24px -24px; border: 1px solid var(--gold-400); border-radius: var(--radius); z-index: -1; opacity: .7;
}
.split--rev .frame::before { inset-block: 24px -24px; inset-inline: -24px 24px; }
.frame__badge {
  position: absolute; inset-inline-start: -32px; bottom: 40px; max-width: 280px; padding: 24px 28px; background: var(--navy-900); color: var(--ivory-50);
  border-inline-start: 2px solid var(--gold-400); box-shadow: 0 24px 48px -24px rgb(5 8 13 / .6);
}
.frame__badge strong { display: block; font: 500 26px/1.15 var(--font-head); }
.frame__badge span { display: block; margin-top: 6px; font-size: 13px; color: var(--mist-300); }
@media (max-width: 900px) {
  .frame::before { inset-block: 16px -16px; inset-inline: 12px -12px; }
  .frame__badge { position: relative; inset-inline-start: auto; bottom: auto; max-width: none; margin-top: -2px; }
}

/* check list */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.checks i { color: var(--gold-700); font-size: 22px; margin-top: 2px; }
.section--dark .checks i { color: var(--gold-400); }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ivory-200); border-bottom: 1px solid var(--ivory-200); }
.fact { padding: 36px 28px; border-inline-start: 1px solid var(--ivory-200); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact i { font-size: 30px; color: var(--gold-700); }
.fact strong { display: block; margin-top: 18px; font: 500 26px/1.15 var(--font-head); }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--stone-600); }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 20px; border-top: 1px solid var(--ivory-200); }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 480px) { .fact { padding: 22px 14px; } .fact strong { font-size: 21px; margin-top: 12px; } .fact span { font-size: 13px; } }

/* ---------- path cards (who are you) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--navy-700); border: 1px solid var(--navy-700); }
.path {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(32px, 3.4vw, 48px); background: var(--navy-900); color: var(--ivory-50);
  text-decoration: none; position: relative; transition: background var(--dur-2) var(--ease-out); min-height: 340px;
}
.path:hover { background: var(--navy-800); }
.path__num { font: 500 15px/1 var(--font-head); color: var(--gold-400); letter-spacing: .1em; }
.path i.ph { font-size: 40px; color: var(--gold-400); }
.path h3 { font-size: clamp(28px, 2.4vw, 34px); }
.path p { color: var(--mist-300); }
.path .link-arrow { margin-top: auto; color: var(--gold-400); }
.path::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0; height: 2px; width: 0; background: var(--gold-400); transition: width var(--dur-3) var(--ease-out); }
.path:hover::after { width: 100%; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } }

/* ---------- service cards ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: clamp(28px, 3vw, 44px);
  color: var(--ivory-50); text-decoration: none; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--navy-900);
}
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(5 8 13 / .96) 0%, rgb(5 8 13 / .72) 45%, rgb(5 8 13 / .15) 100%); transition: background var(--dur-3) var(--ease-out); }
.svc:hover img { transform: scale(1.05); }
.svc__top { position: absolute; inset-block-start: clamp(28px, 3vw, 44px); inset-inline: clamp(28px, 3vw, 44px); display: flex; justify-content: space-between; align-items: center; }
.svc__num { font: 500 16px/1 var(--font-head); letter-spacing: .14em; color: var(--gold-400); }
.svc__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgb(198 161 91 / .5); border-radius: 50%; font-size: 26px; color: var(--gold-400); background: rgb(5 8 13 / .4); }
.svc h3 { font-size: clamp(30px, 2.8vw, 40px); max-width: 16ch; }
.svc p { margin-top: 14px; color: var(--mist-100); max-width: 46ch; }
.svc .link-arrow { margin-top: 20px; color: var(--gold-400); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .svc { min-height: 440px; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 3), 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 31px; height: 1px; background: linear-gradient(90deg, var(--gold-400), rgb(198 161 91 / .15)); }
.step { position: relative; padding-inline-end: 40px; }
.step__dot {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; position: relative;
  background: var(--navy-900); border: 1px solid var(--gold-400); color: var(--gold-400); font: 500 24px/1 var(--font-head);
}
.section--light .step__dot, .section--sand .step__dot { background: var(--ivory-50); color: var(--gold-700); border-color: var(--gold-700); }
.section--light .steps::before, .section--sand .steps::before { background: linear-gradient(90deg, var(--gold-700), rgb(122 90 31 / .15)); }
.step h3 { margin-top: 32px; font-size: clamp(26px, 2.2vw, 32px); }
.step p { margin-top: 14px; color: var(--mist-300); max-width: 34ch; }
.section--light .step p, .section--sand .step p { color: var(--stone-600); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { inset-inline-start: 31px; inset-inline-end: auto; inset-block: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold-400), rgb(198 161 91 / .15)); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 24px; padding-inline-end: 0; }
  .step__dot { grid-row: span 2; }
  .step h3 { margin-top: 12px; }
}

/* ---------- quote / statement band ---------- */
.statement { position: relative; isolation: isolate; color: var(--ivory-50); padding: clamp(96px, 12vw, 180px) 0; overflow: hidden; }
.statement img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(5 8 13 / .92), rgb(5 8 13 / .6)); }
.statement blockquote { margin: 0; max-width: 22ch; font: 500 clamp(34px, 4.6vw, 64px)/1.1 var(--font-head); }
.statement blockquote em { color: var(--gold-400); }
.statement p { margin-top: 28px; max-width: 54ch; color: var(--mist-100); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-950); color: var(--ivory-50); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset-inline-end: -10%; inset-block-start: 50%; width: 760px; height: 760px; transform: translateY(-50%); z-index: -1;
  background: url("../brand/icon-512.png") center / contain no-repeat; opacity: .08;
}
.cta-band .container { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.cta-band .lead { margin-top: 24px; color: var(--mist-100); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .container { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } .cta-band::before { width: 420px; height: 420px; inset-inline-end: -30%; } }

/* ---------- prose blocks (service pages) ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 6vw, 96px); align-items: start; }
.content > * + * { margin-top: 56px; }
.block h2 { font-size: clamp(30px, 3vw, 42px); }
.block h2 + p, .block h2 + .cards-2 { margin-top: 20px; }
.block p + p { margin-top: 16px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { padding: 32px; background: var(--ivory-100); border-top: 2px solid var(--gold-700); border-radius: var(--radius); }
.info-card i { font-size: 30px; color: var(--gold-700); }
.info-card h3 { margin-top: 18px; font-size: 26px; }
.info-card p { margin-top: 10px; color: var(--stone-600); }
@media (max-width: 700px) { .cards-2 { grid-template-columns: 1fr; } }
.aside { position: sticky; inset-block-start: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.aside-card { padding: 36px 32px; background: var(--navy-900); color: var(--ivory-50); border-radius: var(--radius); }
.aside-card h3 { font-size: 28px; }
.aside-card p { margin-top: 12px; color: var(--mist-300); font-size: 15px; }
.aside-card .checks { margin-top: 24px; font-size: 15px; }
.aside-card .checks i { color: var(--gold-400); font-size: 20px; }
.aside-card .btn { width: 100%; margin-top: 28px; }
.aside-links { padding: 28px 32px; border: 1px solid var(--ivory-200); border-radius: var(--radius); }
.aside-links h4 { font: 600 12px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--stone-600); }
.aside-links ul { margin-top: 12px; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--ivory-200); text-decoration: none; font: 500 20px/1.2 var(--font-head); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--gold-700); }
@media (max-width: 1024px) { .content-grid { grid-template-columns: 1fr; } .aside { position: static; } }

/* FAQ */
.faq { border-top: 1px solid var(--ivory-200); }
.faq details { border-bottom: 1px solid var(--ivory-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 500 clamp(21px, 1.8vw, 25px)/1.25 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ivory-200); border-radius: 50%; color: var(--gold-700); transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding-block: 0 24px; padding-inline: 0 64px; color: var(--stone-600); }

/* related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related .svc { min-height: 440px; }
.related .svc h3 { font-size: clamp(26px, 2.2vw, 32px); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } .related .svc { min-height: 320px; } }

/* ---------- approach page ---------- */
.phase { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--ivory-200); align-items: start; }
.phase:last-child { border-bottom: 1px solid var(--ivory-200); }
.phase__num { font: 500 72px/0.9 var(--font-head); color: var(--gold-700); }
.phase h3 { font-size: clamp(30px, 3vw, 42px); }
.phase p { color: var(--stone-600); }
.phase img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.phase__text > * + * { margin-top: 16px; }
@media (max-width: 900px) { .phase { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; } .phase__num { font-size: 52px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 0; box-shadow: 0 40px 80px -40px rgb(5 8 13 / .35); }
.contact-info { padding: clamp(36px, 4vw, 56px); background: var(--navy-900); color: var(--ivory-50); display: flex; flex-direction: column; gap: 32px; }
.contact-info h2 { font-size: clamp(30px, 3vw, 40px); }
.contact-info p { color: var(--mist-300); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding-top: 24px; border-top: 1px solid var(--navy-700); }
.contact-item i { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgb(198 161 91 / .45); border-radius: 50%; color: var(--gold-400); font-size: 22px; }
.contact-item small { display: block; font: 600 11px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--mist-300); }
.contact-item a, .contact-item span { display: inline-block; margin-top: 4px; font: 500 21px/1.3 var(--font-head); color: var(--ivory-50); text-decoration: none; }
.contact-item a { min-height: 32px; }
.contact-item a:hover { color: var(--gold-400); }
.form-wrap { padding: clamp(32px, 4vw, 64px); background: var(--white); }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }

/* form (markup and validation come from the enquiry plugin; styles stay here) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font: 600 13px/1.4 var(--font-body); letter-spacing: .04em; color: var(--ink); }
.field label .req { color: var(--error); margin-inline-start: 2px; }
.field label .opt { font-weight: 400; color: var(--stone-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field-bd); border-radius: var(--radius); background: var(--white); color: var(--ink);
  font: 400 16px/1.5 var(--font-body); transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-700); box-shadow: 0 0 0 3px rgb(198 161 91 / .35); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__help { font-size: 13px; color: var(--stone-600); }
.field__error { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; color: var(--error); }
.field__error[hidden] { display: none; }
.form__summary { grid-column: 1 / -1; padding: 16px 20px; border-inline-start: 3px solid var(--error); background: var(--error-bg); color: var(--error); font-size: 14px; }
.form__summary[hidden] { display: none; }
.form__summary ul { margin-top: 6px; padding-inline-start: 18px; list-style: disc; }
.form__summary a { color: inherit; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form__privacy { font-size: 13px; color: var(--stone-600); max-width: 44ch; }
.form__status { grid-column: 1 / -1; font-size: 14px; }
.form__status.is-success { padding: 16px 20px; background: var(--success-bg); border-inline-start: 3px solid var(--success); color: var(--success-ink); }
.form__status.is-error { padding: 16px 20px; background: var(--error-bg); border-inline-start: 3px solid var(--error); color: var(--error); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* legal */
.legal { max-width: 760px; }
.legal p + p { margin-top: 18px; }
.legal h2 { margin: 40px 0 14px; font-size: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--mist-300); padding: clamp(72px, 8vw, 104px) 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--navy-700); }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { margin-top: 24px; max-width: 36ch; }
.site-footer h3 { font: 600 12px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.site-footer ul li + li { margin-top: 4px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ivory-50); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 28px; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom a { min-height: 32px; color: var(--mist-300); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise 900ms var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 80ms; }
.hero__copy > :nth-child(3) { animation-delay: 160ms; }
.hero__copy > :nth-child(4) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .svc:hover img { transform: none; }
}

/* long addresses wrap instead of pushing the page sideways on a phone */
.contact-item > div, .form > *, .contact-grid > * { min-width: 0; }
.contact-item a, .contact-item span { overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-item a, .contact-item span { font-size: 18px; } }

/* ---------- WordPress: link-hover parity ----------
   theme.json styles every link's :hover (:root :where(a:not(.wp-element-button)):hover, specificity 0,2,0), which would
   recolour anchors that only set a colour in their resting state. Restate those colours for :hover. */
.link-arrow:hover, .text-link:hover { color: var(--gold-700); }
.section--dark .link-arrow:hover, .card--dark .link-arrow:hover, .path .link-arrow:hover, .svc .link-arrow:hover, .section--dark .text-link:hover { color: var(--gold-400); }
.brand:hover, .focus-link:hover, .path:hover, .svc:hover, .main-nav a:hover, .mobile-menu nav a:hover { color: var(--ivory-50); }
.brand:hover { color: inherit; }
.main-nav a[aria-current="page"]:hover, .mobile-menu nav a[aria-current="page"]:hover { color: var(--gold-400); }
.mobile-menu .sub a:hover { color: var(--mist-300); }
.form__summary a:hover { color: inherit; }
.skip-link:hover { color: var(--navy-950); }

/* ---------- editor: reveal items would stay invisible without the front-end script ---------- */
.editor-styles-wrapper .reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .hero__copy > * { animation: none; }

/* ---------- RTL: values that have no logical equivalent ---------- */
[dir="rtl"] .main-nav a::after, [dir="rtl"] .main-nav button.nav-trigger::after { transform-origin: right; }
[dir="rtl"] .mega { transform: translate(50%, 8px); }
[dir="rtl"] .has-menu:hover > .mega, [dir="rtl"] .has-menu:focus-within > .mega, [dir="rtl"] .nav-trigger[aria-expanded="true"] + .mega { transform: translate(50%, 0); }
[dir="rtl"] .field select { background-position: 22px 50%, 16px 50%; }
[dir="rtl"] .page-hero__media::after { background: linear-gradient(270deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / .8) 45%, rgb(5 8 13 / .45) 100%); }
[dir="rtl"] .statement::before { background: linear-gradient(270deg, rgb(5 8 13 / .92), rgb(5 8 13 / .6)); }
@media (min-width: 641px) {
  [dir="rtl"] .hero__media::after {
    background:
      linear-gradient(270deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / .88) 36%, rgb(5 8 13 / .5) 64%, rgb(5 8 13 / .25) 100%),
      linear-gradient(0deg, rgb(5 8 13 / .95) 0%, rgb(5 8 13 / 0) 38%);
  }
}
@media (min-width: 901px) {
  [dir="rtl"] .steps::before { background: linear-gradient(270deg, var(--gold-400), rgb(198 161 91 / .15)); }
  [dir="rtl"] .section--light .steps::before, [dir="rtl"] .section--sand .steps::before { background: linear-gradient(270deg, var(--gold-700), rgb(122 90 31 / .15)); }
}

/* Contact form note (static: inline style margin 8px 0 28px) */
.form-wrap .form-note { margin-block: 8px 28px; }

/* Statement eyebrow keeps the static 28px top margin (WP flow layout zeroes first-child margins) */
.statement .container > .eyebrow { margin-block-start: 28px; }
