/* AxonTerra: shared accordion alignment and homepage caption refinement.
   Load after the existing theme styles, for desktop and mobile. */
.process-list {
  --axon-accordion-inset: 18px;
  --axon-answer-offset: 52px;
}
.process-list > details > summary {
  padding-inline: var(--axon-accordion-inset);
}
.process-list > details > p {
  padding-left: calc(var(--axon-accordion-inset) + var(--axon-answer-offset));
  padding-right: var(--axon-accordion-inset);
}
/* Keep the question and answer aligned during the existing gold rollover. */
@media (hover: hover) {
  .process-list > details:hover > summary {
    padding-inline: var(--axon-accordion-inset);
  }
}
@media (max-width: 960px) {
  .process-list { --axon-answer-offset: 36px; }
}
@media (max-width: 640px) {
  .process-list {
    --axon-accordion-inset: 16px;
    --axon-answer-offset: 39px;
  }
}
/* FAQ questions have no number column. */
.process-list.faq-list { --axon-answer-offset: 0px; }

/* Remove only the small 01 / AXONTERRA caption below the first home image. */
.hero .hero-figure > figcaption > span[aria-hidden="true"] {
  display: none;
}

/* Align the portrait with the visible About Us lettering and tighten the caption. */
.about-banner .about-founder-portrait{margin-top:4px}
.about-banner .about-founder-portrait figcaption span:first-child{line-height:1.25}
.about-banner .about-founder-portrait figcaption span:last-child{line-height:1.4;margin-top:1px}

/* Research page: a tighter reading rhythm, with landscape editorial breaks. */
.research-page .section-space{padding-block:76px}
.research-page .research-network{padding-bottom:52px}
.research-page .research-facts{padding-top:56px}
.research-page .research-security{padding-bottom:64px}
.research-page .research-capabilities{padding-top:48px}
.research-landscape{margin:32px 0 36px}
.research-landscape img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}
.research-capabilities .research-landscape{margin-top:0}
@media(max-width:640px){
 .research-page .section-space{padding-block:44px}
 .research-page .research-network{padding-bottom:30px}
 .research-page .research-facts{padding-top:36px}
 .research-page .research-security{padding-bottom:36px}
 .research-page .research-capabilities{padding-top:28px}
 .research-landscape{margin:24px 0 28px}
 .research-landscape img{aspect-ratio:1.8/1;object-position:center}
}

.balanced-invitation{text-wrap:balance;max-width:560px}

/* Personal introductions and experiences: aligned image and text columns. */
.experiences-page .section-space{padding-block:76px}
.experiences-page .sector-process-heading{align-items:start;margin-bottom:24px}
.experiences-page .sector-world-image{margin-top:3px}
.experience-section-copy{display:grid;grid-template-columns:1.15fr 1fr;gap:54px;margin-top:0}
.experience-section-copy>p{margin:0;font-size:14px;line-height:1.95;color:#35404c}
@media(max-width:960px){.experience-section-copy{gap:30px}}
@media(max-width:640px){
 .experiences-page .section-space{padding-block:44px}
 .experiences-page .sector-process-heading{grid-template-columns:1fr;gap:24px;margin-bottom:24px}
 .experiences-page .sector-world-image{margin-top:0;max-width:none}
 .experience-section-copy{grid-template-columns:1fr;gap:18px;margin-top:0}
 .experience-section-copy>p{font-size:13px}
}

/* Research uses the same branded numerals and supporting image placement as the introduction pages. */
.research-brand-number{display:block}
.research-brand-number img{width:56px;height:56px;object-fit:contain;object-position:left center}
.research-security-image img{width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}

/* Give the home process numerals more presence and align the list with the heading. */
#approach .process-number{font-size:24px;line-height:1.2}
@media(min-width:641px){#approach .process-list{margin-top:24px}}

/* Research follows the site's white and silver rhythm, with room between topics. */
.research-page{background:#fff}
@media(min-width:641px){.research-security>.split-heading{align-items:center}}

/* Balanced service numerals and a single-line desktop section title. */
#connections .service-number{width:67.5px;height:67.5px}
#connections .service-row{grid-template-rows:67.5px auto 1fr}
#connections .section-heading{grid-template-columns:minmax(0,1fr) 300px;gap:20px 35px}
#connections .section-heading>.eyebrow{grid-column:1/-1;padding-top:0}
#connections .section-heading h2{white-space:nowrap;font-size:clamp(36px,3.85vw,52px)}
@media(max-width:960px) and (min-width:641px){
 #connections .service-row{grid-template-columns:75px 1fr 44px;grid-template-rows:auto 1fr}
 #connections .section-heading{grid-template-columns:1fr}
 #connections .section-heading h2{font-size:clamp(30px,4.8vw,46px)}
 #connections .section-heading>p:last-child{justify-self:start;max-width:500px}
}
@media(max-width:640px){
 #connections .service-number{width:56.25px;height:56.25px}
 #connections .service-row{grid-template-rows:56.25px auto 1fr}
 #connections .section-heading h2{white-space:normal;font-size:clamp(32px,8.2vw,45px)}
}

/* Use the established brand numerals in the principal service cards. */
.branded-card-number{display:block;width:64px;height:56px}
.branded-card-number img{display:block;width:64px;height:56px;object-fit:contain;object-position:left center}
.relationship-art img{transition:filter .35s}
@media(hover:hover){.relationship-art:hover img{filter:var(--rollover-gold-filter) drop-shadow(0 8px 5px #0006)}}

.join-enquiry .enquiry-form{margin-top:0}
.join-enquiry .optional-label{font-size:.9em;color:#6b7887}
.join-enquiry .draft-disclosure{font-size:12px;line-height:1.8;margin-bottom:22px}
.join-enquiry .form-status{margin-top:16px;font-size:12px;line-height:1.8}
.join-enquiry a:not(.button){text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.join-enquiry .enquiry-form{margin-top:30px}}

/* Keep the facilitation opening image in proportion with its accompanying copy. */
.relationship-feature-image img{aspect-ratio:1.9/1;object-fit:cover;object-position:center top}

/* Final accessibility review: readable small labels and a complete heading outline. */
.inner-page .section-space:not(.dark-section) .eyebrow:not(.light),body:not(.inner-page) .section-space .eyebrow:not(.light){color:#5b6775}
.join-enquiry .optional-label{color:#4e5a68}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* The footer, header and mobile menu share one ordered set of destinations. */
.desktop-nav{gap:14px}
.mobile-menu:not([hidden]){max-height:calc(100dvh - 118px);overflow-y:auto;overscroll-behavior:contain}
@media(min-width:961px) and (max-width:1279px){
 .header-inner{display:flex;justify-content:flex-start;min-height:103px;padding:20px 36px;gap:24px}
 .brand{width:230px}
 .header-emblem{width:52px;margin-left:auto;margin-right:96px}
 .desktop-nav{display:none}
 .menu-toggle{display:flex;position:absolute;right:36px;align-items:center;gap:12px;background:transparent;color:white;font-size:10px;letter-spacing:.05em;padding:15px 0}
 .menu-lines{width:22px;display:flex;flex-direction:column;gap:6px}
 .menu-lines i{display:block;height:1px;background:#fff;width:22px;transition:transform .2s}
 .mobile-menu:not([hidden]){display:flex;flex-direction:column;padding:20px 36px 35px;border-top:1px solid #dae3eb22;background:var(--navy)}
 .mobile-menu a{font-family:var(--serif);font-size:26px;line-height:1.4;padding:14px 0;color:#e7eef5}
}
@media(max-width:640px){.mobile-menu:not([hidden]){max-height:calc(100dvh - 94px)}}

/* Match the homepage's revealed service accents to the headline rollover gold. */
.service-row:focus-within:after{background:var(--rollover-gold)}
.service-row:focus-within .round-arrow{border-color:var(--rollover-gold)}
@media(hover:hover){
 .service-row:hover:after{background:var(--rollover-gold)}
 .service-row:hover .round-arrow{border-color:var(--rollover-gold)}
}

/* Strengthen About body and portrait-label contrast while retaining the approved typeface. */
.about-simple-copy>p,.about-simple-copy>.about-simple-lead{color:#243140}
.about-banner .about-simple-opening .eyebrow{color:#c2cbd5}
.about-banner .about-founder-portrait figcaption span:last-child{color:#b8c2cd}

/* Readable homepage service lists across desktop, tablet and mobile. */
#connections .inline-list{font-size:12px;line-height:1.75;color:#4f5b68}
#connections .inline-list li+li{margin-top:8px}
#connections .service-row:focus-within .inline-list{color:#b6bec9}
@media(hover:hover){#connections .service-row:hover .inline-list{color:#b6bec9}}

@media(max-width:640px){.join-enquiry .form-pair{grid-template-columns:1fr;gap:0}}

/* Give the second homepage panel's decorative expression the shared rollover. */
.small-signature img{transition:filter .35s}
@media(hover:hover){.small-signature:hover img{filter:var(--rollover-gold-filter)}}

/* Supporting copy below the About title; retain the founder portrait alignment. */
.about-banner .inner-hero-copy>.about-banner-intro{max-width:480px;margin-top:22px;font-family:var(--light);font-weight:300;font-size:17px;line-height:1.75;color:#d2d8e0}
@media(max-width:640px){.about-banner .inner-hero-copy>.about-banner-intro{margin-top:18px;font-size:15px;line-height:1.75}}

/* Keep the About supporting sentence directly below the opening question. */
.about-banner .inner-hero-copy>.about-banner-support{margin-top:0}
/* Balance the responsible-practice copy alongside its heading on wider screens. */
@media(min-width:721px){.research-practice .split-heading{align-items:center}}

/* Company-only finance scope stays beside the service description. */
#company-finance{scroll-margin-top:34px}
.company-finance-section .finance-status{margin-top:30px;max-width:390px}
.company-finance-section{padding-block:clamp(56px,6vw,84px)}
.company-finance-section .split-heading{align-items:start}

/* Accessibility refinements: keep supporting copy legible in both card states. */
.detail-card .detail-tag{font-size:11px;color:#526170}
.detail-card .card-meta{font-size:12px!important;color:#526170!important}
.detail-card:focus-within .detail-tag{color:#c2cbd7}
.detail-card:focus-within .card-meta{color:#c2cbd7!important}
@media(hover:hover){
 .detail-card:hover .detail-tag{color:#c2cbd7}
 .detail-card:hover .card-meta{color:#c2cbd7!important}
 .inner-page:not(.policy-page) .editorial-grid:not(.sectors-grid) .detail-card:nth-child(even):hover .detail-tag{color:#17273d}
 .inner-page:not(.policy-page) .editorial-grid:not(.sectors-grid) .detail-card:nth-child(even):hover .card-meta{color:#17273d!important}
}

/* Labels remain visible; placeholders and field edges supplement them clearly. */
.enquiry-form input::placeholder,.enquiry-form textarea::placeholder{color:#526170;opacity:1}
.enquiry-form input:not([type=checkbox]),.enquiry-form select,.enquiry-form textarea{border-bottom-color:#6c7b8c}
.enquiry-form input:not([type=checkbox]):hover,.enquiry-form select:hover,.enquiry-form textarea:hover{border-bottom-color:#6c7b8c}
.enquiry-form .draft-disclosure{font-size:12px;line-height:1.8;color:#526170}
.enquiry-form input[aria-invalid="true"],.enquiry-form select[aria-invalid="true"],.enquiry-form textarea[aria-invalid="true"],.enquiry-form input[aria-invalid="true"]:hover,.enquiry-form select[aria-invalid="true"]:hover,.enquiry-form textarea[aria-invalid="true"]:hover{border-bottom-color:#862431}
.enquiry-form .field-error{display:block;margin-top:6px;color:#862431;font-size:12px;line-height:1.6;letter-spacing:0;font-weight:400}
.enquiry-form .field-error[hidden]{display:none}
.form-error-summary{margin:0 0 24px;padding:18px 20px;background:#fff;color:#243140;border-left:3px solid #862431;scroll-margin-block:24px}
.form-error-summary[hidden]{display:none}
.form-error-summary h2,.form-error-summary h3{font-size:24px;line-height:1.3;margin:0 0 10px;color:#243140}
.form-error-summary p,.form-error-summary li{font-size:13px;line-height:1.7;color:#243140}
.form-error-summary ul{margin:8px 0 0;padding-left:20px}
.form-error-summary li+li{margin-top:6px}
.form-error-summary a{text-decoration:underline;text-underline-offset:3px}

/* A two-colour ring stays distinguishable on light and navy surfaces. */
a:focus-visible,
.button:focus-visible,
.site-header button:focus-visible,
.footer button:focus-visible,
.enquiry-dialog button:focus-visible,
.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible,
.process-list summary:focus-visible,
.form-error-summary:focus{
 outline:2px solid var(--navy);
 outline-offset:3px;
 box-shadow:0 0 0 5px #fff;
}
.menu-toggle{min-width:44px;min-height:44px;justify-content:center}
/* Expand the small-screen hit area without moving the visible burger lines. */
@media(max-width:640px){.menu-toggle{right:14px}}

/* Show the current destination consistently without relying on colour alone. */
.desktop-nav a:is([aria-current="page"],[aria-current="location"]){color:var(--rollover-gold)}
.desktop-nav a:is([aria-current="page"],[aria-current="location"]):after{width:100%;background:var(--rollover-gold)}
.mobile-menu a:is([aria-current="page"],[aria-current="location"]),
.footer-clean-nav a:is([aria-current="page"],[aria-current="location"]),
.footer-policy-nav a:is([aria-current="page"],[aria-current="location"]){
 color:var(--rollover-gold);
 text-decoration:underline;
 text-decoration-thickness:1px;
 text-underline-offset:5px;
}

/* Practical service briefs use the existing responsive two-column grid. */
.service-briefs .sector-process-heading { align-items: end; margin-bottom: 18px; }
.service-briefs .section-intro h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; }
.service-brief {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  padding: clamp(22px, 4vw, 40px);
}
.service-brief h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; }
.service-brief ul { list-style: disc; padding-inline-start: 1.25em; margin: 16px 0 0; font-size: 13px; line-height: 1.7; }
.service-brief li + li { margin-top: 18px; }
.service-brief h3, .service-brief strong { color: var(--rollover-gold); }
.service-brief li p { margin: 4px 0 0; color: #fff; line-height: 1.7; }

/* Group the practical briefs and keep the process and questions close together. */
.inner-page .section-space.service-briefs {
  background: #eef2f6;
  padding-block: clamp(34px, 5vw, 66px);
}
.inner-page .section-space.service-intro-copy { padding-bottom: clamp(28px, 4vw, 54px); }
.inner-page .section-space.service-process { padding-bottom: clamp(26px, 3.5vw, 48px); }
.inner-page .section-space.service-integrity { padding-block: clamp(26px, 3.5vw, 48px); }
.inner-page .section-space.service-questions { padding-top: clamp(28px, 3.5vw, 48px); }

.service-brief {
  border-bottom: 2px solid var(--rollover-gold);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
@media (hover: hover) {
  .service-brief:hover {
    background-color: #fff;
    border-color: #d9dee4;
    border-bottom-color: var(--rollover-gold);
    color: var(--navy);
  }
  .service-brief:hover h3,
  .service-brief:hover strong { color: var(--navy); }
  .service-brief:hover li p { color: #35404c; }
}
@media (prefers-reduced-motion: reduce) {
  .service-brief { transition: none; }
}

.service-hero .inner-hero-copy > p:last-child {
  margin-top: clamp(12px, 1.5vw, 20px);
  line-height: 1.45;
}

.service-brief h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--rollover-gold);
}
@media (min-width: 641px) {
  .service-brief h3 { min-height: calc(2.5em + 16px); }
  @supports (grid-template-rows: subgrid) {
    .service-briefs .sectors-grid { row-gap: 0; }
    .service-brief {
      display: grid;
      grid-row: span 2;
      grid-template-rows: subgrid;
    }
    .service-brief h3 { min-height: 0; }
  }
}

/* Match the Introductions links to the navy practical support cards. */
.introductions-overview > .sector-link {
  --overview-surface: var(--navy);
  --overview-border: var(--navy);
  --overview-title: var(--rollover-gold);
  --overview-copy: #fff;
  background: var(--overview-surface);
  border-color: var(--overview-border);
  border-bottom: 2px solid var(--rollover-gold);
}
.introductions-overview > .sector-link:is(:focus, :focus-visible) {
  --overview-surface: #fff;
  --overview-border: #d9dee4;
  --overview-title: var(--navy);
  --overview-copy: #35404c;
}
@media (hover: hover) {
  .introductions-overview > .sector-link:hover {
    --overview-surface: #fff;
    --overview-border: #d9dee4;
    --overview-title: var(--navy);
    --overview-copy: #35404c;
  }
}
.introductions-overview > .sector-link > :is(h3, .detail-tag, .text-link) {
  color: var(--overview-title);
}
.introductions-overview > .sector-link > p:not(.detail-tag) {
  color: var(--overview-copy);
}
.introductions-overview > .sector-link > .card-meta {
  color: var(--overview-copy) !important;
}
.introductions-overview > .sector-link > .text-link > span {
  color: var(--overview-title);
}

.introductions-overview > .sector-link:focus-visible .detail-number img {
  filter: var(--rollover-gold-filter);
}
@media (hover: hover) {
  .introductions-overview > .sector-link:hover .detail-number img {
    filter: var(--rollover-gold-filter);
  }
}

.footer-clean-nav .footer-contact {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: color .25s, border-color .25s;
}
.footer-clean-nav .footer-contact:focus-visible {
  color: white;
  border-color: var(--gold);
  outline-offset: 4px;
}
@media (hover: hover) {
  .footer-clean-nav .footer-contact:hover {
    color: var(--rollover-gold);
    border-color: var(--rollover-gold);
  }
}

.join-enquiry > .split-heading {
  gap: 48px clamp(64px, 8vw, 112px);
}
.join-enquiry .hover-copy-panel h2 {
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .join-enquiry .enquiry-form { margin-top: 0; }
}
