:root {
  --blue: #082b4c;
  --terracotta: #c96f4b;
  --beige: #eadcc7;
  --off-white: #faf7f2;
  --ink-soft: rgba(8, 43, 76, 0.72);
  --header-height: 92px;
  --page-gutter: clamp(3.5rem, 4.4vw, 4rem);
  --type-display: 3.5rem;
  --type-section: 2.5rem;
  --type-support: 2.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--blue);
  background: var(--off-white);
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  position: fixed;
  inset-inline: 0;
  top: var(--menu-scroll-offset, 0px);
  width: 100%;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  min-height: var(--header-height);
  padding: 1rem var(--page-gutter);
  color: var(--blue);
  background: transparent;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    min-height 260ms ease,
    padding 260ms ease;
  animation: header-in 680ms var(--ease) both;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 78px;
  background: rgba(250, 247, 242, 0.96);
  box-shadow: 0 12px 35px rgba(8, 43, 76, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(7.8rem, 12vw, 11rem);
  min-width: 7.8rem;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.85rem);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
}

.primary-nav a {
  position: relative;
  padding: 0.55rem 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-socials,
.mobile-menu__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-socials svg {
  /* Keep blue icons legible over the portal without a group background. */
  filter:
    drop-shadow(0 0 0.75px rgba(250, 247, 242, 0.95))
    drop-shadow(0 0 0.5px rgba(250, 247, 242, 0.95));
}

.header-socials a,
.mobile-menu__socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  color: var(--blue);
  transition: color 160ms ease;
}

.header-socials a:hover,
.header-socials a:focus-visible,
.mobile-menu__socials a:hover,
.mobile-menu__socials a:focus-visible {
  color: var(--terracotta);
}

.header-socials a:hover .social-tooltip,
.header-socials a:focus-visible .social-tooltip,
.mobile-menu__socials a:hover .social-tooltip,
.mobile-menu__socials a:focus-visible .social-tooltip {
  opacity: 1;
  visibility: visible;
}

.header-socials .social-tooltip {
  top: calc(100% + 0.5rem);
  bottom: auto;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.85rem 1.15rem;
  color: var(--off-white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle__line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 200ms ease;
}

.menu-toggle__line:nth-child(1) {
  transform: translate(-54%, calc(-50% - 4px));
}

.menu-toggle__line:nth-child(2) {
  transform: translate(-46%, calc(-50% + 4px));
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1),
.mobile-menu.is-open .menu-toggle__line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2),
.mobile-menu.is-open .menu-toggle__line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  color: var(--blue);
  background: var(--off-white);
  border: 0;
  opacity: 0;
  transition: opacity 200ms ease;
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}

.mobile-menu::backdrop {
  background: transparent;
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu.is-pointer-open .menu-toggle:focus-visible {
  outline: none;
}

.mobile-menu__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 1rem var(--page-gutter);
}

.mobile-menu__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  gap: 2.5rem;
  padding: 1.75rem var(--page-gutter) max(1.75rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.mobile-menu.is-open .mobile-menu__content {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__links {
  display: grid;
  flex-shrink: 0;
  gap: 0.6rem;
}

.mobile-menu__links a {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0.35rem 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  transition: color 160ms ease;
}

.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible {
  color: var(--terracotta);
}

.mobile-menu__footer {
  flex-shrink: 0;
}

.mobile-menu__socials {
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.mobile-menu__socials a {
  width: 44px;
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 24rem);
  min-height: 56px;
  padding: 1rem 1.25rem;
  color: var(--off-white);
  background: var(--terracotta);
  border-radius: 2px;
  font-size: 1.17rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background-color 160ms ease;
}

.mobile-menu__cta:hover,
.mobile-menu__cta:focus-visible {
  background: #b75e3e;
}

.mobile-menu__signature {
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 2.4rem) var(--page-gutter) 5.25rem;
  overflow: hidden;
  background: var(--beige);
}

.hero-media,
.hero-media img,
.hero-contrast {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  animation: image-settle 1600ms var(--ease) 120ms both;
}

.hero-contrast {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(250, 247, 242, 0.68) 0%,
      rgba(250, 247, 242, 0.42) 28%,
      rgba(250, 247, 242, 0.08) 58%,
      rgba(250, 247, 242, 0) 100%
    ),
    linear-gradient(
      0deg,
      rgba(234, 220, 199, 0.18) 0%,
      rgba(234, 220, 199, 0) 34%
    );
}

.hero-content {
  width: min(100%, 720px);
  padding-top: clamp(0rem, 3.4vh, 3rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-title {
  max-width: 27ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6875rem, var(--type-display), 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title em {
  color: var(--terracotta);
  font-style: inherit;
}

.hero-copy {
  width: min(100%, 58ch);
  margin-top: clamp(1.25rem, 2.5vw, 1.8rem);
}

.hero-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy__text,
.meaning-conclusion__copy p + p,
.chapter-copy p,
.method-step p,
.class-format__copy {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.classes-intro .chapter-copy p:first-child {
  text-align: left;
  hyphens: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: clamp(1.55rem, 2.5vw, 2.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.button-primary {
  color: #fffaf5;
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  box-shadow: 0 14px 32px rgba(201, 111, 75, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #b75e3e;
  border-color: #b75e3e;
  transform: translateY(-2px);
}

.button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.button-link::after {
  content: "→";
  color: var(--terracotta);
  transition: transform 220ms ease;
}

.button-link::before {
  position: absolute;
  right: 1.45rem;
  bottom: 0.28rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 220ms ease;
}

.button-link:hover::after,
.button-link:focus-visible::after {
  transform: translateX(3px);
}

.button-link:hover::before,
.button-link:focus-visible::before {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 720ms var(--ease) both;
}

.reveal-1 {
  animation-delay: 260ms;
}

.reveal-2 {
  animation-delay: 430ms;
}

.reveal-3 {
  animation-delay: 650ms;
}

.reveal-4 {
  animation-delay: 860ms;
}

.meaning-intro-section {
  position: relative;
  padding: clamp(4rem, 5vw, 5rem) var(--page-gutter) clamp(4rem, 5.5vw, 5.5rem);
  background: var(--off-white);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.meaning-demo-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) var(--page-gutter) clamp(5rem, 8vw, 8rem);
  background: #f4ede4;
  border-top: 1px solid rgba(8, 43, 76, 0.10);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

@supports (background: color-mix(in srgb, #eadcc7 35%, #faf7f2)) {
  .meaning-demo-section {
    background: color-mix(in srgb, var(--beige) 35%, var(--off-white));
  }
}

.meaning-intro-section__inner,
.meaning-demo-section__inner {
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
}

.meaning-intro-section h2 {
  max-width: 36ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.625rem, var(--type-section), 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.meaning-intro {
  max-width: 60ch;
  margin: 1.65rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.meaning-intro > span {
  display: block;
}

.editorial-label {
  margin: 0 0 1.4rem;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meaning-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 6rem);
}

.meaning-anchor {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
  align-self: start;
  padding-block: 2rem;
}

.meaning-expression {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, var(--type-support), 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.meaning-literal {
  margin-top: 2.5rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(201, 111, 75, 0.5);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.meaning-literal .editorial-label {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.meaning-literal__reading {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.meaning-experience.has-context .meaning-literal {
  opacity: 0.52;
  transform: translateY(-2px);
}

.meaning-contexts {
  padding-top: min(38svh, 22rem);
}

.meaning-contexts > .editorial-label {
  margin-bottom: 1.25rem;
}

.meaning-context {
  padding: 2.25rem 0 2.8rem;
  border-top: 1px solid rgba(8, 43, 76, 0.16);
}

.meaning-situation {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.65;
}

.meaning-prompt {
  max-width: 24rem;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.meaning-response {
  margin: 1.1rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.meaning-context:nth-of-type(2) .meaning-response {
  padding-left: 1.5rem;
}

.meaning-context:nth-of-type(3) .meaning-response {
  padding-left: 3rem;
}

.meaning-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 0.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(8, 43, 76, 0.16);
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meaning-conclusion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(8, 43, 76, 0.16);
}

.meaning-conclusion__copy {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.meaning-conclusion__copy p {
  margin: 0;
}

.meaning-conclusion__copy p + p {
  margin-top: 1.15rem;
}

.meaning-closing {
  max-width: 32ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, var(--type-support), 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.meaning-closing em {
  color: var(--terracotta);
  font-style: inherit;
}

/* Content stays readable without JavaScript or when motion is reduced. */
.meaning-demo-section.is-enhanced [data-meaning-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 340ms ease,
    transform 340ms var(--ease);
}

.meaning-demo-section.is-enhanced [data-meaning-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  to {
    transform: scale(1);
  }
}

@media (max-width: 1120px) {
  :root {
    --type-display: 3.25rem;
    --type-section: 2.25rem;
    --type-support: 2.125rem;
  }

  .site-header {
    gap: 1.25rem;
  }

  .primary-nav {
    gap: 0.92rem;
    font-size: 0.72rem;
  }

  .header-cta {
    padding-inline: 1rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: clamp(2.5rem, 4.6vw, 3rem);
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: clamp(2rem, 5vw, 2.5rem);
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: 7.7rem;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-block;
  }

  .primary-nav {
    display: none;
  }

  .header-actions,
  .header-cta {
    display: none;
  }

  .meaning-experience,
  .meaning-conclusion {
    grid-template-columns: minmax(0, 1fr);
  }

  .meaning-experience {
    gap: 3.5rem;
  }

  .meaning-anchor {
    position: static;
    padding: 0;
  }

  .meaning-contexts {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --type-display: 1.875rem;
    --type-section: 1.75rem;
    --type-support: 1.75rem;
  }

  .site-header {
    min-height: var(--header-height);
    padding-block: 0.85rem;
  }

  .mobile-menu__header {
    padding-block: 0.85rem;
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    min-height: 74px;
  }

  .brand {
    width: clamp(6.6rem, 32vw, 7.45rem);
    min-width: 6.35rem;
  }

  .hero {
    align-items: flex-start;
    min-height: 0;
    padding: calc(var(--header-height) + 2.3rem) var(--page-gutter) 2rem;
  }

  /* Preserve the portal's scale while clipping excess foreground floor. */
  .hero-media,
  .hero-contrast {
    bottom: -12rem;
  }

  .hero-media img {
    object-position: 55% center;
  }

  .hero-contrast {
    background:
      linear-gradient(
        180deg,
        rgba(250, 247, 242, 0.78) 0%,
        rgba(250, 247, 242, 0.58) 42%,
        rgba(250, 247, 242, 0.18) 68%,
        rgba(250, 247, 242, 0) 100%
      ),
      linear-gradient(
        90deg,
        rgba(250, 247, 242, 0.48) 0%,
        rgba(250, 247, 242, 0.24) 58%,
        rgba(250, 247, 242, 0) 100%
      );
  }

  .hero-content {
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .hero-copy {
    width: min(100%, 58ch);
    margin-top: 1.05rem;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-copy .hero-copy__text {
    position: relative;
    isolation: isolate;
    color: var(--blue);
  }

  .hero-copy__text::before {
    position: absolute;
    inset: -0.3rem -0.6rem;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(250, 247, 242, 0.08) 0%,
      rgba(250, 247, 242, 0.36) 65%,
      rgba(250, 247, 242, 0.2) 88%,
      rgba(250, 247, 242, 0) 100%
    );
    filter: blur(8px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.375rem;
    margin-top: 1.2rem;
  }

  .button {
    min-height: 3.08rem;
    width: min(100%, 18rem);
    padding: 0.95rem 1.1rem;
    font-size: 0.84rem;
  }

  .button-link {
    font-size: 0.84rem;
  }

  .meaning-intro-section {
    padding-block: 2.5rem 3.25rem;
  }

  .meaning-demo-section {
    padding-top: 3.25rem;
  }

  .meaning-intro-section .eyebrow {
    margin-bottom: 0.55rem;
  }

  .meaning-intro {
    margin-top: 1.35rem;
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .meaning-experience {
    gap: 3.25rem;
  }

  .meaning-literal {
    margin-top: 1.75rem;
  }

  .meaning-literal__reading {
    font-size: 1.1rem;
  }

  .meaning-context {
    padding-block: 1.7rem 2.15rem;
  }

  .meaning-response {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .meaning-context:nth-of-type(2) .meaning-response {
    padding-left: 0.65rem;
  }

  .meaning-context:nth-of-type(3) .meaning-response {
    padding-left: 1.35rem;
  }

  .meaning-notes {
    gap: 1rem 1.3rem;
    padding-top: 1.5rem;
    font-size: 0.61rem;
  }

  .meaning-conclusion {
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }

  .meaning-conclusion__copy {
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .hero-copy__text,
  .chapter-copy p,
  .method-step p,
  .class-format__copy,
  .meaning-conclusion__copy p,
  .meaning-conclusion__copy p + p {
    text-align: left;
    -webkit-hyphens: none;
    hyphens: none;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 1.5rem;
  }
}

@media (max-width: 960px) and (max-height: 740px) {
  .mobile-menu__content {
    gap: 1.5rem;
    padding-top: 0.75rem;
  }

  .mobile-menu__links {
    gap: 0.35rem;
  }

  .mobile-menu__links a {
    font-size: 2.05rem;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-top: calc(var(--header-height) + 1.85rem);
  }

  .hero-copy p {
    font-size: 0.91rem;
  }
}

@media (max-width: 375px) {
  :root {
    --type-display: 1.6875rem;
    --type-section: 1.625rem;
  }
}

@media (min-width: 1500px) {
  :root {
    --page-gutter: 4.5rem;
  }

  .hero-content {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .hero-copy {
    width: min(100%, 58ch);
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .hero {
    padding-top: calc(var(--header-height) + 1.1rem);
    padding-bottom: 2rem;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-copy {
    width: min(100%, 58ch);
    margin-top: 0.9rem;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .button {
    min-height: 3rem;
    padding-block: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .hero-media img,
  .site-header {
    opacity: 1;
    transform: none;
  }

  .meaning-demo-section [data-meaning-reveal],
  .meaning-experience .meaning-literal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.home-chapter {
  --terracotta-readable: #9b4b31;
  --chapter-rule: rgba(8, 43, 76, 0.18);
  padding: clamp(4rem, 7vw, 7rem) var(--page-gutter);
  scroll-margin-top: calc(var(--header-height) + 3rem);
}

.chapter-inner {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.home-chapter .chapter-eyebrow {
  color: var(--terracotta-readable);
  letter-spacing: 0;
}

.chapter-title {
  max-width: 32ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.625rem, var(--type-section), 3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.chapter-copy {
  max-width: 58ch;
  margin-top: 1.75rem;
  color: var(--chapter-copy-color, var(--ink-soft));
  font-size: 1rem;
  line-height: 1.7;
}

.chapter-copy p {
  margin: 0;
}

.chapter-copy p + p {
  margin-top: 1.25rem;
}

.home-chapter :focus-visible {
  outline-color: var(--terracotta-readable);
}

.method-chapter {
  --chapter-rule: rgba(250, 247, 242, 0.24);
  --chapter-copy-color: rgba(250, 247, 242, 0.82);
  color: var(--off-white);
  background: var(--blue);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
}

.method-intro {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.method-chapter .chapter-eyebrow {
  color: var(--beige);
}

.method-intro .chapter-copy {
  max-width: 56ch;
}

.method-intro .chapter-title {
  max-width: 28ch;
}

.method-sequence {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-step {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1.75rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--chapter-rule);
}

.method-step:last-child {
  border-bottom: 1px solid var(--chapter-rule);
}

.method-step__number {
  color: var(--terracotta);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.15rem;
  font-weight: 600;
  line-height: 1;
}

.method-step h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.method-step p {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: var(--chapter-copy-color);
  font-size: 0.96rem;
  line-height: 1.7;
}

.karoline-chapter {
  background: var(--off-white);
}

.karoline-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
}

.karoline-portrait {
  width: 100%;
  max-width: 36rem;
  margin: 0;
}

.karoline-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: var(--beige);
}

.karoline-content .chapter-title {
  max-width: 36ch;
  font-size: clamp(1.625rem, var(--type-section), 2.375rem);
}

.karoline-content .chapter-copy {
  max-width: 58ch;
}

.karoline-quote {
  margin: 4rem 0 0;
  padding-block: 3rem;
  border-top: 1px solid var(--chapter-rule);
}

.karoline-quote p {
  max-width: 44ch;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, var(--type-support), 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.karoline-quote em {
  color: var(--terracotta);
  font-style: inherit;
}

.karoline-credentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--chapter-rule);
}

.karoline-credentials > div {
  padding-inline: 2rem;
  border-left: 1px solid var(--chapter-rule);
}

.karoline-credentials > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.karoline-credentials dt {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.karoline-credentials dd {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.81rem;
  line-height: 1.7;
}

@media (min-width: 961px) {
  .karoline-layout {
    align-items: stretch;
  }

  .karoline-portrait {
    align-self: center;
  }

  .karoline-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
  }

  .karoline-content .chapter-copy {
    margin-top: 0;
  }

  .karoline-content .karoline-quote {
    margin: 0;
    padding-block: 1.5rem 0;
  }

  .karoline-credentials {
    margin-top: 4rem;
  }
}

.classes-chapter {
  background: var(--beige);
}

.classes-intro {
  max-width: 56rem;
}

.classes-intro .chapter-title {
  max-width: 30ch;
  font-size: clamp(1.625rem, var(--type-section), 2.375rem);
}

.classes-location {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.7;
}

.classes-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3.5rem;
  border-block: 1px solid var(--chapter-rule);
}

.class-format {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem 4rem 2.5rem 0;
}

.class-format + .class-format {
  padding-right: 0;
  padding-left: 4rem;
  border-left: 1px solid var(--chapter-rule);
}

.class-format__number {
  margin: 0 0 1.25rem;
  color: var(--terracotta-readable);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}

.class-format h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

.class-format__copy {
  max-width: 56ch;
  margin: 1.5rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.class-format__cta {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding-block: 0.75rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 180ms ease;
}

.class-format__cta:hover,
.class-format__cta:focus-visible {
  color: var(--terracotta-readable);
}

.home-chapter.is-enhanced [data-section-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 340ms ease,
    transform 340ms var(--ease);
}

.home-chapter.is-enhanced [data-section-reveal="delayed"] {
  transition-delay: 100ms;
}

.home-chapter.is-enhanced [data-section-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .method-step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.25rem;
  }

  .method-step h3 {
    font-size: 1.55rem;
  }

  .class-format {
    padding-right: 2.5rem;
  }

  .class-format + .class-format {
    padding-left: 2.5rem;
  }

  .class-format h3 {
    font-size: 2.125rem;
  }
}

@media (max-width: 960px) {
  .method-layout,
  .karoline-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .method-intro {
    position: static;
  }

  .method-intro .chapter-copy {
    max-width: 56ch;
  }

  .karoline-portrait {
    max-width: 30rem;
    margin-inline: auto;
  }

  .karoline-credentials > div {
    padding-inline: 1.25rem;
  }

  .karoline-credentials dt {
    font-size: 1.5rem;
  }

  .class-format h3 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .home-chapter {
    padding-block: 4rem;
  }

  .home-chapter .chapter-title {
    line-height: 1.18;
  }

  .karoline-content .chapter-title {
    font-size: calc(var(--type-section) - 0.15625rem);
  }

  .chapter-copy {
    margin-top: 1.5rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .method-layout,
  .karoline-layout {
    gap: 3rem;
  }

  .method-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-block: 2rem;
  }

  .method-step__number {
    font-size: 2.6rem;
  }

  .method-step h3 {
    font-size: 1.375rem;
  }

  .method-step p {
    margin-top: 0.85rem;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .karoline-quote {
    margin-top: 3rem;
    padding-block: 2.25rem;
  }

  .karoline-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 0;
  }

  .karoline-credentials > div {
    padding: 1.5rem 0 1.5rem 1.25rem;
    border-top: 1px solid var(--chapter-rule);
  }

  .karoline-credentials > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .karoline-credentials > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .karoline-credentials dt {
    font-size: 1.5rem;
  }

  .classes-location {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.75rem;
    font-size: 0.82rem;
  }

  .classes-formats {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
  }

  .class-format,
  .class-format + .class-format {
    padding: 2.5rem 0;
    border-left: 0;
  }

  .class-format + .class-format {
    border-top: 1px solid var(--chapter-rule);
  }

  .class-format h3 {
    font-size: 1.875rem;
  }

  .class-format__number {
    margin-bottom: 1.25rem;
  }

  .class-format__copy {
    margin-bottom: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .class-format__cta {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-chapter [data-section-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0ms !important;
  }
}

.entremots-chapter {
  background: var(--off-white);
}

.entremots-intro,
.students-intro {
  max-width: 56rem;
}

.editorial-territories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3.5rem 0 0;
  padding: 0;
  border-block: 1px solid var(--chapter-rule);
  list-style: none;
}

.editorial-entry {
  padding: 2.5rem 2rem;
}

.editorial-entry:first-child {
  padding-left: 0;
}

.editorial-entry:last-child {
  padding-right: 0;
}

.editorial-entry + .editorial-entry {
  border-left: 1px solid var(--chapter-rule);
}

.editorial-entry__number {
  margin: 0 0 1.25rem;
  color: var(--terracotta-readable);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}

.editorial-entry h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
}

.editorial-entry h3 {
  min-height: 2.7em;
}

.editorial-entry__copy {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.editorial-entry__copy {
  margin: 1.25rem 0 0;
}

.editorial-entry__copy,
.faq-answer p {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.students-chapter {
  background: #f4ede4;
}

@supports (background: color-mix(in srgb, #eadcc7 35%, #faf7f2)) {
  .students-chapter {
    background: color-mix(in srgb, var(--beige) 35%, var(--off-white));
  }
}

.student-testimonials:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.student-testimonial {
  margin: 0;
  padding-block: 2rem;
  border-top: 1px solid var(--chapter-rule);
}

.student-testimonial blockquote {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.5;
}

.student-testimonial blockquote p {
  margin: 0;
}

.student-testimonial figcaption {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.student-testimonial [data-testimonial-context]:not([hidden]) {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.faq-chapter {
  --chapter-rule: rgba(250, 247, 242, 0.24);
  color: var(--off-white);
  background: var(--blue);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
}

.faq-chapter .chapter-eyebrow {
  color: var(--beige);
}

.faq-chapter .chapter-title {
  font-size: clamp(1.625rem, var(--type-support), 2.5rem);
}

.faq-item {
  border-top: 1px solid var(--chapter-rule);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--chapter-rule);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding-block: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary:hover {
  color: var(--beige);
}

.faq-toggle {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--terracotta);
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 1.5px;
  content: "";
  background: currentColor;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  display: none;
}

.faq-answer {
  max-width: 58ch;
  padding: 0 2.625rem 1.75rem 0;
  color: rgba(250, 247, 242, 0.82);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

.faq-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: 1rem;
  padding-block: 0.6rem;
  color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.faq-chapter :focus-visible {
  outline-color: var(--terracotta);
}

.faq-chapter.is-enhanced .faq-list:focus-within {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .editorial-territories,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-entry,
  .editorial-entry:first-child,
  .editorial-entry:last-child {
    padding: 2rem 0;
  }

  .editorial-entry + .editorial-entry {
    border-top: 1px solid var(--chapter-rule);
    border-left: 0;
  }

  .editorial-entry h3 {
    min-height: 0;
  }

  .student-testimonials:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .editorial-territories,
  .student-testimonials:not([hidden]) {
    margin-top: 3rem;
  }

  .editorial-entry h3,
  .student-testimonial blockquote {
    font-size: 1.25rem;
  }

  .editorial-entry__copy,
  .faq-answer p {
    text-align: left;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .faq-item summary {
    gap: 1rem;
    font-size: 0.94rem;
  }

  .faq-answer {
    padding-right: 0;
    font-size: 0.94rem;
    line-height: 1.65;
  }
}

.contact-chapter {
  background: var(--off-white);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-chapter .chapter-title {
  max-width: 36ch;
}

.contact-copy {
  max-width: 52ch;
  margin: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
  min-height: 56px;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  color: var(--off-white);
  background: var(--blue);
  border-radius: 2px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 180ms ease;
}

.contact-cta svg {
  flex-shrink: 0;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  background: var(--terracotta-readable);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: color 180ms ease;
}

.contact-socials a:hover,
.contact-socials a:focus-visible {
  color: var(--terracotta-readable);
}

.social-tooltip,
.whatsapp-tooltip {
  position: absolute;
  z-index: 1;
  width: max-content;
  max-width: calc(100vw - 3rem);
  padding: 0.55rem 0.75rem;
  color: var(--off-white);
  background: var(--blue);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.social-tooltip {
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
}

.contact-socials a:hover .social-tooltip,
.contact-socials a:focus-visible .social-tooltip {
  opacity: 1;
  visibility: visible;
}

.contact-chapter.is-enhanced .contact-inner:focus-within {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 4rem var(--page-gutter) calc(5rem + env(safe-area-inset-bottom));
  color: var(--off-white);
  background: var(--blue);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 3rem;
}

.footer-brand {
  display: inline-flex;
  width: 176px;
  max-width: 100%;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-signature {
  margin: 1rem 0 0;
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-label {
  margin: 0 0 1rem;
  color: var(--beige);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding-block: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  width: 100%;
  margin-top: 3rem;
  padding-block: 28px;
  border-top: 1px solid rgba(250, 247, 242, 0.24);
  text-align: center;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--off-white);
  transition: color 160ms ease;
}

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

.footer-socials a:hover .social-tooltip,
.footer-socials a:focus-visible .social-tooltip {
  opacity: 1;
  visibility: visible;
}

.footer-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.footer-credit img {
  width: auto;
  max-width: 72px;
  max-height: 24px;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding-block: 0.6rem;
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--beige);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 5px;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--off-white);
  background: var(--blue);
  border: 1px solid rgba(250, 247, 242, 0.4);
  border-radius: 50%;
  transition: background-color 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #9b4b31;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

.whatsapp-tooltip {
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 961px) {
  .whatsapp-float:hover .whatsapp-tooltip,
  .whatsapp-float:focus-visible .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
  }
}

body.menu-open .whatsapp-float {
  visibility: hidden;
}

.social-icon-definitions {
  position: absolute;
  pointer-events: none;
}

@media (max-width: 960px) {
  .footer-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .whatsapp-float {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 767px) {
  .contact-copy {
    margin-top: 1.5rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contact-cta {
    padding-inline: 1rem;
    font-size: 0.88rem;
  }

  .site-footer {
    padding-top: 3rem;
  }
}

/* ==================================================
   PATCH V14 — largura editorial desktop
   Aulas / EntreMots / Alunos
   ================================================== */

@media (min-width: 1200px) {
  #aulas .classes-intro,
  #entre-mots .entremots-intro,
  #alunos .students-intro {
    max-width: 100%;
  }

  #aulas .classes-intro .chapter-title,
  #entre-mots .entremots-intro .chapter-title,
  #alunos .students-intro .chapter-title {
    max-width: none;
  }

  #aulas .classes-intro .chapter-copy,
  #entre-mots .entremots-intro .chapter-copy,
  #alunos .students-intro .chapter-copy {
    max-width: 82ch;
  }

  #entre-mots .entremots-intro .chapter-copy p,
  #alunos .students-intro .chapter-copy p {
    text-align: left;
    -webkit-hyphens: none;
    hyphens: none;
  }
}
