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

* {
  margin: 0;
  padding: 0;
}

:root {
  /* Primary */
  --blackberry: #47072c;
  --blackberry-hover: #5c1239;
  --blackberry-light: #7a2e56;
  --blackberry-tint: rgba(71, 7, 44, 0.06);
  --blackberry-tint-border: rgba(71, 7, 44, 0.12);

  /* Secondary */
  --navy: #101038;
  --navy-light: #1e2252;
  --navy-tint: rgba(16, 16, 56, 0.05);

  /* Accents */
  --olive: #998514;
  --olive-text: #6b5c0e;
  --olive-tint: #f8f4e2;
  --olive-tint-border: rgba(153, 133, 20, 0.18);
  --tea: #8c7d6c;
  --tea-text: #5e5244;
  --tea-tint: #f7f3ed;
  --tea-tint-border: rgba(140, 125, 108, 0.18);
  --sky: #b5c5d4;
  --sky-text: #4a6278;
  --sky-tint: #eff3f7;
  --sky-tint-border: rgba(181, 197, 212, 0.35);
  --light-olive: #a9a47f;
  --rose: #f0dada;
  --beige: #f7f3e8;

  /* Illustration colours */
  --illust-burgundy: #47072c;
  --illust-cream: #f5f0e2;
  --illust-blue: #bdcad6;

  /* Semantic */
  --success: #5a8f7a;
  --success-tint: #edf5f1;
  --whatsapp: #25d366;
  --whatsapp-tint: #f0faf4;
  --onboarding-coral: #d4785c;
  --onboarding-coral-text: #a85540;
  --onboarding-coral-tint: #fef3ef;
  --onboarding-coral-border: #f2cdbf;
  --onboarding-amber: #c8a650;
  --onboarding-amber-text: #8a6f2e;
  --onboarding-amber-tint: #fbf6e8;
  --onboarding-amber-border: rgba(200, 166, 80, 0.22);
  --onboarding-sage: #5a8f7a;
  --onboarding-sage-tint: #edf5f1;
  --onboarding-sage-border: rgba(90, 143, 122, 0.25);
  --coral: var(--onboarding-coral);
  --coral-text: var(--onboarding-coral-text);
  --coral-tint: var(--onboarding-coral-tint);
  --coral-border: var(--onboarding-coral-border);
  --amber: var(--onboarding-amber);
  --amber-text: var(--onboarding-amber-text);
  --amber-tint: var(--onboarding-amber-tint);
  --amber-border: var(--onboarding-amber-border);
  --sage: var(--onboarding-sage);
  --sage-tint: var(--onboarding-sage-tint);
  --sage-border: var(--onboarding-sage-border);

  /* Neutrals */
  --text: #1c1720;
  --body: #6e6574;
  --caption: #756d80;
  --faint: #a49dab;
  --border: #e4dde6;
  --border-lt: #f0ecf2;
  --bg: #faf7f5;
  --surface: #fff;

  /* Effects */
  --sh: 0 2px 14px rgba(28, 23, 32, 0.06);
  --sh-md: 0 4px 24px rgba(28, 23, 32, 0.1);
  --sh-berry: 0 2px 12px rgba(71, 7, 44, 0.18);

  /* Type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --site-max: var(--max);
  --site-gutter: var(--gutter);
  --section-y: clamp(64px, 7vw, 88px);

  /* Hero */
  --hero-pad-top: clamp(56px, 6.5vw, 92px);
  --hero-pad-bottom: clamp(40px, 5vw, 74px);
  --hero-gap: clamp(24px, 3.5vw, 56px);
  --hero-art-max: clamp(370px, 41vw, 620px);
  --hero-art-max-compact: clamp(320px, 35vw, 500px);
  --hero-kicker-gap: clamp(14px, 1.8vw, 22px);
  --hero-title-gap: clamp(16px, 2vw, 24px);
  --hero-body-gap: clamp(20px, 2.3vw, 30px);
  --hero-title-max: 13ch;
  --hero-intro-max: 41ch;
  --hero-chip-gap: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: var(--site-gutter);
  top: 12px;
  transform: translateY(-180%);
  background: var(--navy);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 200;
  transition: transform 0.18s ease;
}

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

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh);
}

.site-nav .nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}

.site-nav .nav-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-nav .nav-brand-mark,
.site-nav .nav-brand-wordmark {
  display: block;
  width: auto;
}

.site-nav .nav-brand-mark {
  height: 31.5px;
}

.site-nav .nav-brand-wordmark {
  height: 24px;
  max-width: 170px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blackberry);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.on {
  color: var(--blackberry);
}

.nav-links a.on {
  font-weight: 500;
}

.nav-links a:hover::after,
.nav-links a.on::after {
  transform: scaleX(1);
}

.site-nav .nav-links .nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--blackberry);
  color: var(--surface);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(71, 7, 44, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-links .nav-book::after {
  display: none;
}

.site-nav .nav-links .nav-book:hover,
.site-nav .nav-links .nav-book.on,
.site-nav .nav-links .nav-book[aria-current="page"] {
  background: var(--blackberry-hover);
  color: var(--surface);
  box-shadow: 0 4px 16px rgba(71, 7, 44, 0.25);
}

.site-nav .nav-links .nav-book:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 200;
  margin-right: -8px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(28, 23, 32, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-overlay.active {
  opacity: 1;
}

.mobile-nav {
  display: none;
}

/* Heroes */
.site-hero {
  position: relative;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: var(--hero-pad-top) var(--site-gutter) var(--hero-pad-bottom);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--hero-gap);
  align-items: center;
  text-align: left;
}

.site-hero--simple {
  grid-template-columns: 1fr;
  text-align: center;
}

.site-hero--simple .site-hero__content {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.site-hero--home {
  --hero-art-max: clamp(410px, 44vw, 640px);
  --hero-title-max: 11.6ch;
  --hero-intro-max: 40ch;
}

.site-hero--about {
  --hero-art-max: clamp(400px, 42vw, 620px);
  --hero-title-max: 12ch;
  --hero-intro-max: 38ch;
}

.site-hero--help {
  --hero-art-max-compact: clamp(330px, 36vw, 520px);
  --hero-title-max: 8.8ch;
  --hero-intro-max: 35ch;
}

.site-hero--book {
  --hero-art-max: clamp(390px, 43vw, 600px);
  --hero-title-max: 12.8ch;
  --hero-intro-max: 41ch;
}

.site-hero--fees {
  --hero-art-max: clamp(390px, 43vw, 600px);
  --hero-title-max: 12.4ch;
  --hero-intro-max: 42ch;
}

.site-hero__content,
.site-hero__art {
  position: relative;
  z-index: 1;
}

.site-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 0;
}

.hero-split-texture,
.page-hero-texture,
.site-hero__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(circle, var(--blackberry-tint-border) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.site-hero__image,
.site-hero .hero-illustration {
  display: block;
  inline-size: min(100%, var(--hero-art-max));
  max-inline-size: var(--hero-art-max);
  block-size: auto;
  object-fit: contain;
}

.site-hero.hero--compact-mobile .site-hero__image,
.site-hero--compact .site-hero__image {
  inline-size: min(100%, var(--hero-art-max-compact));
  max-inline-size: var(--hero-art-max-compact);
}

.section-eye,
.hero-eye,
.page-hero-eye,
.section-label,
.faq-eye {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--tea-text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-label {
  color: var(--caption);
  font-weight: 600;
}

.section-eye::before,
.hero-eye::before,
.page-hero-eye::before,
.faq-eye::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.site-hero .section-eye,
.site-hero .hero-eye,
.site-hero .page-hero-eye {
  margin-bottom: var(--hero-kicker-gap);
  font-size: clamp(10px, 1vw, 12px);
  gap: 10px;
}

.site-hero .section-eye::before,
.site-hero .hero-eye::before,
.site-hero .page-hero-eye::before {
  width: 24px;
}

.site-hero h1 {
  max-inline-size: var(--hero-title-max);
  margin-bottom: var(--hero-title-gap);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.site-hero h1 em {
  color: var(--blackberry);
  font-style: italic;
}

.site-hero .hero-split-sub,
.site-hero .hero-intro,
.site-hero .page-hero-intro {
  max-inline-size: var(--hero-intro-max);
  margin-bottom: var(--hero-body-gap);
  color: var(--body);
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.62;
}

.site-hero .hero-note {
  color: var(--tea-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.site-hero .hero-split-meta,
.site-hero .hero-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hero-chip-gap);
  margin-bottom: var(--hero-body-gap);
}

.site-hero .hero-meta-tag {
  display: inline-flex;
  align-items: center;
  color: var(--blackberry);
  background: var(--blackberry-tint);
  border: 1px solid var(--blackberry-tint-border);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
}

.site-hero .cta-row {
  margin-bottom: 0;
}

.site-hero--editorial {
  min-height: clamp(520px, 64vw, 720px);
  max-width: none;
  grid-template-columns: 1fr;
  place-items: center;
  padding: clamp(88px, 10vw, 132px) var(--gutter);
  overflow: hidden;
  background: var(--blackberry);
  color: var(--surface);
  text-align: center;
}

.site-hero--editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
}

.site-hero--editorial .site-hero__content {
  align-items: center;
  text-align: center;
}

.site-hero--editorial .site-hero__image {
  position: absolute;
  right: 8%;
  top: 50%;
  width: min(38vw, 420px);
  opacity: 0.22;
  transform: translateY(-50%);
}

.site-hero--editorial .hero-eye,
.site-hero--editorial .gm-hero-eye {
  color: var(--tea);
}

.site-hero--editorial h1 {
  max-width: 11ch;
  color: var(--surface);
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.06;
}

.site-hero--editorial h1 em {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.52em;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.site-hero--editorial .hero-rule {
  width: 60px;
  height: 1px;
  margin: 32px auto;
  background: var(--tea);
}

.site-hero--editorial .hero-byline {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-hero--editorial .hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.site-hero--editorial .scroll-arrow {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), transparent);
}

/* Layout primitives */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--blackberry);
  color: rgba(255, 255, 255, 0.6);
}

.section-dark-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.dark-section-illustration {
  position: absolute;
  right: calc(var(--gutter) + 40px);
  top: 50%;
  width: min(28vw, 320px);
  opacity: 0.16;
  transform: translateY(-50%);
  pointer-events: none;
}

.section h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section-dark h2 {
  color: var(--surface);
}

.section-intro {
  max-width: 540px;
  margin-bottom: 40px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.75;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .section-eye {
  color: rgba(255, 255, 255, 0.35);
}

.section-dark .section-eye::before {
  background: rgba(255, 255, 255, 0.18);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--blackberry);
  border: 1.5px solid var(--blackberry);
  color: var(--surface);
  box-shadow: var(--sh-berry);
}

.btn--primary:hover {
  background: var(--blackberry-hover);
  border-color: var(--blackberry-hover);
  color: var(--surface);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--body);
}

.btn--outline:hover {
  border-color: var(--blackberry);
  color: var(--blackberry);
}

.btn--ghost {
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--body);
}

.btn--ghost:hover {
  background: var(--blackberry-tint);
  color: var(--blackberry);
}

.btn--text {
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--body);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

.btn--text:hover {
  color: var(--blackberry);
  text-decoration-color: var(--blackberry-light);
}

.btn--whatsapp {
  background: var(--surface);
  border: 1.5px solid var(--whatsapp);
  color: var(--whatsapp);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-tint);
  color: var(--whatsapp);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.cta-row--center {
  justify-content: center;
}

.cta-note {
  margin-top: 6px;
  color: var(--faint);
  font-size: 12px;
}

.cta-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 80px) var(--gutter);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 400;
  line-height: 1.15;
}

.cta-banner p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.72;
}

.ui-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--sh);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.55);
  padding: 60px var(--gutter) 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

.footer-brand-name {
  color: var(--surface);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-brand-sub {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand-desc {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--surface);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-list--roomy {
  gap: 14px;
}

.footer-col li a,
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col li a:hover,
.footer-contact-item a:hover {
  color: var(--surface);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.4;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-hours-day {
  color: rgba(255, 255, 255, 0.35);
}

.footer-hours-time {
  color: rgba(255, 255, 255, 0.55);
}

.footer-cta-wrap {
  margin-top: 20px;
}

.footer-cta {
  width: 100%;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--surface);
}

.footer-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--surface);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-legal {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  line-height: 1.5;
}

.footer-practice-no {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* State and utility classes */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--blackberry);
  outline-offset: 4px;
}

.site-nav .nav-book:focus-visible,
.mobile-nav-book:focus-visible {
  outline: 3px solid rgba(181, 197, 212, 0.95);
  outline-offset: 2px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.u-relative {
  position: relative;
}

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

.u-section-tight {
  padding-top: 40px;
  padding-bottom: 60px;
}

.u-section-roomy {
  padding-top: 60px;
  padding-bottom: 60px;
}

.u-narrow {
  max-width: 760px;
}

.u-copy-narrow {
  max-width: 700px;
}

.u-copy-center {
  max-width: 480px;
  margin-inline: auto;
}

.u-muted-help {
  margin-top: 4px;
  color: var(--caption);
  font-size: 12px;
}

.u-muted-note {
  color: var(--body);
  font-size: 14px;
  line-height: 1.7;
}

.u-mt-xs {
  margin-top: 8px;
}

.u-mt-sm {
  margin-top: 10px;
}

.u-mt-md {
  margin-top: 20px;
}

.u-mt-lg {
  margin-top: 28px;
}

.u-mb-md {
  margin-bottom: 20px;
}

.u-mb-lg {
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .site-hero {
    --hero-pad-top: clamp(48px, 6.4vw, 72px);
    --hero-pad-bottom: clamp(34px, 5vw, 58px);
    --hero-gap: clamp(22px, 3vw, 38px);
    --hero-art-max: clamp(340px, 44vw, 510px);
    --hero-title-max: 12.5ch;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.active {
    pointer-events: auto;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    width: min(320px, 85vw);
    height: 100dvh;
    padding: 88px 28px 28px;
    overflow-y: auto;
    background: var(--surface);
    box-shadow: -8px 0 40px rgba(28, 23, 32, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  .mobile-nav-links {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
  }

  .mobile-nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-lt);
    color: var(--body);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .mobile-nav-links a:first-child {
    border-top: 1px solid var(--border-lt);
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a.on {
    color: var(--blackberry);
  }

  .mobile-nav-links a.on {
    font-weight: 500;
  }

  .mobile-nav-book {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--blackberry);
    color: var(--surface);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(71, 7, 44, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav-book:hover,
  .mobile-nav-book.on,
  .mobile-nav-book[aria-current="page"] {
    background: var(--blackberry-hover);
    box-shadow: 0 4px 16px rgba(71, 7, 44, 0.25);
  }

  .mobile-nav-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-lt);
  }

  .mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--caption);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .mobile-nav-contact a:hover {
    color: var(--blackberry);
  }

  .mobile-nav-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-nav .nav-brand-lockup {
    gap: 11px;
  }

  .site-nav .nav-brand-mark {
    height: 29px;
  }

  .site-nav .nav-brand-wordmark {
    height: 22px;
    max-width: 150px;
  }

  .site-hero {
    --hero-pad-top: clamp(24px, 5.8vw, 36px);
    --hero-pad-bottom: clamp(28px, 5.8vw, 38px);
    --hero-gap: clamp(18px, 4.2vw, 24px);
    --hero-art-max: min(74vw, 420px);
    --hero-art-max-compact: min(66vw, 360px);
    --hero-title-max: 11.5ch;
    --hero-intro-max: 32ch;
    grid-template-columns: 1fr;
  }

  .site-hero.hero--art-top-mobile .site-hero__art,
  .site-hero--art-top-mobile .site-hero__art {
    order: -1;
  }

  .site-hero.hero--stack-mobile .site-hero__art,
  .site-hero--stack-mobile .site-hero__art {
    justify-content: center;
    margin-inline: auto;
  }

  .site-hero .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 640px);
  }

  .site-hero--editorial {
    min-height: 520px;
  }

  .site-hero--editorial .site-hero__image {
    position: static;
    order: -1;
    width: min(64vw, 300px);
    opacity: 0.24;
    transform: none;
  }

  .section {
    padding-block: clamp(56px, 10vw, 72px);
  }

  .dark-section-illustration {
    display: none;
  }

  .footer-brand-logo {
    width: min(100%, 230px);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .site-hero {
    --hero-art-max: min(78vw, 360px);
    --hero-art-max-compact: min(70vw, 300px);
    --hero-title-max: 10.8ch;
    --hero-intro-max: 31ch;
  }

  .site-hero .cta-row,
  .cta-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-hero.hero--art-hidden-xs .site-hero__art {
    display: none;
  }

  .btn {
    width: 100%;
  }
}
