
/* ==========================================================================
   Design tokens — source of truth: docs/design-system.md (§2, §3).
   Do not add colours or fonts here without updating the design system.
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colours (§2) */
  --color-accent: #f1592a;
  --color-purple: #2d1872;
  --color-charcoal: #303030;
  --color-light: #eaeaee;
  --color-white: #ffffff;

  /* Typography (§3) */
  --font-heading: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --heading-tracking: -0.07em;

  /* Fluid type: values measured at 375px (mobile) and 1440px (desktop) */
  --fs-display: clamp(2.827rem, 2.413rem + 1.762vw, 4rem);        /* 45.2px → 64px */
  --fs-display-xl: clamp(2.313rem, 1.166rem + 4.892vw, 5.569rem); /* 37px → 89.1px */
  --fs-display-md: clamp(2.125rem, 1.815rem + 1.322vw, 3rem);  /* 34px → 48px */
  --fs-h4: clamp(1.122rem, 1.094rem + 0.118vw, 1.2rem);          /* 17.9px → 19.2px */
  --fs-body: 1rem;                                                /* 16px */
  --fs-large: clamp(1.122rem, 1.094rem + 0.118vw, 1.2rem);       /* 17.9px → 19.2px */
  --fs-small: clamp(0.784rem, 0.906rem - 0.141vw, 0.878rem);     /* 14px → 12.5px */
  --lh-display: 1.056;
  --lh-body: 1.5;

  /* Layout */
  --content-max: 1200px;
  --gutter: max(6vw, calc((100% - var(--content-max)) / 2)); /* 23px mobile → 120px at 1440 */
  --header-pad-x: 4vw;
  --header-height: 149px;

  /* Components */
  --radius-button: 6.4px;
  --btn-pad-y: 1.2rem;
  --btn-pad-x: clamp(2.3rem, 1.75rem + 2.3vw, 4.45rem);
}

@media (max-width: 1099px) {
  :root {
    --header-height: 96px;
  }
}

/* ==========================================================================
   Base / reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1, h2, h3, h4, p, ul, blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Skip link: visually hidden until focused */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-weight: 700;
  border-radius: var(--radius-button);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* Typography helpers */
.display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--heading-tracking);
}

.display--xl {
  font-size: var(--fs-display-xl);
  line-height: 1;
}

.display--accent {
  color: var(--color-accent);
}

.text-large {
  font-size: var(--fs-large);
  line-height: var(--lh-body);
}

.text-small {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.text-center {
  text-align: center;
}

.container {
  position: relative;
  padding-inline: var(--gutter);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Section themes — design-system.md §4
   ========================================================================== */

.section {
  position: relative;
  isolation: isolate;
}

.theme-black      { background: var(--color-charcoal); color: var(--color-white); }
.theme-dark       { background: var(--color-purple);   color: var(--color-white); }
.theme-dark-bold  { background: var(--color-purple);   color: var(--color-white); }
.theme-bright     { background: var(--color-accent);   color: var(--color-white); }
.theme-white      { background: var(--color-white);    color: var(--color-charcoal); }
.theme-light-bold { background: var(--color-light);    color: var(--color-charcoal); }

/* ---------- Full-bleed photo backgrounds ---------- */
.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.section__bg picture,
.section__bg img {
  width: 100%;
  height: 100%;
}
.section__bg img {
  object-fit: cover;
}
.section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* Overlay values measured from the live site */
.section__bg--overlay-15::after     { background: rgb(48 48 48 / 0.15); }
.section__bg--overlay-50::after     { background: rgb(45 24 114 / 0.5); }
.section__bg--overlay-light::after  { background: rgb(45 24 114 / 0.04); }
.section__bg--overlay-bright::after { background: rgb(241 89 42 / 0.9); }

/* ---------- Photo section (hero-style) ---------- */
.photo-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 677px;
  padding-block: 147px 67px;
}

.photo-section__content {
  max-width: 494px;
}
.photo-section__content > * + * {
  margin-top: 1rem;
}
.photo-section__content p {
  max-width: 443px;
}
.photo-section__content .btn {
  margin-top: 4.5rem;
}

.photo-section--hero {
  justify-content: center;
  min-height: 753px;
  /* Live content block sits ~40px below the optical centre */
  padding-block: var(--header-height) 5px;
}

.photo-section--center .photo-section__content {
  max-width: 796px;
  margin-inline: auto;
  text-align: center;
}
.photo-section--center .photo-section__content p {
  max-width: none;
}
.photo-section--center .display {
  max-width: 796px;
  margin-inline: auto;
}

.photo-section--team {
  min-height: 824px;
}

.photo-section--video {
  padding-block: 86px 67px;
}
.photo-section--video .display {
  max-width: 600px;
}
.photo-section--video .photo-section__content p {
  margin-top: 3rem;
}

.photo-section__actions {
  margin-top: 5.5rem;
  text-align: center;
}

/* ---------- Video ---------- */
.video-embed {
  max-width: 796px;
  margin: 4.5rem auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CTA strip (theme dark) ---------- */
.cta-strip {
  padding-block: 68px 28px;
}
.cta-strip .display {
  max-width: 1050px;
}
.cta-strip p {
  max-width: 645px;
  margin-top: 1.25rem;
}
.cta-strip .btn {
  margin-top: 4.5rem;
}
.cta-strip .container {
  padding-bottom: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding-block: 92px 87px;
  justify-content: flex-start;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 87px;
  margin-top: 7.5rem;
}
.testimonial {
  text-align: center;
}
.testimonial__photo {
  width: 210px;
  height: 210px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__quote {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}
.testimonial__name {
  margin-top: 1.5em;
  font-size: 1rem;
  font-weight: 700;
}

/* ---------- Bright CTA ---------- */
.bright-cta {
  padding-block: 243px 73px;
  justify-content: flex-start;
}
.bright-cta__heading {
  max-width: 796px;
}
.bright-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 494px) minmax(0, 645px);
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  margin-top: 11.1rem;
}
.bright-cta__text p {
  margin-top: 0.6rem;
}
.bright-cta__text .btn {
  margin-top: 6.5rem;
}
.bright-cta__image {
  aspect-ratio: 645 / 697;
  overflow: hidden;
}
.bright-cta__image picture,
.bright-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Partners ---------- */
.partners {
  padding-block: 127px 67px;
  justify-content: flex-start;
}
.partners .display {
  max-width: 1100px;
  margin-inline: auto;
}
.partners__intro {
  max-width: 695px;
  margin: 1rem auto 0;
}
.partners__logos {
  display: grid;
  grid-template-columns: repeat(5, 191px);
  justify-content: center;
  gap: 11px;
  margin: 7rem auto 5.5rem;
}
.partners__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 173px;
}
.partners__logos picture,
.partners__logos img {
  max-width: 100%;
  max-height: 100%;
}
.partners__logos img {
  object-fit: contain;
}
.partners__logos .partners__logo--small img {
  width: 114px;
}

/* ---------- Reviews ---------- */
.reviews {
  justify-content: flex-start;
  min-height: 0;
  padding-block: 184px 120px;
}
.reviews .photo-section__content,
.reviews .display {
  max-width: 1000px;
}
.reviews .photo-section__content p {
  max-width: 796px;
  margin-inline: auto;
}
.reviews__widgets {
  max-width: 1100px;
  margin: 5rem auto 0;
  display: grid;
  gap: 3rem;
}
.reviews__widget {
  min-height: 300px; /* reserve space while the Jotform widgets load */
}

/* ==========================================================================
   Tablet / mobile
   ========================================================================== */
@media (max-width: 1099px) {
  .photo-section--video {
    padding-top: 70px;
  }
  .partners__logos {
    grid-template-columns: repeat(3, minmax(0, 191px));
  }
}

@media (max-width: 767px) {
  .photo-section {
    min-height: 646px;
    padding-block: 120px 60px;
  }
  .photo-section--hero {
    min-height: 833px;
    padding-top: var(--header-height);
  }
  .photo-section__content {
    max-width: 245px;
  }
  .photo-section--center .photo-section__content,
  .photo-section__content p {
    max-width: none;
  }
  .photo-section__content .btn,
  .cta-strip .btn {
    margin-top: 2.5rem;
  }
  .photo-section--team {
    min-height: 651px;
  }
  .video-embed {
    margin-top: 2.5rem;
  }
  .photo-section__actions {
    margin-top: 2.5rem;
  }
  .cta-strip {
    padding-block: 56px 40px;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
  }
  .bright-cta {
    padding-block: 80px 60px;
  }
  .bright-cta__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
  }
  .bright-cta__text .btn {
    display: block;
    margin-top: 2.5rem;
  }
  .partners {
    padding-block: 80px 60px;
  }
  .partners__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: 3rem;
  }
  .partners__logos li {
    height: 120px;
  }
  .reviews {
    padding-block: 80px 60px;
  }
  .reviews .photo-section__content,
.reviews .display {
  max-width: 1000px;
}
.reviews .photo-section__content p {
  max-width: 796px;
  margin-inline: auto;
}
.reviews__widgets {
    margin-top: 3rem;
  }
}

/* ==========================================================================
   Inner-page components (Study in the UK, About Us, course pages, Privacy)
   Measurements from the live pages at 1440px, audited 18 Oct 2026.
   ========================================================================== */

/* ---------- Shared typography ---------- */
.display-md {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-display-md);
  line-height: 1.104;
  letter-spacing: var(--heading-tracking);
}

.h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-h4);
  line-height: 1.19;
  letter-spacing: var(--heading-tracking);
}

.eyebrow {
  text-transform: uppercase;
}

/* Rich text: lists and paragraphs as Squarespace renders them */
.prose p {
  margin: 0 0 1rem;
}
.prose ul {
  padding-left: 40px;
  list-style: disc;
}
.prose ul ul {
  list-style: disc;
}
.prose li > p {
  margin: 8px 0;
}
.prose .h4 {
  margin: 2rem 0;
}
.prose a:not(.btn) {
  color: var(--color-accent);
}
.prose .display,
.prose .display-md {
  margin-bottom: 1rem;
}
.prose .btn {
  margin-top: 0.5rem;
}

/* Theme "white-bold": headings in accent orange */
.theme-white-bold .display-md,
.theme-white-bold .h4 {
  color: var(--color-accent);
}

/* ---------- Inner-page hero ---------- */
.page-hero {
  justify-content: flex-start;
  min-height: 0;
  padding-block: 236px 173px;
}
.page-hero__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.page-hero__content {
  max-width: 544px;
}
.page-hero__content .display {
  min-height: 173px;
  margin-top: 44px;
}
.page-hero__body {
  min-height: 136px;
  margin-top: 11px;
}
/* Study in the UK: narrower copy; the live grid leaves space before the button */
.page-hero--study .page-hero__body {
  max-width: 494px;
  min-height: 541px;
  margin-top: 11px;
}
/* About Us: the live grid spaces the hero out vertically */
.page-hero--about .display {
  margin-top: 160px;
}
.page-hero--about .page-hero__body {
  margin-top: 91px;
}
.page-hero__body p + p {
  margin-top: 1rem;
}
.page-hero__content .btn {
  margin-top: 0.7rem;
}
.page-hero__aside {
  flex: 0 0 191px;
  margin-right: 151px; /* sits at x=978 on the live page */
}

/* ---------- Split sections (Study in the UK) ---------- */
.split-section {
  padding-block: 48px 48px;
}
.split-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 544px) minmax(0, 645px);
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}
.split-section__side .split-section__image {
  margin-top: 110px;
}
.split-section__image img {
  width: 100%;
}
.benefits__cities {
  max-width: 443px;
  margin: 3rem 0 0 151px;
}
.benefits {
  padding-bottom: 232px;
}
.split-section .prose .display {
  margin-bottom: 49px;
}
.student-finance .btn {
  margin-top: 150px;
}
.benefits__cities .btn {
  margin-top: 0.5rem;
}
.footnotes {
  margin-top: 1rem;
  line-height: 1.2;
}

.split-section--reverse {
  padding-block: 48px 84px;
}
.split-section--reverse .split-section__grid {
  grid-template-columns: minmax(0, 594px) minmax(0, 544px);
}
.split-section--reverse .split-section__main {
  max-width: 544px;
}
.split-section--reverse .display {
  max-width: 494px;
}

/* ---------- About Us ---------- */
.about-intro {
  padding-block: 99px;
}
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 443px) minmax(0, 544px);
  column-gap: 62px;
}
.team {
  padding-block: 95px 176px;
}
.team__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-display-md);
  line-height: 1.5;
  letter-spacing: var(--heading-tracking);
  text-align: center;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 60px;
  margin-top: 40px;
}
.team-card__photo {
  aspect-ratio: 255 / 341;
  overflow: hidden;
  background: var(--color-light);
}
.team-card__photo picture,
.team-card__photo img {
  width: 100%;
  height: 100%;
}
.team-card__photo img {
  object-fit: cover;
}
.team-card__name {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-h4);
  line-height: 1.19;
  letter-spacing: var(--heading-tracking);
}
.team-card__details {
  margin-top: 0.75rem;
  font-size: 0.892rem; /* 14.3px */
  line-height: 1.5;
}

/* ---------- Course pages ---------- */
.course-details {
  padding-block: 48px;
}
.course-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 594px));
  justify-content: space-between;
  gap: 2rem;
  margin-top: 6.5rem;
}
.course-details__grid--offset .course-details__side {
  padding-top: 90px;
}
.course-details__side > ul:first-child {
  margin-top: 0;
}
.course-details__side .h4:first-child {
  margin-top: 0;
}
.course-details__action {
  margin-top: 5rem;
}

.before-applying {
  overflow: hidden;
}
.before-applying__grid {
  position: relative;
  min-height: 652px;
  padding-block: 74px 60px;
}
.before-applying__text {
  max-width: 494px;
}
.before-applying__text .display-md {
  margin-bottom: 1.25rem;
}
.before-applying__text p + p {
  margin-top: 1rem;
}
.before-applying__text .btn {
  margin-top: 0.75rem;
}
.before-applying__image {
  position: absolute;
  top: 37px;
  right: 0;
  width: min(765px, 53vw);
  aspect-ratio: 765 / 504;
  overflow: hidden;
}
.before-applying__image picture,
.before-applying__image img {
  width: 100%;
  height: 100%;
}
.before-applying__image img {
  object-fit: cover;
}

/* ---------- Privacy policy ---------- */
.legal {
  padding-block: 244px 95px;
}
.legal .display-md {
  margin-bottom: 1.5rem;
}

/* ---------- Header on white pages ---------- */
.header-on-light .site-header {
  color: var(--color-charcoal);
}
/* White pages show the official blue-lettering logo (the live site keeps the
   white one, which disappears against white — docs/decisions.md). */
.site-header__logo-dark,
.header-on-light .site-header__logo-light {
  display: none;
}
.header-on-light .site-header__logo-dark {
  display: block;
}

/* ==========================================================================
   Tablet / mobile
   ========================================================================== */
@media (max-width: 1099px) {
  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
  }
  .page-hero__aside {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding-block: calc(var(--header-height) + 60px) 80px;
  }
  .page-hero__inner {
    flex-direction: column;
  }
  .page-hero__aside {
    flex-basis: auto;
    width: 191px;
  }
  .split-section__grid,
  .split-section--reverse .split-section__grid,
  .about-intro__grid,
  .course-details__grid {
    grid-template-columns: 1fr;
  }
  .split-section__side .split-section__image {
    margin-top: 0;
  }
  .benefits__cities {
    margin-left: 0;
  }
  .about-intro {
    padding-block: 60px;
  }
  .about-intro__grid {
    row-gap: 1rem;
  }
  .team {
    padding-block: 60px 80px;
  }
  .team__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .course-details__grid--offset .course-details__side {
    padding-top: 0;
  }
  .course-details__action {
    margin-top: 2.5rem;
  }
  .before-applying__grid {
    min-height: 0;
    padding-block: 60px;
  }
  .before-applying__image {
    position: static;
    width: 100%;
    margin-top: 2rem;
  }
  .page-hero__content .display,
  .page-hero__body,
  .page-hero--study .page-hero__body {
    min-height: 0;
  }
  .page-hero__content .display {
    margin-top: 1rem;
  }
  .page-hero--about .display {
    margin-top: 1.5rem;
  }
  .page-hero--about .page-hero__body {
    margin-top: 1rem;
  }
  .benefits {
    padding-bottom: 60px;
  }
  .student-finance .btn {
    margin-top: 1rem;
  }
  .course-details__grid {
    margin-top: 2.5rem;
  }
  .legal {
    padding-block: calc(var(--header-height) + 40px) 60px;
  }
}

/* ==========================================================================
   Talk to Us — hero + lead form (visual only, see talk-to-us.njk)
   ========================================================================== */
.page-hero--contact {
  padding-block: 207px 144px;
}
.page-hero--contact .page-hero__content {
  max-width: 695px;
}
.page-hero--contact .display {
  max-width: 594px;
}
.page-hero--contact .page-hero__body {
  min-height: 173px;
}
.page-hero--contact .page-hero__body a {
  color: var(--color-accent);
}

.contact-form-section {
  padding-block: 48px 47px;
}
.contact-form-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 695px) minmax(0, 494px);
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}
/* The live page places the illustration level with the lower half of the form */
.contact-form-section__image {
  margin-top: 1655px;
}
.contact-form-section__image {
  aspect-ratio: 494 / 615;
  overflow: hidden;
}
.contact-form-section__image picture,
.contact-form-section__image img {
  width: 100%;
  height: 100%;
}
.contact-form-section__image img {
  object-fit: cover;
}

.lead-form__item {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.lead-form__title {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.lead-form__sublabel {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  line-height: 1.5;
}
.lead-form__req,
.lead-form__description,
.lead-form__option {
  font-size: var(--fs-small);
  line-height: 1.5;
}
.lead-form__description {
  margin: 0 0 8px;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lead-form__row--phone {
  grid-template-columns: 275px 1fr;
  gap: 7px;
}
/* Field style measured from the live Squarespace form */
.lead-form__input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fafafa;
  color: var(--color-charcoal);
  font: inherit;
  font-size: 1rem;
}
.lead-form__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.lead-form__option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-accent);
}
.lead-form__actions {
  margin-top: 1.5rem;
}
.btn.lead-form__submit {
  padding: 19.2px;
  font-size: 1rem;
  line-height: 1.2;
}
.lead-form__notice,
.lead-form__error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-light);
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .page-hero--contact {
    padding-block: calc(var(--header-height) + 60px) 80px;
  }
  .page-hero--contact .page-hero__body {
    min-height: 0;
  }
  .contact-form-section {
    padding-block: 48px 60px;
  }
  .contact-form-section__grid,
  .lead-form__row--phone {
    grid-template-columns: 1fr;
  }
  .contact-form-section__image {
    margin-top: 1rem;
  }
}

/* ---------- Thank-you page ---------- */
.thank-you {
  padding-block: 48px 96px;
}

.lead-form__error {
  border-left: 4px solid var(--color-accent);
}
.lead-form__error a {
  color: var(--color-accent);
}

/* ==========================================================================
   Components — design-system.md §5
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 0;
  border-radius: var(--radius-button);
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn:hover {
  opacity: 0.85;
}

.btn--inverse {
  background: var(--color-white);
  color: var(--color-accent);
}

.btn--large {
  padding: 1.2rem 1.1rem;
}

.btn--small {
  padding: 1.2rem;
  font-size: var(--fs-large);
  line-height: 1.25;
}

.btn--header {
  padding: 1.2rem;
  font-size: var(--fs-large);
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-height: var(--header-height);
  padding: 0 var(--header-pad-x);
}

.site-header__logo img {
  width: 260px;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__item {
  position: relative;
}

.site-nav__item > a,
.site-nav__folder-toggle,
.lang-picker__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.25rem 0;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__item > a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-nav__item > a:hover,
.site-nav__folder-toggle:hover,
.lang-picker__toggle:hover {
  opacity: 0.8;
}

.flag {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  object-fit: cover;
}

.chevron {
  width: 1em;
  height: 1em;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 12rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  color: var(--color-charcoal);
  border-radius: 4px;
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.15);
}
.site-nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__dropdown a:hover {
  color: var(--color-accent);
}
.lang-picker__menu {
  left: auto;
  right: -1rem;
  min-width: 10rem;
}

/* Burger */
.burger {
  display: none;
  position: relative;
  z-index: 60;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
}
.burger__line {
  position: absolute;
  left: 15%;
  right: 15%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.burger__line:first-child { top: 40%; }
.burger__line:last-child { top: 60%; }
.burger[aria-expanded="true"] .burger__line:first-child { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { top: 50%; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  background: var(--color-charcoal);
  color: var(--color-white);
}
.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: calc(var(--header-height) + 1rem) var(--gutter) 3rem;
}
.mobile-menu__list {
  text-align: center;
}
.mobile-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.35rem 0;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.375rem); /* up to 54px, as live */
  line-height: 1.3;
  text-decoration: none;
}
.mobile-menu__cta {
  margin-top: auto;
  padding-top: 2.5rem;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1099px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .site-header__logo img {
    width: 180px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 88px 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 11px;
}
.site-footer__col p + p {
  margin-top: 1rem;
}
.site-footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 800;
  line-height: 1.19;
  letter-spacing: var(--heading-tracking);
  color: var(--color-accent);
}
.site-footer a {
  color: var(--color-accent);
}
.site-footer .btn {
  color: var(--color-white);
}
.site-footer__social {
  margin-top: 1.5rem;
}
.google-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.google-rating__img {
  width: 117px;
}
.google-rating__score {
  color: var(--color-charcoal) !important;
  text-decoration: none;
  font-size: 0.875rem;
}
.trustpilot {
  margin-top: 0.5rem;
  max-width: 191px;
}
.trustpilot iframe {
  width: 100%;
  height: 52px;
  border: 0;
}
.trust-logos {
  margin-top: 5rem;
}
.trust-logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 11px;
}
.trust-logos__row + .trust-logos__row {
  margin-top: 2rem;
}
.trust-logos__item {
  height: 173px;
  display: flex;
  justify-content: center;
}
.trust-logos__item--sq { width: 191px; }
.trust-logos__item--tall { width: 140px; }
.trust-logos__item--wide { width: 342px; }
.trust-logos__item a,
.trust-logos__item picture {
  display: block;
  height: 100%;
}
.trust-logos__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-footer__credit {
  margin-top: 5rem;
}

@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .trust-logos__item {
    height: 120px;
  }
  .trust-logos__item--sq { width: 132px; }
  .trust-logos__item--tall { width: 97px; }
  .trust-logos__item--wide { width: 100%; }
}

