/* ==========================================================================
   Inglaterra — English Language School, Sofia
   Single shared stylesheet. Mobile-first. No build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #142850;
  --navy-dark: #0e1d3a;
  --navy-soft: #33507f;
  --red: #c8102e;
  --red-dark: #a10d25;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #2b2b2b;
  --text-muted: #5c5c5c;
  --line: #e4ddd2;
  --placeholder-bg: #e9e6e0;
  --placeholder-text: #8a8378;

  /* Poppins has no Cyrillic glyphs, so Bulgarian headings would fall back to a
     system font. Montserrat sits right behind it: same geometric feel, full
     Cyrillic coverage. Browsers fall back per character, so Latin text still
     renders in Poppins exactly as intended. */
  --font-heading: "Poppins", "Montserrat", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 80, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 40, 80, 0.08);

  --wrap: 1120px;
  --gutter: 20px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.85rem, 5.2vw, 2.9rem);
}
h2 {
  font-size: clamp(1.45rem, 3.6vw, 2.05rem);
}
h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

ul {
  padding-left: 1.15em;
}

/* Skip link — keyboard accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section__head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
}

.prose {
  max-width: 68ch;
}

/* Small spacing utilities (used sparingly) */
.block-gap {
  margin-bottom: 40px;
}

.cta-row {
  margin-top: 28px;
}

@media (min-width: 768px) {
  .section {
    padding: 76px 0;
  }
  .section--tight {
    padding: 56px 0;
  }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

/* Text link with a small red underline accent */
.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.link-arrow::after {
  content: " \2192";
  color: var(--red);
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--red);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Image placeholders
   Every image slot is a fixed-aspect-ratio box. Swap the <div> for an
   <img> with the SAME classes — no other change needed.
   -------------------------------------------------------------------------- */
.ph {
  width: 100%;
  /* height:auto lets aspect-ratio drive the box. Without it, the width/height
     attributes on an <img> act as presentational hints and pin the height to
     the photo's own pixel height, which breaks the fixed ratio. */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  object-fit: cover; /* applies once it becomes an <img> */
}

.ph--wide {
  aspect-ratio: 16 / 9;
}
.ph--photo {
  aspect-ratio: 4 / 3;
}
.ph--square {
  aspect-ratio: 1 / 1;
}

/* Shows the whole image instead of cropping it — for photos where cropping
   would lose something important, e.g. a book cover. Needs a background fill
   since contain can letterbox. */
.ph.ph--contain {
  object-fit: contain;
  background: var(--cream);
  padding: 20px;
}

/* Caps an image column's width so it doesn't stretch to fill the grid track —
   used for the book cover + certificate on the About page. Wide enough for
   the two-image pair below; a single image just ends up narrower than the max. */
.split__media--compact {
  max-width: 340px;
}

/* Two images shown at the same height, side by side (e.g. the book cover and
   the Cambridge certificate). Each is a .ph--square.ph--contain box, so equal
   box widths already guarantee equal heights. */
.cert-pair {
  display: flex;
  gap: 12px;
}

.cert-pair .ph {
  flex: 1 1 0;
  min-width: 0;
}

@media (min-width: 860px) {
  .split--media-right .split__media--compact {
    margin-left: auto;
  }
  .split:not(.split--media-right) .split__media--compact {
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   5b. Header logo lockup
   Small crest + the name set in type beside it. The crest is a coloured PNG on
   a transparent background, so it sits directly on the navy — no backdrop.
   The source is only 82x101px, so keep the height at or below ~50px; larger
   than that and it starts to look soft on high-density screens.
   -------------------------------------------------------------------------- */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-lockup__mark {
  height: 40px;
  width: auto;
  object-fit: contain; /* never cropped */
  flex: none;
}

.logo-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-lockup__word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.logo-lockup__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-bottom: 2px;
}

.site-header__logo:hover,
.site-header__logo:focus-visible {
  text-decoration: none;
}

@media (min-width: 900px) {
  .logo-lockup__mark {
    height: 46px;
  }
  .logo-lockup__word {
    font-size: 1.35rem;
  }
  .logo-lockup__sub {
    font-size: 0.76rem;
  }
}

/* Smaller variant for the footer brand row */
.logo-lockup--sm .logo-lockup__mark {
  height: 30px;
}

.logo-lockup--sm .logo-lockup__word {
  font-size: 1.05rem;
}

.logo-lockup--sm .logo-lockup__sub {
  font-size: 0.64rem;
  margin-bottom: 1px;
}

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header__logo {
  display: block;
  flex: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel — drops onto its own row below the logo */
.site-nav {
  display: none;
  width: 100%;
  flex-basis: 100%;
  padding: 8px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: block;
  padding: 12px 2px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.site-nav__list a[aria-current="page"] {
  color: var(--white);
}

/* Desktop navigation */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    width: auto;
    flex-basis: auto;
    padding: 0;
    border-top: 0;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .site-nav__list a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible,
  .site-nav__list a[aria-current="page"] {
    border-bottom-color: var(--red);
  }

}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 64px;
}

.hero__inner {
  max-width: 780px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 30px;
  max-width: 62ch;
}

.hero__rule {
  width: 64px;
  height: 4px;
  background: var(--red);
  border: 0;
  border-radius: 2px;
  margin: 0 0 26px;
}

@media (min-width: 768px) {
  .hero {
    padding: 84px 0 92px;
  }
}

/* Compact page header for inner pages */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 46px 0;
}

.page-head h1 {
  color: var(--white);
  margin-bottom: 0;
}

.page-head p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 66ch;
  margin: 14px 0 0;
}

@media (min-width: 768px) {
  .page-head {
    padding: 64px 0;
  }
}

/* --------------------------------------------------------------------------
   8. Cards + grids
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 700px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.card__foot {
  margin-top: auto;
}

/* News cards — visually distinct from the rest of the page */
.news {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.news__date {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* A concluded event — same card, quieter accent so it still reads but doesn't
   compete with upcoming items for attention. */
.news__card--past {
  border-left-color: var(--text-muted);
}

.news__card--past .news__date {
  color: var(--text-muted);
}

.news__card h3 {
  margin-bottom: 8px;
}

.news__card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Two-column media + text block */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split--top {
  align-items: start;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .split--media-right .split__media {
    order: 2;
  }
}

/* Course sections on the Courses page */
.course-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.course-block + .course-block {
  margin-top: 26px;
}

.course-block h2 {
  margin-bottom: 6px;
}

.course-block__eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.course-block__cta {
  margin-top: 22px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
}

.tag-list li {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

@media (min-width: 768px) {
  .course-block {
    padding: 38px 36px;
  }
}

/* --------------------------------------------------------------------------
   8a2. Exam level table (e.g. Cambridge Young Learners)
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.exam-table {
  width: 100%;
  border-collapse: collapse;
}

.exam-table th,
.exam-table td {
  padding: 14px 20px;
  text-align: left;
}

.exam-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exam-table tbody tr:nth-child(even) {
  background: var(--cream);
}

.exam-table tbody td {
  border-top: 1px solid var(--line);
}

.exam-table tbody td:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   8b. Photo trio — three images side by side (e.g. classroom activities)
   -------------------------------------------------------------------------- */
.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-trio .ph {
  aspect-ratio: 3 / 4;
}

@media (min-width: 600px) {
  .photo-trio {
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   8c. Trust badge (e.g. the Cambridge exam-prep logo)
   Shown plain — no card, border, or background — just the image itself, sized
   to be legible.
   -------------------------------------------------------------------------- */
.cambridge-mark {
  height: 96px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   8d. CTA banner — a well-styled call-to-action card
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
}

.cta-banner__inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner__intro {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner__list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.cta-banner__list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.92);
}

.cta-banner__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-banner__cta {
  margin-top: 26px;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 48px 56px;
  }
}

/* --------------------------------------------------------------------------
   8e. Gallery — a slow, self-scrolling strip of photos
   Pure CSS: the image set is duplicated once in markup and the track is
   animated by exactly -50%, which is a seamless loop back to the start.
   -------------------------------------------------------------------------- */
.gallery__viewport {
  overflow: hidden;
  margin-top: 8px;
}

.gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 90s linear infinite;
}

.gallery__viewport:hover .gallery__track,
.gallery__viewport:focus-within .gallery__track {
  animation-play-state: paused;
}

/* Each photo keeps its own natural proportions — only the height is fixed, so
   a portrait shot stays narrow and a landscape shot stays wide, like a proper
   contact sheet rather than a grid of forced squares. */
.gallery__item {
  flex: 0 0 auto;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery__item img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

@media (min-width: 900px) {
  .gallery__item {
    height: 280px;
  }
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   9. Contact page
   -------------------------------------------------------------------------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list .label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 2px;
}

.contact-list .value {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-list a.value {
  color: var(--red);
  font-weight: 500;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--placeholder-bg);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   10. Form
   -------------------------------------------------------------------------- */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  max-width: 640px;
}

.form__row + .form__row {
  margin-top: 18px;
}

.form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form input,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 40, 80, 0.12);
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form__submit {
  margin-top: 24px;
}

.form__note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Honeypot — hidden from humans, catches naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .form {
    padding: 34px 32px;
  }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 46px 0 26px;
  font-size: 0.95rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: 8px;
}

.site-footer__tagline {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  text-decoration: none;
}

.site-footer__pages a {
  font-family: var(--font-heading);
  font-weight: 500;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.site-footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   12. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
