:root {
  --ink: #17140f;
  --ink-2: #221d16;
  --paper: #f8f2e7;
  --paper-2: #efe6d4;
  --accent: #e2572c;
  --accent-2: #c9431b;
  --sage: #6f7d5c;
  --gold: #cf9d46;
  --line-light: rgba(23, 20, 15, 0.12);
  --line-dark: rgba(248, 242, 231, 0.16);
  --text-body: #3a352c;
  --text-body-dark: #eae3d3;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23,20,15,.06), 0 1px 1px rgba(23,20,15,.05);
  --shadow-md: 0 10px 24px -8px rgba(23,20,15,.16), 0 3px 8px rgba(23,20,15,.08);
  --shadow-lg: 0 30px 60px -16px rgba(23,20,15,.28), 0 10px 26px -10px rgba(23,20,15,.16);

  --fs-hero: clamp(2.6rem, 5.5vw + 1rem, 5.4rem);
  --fs-h1: clamp(2.1rem, 4vw + 1rem, 3.4rem);
  --fs-h2: clamp(1.7rem, 2.6vw + 1rem, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.2vw + 1rem, 1.5rem);
  --fs-lead: clamp(1.05rem, 0.8vw + 1rem, 1.3rem);

  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: inherit;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);

  &.container--narrow { max-width: 860px; }
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);

  &.section--dark { background: var(--ink); color: var(--text-body-dark); }
  &.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
  &.section--cta { text-align: center; }

  & .section__eyebrow {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 1rem;
  }
  &.section--dark .section__eyebrow { color: var(--gold); }

  & .section__title { font-size: var(--fs-h2); max-width: 42ch; margin-bottom: 2.5rem; }
  & .section__intro { max-width: 780px; }
  & .section__intro h2 { font-size: var(--fs-h2); }
}

.eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.lead-paragraph { font-size: var(--fs-lead); color: var(--text-body); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);

  &.btn--primary {
    background: var(--accent-2);
    color: #fff;
    box-shadow: var(--shadow-md);

    &:hover { background: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  }
  &.btn--outline {
    background: transparent;
    border-color: currentColor;
    color: inherit;

    &:hover { background: rgba(226,87,44,.1); border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); }
  }
  &.btn--small { padding: .7rem 1.4rem; font-size: .85rem; }
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--paper);
  transition: color .4s var(--ease);

  &[data-theme="light"] { color: var(--ink); }

  & .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    backdrop-filter: blur(16px) saturate(160%);
    background: rgba(23,20,15,.32);
    border-bottom: 1px solid rgba(248,242,231,.12);
    transition: background .4s var(--ease), border-color .4s var(--ease);
  }
  &[data-theme="light"] .site-header__inner {
    background: rgba(248,242,231,.62);
    border-bottom-color: rgba(23,20,15,.1);
  }

  & .site-header__logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: inherit;
    flex-shrink: 0;

    & svg { color: var(--accent); flex-shrink: 0; }
  }

  & .site-header__nav {
    display: none;
    gap: 2rem;
    align-items: center;

    & a {
      font-family: 'Sora', sans-serif;
      font-weight: 600;
      font-size: .92rem;
      color: inherit;
      opacity: .88;
      position: relative;
      padding-block: .3rem;
      transition: opacity .3s var(--ease);

      &:hover { opacity: 1; }
      &::after {
        content: '';
        position: absolute;
        left: 0; bottom: 0;
        width: 0; height: 2px;
        background: var(--accent);
        transition: width .35s var(--ease);
      }
      &:hover::after { width: 100%; }
    }
  }

  & .site-header__cta { display: none; flex-shrink: 0; }

  & .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    flex-shrink: 0;

    & span {
      display: block;
      width: 22px;
      height: 2px;
      background: currentColor;
      margin-inline: auto;
      transition: transform .35s var(--ease), opacity .35s var(--ease);
    }

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

  & .mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: var(--ink);
    transition: max-height .45s var(--ease);

    &.is-open { max-height: 520px; }

    & .mobile-menu__nav {
      display: flex;
      flex-direction: column;
      padding: .5rem clamp(1.25rem, 4vw, 3rem) 1.75rem;

      & a {
        color: var(--paper);
        font-family: 'Sora', sans-serif;
        font-weight: 600;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(248,242,231,.12);
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: color .3s var(--ease), padding-left .3s var(--ease);

        &:hover { color: var(--accent); padding-left: .4rem; }
      }
    }
  }

  @media (min-width: 960px) {
    & .site-header__nav { display: flex; }
    & .site-header__cta { display: inline-flex; }
    & .menu-toggle { display: none; }
  }
}


@keyframes weightBreathe {
  0%, 100% { font-weight: 500; letter-spacing: 0em; }
  50% { font-weight: 800; letter-spacing: .012em; }
}
@keyframes colorCycle {
  0%, 100% { color: var(--paper); }
  50% { color: var(--accent); }
}
@keyframes colorCycleLight {
  0%, 100% { color: var(--ink); }
  50% { color: var(--accent-2); }
}

.kinetic-text {
  font-size: var(--fs-hero);
  letter-spacing: -0.02em;

  & .kinetic-line { display: block; }
  & .kinetic-word {
    display: inline-block;
    animation: weightBreathe 7s ease-in-out infinite;
  }
  & .kinetic-word:nth-child(2) { animation-delay: .4s; }
  & .kinetic-line--accent .kinetic-word {
    animation: colorCycle 9s ease-in-out infinite, weightBreathe 7s ease-in-out infinite;
  }
  & .kinetic-line--accent .kinetic-word:nth-child(2) { animation-delay: .5s, .4s; }
}

.section .kinetic-text { font-size: var(--fs-h1); }
.section:not(.section--dark) .kinetic-line--accent .kinetic-word { animation-name: colorCycleLight, weightBreathe; }

@media (prefers-reduced-motion: reduce) {
  .kinetic-word { animation: none !important; }
}


.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);

  & .hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
  }
  & .hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23,20,15,.55) 0%, rgba(23,20,15,.5) 40%, rgba(23,20,15,.92) 100%);
  }
  & .hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(3rem, 8vw, 6rem);
    max-width: 900px;
  }
  & .hero__title { margin-bottom: 1.75rem; }
  & .hero__lead { font-size: var(--fs-lead); max-width: 56ch; color: rgba(248,242,231,.9); }
  & .hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

  & .hero__scroll-cue {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(248,242,231,.5);
    border-radius: var(--radius-pill);
    z-index: 1;

    & span {
      position: absolute;
      top: 8px; left: 50%;
      width: 4px; height: 8px;
      background: var(--accent);
      border-radius: var(--radius-pill);
      transform: translateX(-50%);
      animation: scrollCue 2.2s ease-in-out infinite;
    }
  }
}
@keyframes scrollCue {
  0% { top: 8px; opacity: 1; }
  70% { top: 20px; opacity: 0; }
  100% { top: 8px; opacity: 0; }
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;

  &.page-hero--compact { min-height: 44vh; }

  & .page-hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
  }
  & .page-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(3rem, 7vw, 5rem);
  }
  & .kinetic-text { font-size: var(--fs-h1); }
}


.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper-2);
  border-block: 1px solid var(--line-light);

  & .marquee__track {
    display: inline-flex;
    gap: 3rem;
    padding-block: 1.1rem;
    animation: marqueeScroll 26s linear infinite;
  }
  & span {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .04em;
    color: var(--accent-2);
    opacity: .8;

    &:nth-child(even) { color: var(--ink); opacity: .35; }
  }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;

  @media (min-width: 720px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: 1080px) {
    grid-template-columns: repeat(6, 1fr);
    & .card--wide { grid-column: span 4; }
    & .card--tall { grid-row: span 2; }
  }
}

.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;

  &:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

  & .card__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: -0.5rem -0.5rem 0;
    width: calc(100% + 1rem);
    max-width: calc(100% + 1rem);
  }
  & .card__body h3 { margin-bottom: .5rem; }
  & .card__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--paper-2);
    border-radius: var(--radius-sm);
    color: var(--accent-2);
    font-size: 1.3rem;
  }
  & h3 { font-size: var(--fs-h3); }

  &.card--accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border-color: transparent;

    & .card__icon { background: rgba(255,255,255,.18); color: #fff; }
  }
}


.editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);

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

  & .editorial-row__media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  & .editorial-row__tag {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: .75rem;
  }
  & .editorial-row__text h3 { font-size: var(--fs-h2); }

  @media (min-width: 860px) {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);

    &.editorial-row--reverse { direction: rtl; }
    &.editorial-row--reverse > * { direction: ltr; }
  }
}


.philosophy-teaser {
  text-align: left;
  max-width: 760px;

  & .philosophy-teaser__title { margin-bottom: 1.5rem; }
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;

  &.gallery-grid--full { margin-bottom: 0; }

  & figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease);

    &:hover { box-shadow: var(--shadow-md); }

    & img {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      transition: transform .6s var(--ease);
    }
    &:hover img { transform: scale(1.06); }

    & figcaption {
      position: absolute;
      inset: auto 0 0 0;
      padding: 1rem;
      background: linear-gradient(to top, rgba(23,19,14,.88), transparent);
      color: var(--paper);
      font-size: .85rem;
      font-family: 'Sora', sans-serif;
    }
  }
}
.gallery-cta { text-align: center; }


.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;

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

  & .step {
    padding-top: 2rem;
    border-top: 2px solid rgba(248,242,231,.18);

    & .step__num {
      display: block;
      font-family: 'Sora', sans-serif;
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--accent);
      opacity: .5;
      margin-bottom: .5rem;
    }
    & h3 { font-size: var(--fs-h3); }
  }
}


.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;

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

  & .principle {
    background: rgba(248,242,231,.05);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;

    & .principle__num {
      display: inline-block;
      font-family: 'Sora', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--gold);
      margin-bottom: .75rem;
    }
    & h3 { font-size: var(--fs-h3); }
  }
}


.faq {
  border-top: 1px solid var(--line-light);
}
.faq-item {
  border-bottom: 1px solid var(--line-light);

  & .faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem .25rem;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    text-align: left;
    color: inherit;
    min-height: 44px;
  }
  & .faq-item__icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--accent-2);
    transition: transform .4s var(--ease), background .3s var(--ease);
  }
  & .faq-item__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 .25rem;
    transition: max-height .5s var(--ease), padding .4s var(--ease);
    color: var(--text-body);
  }
  &.is-open .faq-item__answer { max-height: 400px; padding-bottom: 1.5rem; }
  &.is-open .faq-item__icon { transform: rotate(45deg); background: var(--accent-2); color: #fff; }
}


.program-table {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);

  & .program-table__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .25rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line-light);

    &:last-child { border-bottom: none; }
    &.program-table__row--head {
      background: var(--ink);
      color: var(--paper);
      font-family: 'Sora', sans-serif;
      font-weight: 700;
      font-size: .85rem;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    & span:first-child { font-family: 'Sora', sans-serif; font-weight: 700; }

    @media (min-width: 720px) {
      grid-template-columns: repeat(4, 1fr);
      align-items: center;
    }
  }
}
.program-table__note { margin-top: 1.25rem; font-size: .92rem; color: var(--text-body); opacity: .85; }


.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  & h2 { margin-bottom: .25rem; }

  & .form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;

    @media (min-width: 640px) { grid-template-columns: 1fr 1fr; }
  }
  & .form__group {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    & label { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .9rem; }
    & input, & select, & textarea {
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem;
      padding: .85rem 1rem;
      min-height: 48px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line-light);
      background: rgba(248,242,231,.06);
      color: inherit;
      transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);

      &:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(226,87,44,.2);
        background: rgba(248,242,231,.1);
      }
    }
    & textarea { resize: vertical; min-height: 120px; }
  }
  & .form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;

    & input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }
    & a { color: var(--gold); text-decoration: underline; }
  }
  & .btn { align-self: flex-start; }
}
.section--dark .form select option { color: #000; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;

  @media (min-width: 960px) { grid-template-columns: .9fr 1.1fr; }

  & .contact-info {
    & h2 { font-size: var(--fs-h2); }
    & .contact-info__list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin: 1.5rem 0;

      & li {
        display: flex;
        gap: .9rem;
        align-items: flex-start;
        font-size: .98rem;

        & i { color: var(--accent-2); margin-top: 3px; }
        & a { text-decoration: underline; }
      }
    }
    & .contact-map {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      border: 1px solid var(--line-light);
    }
  }
}

.urgent-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;

  & .urgent-block__icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(226,87,44,.16);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
  }
  & h2 { font-size: var(--fs-h3); margin-bottom: .75rem; }
}


.legal-hero { padding-bottom: 2rem; }
.legal-cards { display: flex; flex-direction: column; gap: 1.75rem; }
.legal-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-light);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);

  &:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
  & h2 { font-size: 1.25rem; margin-bottom: .75rem; }
  & p { margin-bottom: 0; color: var(--text-body); }
}


.thanks-section h1 { font-size: var(--fs-h1); }
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
  margin: 2.5rem 0;

  & .next-steps__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--paper-2);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;

    & .next-steps__num {
      flex-shrink: 0;
      width: 34px; height: 34px;
      border-radius: 50%;
      background: var(--accent-2);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Sora', sans-serif;
      font-weight: 700;
    }
    & p { margin: 0; }
  }
}


.site-footer {
  background: var(--ink);
  color: var(--paper-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: auto;

  & .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line-dark);

    @media (min-width: 720px) { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  }
  & .site-footer__brand img { margin-bottom: 1rem; }
  & .site-footer__brand p { font-size: .92rem; opacity: .8; max-width: 32ch; }

  & .site-footer__col {
    & h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 1rem; }
    display: flex;
    flex-direction: column;

    & a, & p {
      font-size: .92rem;
      opacity: .82;
      margin-bottom: .7rem;
      display: flex;
      gap: .5rem;
      align-items: flex-start;
      transition: opacity .3s var(--ease), color .3s var(--ease);
    }
    & a:hover { opacity: 1; color: var(--accent); }
    & i { color: var(--accent-2); margin-top: 2px; }
  }

  & .site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1.5rem;
    font-size: .82rem;
    opacity: .65;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }


.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 -12px 32px rgba(0,0,0,.28);
  transform: translateY(110%);
  transition: transform .5s var(--ease);

  &.is-visible { transform: translateY(0); }

  & .cookie-bar__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  }
  & .cookie-bar__text { flex: 1 1 320px; font-size: .9rem; opacity: .9; }
  & .cookie-bar__text a { text-decoration: underline; color: var(--gold); }
  & .cookie-bar__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

  & .cookie-bar__prefs {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid rgba(248,242,231,.14);
    transition: max-height .5s var(--ease);
  }
  &.is-expanded .cookie-bar__prefs { max-height: 600px; }

  & .cookie-bar__prefs-inner {
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    @media (min-width: 720px) { grid-template-columns: repeat(2, 1fr); }
  }
  & .cookie-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(248,242,231,.05);
    border: 1px solid rgba(248,242,231,.12);
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;

    & strong { display: block; font-size: .9rem; font-family: 'Sora', sans-serif; }
    & span { display: block; font-size: .78rem; opacity: .7; margin-top: 2px; }
  }
  & .cookie-toggle {
    position: relative;
    width: 44px; height: 24px;
    flex-shrink: 0;
    background: rgba(248,242,231,.2);
    border-radius: var(--radius-pill);
    border: none;
    transition: background .3s var(--ease);

    &::after {
      content: '';
      position: absolute;
      top: 3px; left: 3px;
      width: 18px; height: 18px;
      background: var(--paper);
      border-radius: 50%;
      transition: transform .3s var(--ease);
    }
    &.is-on { background: var(--accent-2); }
    &.is-on::after { transform: translateX(20px); }
    &:disabled { opacity: .5; cursor: not-allowed; }
  }
  & .cookie-bar__save { margin: 0 clamp(1.25rem, 4vw, 3rem) 1.5rem; }
}


[data-aos] { pointer-events: auto; }