/* ============================================================
   Anglesea Corporate Finance: shared site stylesheet (css/styles.css)
   Built from the 2xN reference kit 1.64 stylesheet structure, skinned to
   the Anglesea brand (navy #242C68 and gold #B98A32 from the current site,
   Lato throughout). Light theme only: no light/dark toggle on this site.
   This file is the single source of truth with design-system.html and the
   three Design system boards: change one, change the others in the same pass.
   Tokens are declared on :root and [data-brand], so a board can restate the
   three brand colours (its Tweaks) and every derived token follows.
   Kit token names (--purple*) are kept as aliases so kit pages work as they are.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root, [data-brand] {
  /* brand (from the current site and logo) */
  --navy: #242C68;
  --gold: #B98A32;
  --gold-bright: #E5BC55;

  --navy-deep: color-mix(in oklab, var(--navy), #000 28%);
  --navy-tint: color-mix(in oklab, var(--navy), #fff 92%);
  --gold-text: color-mix(in oklab, var(--gold), #000 20%);   /* headings: 4.4:1 on white, 3.7:1 on grey */
  --gold-deep: color-mix(in oklab, var(--gold), #000 34%);   /* links and small gold text: 6:1 on white */
  --gold-soft: color-mix(in oklab, var(--gold-bright), #fff 82%);

  /* surfaces + ink */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EBEBEB;       /* the grey band from the current site */
  --ink: var(--navy);         /* body copy is navy, as on the current site */
  --ink-muted: color-mix(in oklab, var(--navy), #fff 22%);
  --line: color-mix(in oklab, var(--navy), #fff 84%);
  --accent: var(--gold-text);
  --accent-ink: #FFFFFF;
  --accent-hover: var(--navy);
  --link: var(--gold-deep);
  --link-hover: var(--navy);
  --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--navy);
  --focus: var(--focus-ring);

  /* kit aliases */
  --purple: var(--navy);
  --purple-bright: var(--gold-bright);
  --purple-deep: var(--navy-deep);
  --purple-tint: var(--navy-tint);
  --ember: var(--gold-deep);
  --ember-soft: var(--gold-soft);

  /* always-navy chrome (navy sections, cookie panel, mobile menu) */
  --bg-dark: var(--navy);
  --bg-dark-2: var(--navy-deep);
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: color-mix(in oklab, var(--navy), #fff 80%);

  /* type */
  --font-head: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* shape: square-cornered, as the current site */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 10px;
  --radius-pill: 999px;
  --shadow-1: 0 2px 6px rgba(36, 44, 104, 0.18);
  --shadow-tile: 2px 4px 8px rgba(36, 44, 104, 0.35);
  --shadow-lift: 24px 24px 34px -14px rgba(36, 44, 104, 0.55);
  --shadow-overlay: 0 28px 64px -20px rgba(24, 30, 77, 0.45);

  /* rhythm (8px base) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px;
  --section-y: clamp(64px, 9vw, 112px);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;               /* current standard: was 1170px on the old site */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root { color-scheme: light; }

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.on-dark a, .section--navy a:not(.btn) { color: #FFFFFF; text-decoration-color: var(--gold-bright); }
.on-dark a:hover, .section--navy a:not(.btn):hover { color: var(--gold-bright); }
::selection { background: var(--gold-bright); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- TYPE SCALE (current site: Lato 400, H1 44, H2 36, H3 28, H4 22, H5 20, body 16 to 17) ---------- */
.t-display { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); }
.t-display strong { font-weight: 900; display: block; }
.t-h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.125rem, 4.4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
.t-h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.875rem, 3.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--gold-text); }
.t-h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 1.75rem); line-height: 1.25; color: var(--navy); }
.t-h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; line-height: 1.3; color: var(--navy); }
.t-h5 { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.t-h6 { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.eyebrow { font-family: var(--font); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--ink); }
.body { font-size: 1.0625rem; line-height: 1.75; max-width: 68ch; }
.small { font-size: 0.875rem; line-height: 1.55; color: var(--ink-muted); }
.quote { font-family: var(--font-head); font-weight: 300; font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.4; }
.stat { font-family: var(--font-head); font-weight: 300; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--navy); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--grey, .section--tint { background: var(--surface-2); }
.section--navy, .section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4, .section--dark h2, .section--dark h3 { color: #FFFFFF; }
.section--navy .t-h2 { color: var(--gold-bright); }
.section--navy .eyebrow { color: #FFFFFF; }
.section--navy .lead, .section--navy .small { color: var(--text-on-dark-muted); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); align-items: center; }
.split { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }
.stack { display: flex; flex-direction: column; gap: var(--s-3); }

/* ---------- SIGNATURE: two-tone rule (gold and navy halves) ---------- */
.rule-split { display: grid; grid-template-columns: 1fr 1fr; height: 3px; max-width: var(--max); margin: 0 auto; }
.rule-split::before { content: ''; background: var(--gold-bright); }
.rule-split::after { content: ''; background: var(--navy); }
.rule-split--flip::before { background: var(--navy); }
.rule-split--flip::after { background: var(--gold-bright); }
.rule-short { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0; }

/* ---------- BUTTONS (uppercase, square-cornered, gold with navy text) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--font); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-md); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--gold-bright); color: var(--navy); }
.btn--primary:hover { background: var(--navy); color: #FFFFFF; }
.btn--navy { background: var(--navy); color: #FFFFFF; }
.btn--navy:hover { background: var(--gold-bright); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--navy); }
.btn--light:hover { background: var(--gold-bright); color: var(--navy); }
.btn--outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { border-color: var(--gold-bright); color: var(--navy); background: var(--gold-bright); }
.btn--block { width: 100%; }
.btn:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-md); }
.section--navy .btn:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--gold-bright); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--icon { width: 48px; min-height: 48px; padding: 0; }

/* ---------- DRAFT TAG (copy written by 2xN, not yet approved by the client) ---------- */
.draft-tag { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding: 2px 9px; font-family: var(--font); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid color-mix(in oklab, var(--gold), #fff 40%); border-radius: var(--radius-pill); white-space: nowrap; }

/* ---------- FORMS ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.field__label .opt { font-weight: 400; color: var(--ink-muted); }
.input {
  width: 100%; min-height: 52px;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.input:hover { border-color: color-mix(in oklab, var(--line), var(--navy) 30%); }
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in oklab, var(--navy), transparent 80%); }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.6; }
.field.is-invalid .input, .input.is-invalid { border-color: #B3362F; box-shadow: 0 0 0 3px rgba(179, 54, 47, 0.14); }
.field__err { font-size: 0.875rem; color: #B3362F; margin: 0; }
.input[disabled] { opacity: 0.55; cursor: not-allowed; }
.cta-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.55; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }

/* custom dropdown (house component, required on every form) */
.cselect { position: relative; }
.cselect__trigger {
  width: 100%; min-height: 52px; text-align: left;
  font: inherit; font-size: 1rem; color: var(--ink-muted);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 52px 13px 16px; cursor: pointer; color-scheme: light;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cselect.is-filled .cselect__trigger { color: var(--navy); }
.cselect__trigger:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in oklab, var(--navy), transparent 80%); border-radius: var(--radius-sm); }
.cselect.is-invalid .cselect__trigger { border-color: #B3362F; box-shadow: 0 0 0 3px rgba(179, 54, 47, 0.14); }
.cselect__chev { position: absolute; right: 20px; top: 26px; transform: translateY(-50%); color: var(--navy); pointer-events: none; display: inline-flex; }
.cselect__chev svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.cselect.is-open .cselect__chev svg { transform: rotate(180deg); }
.cselect__native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cmenu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  margin: 0; padding: 6px; list-style: none;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay); max-height: 300px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px); transform-origin: top center;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.cmenu[hidden] { display: none; }
.cselect.is-open .cmenu { opacity: 1; transform: none; }
.cmenu__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 1rem; color: var(--navy); cursor: pointer; }
.cmenu__opt.is-active { background: var(--navy-tint); }
.cmenu__opt[aria-selected="true"] { font-weight: 700; color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }

/* contact form */
.cform { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 640px) { .cform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cform .is-full { grid-column: 1 / -1; } }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.form-status { font-size: 0.9375rem; margin: 0; }
.form-status.is-ok { color: #2F6B45; }
.form-status.is-err { color: #B3362F; }
.cform__done { display: none; padding: var(--s-4); border-radius: var(--radius-md); background: var(--navy-tint); }
.cform.is-sent > * { display: none; }
.cform.is-sent > .cform__done { display: block; grid-column: 1 / -1; }

/* ---------- CARDS ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--s-4); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-tile); }
.card__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; color: var(--navy); }
.card__body { color: var(--ink); font-size: 1rem; }

/* approach tile: grey tile, gold copy, navy drop shadow (current site) */
.approach-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 640px) { .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.approach-tile { display: grid; place-items: center; min-height: 200px; padding: var(--s-4) var(--s-3); background: var(--surface-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-tile); text-align: center; font-size: 1.0625rem; line-height: 1.7; color: var(--gold-deep); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.approach-tile:hover { transform: translateY(-3px); box-shadow: 4px 10px 18px rgba(36, 44, 104, 0.32); }

/* service panel: white panel with the deep navy offset shadow (current site) */
.svc { display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; }
@media (min-width: 900px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .svc--flip .svc__media { order: 2; } }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card { position: relative; background: #FFFFFF; padding: clamp(28px, 4vw, 56px); text-align: center; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
@media (min-width: 900px) { .svc .svc-card { margin-left: -48px; } .svc--flip .svc-card { margin-left: 0; margin-right: -48px; } }
.svc-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.svc-card__rule { width: min(300px, 70%); height: 2px; background: var(--navy); opacity: 0.75; }
.svc-card__body { display: flex; flex-direction: column; gap: 10px; color: var(--ink); max-width: 46ch; }

/* deal tombstone: logo, deal line, role */
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 900px) { .deals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.deal { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: var(--s-3) var(--s-2); text-align: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.deal:hover { box-shadow: var(--shadow-tile); transform: translateY(-2px); }
.deal__logo { display: grid; place-items: center; width: 100%; height: 96px; }
.deal__logo img { max-height: 80px; width: auto; height: auto; object-fit: contain; }
.deal__logo--text { font-weight: 900; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.deal__what { font-size: 0.9375rem; line-height: 1.5; color: var(--navy); }
.deal__role { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.deal__tag { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* sector tile */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sectors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sector { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; min-height: 180px; padding: var(--s-3) var(--s-2); text-align: center; background: #FFFFFF; box-shadow: var(--shadow-tile); color: var(--navy); font-size: 1.0625rem; line-height: 1.4; }
.sector__icon { width: 48px; height: 48px; color: var(--gold); }

/* ---------- PHOTOGRAPHY ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }

/* ---------- MOTION: soft scroll reveal (Motion on/off Tweak on the boards) ----------
   Scroll-driven (animation-timeline: view()), so it runs the same on the canvas boards and the plain
   pages with no script. Browsers without it show everything at once. scripts/site.js may add .is-in:
   harmless. .hero-in is the light hero entrance on load. */
@keyframes reveal-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .reveal--fade { animation-name: cookieFadeIn; }
}
.hero-in { animation: hero-in 0.7s var(--ease) both; animation-delay: var(--d, 0ms); }
[data-motion="off"] .reveal, [data-motion="off"] .hero-in { animation: none; }

/* ---------- COMPONENT: deal figures (count-up) ---------- */
.figures { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pb { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: var(--s-3) var(--s-2); border-top: 3px solid var(--gold-bright); }
.pb__num { display: flex; align-items: baseline; justify-content: center; gap: 0.06em; }
.pb__unit { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; color: var(--gold-text); }
.pb__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.pb__meta { font-size: 0.9375rem; color: var(--ink-muted); }
.section--navy .pb { border-top-color: var(--gold-bright); }
.section--navy .stat, .section--navy .pb__label { color: #FFFFFF; }
.section--navy .pb__unit { color: var(--gold-bright); }
.section--navy .pb__meta { color: var(--text-on-dark-muted); }

/* ---------- COMPONENT: carousel (kit .ach, scripts/site.js [data-ach]) ---------- */
.ach { position: relative; }
.ach__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 78%); gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px var(--s-2); scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.ach__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .ach__track { grid-auto-columns: calc((100% - 2 * var(--s-2)) / 3); } }
@media (min-width: 1024px) { .ach__track { grid-auto-columns: calc((100% - 3 * var(--s-2)) / 4); } }
.ach__track > * { scroll-snap-align: start; min-width: 0; }
.ach__controls { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin-top: var(--s-3); }
.ach__progress { flex: 0 1 240px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ach__bar { position: absolute; inset: 0 auto 0 0; width: 33%; background: var(--navy); transition: transform 0.3s var(--ease), width 0.3s var(--ease); }

/* ---------- COMPONENT: filter pills (transactions by sector or deal type) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: var(--s-4); }
.filters__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-right: 6px; }
.filter-btn { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #FFFFFF; color: var(--navy); font-family: var(--font); font-size: 0.9375rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active, .filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.filter-empty { padding: var(--s-4); text-align: center; color: var(--ink-muted); border: 1px dashed var(--line); border-radius: var(--radius-sm); }

/* ---------- COMPONENT: process timeline (kit results timeline) ---------- */
.results__rail { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; }
.results__track { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line); }
.results__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold-bright); transition: width 0.6s var(--ease); }
.results__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 44px; padding: 0 12px 0 0; background: none; border: 0; text-align: left; font: inherit; color: var(--ink-muted); cursor: pointer; }
.results__node { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; border: 2px solid var(--line); font-weight: 700; font-size: 0.875rem; color: var(--ink-muted); transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); }
.results__year { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); transition: color 0.3s ease; }
.results__step.is-done .results__node { border-color: var(--gold-bright); color: var(--navy); }
.results__step.is-active .results__node { background: var(--navy); border-color: var(--navy); color: #FFFFFF; transform: scale(1.08); }
.results__step.is-active .results__year { color: var(--navy); }
.results__step:focus-visible { box-shadow: none; }
.results__step:focus-visible .results__node { box-shadow: var(--focus-ring); }
.results__detail { margin-top: var(--s-6); display: grid; grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-4); background: #FFFFFF; border-left: 3px solid var(--gold-bright); box-shadow: var(--shadow-1); transition: opacity 0.2s ease, transform 0.2s ease; }
.results__detail.is-swapping { opacity: 0; transform: translateY(6px); }
.results__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.results__title { font-weight: 700; font-size: 1.375rem; color: var(--navy); }
.results__nav { display: flex; gap: 10px; }
@media (min-width: 760px) { .results__detail { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
@media (max-width: 700px) { .results__rail { --cols: 2; row-gap: var(--s-3); } .results__track { display: none; } }
.roundbtn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--navy); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease; }
.roundbtn:hover { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.roundbtn:focus-visible { box-shadow: var(--focus-ring); border-radius: 50%; }
.roundbtn[disabled] { opacity: 0.35; cursor: default; }
.section--navy .roundbtn { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }
.section--navy .roundbtn:hover { border-color: var(--gold-bright); background: var(--gold-bright); color: var(--navy); }

/* ---------- COMPONENT: testimonial spotlight (navy section) ---------- */
.tspot { position: relative; }
.tspot__viewport { overflow: hidden; }
.tspot__track { display: flex; gap: 32px; transition: transform 0.6s var(--ease); touch-action: pan-y; }
.tspot__card { flex: 0 0 100%; opacity: 0.25; transform: scale(0.97); transition: opacity 0.5s ease, transform 0.5s var(--ease); }
.tspot__card.is-active { opacity: 1; transform: none; }
.tspot__mark { font-family: Georgia, serif; font-size: 5rem; line-height: 0.6; height: 34px; color: var(--gold-bright); margin: 0 0 var(--s-2); }
.tspot__quote { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.25rem, 2.6vw, 1.875rem); line-height: 1.45; color: #FFFFFF; max-width: 40ch; }
.tspot__quote.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tspot__more { margin-top: 12px; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tspot__foot { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.tspot__name { font-weight: 700; color: #FFFFFF; }
.tspot__role { font-size: 0.9375rem; color: var(--text-on-dark-muted); }
.tspot__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-4); }
.tspot__dots { display: flex; gap: 4px; }
.tspot__dot { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.tspot__dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); transition: background-color 0.2s ease, border-color 0.2s ease; }
.tspot__dot.is-active::before { background: var(--gold-bright); border-color: var(--gold-bright); }
.tspot__navwrap { display: flex; align-items: center; gap: var(--s-2); }
.tspot__count { font-size: 0.9375rem; letter-spacing: 0.08em; color: var(--text-on-dark-muted); }
.tspot__count strong { color: #FFFFFF; }

/* ---------- NAVIGATION: city bar, centred logo, uppercase links (current site) ---------- */
.topbar { border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); min-height: 44px; }
.topbar__city { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.nav { position: sticky; top: 0; z-index: 80; background: #FFFFFF; box-shadow: 0 6px 18px -12px rgba(36, 44, 104, 0.35); color: var(--navy); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 76px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav__brand img { height: 52px; width: auto; }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 8px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav__links a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-bright); }
.nav__links a[aria-current="page"] { color: var(--gold-deep); border-bottom-color: var(--gold-bright); }
.nav__burger { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); border: 1px solid var(--line); background: transparent; color: var(--navy); cursor: pointer; }
.nav__burger svg { width: 22px; height: 22px; }
/* centred variant: logo above the links on desktop (current site) */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav--centred .nav__inner { flex-direction: column; justify-content: center; gap: 10px; padding-top: 18px; padding-bottom: 10px; }
  .nav--centred .nav__brand img { height: 72px; }
}
.mnav { position: fixed; inset: 0; z-index: 85; background: var(--navy); color: #FFFFFF; display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.mnav__top img { height: 44px; width: auto; }
.mnav__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #FFFFFF; cursor: pointer; }
.mnav__links { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mnav__links a { display: flex; align-items: center; min-height: 56px; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mnav__links a:hover, .mnav__links a[aria-current="page"] { color: var(--gold-bright); }
.mnav__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; color: var(--text-on-dark-muted); }
.mnav__foot a { color: #FFFFFF; }
body.is-locked { overflow: hidden; }

/* ---------- FOOTER (white, as the current site; offices in three columns) ---------- */
.footer { background: #FFFFFF; color: var(--navy); padding: var(--s-6) 0 var(--s-4); border-top: 1px solid var(--line); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.footer__nav a:hover { color: var(--gold-deep); }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); text-decoration: none; }
.footer__contact a:hover { color: var(--gold-deep); text-decoration: underline; }
.footer__offices { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-4) 0; }
@media (min-width: 760px) { .footer__offices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__city { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 10px; }
.footer__addr { font-style: normal; font-size: 0.9375rem; line-height: 1.75; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: 0.875rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal a, .footer__legal button { display: inline-flex; align-items: center; min-height: 44px; font: inherit; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold-deep); }
.footer__credit { text-align: center; font-size: 0.875rem; color: var(--ink-muted); margin-top: var(--s-3); }
.footer__credit a { color: var(--ink-muted); text-decoration: underline; }
.footer__credit a:hover { color: var(--navy); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-in { animation: none; }
  .mnav__links a, .tspot__track, .tspot__card, .results__fill, .results__node, .btn, .approach-tile, .deal { transition: none; animation: none; }
}

/* ==========================================================================
   COOKIE CONSENT (OPT-IN BANNER, Basic mode): from kit css/opt-in-cookie.css.
   Irish site: analytics only after consent. Pairs with scripts/opt-in/.
   Re-skinned to navy and gold; the panel stays navy so it reads as chrome.
   ========================================================================== */
.cookie { position: fixed; inset: 0; z-index: 999; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(1rem, 4vw, 2rem); pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie--modal { align-items: center; justify-content: center; }
.cookie__backdrop { position: fixed; inset: 0; background: rgba(24, 30, 77, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cookieFadeIn 0.26s ease both; pointer-events: auto; }
.cookie__backdrop[hidden] { display: none; }
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cookiePanelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__panel { position: relative; pointer-events: auto; width: 100%; max-width: 460px; background: var(--navy); color: #FFFFFF; border: 1px solid rgba(229, 188, 85, 0.35); box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.6); border-radius: var(--radius-md); padding: 26px 26px 24px; }
.cookie--modal .cookie__panel { max-width: 560px; }
.cookie__view[hidden] { display: none !important; }
.cookie__view--banner { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem 1rem; }
.cookie__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(229, 188, 85, 0.4); background: rgba(229, 188, 85, 0.1); }
.cookie__icon svg { width: 21px; height: 21px; }
.cookie__body, .cookie__cat-text { min-width: 0; }
.cookie.is-in .cookie__panel { animation: cookiePanelIn 0.34s var(--ease) both; }
.cookie__title { font-family: var(--font); font-weight: 700; line-height: 1.3; font-size: 1.125rem; margin: 0 0 6px; color: #FFFFFF; }
.cookie__copy { font-size: 15px; line-height: 1.6; color: var(--text-on-dark-muted); margin: 0; }
.cookie__copy a { color: #FFFFFF; text-decoration-color: var(--gold-bright); }
.cookie__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.cookie__btn { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; min-height: 44px; padding: 12px 20px; border-radius: var(--radius-md); cursor: pointer; border: 2px solid transparent; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.cookie__btn--primary { background: var(--gold-bright); color: var(--navy); }
.cookie__btn--primary:hover { background: #FFFFFF; }
.cookie__btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.cookie__btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.cookie__btn--text { background: transparent; color: #FFFFFF; padding-left: 4px; padding-right: 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(229, 188, 85, 0.7); }
.cookie__btn--text:hover { color: var(--gold-bright); }
.cookie__actions--prefs { margin-top: 1.4rem; }
.cookie__prefs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.cookie__close { position: relative; width: 44px; height: 44px; flex: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius-md); cursor: pointer; }
.cookie__close span { position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: #FFFFFF; }
.cookie__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.cookie__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.cookie__cats { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; }
.cookie__cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cookie__cat:first-child { border-top: none; }
.cookie__cat-name { display: block; font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 4px; }
.cookie__cat-desc { display: block; font-size: 13px; line-height: 1.55; color: var(--text-on-dark-muted); }
.cookie__always { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy); background: var(--gold-bright); padding: 4px 9px; border-radius: var(--radius-sm); }
.cookie__switch { position: relative; flex: none; width: 46px; height: 26px; cursor: pointer; }
.cookie__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); transition: background 0.22s ease; }
.cookie__track::after { content: ""; position: absolute; top: 50%; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; transform: translateY(-50%); transition: transform 0.22s var(--ease); }
.cookie__switch input:checked ~ .cookie__track { background: var(--gold-bright); border-color: var(--gold-bright); }
.cookie__switch input:checked ~ .cookie__track::after { transform: translateY(-50%) translateX(20px); background: var(--navy); }
.cookie__switch input:focus-visible ~ .cookie__track { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.cookie__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 540px) { .cookie { padding: 14px; } .cookie__panel { max-width: none; } .cookie__actions { flex-direction: column-reverse; align-items: stretch; } .cookie__btn--text { align-self: center; } .cookie__view--banner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cookie__panel, .cookie__backdrop, .cookie__track, .cookie__track::after { animation: none; transition: none; } }
