/* Advanced Coaching — final production polish
   Loaded last so the full site shares one responsive, accessible design system. */

:root {
  --ac-orange: #ff6800;
  --ac-orange-hover: #e95f00;
  --ac-ink: #111214;
  --ac-charcoal: #202123;
  --ac-charcoal-2: #292a2d;
  --ac-graphite: #666769;
  --ac-graphite-deep: #555659;
  --ac-paper: #f1efe9;
  --ac-white: #f8f7f3;
  --ac-muted: #d7d7d7;
  --ac-border: rgba(255, 255, 255, .2);
  --ac-content: 1240px;
  --ac-gutter: clamp(22px, 5vw, 72px);
  --ac-section-y: clamp(68px, 8vw, 118px);
  --ac-header-h: 84px;
  --ac-radius: 0;
  --ac-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ac-header-h) + 18px);
  overflow-x: clip;
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--ac-white);
  font-size: clamp(15.5px, .2vw + 14.7px, 17px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main,
.page-main { display: block; }

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea { font: inherit; }

a,
button,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--ac-orange);
  outline-offset: 4px;
}

::selection {
  background: var(--ac-orange);
  color: var(--ac-ink);
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font: 700 12px/1 var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

h1,
h2,
h3,
blockquote,
.button,
.page-button {
  text-wrap: balance;
}

p,
li { text-wrap: pretty; }

/* Header */
.site-header,
.site-header.scrolled,
.page-header {
  height: var(--ac-header-h);
  padding-inline: max(var(--ac-gutter), calc((100vw - var(--ac-content)) / 2));
  gap: clamp(18px, 2.2vw, 34px);
  background: rgba(48, 49, 51, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .brand,
.site-header.scrolled .brand,
.page-header .brand {
  flex: 0 0 auto;
  width: 142px;
  height: 52px;
}

.site-header .brand img,
.page-header .brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-brand-name {
  margin-left: -12px;
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: .075em;
}

.desktop-nav {
  margin-left: auto;
  gap: clamp(18px, 2vw, 28px);
}

.desktop-nav > a,
.nav-dropdown-toggle {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 11px;
  letter-spacing: .065em;
  opacity: .86;
}

.desktop-nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--ac-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.desktop-nav > a[aria-current="page"] { color: #fff; opacity: 1; }

.header-cta,
.button-small {
  min-height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

.nav-dropdown-menu {
  top: 52px;
  width: 270px;
  padding: 8px;
  background: #17181a;
  box-shadow: var(--ac-shadow);
}

.nav-dropdown-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Shared panels and spacing */
.section-padding,
.page-section,
.group-training-gallery,
.nutrition-gallery,
.transformation-example,
.testimonials,
.book,
.legal-page {
  padding-inline: max(var(--ac-gutter), calc((100vw - var(--ac-content)) / 2));
}

.section-padding,
.page-section {
  padding-top: var(--ac-section-y);
  padding-bottom: var(--ac-section-y);
}

.position,
.about,
.experience,
.page-section,
.results-carousel-section {
  background: var(--ac-graphite);
}

.services,
.testimonials,
.dark-panel,
.method,
.about-method,
.sc-showcase,
.lift-showcase,
.group-training-gallery {
  background: var(--ac-charcoal) !important;
}

.results,
.results-showcase,
.results-carousel-section { background: var(--ac-graphite-deep) !important; }

.section-label,
.eyebrow,
.page-eyebrow,
.card-kicker,
.value-count {
  font-size: 10px !important;
  line-height: 1.25 !important;
  letter-spacing: .14em !important;
}

.services-heading,
.result-header,
.intro-grid,
.text-grid,
.lift-showcase-intro,
.sc-showcase-intro,
.group-training-gallery-heading,
.nutrition-gallery-heading,
.results-carousel-heading {
  gap: clamp(28px, 6vw, 88px);
}

.services-heading h2,
.result-header h2,
.about-copy h2,
.intro-grid h2,
.text-grid h2,
.method-intro h2,
.testimonials-title h2,
.results-carousel-heading h2,
.group-training-gallery-heading h2,
.nutrition-gallery-heading h2 {
  font-size: clamp(42px, 5.25vw, 76px);
  line-height: .94;
  letter-spacing: -.055em;
}

.body-copy,
.page-lead,
.position-copy,
.about-copy > p:not(.eyebrow),
.result-header > p,
.results-carousel-heading > p {
  font-size: clamp(15.5px, .45vw + 13px, 18px);
  line-height: 1.65;
}

/* The shared Advanced Coaching method is a core brand feature on every service page. */
.coaching-process-panel {
  background: var(--ac-charcoal) !important;
  color: var(--ac-white);
}

.process-brand-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.process-brand-intro .section-label {
  color: var(--ac-muted-light);
  margin-bottom: 24px;
}

.process-brand-intro h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: .9;
  letter-spacing: -.06em;
}

.process-brand-intro h2 em {
  color: var(--ac-orange);
  font-style: normal;
}

.process-brand-intro > p {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--ac-muted-light);
  font-size: clamp(16px, .45vw + 13px, 18px);
  line-height: 1.65;
}

.coaching-process-panel .list-section {
  border-top-color: rgba(255, 255, 255, .2);
}

.coaching-process-panel .list-row {
  grid-template-columns: 72px minmax(180px, .75fr) minmax(280px, 1.25fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(25px, 3vw, 38px);
  border-bottom-color: rgba(255, 255, 255, .2);
}

.coaching-process-panel .list-row h3 {
  color: var(--ac-white);
  font-size: clamp(27px, 2.5vw, 38px);
}

.coaching-process-panel .list-row p {
  color: var(--ac-muted-light);
  font-size: clamp(14px, .3vw + 12px, 16px);
  line-height: 1.6;
}

a.service-card-page {
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a.service-card-page:hover,
a.service-card-page:focus-visible {
  background: #30343a;
  box-shadow: inset 0 0 0 1px rgba(255, 105, 0, 0.55);
  outline: none;
  transform: translateY(-3px);
}

/* Home hero */
.hero {
  min-height: clamp(660px, 88svh, 840px);
  padding-inline: max(var(--ac-gutter), calc((100vw - var(--ac-content)) / 2));
  padding-top: calc(var(--ac-header-h) + clamp(58px, 8vh, 96px));
  padding-bottom: clamp(60px, 8vh, 92px);
}

.hero-content { width: min(100%, 960px); }

#home .hero-content > h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(54px, 6.35vw, 94px);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero-sub {
  max-width: 590px;
  font-size: clamp(16px, .65vw + 12px, 19px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  gap: 16px 24px;
}

.button,
.page-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 11px;
  letter-spacing: .075em;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover,
.page-button:hover { transform: translateY(-2px); }

.button:not(.button-outline),
.page-button:not(.ghost) { background: var(--ac-orange); }

.button:not(.button-outline):hover,
.page-button:not(.ghost):hover { background: var(--ac-orange-hover); }

/* Service and content cards */
.services { padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); }

.services-grid,
.goal-grid,
.value-grid,
.credential-grid,
.resource-grid {
  border-color: var(--ac-border);
}

.service-card,
.value-card,
.credential-card,
.resource-card {
  border-color: var(--ac-border);
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.service-card:hover,
.service-card:focus-visible,
.resource-card:hover,
.resource-card:focus-within {
  z-index: 1;
  background: #3a3b3e;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .16);
  transform: translateY(-3px);
}

.goal-grid .service-card {
  min-height: 190px;
  padding: clamp(22px, 2.2vw, 30px);
  align-items: stretch;
}

.goal-grid .card-content {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.goal-grid .card-content h3 {
  max-width: 14ch;
  margin: auto 0;
  text-wrap: balance;
}

.goal-grid .card-content p {
  margin: 20px 0 0;
  color: #c9c9c9;
  font-size: clamp(10px, .15vw + 9px, 12px);
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-card h3,
.value-card h3,
.credential-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.02;
}

.value-card {
  min-height: 245px;
  padding: clamp(24px, 3vw, 38px);
}

.value-card p,
.credential-card p,
.service-card p {
  font-size: clamp(14px, .22vw + 13px, 16px);
  line-height: 1.55;
}

/* Secondary page heroes */
.page-hero {
  min-height: clamp(620px, 82svh, 780px);
  padding-inline: max(var(--ac-gutter), calc((100vw - var(--ac-content)) / 2));
  padding-top: calc(var(--ac-header-h) + clamp(64px, 9vh, 110px));
  padding-bottom: clamp(62px, 9vh, 104px);
}

.page-hero-content { width: min(100%, 820px); }

.page-hero h1 {
  font-size: clamp(52px, 7.25vw, 102px);
  line-height: .92;
  letter-spacing: -.065em;
}

.about-page-hero .page-hero-content > h1,
.about-page-hero .page-hero-content > h1 em {
  max-width: 620px;
  font-size: clamp(52px, 6.2vw, 88px) !important;
  line-height: .95;
}

.about-hero-introduction { max-width: 620px; }
.about-hero-introduction p { font-size: clamp(15px, .3vw + 14px, 17px); line-height: 1.58; }

/* Media galleries */
.lift-showcase-grid,
.sc-showcase-grid,
.group-training-gallery-grid,
.nutrition-gallery-grid { max-width: var(--ac-content); margin-inline: auto; }

.lift-feature,
.lift-feature img { min-height: clamp(340px, 36vw, 460px); }

.sc-feature,
.sc-feature .sc-video-link img { min-height: clamp(320px, 31vw, 410px); }

.lift-feature img,
.sc-feature img,
.group-training-gallery img,
.nutrition-gallery img,
.result-photo,
.founder-image img,
.about-hero-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* Results and testimonials */
.case-study,
.result-story-card {
  width: min(100%, var(--ac-content));
  margin-inline: auto;
  box-shadow: var(--ac-shadow);
}

.case-content { padding: clamp(30px, 5vw, 72px); }

.case-content blockquote {
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: 1.05;
}

.testimonials {
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.testimonials-title { margin-bottom: clamp(30px, 4vw, 48px) !important; }

.testimonials-carousel { width: min(100%, 1000px); max-width: 1000px; }

.testimonials-carousel .testimonial-slide {
  min-height: 220px;
  padding: clamp(26px, 3vw, 42px);
}

.quote-grid blockquote {
  font-size: clamp(21px, 2.25vw, 31px);
  line-height: 1.22;
}

.testimonials .quote-grid figcaption {
  font-size: 12px;
  line-height: 1.35;
}

/* Forms and contact */
.book {
  min-height: auto;
  padding-top: clamp(76px, 9vw, 122px);
  padding-bottom: clamp(76px, 9vw, 122px);
  gap: clamp(48px, 8vw, 120px);
}

.book-content h2 { font-size: clamp(46px, 5.6vw, 78px); line-height: .92; }
.book-content > p { max-width: 560px; font-size: clamp(15px, .35vw + 13.5px, 17px); }

.booking-form input,
.booking-form select,
.booking-form textarea {
  min-height: 54px;
  padding: 0 16px;
  font-size: 16px;
  color: #fff;
}

.booking-form textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid #515151;
  border-radius: 0;
  background: #222;
  color: #fff;
  font: 16px/1.5 var(--body);
  resize: vertical;
}

.booking-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.booking-form label { font-size: 10px; letter-spacing: .08em; }
.booking-form .consent { min-height: 44px; align-items: center; }
.booking-form .consent input { min-height: 0; }
.booking-form button:disabled { cursor: wait; opacity: .68; transform: none; }
.booking-form .form-status { min-height: 20px; }
.booking-form .form-status[data-state="success"] { color: #9ee7b0; }
.booking-form .form-status[data-state="error"] { color: #ffb3a7; }

.contact-details {
  max-width: 520px;
  font-size: clamp(16px, .5vw + 13px, 19px);
}

.contact-details a { overflow-wrap: anywhere; }

/* Footer and legal pages */
footer,
.page-footer {
  padding-inline: max(var(--ac-gutter), calc((100vw - var(--ac-content)) / 2));
  padding-top: 56px;
  padding-bottom: 44px;
}

.footer-links { gap: 14px 26px; }
.legal-page { padding-top: calc(var(--ac-header-h) + 70px); padding-bottom: 90px; }
.legal-page h1 { font-size: clamp(48px, 7vw, 92px); }
.legal-page section { max-width: 820px; }

/* Laptop: switch to the purpose-built mobile navigation before the desktop bar crowds. */
@media (max-width: 1120px) {
  :root { --ac-header-h: 76px; }

  .desktop-nav,
  .header-cta { display: none !important; }

  .menu-toggle { display: flex; margin-left: auto; }

  .site-header .brand,
  .site-header.scrolled .brand,
  .page-header .brand { width: 132px; height: 48px; }

  .header-brand-name { font-size: 15px; }

  .goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .organisation-grid-page,
  .organisation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root {
    --ac-gutter: clamp(20px, 5.5vw, 38px);
    --ac-section-y: clamp(58px, 10vw, 84px);
  }

  .header-brand-name { display: inline-block; margin-left: -10px; font-size: 13px; }

  .mobile-menu {
    padding: 18px var(--ac-gutter) 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-menu nav { gap: 0; }
  .mobile-menu nav a { min-height: 48px; display: flex; align-items: center; font-size: clamp(26px, 6.6vw, 40px); }

  .hero {
    min-height: max(650px, 100svh);
    padding-top: calc(var(--ac-header-h) + 70px);
    padding-bottom: 56px;
  }

  #home .hero-content > h1 {
    max-width: 700px;
    font-size: clamp(48px, 11.5vw, 76px);
  }

  .page-hero {
    min-height: 640px;
    padding-top: calc(var(--ac-header-h) + 66px);
    padding-bottom: 64px;
  }

  .page-hero h1 { font-size: clamp(48px, 11vw, 76px); }

  .services-heading,
  .result-header,
  .intro-grid,
  .text-grid,
  .lift-showcase-intro,
  .sc-showcase-intro,
  .group-training-gallery-heading,
  .nutrition-gallery-heading,
  .results-carousel-heading,
  .book,
  .about,
  .founder-profile,
  .experience-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .goal-grid,
  .services-grid,
  .value-grid,
  .credential-grid,
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .goal-grid .service-card { min-height: 168px; }
  .value-card { min-height: 210px; }

  .sc-showcase-grid,
  .lift-showcase-grid,
  .group-training-gallery-grid,
  .nutrition-gallery-grid { grid-template-columns: 1fr; }

  .sc-feature,
  .sc-feature .sc-video-link img,
  .lift-feature,
  .lift-feature img,
  .group-training-gallery figure,
  .group-training-gallery img { min-height: 380px; }

  .case-study,
  .result-story-card { grid-template-columns: 1fr; }

  .result-visual,
  .result-photo { min-height: 460px; height: min(135vw, 650px); }

  .book { align-items: start; }
  .contact-details { padding-top: 8px; }

  .process-brand-intro { grid-template-columns: 1fr; gap: 24px; }
  .process-brand-intro > p { max-width: 620px; }
  .coaching-process-panel .list-row { grid-template-columns: 44px 1fr; gap: 14px 20px; }
  .coaching-process-panel .list-row p { grid-column: 2; }
}

@media (max-width: 600px) {
  .site-header,
  .site-header.scrolled,
  .page-header { gap: 12px; }

  .site-header .brand,
  .site-header.scrolled .brand,
  .page-header .brand { width: 110px; height: 42px; }

  .header-brand-name { max-width: 138px; margin-left: -8px; font-size: 11px; letter-spacing: .055em; }
  .menu-toggle { width: 44px; height: 44px; }

  #home .hero-content > h1,
  .page-hero h1 { font-size: clamp(43px, 13vw, 62px); }

  .about-page-hero .page-hero-content > h1,
  .about-page-hero .page-hero-content > h1 em { font-size: clamp(42px, 12.5vw, 58px) !important; }

  .services-heading h2,
  .result-header h2,
  .about-copy h2,
  .intro-grid h2,
  .text-grid h2,
  .method-intro h2,
  .testimonials-title h2,
  .results-carousel-heading h2,
  .group-training-gallery-heading h2,
  .nutrition-gallery-heading h2 { font-size: clamp(38px, 11vw, 54px); }

  .hero-actions,
  .page-actions { align-items: stretch; flex-direction: column; }

  .hero-actions .button,
  .page-actions .page-button { width: 100%; }

  .goal-grid,
  .services-grid,
  .value-grid,
  .credential-grid,
  .resource-grid,
  .organisation-grid-page,
  .organisation-grid { grid-template-columns: 1fr; }

  .goal-grid .service-card,
  .value-card,
  .credential-card { min-height: 0; }

  .service-card:hover,
  .service-card:focus-visible,
  .resource-card:hover,
  .resource-card:focus-within { transform: none; }

  .form-row { grid-template-columns: 1fr; }
  .button-full { width: 100%; }

  .result-visual,
  .result-photo { min-height: 390px; height: 125vw; max-height: 580px; }

  .case-content blockquote { font-size: clamp(26px, 8vw, 38px); }
  .case-stats { grid-template-columns: 1fr 1fr; gap: 18px; }

  .process-brand-intro h2 { font-size: clamp(39px, 11vw, 54px); }
  .coaching-process-panel .list-row { grid-template-columns: 34px 1fr; }

  .testimonials-carousel .testimonial-slide { min-height: 245px; padding: 24px 22px; }
  .quote-grid blockquote { font-size: clamp(19px, 5.6vw, 25px); }
  .testimonials-carousel-controls { align-items: flex-end; }

  footer,
  .page-footer { gap: 24px; }
}

@media (hover: none) {
  .service-card:hover,
  .resource-card:hover,
  .button:hover,
  .page-button:hover { transform: none; }

  .sc-video-link-label { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* Resource library: multiple verified options within each category. */
.resource-options-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.resource-options-card > h3 {
  margin-bottom: 14px;
}

.resource-options-card > p {
  margin-bottom: 24px;
}

.resource-option-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.resource-option-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.resource-option-list a:hover,
.resource-option-list a:focus-visible {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--page-orange);
  transform: translateY(-1px);
}

.resource-option-list a span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.resource-option-list a small {
  max-width: 112px;
  color: var(--page-orange);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .resource-options-card {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .resource-options-card {
    min-height: 0;
  }

  .resource-option-list a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .resource-option-list a small {
    max-width: none;
    text-align: left;
  }
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  padding: clamp(76px, 9vw, 132px) max(7.5vw, 28px) clamp(86px, 10vw, 150px);
  background: #1d1f22;
  color: #f4f4f2;
}

.legal-page > .eyebrow {
  margin: 0 0 24px;
  color: #c8cbd0;
}

.legal-page > h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(58px, 8.2vw, 124px);
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.legal-page > h1 em {
  color: var(--orange);
  font-style: normal;
}

.legal-page .legal-intro {
  max-width: 800px;
  margin: 34px 0 48px;
  color: #d7d9dc !important;
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.55;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-summary p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-summary p:last-child {
  border-right: 0;
}

.legal-summary strong,
.legal-section-number {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-summary span,
.legal-summary a {
  overflow-wrap: anywhere;
  color: #f4f4f2;
  font-size: 15px;
  line-height: 1.5;
}

.legal-contents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 0 64px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-contents a {
  padding: 10px 12px 10px 0;
  color: #d7d9dc;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-contents a:hover,
.legal-contents a:focus-visible {
  color: var(--orange);
}

.legal-page section {
  max-width: 1040px !important;
  margin: 0 !important;
  padding: 44px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  scroll-margin-top: calc(var(--ac-header-h, 96px) + 20px);
}

.legal-page section h2 {
  max-width: 840px;
  margin: 8px 0 22px;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.legal-page section p,
.legal-page section li {
  max-width: 900px;
  color: #d7d9dc !important;
  font-size: 17px;
  line-height: 1.72;
}

.legal-page section p {
  margin: 0 0 16px;
}

.legal-page section ul {
  max-width: 900px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-page section li + li {
  margin-top: 10px;
}

.legal-page section strong {
  color: #fff;
}

.legal-page section a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 0, 0.75);
  text-underline-offset: 4px;
}

.legal-callout {
  max-width: 900px;
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--orange);
  background: #292c30;
  color: #e7e8ea;
  font-size: 16px;
  line-height: 1.65;
}

.legal-table-wrap {
  max-width: 1040px;
  margin: 22px 0 30px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: #292c30;
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-table td {
  color: #d7d9dc;
}

@media (max-width: 760px) {
  .legal-page {
    padding: 58px 22px 90px;
  }

  .legal-summary {
    grid-template-columns: 1fr;
  }

  .legal-summary p {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .legal-summary p:last-child {
    border-bottom: 0;
  }

  .legal-contents {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 44px;
  }

  .legal-page section {
    padding: 36px 0 !important;
  }

  .legal-page section p,
  .legal-page section li {
    font-size: 16px;
    line-height: 1.68;
  }
}

@media (max-width: 430px) {
  .legal-page > h1 {
    font-size: clamp(48px, 17vw, 70px);
  }

  .legal-contents {
    grid-template-columns: 1fr;
  }
}

/* Compact, accessible social icons used by every consultation panel. */
.contact-details .socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0;
}

.contact-details .socials .social-icon-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-details .socials .social-icon-link:hover,
.contact-details .socials .social-icon-link:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: #111;
  transform: translateY(-2px);
  outline: none;
}

.contact-details .socials svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-details .socials .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-icon-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .contact-details .socials .social-icon-link {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}
