/* ============ DESIGN TOKENS ============ */
:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6vw, 6.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm cream, organic wellness palette */
  --color-bg: #faf7f1;
  --color-surface: #ffffff;
  --color-surface-2: #fdfbf7;
  --color-surface-offset: #f2ede2;
  --color-surface-offset-2: #ebe3d3;
  --color-surface-dynamic: #e3d9c5;
  --color-divider: #e6ddcc;
  --color-border: #ddd0b8;

  /* Text (warm charcoal) */
  --color-text: #2c2620;
  --color-text-muted: #7d7263;
  --color-text-faint: #b3a893;
  --color-text-inverse: #faf7f1;

  /* Primary Accent — Sage green */
  --color-primary: #5b7359;
  --color-primary-hover: #46593f;
  --color-primary-active: #364630;
  --color-primary-highlight: #dbe3d3;

  /* Secondary Accent — Terracotta */
  --color-secondary: #b96b45;
  --color-secondary-hover: #995637;
  --color-secondary-highlight: #ecd7c8;

  /* Warning / Error / Success */
  --color-warning: #964219;
  --color-warning-highlight: #ddcfc6;
  --color-error: #a13544;
  --color-error-highlight: #dececb;
  --color-success: #437a22;
  --color-success-highlight: #d4dfcc;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — warm tinted */
  --shadow-sm: 0 1px 3px oklch(0.3 0.03 80 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.3 0.03 80 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.3 0.03 80 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1c1a16;
  --color-surface: #221f1a;
  --color-surface-2: #262319;
  --color-surface-offset: #29261f;
  --color-surface-offset-2: #302c23;
  --color-surface-dynamic: #39352a;
  --color-divider: #37331f;
  --color-border: #443f31;
  --color-text: #eae4d7;
  --color-text-muted: #b0a692;
  --color-text-faint: #786f5d;
  --color-text-inverse: #2c2620;
  --color-primary: #9ab594;
  --color-primary-hover: #b6cdb0;
  --color-primary-active: #c9dcc4;
  --color-primary-highlight: #34402f;
  --color-secondary: #e0946a;
  --color-secondary-hover: #eaad8b;
  --color-secondary-highlight: #4a3527;
  --color-warning: #bb653b;
  --color-warning-highlight: #564942;
  --color-error: #d163a7;
  --color-error-highlight: #4c3d46;
  --color-success: #6daa45;
  --color-success-highlight: #3a4435;
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.32);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1c1a16;
    --color-surface: #221f1a;
    --color-surface-2: #262319;
    --color-surface-offset: #29261f;
    --color-surface-offset-2: #302c23;
    --color-surface-dynamic: #39352a;
    --color-divider: #37331f;
    --color-border: #443f31;
    --color-text: #eae4d7;
    --color-text-muted: #b0a692;
    --color-text-faint: #786f5d;
    --color-text-inverse: #2c2620;
    --color-primary: #9ab594;
    --color-primary-hover: #b6cdb0;
    --color-primary-active: #c9dcc4;
    --color-primary-highlight: #34402f;
    --color-secondary: #e0946a;
    --color-secondary-hover: #eaad8b;
    --color-secondary-highlight: #4a3527;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
    --shadow-md: 0 6px 20px oklch(0 0 0 / 0.32);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.4);
  }
}

/* ============ GLOBAL ELEMENTS ============ */
body {
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
}
.container--narrow {
  max-width: var(--content-narrow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--color-secondary);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 200;
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__logo {
  color: var(--color-primary);
  flex-shrink: 0;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links {
  display: flex;
  gap: var(--space-6);
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  padding-block: var(--space-1);
  border-bottom: 1px solid transparent;
}
.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-secondary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: oklch(from var(--color-text) l c h / 0.2);
}
.btn-secondary:hover {
  border-color: var(--color-text);
  background: var(--color-surface-offset);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ============ HERO ============ */
.hero {
  padding-block: var(--space-16) var(--space-24);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}
.hero__heading {
  font-size: var(--text-3xl);
  line-height: 1.05;
  margin-block: var(--space-5) var(--space-6);
}
.hero__heading em {
  font-style: italic;
  color: var(--color-primary);
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.hero__meta {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.hero__meta-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.hero__meta-item--wide {
  max-width: 200px;
}
.hero__meta-item--wide .hero__meta-label {
  line-height: 1.4;
}

.hero__media {
  position: relative;
}
.hero__image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: var(--space-6);
  left: calc(-1 * var(--space-8));
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.hero__badge-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.hero__badge-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.hero__badge-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============ SECTION SCAFFOLDING ============ */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.section--offset {
  background: var(--color-surface-offset);
}
.section__head {
  margin-bottom: var(--space-12);
  max-width: 640px;
}
.section__title {
  font-size: var(--text-2xl);
  margin-top: var(--space-4);
}
.section__title--tight {
  margin-bottom: var(--space-4);
}
.section__lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* ============ ABOUT ============ */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-16);
  align-items: start;
}
.about__media {
  position: sticky;
  top: calc(var(--space-16) + 60px);
}
.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about__image img:not(.about__badge) {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__quote {
  position: absolute;
  bottom: var(--space-4);
  left: calc(-1 * var(--space-5));
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  max-width: 168px;
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.about__quote-icon {
  width: 16px !important;
  height: 16px !important;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.about__quote-title {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}
.about__quote-text {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.about__body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: 62ch;
}
.about__body p:first-of-type {
  font-size: var(--text-lg);
  color: var(--color-text);
  font-family: var(--font-display);
  line-height: 1.4;
}
.about__body strong {
  color: var(--color-text);
  font-weight: 700;
}
.about__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) var(--space-4);
  margin: 0 0 var(--space-5);
  padding: 0;
  max-width: 62ch;
}
.about__list li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
}
.about__languages {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.about__badge {
  position: absolute !important;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 60px !important;
  height: 60px !important;
  aspect-ratio: 1 / 1 !important;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: var(--space-2);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}
.about__creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.cred {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.cred__icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.cred__title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 2px;
}
.cred__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============ SERVICES ============ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.service-card--wide {
  grid-column: 1 / -1;
}
.service-card__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-faint);
  flex-shrink: 0;
}
.service-card__title {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  line-height: 1.25;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  flex: 1;
}
.tag {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  padding: 0.35em 0.85em;
  line-height: 1.3;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
}
.service-card__cta svg {
  transition: transform var(--transition-interactive);
}
.service-card:hover .service-card__cta svg {
  transform: translateX(4px);
}

/* ============ APPROACH / CALLOUT ============ */
.callout {
  border-radius: var(--radius-xl);
  background: var(--color-primary-highlight);
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
}
.callout__quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--color-primary);
  opacity: 0.5;
}
.callout__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.5;
}
.callout__attribution {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ TESTIMONIALS ============ */
.testimonials__wrap {
  position: relative;
}
.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: var(--space-6);
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: var(--color-divider) transparent;
  -webkit-overflow-scrolling: touch;
}
.testimonials__track::-webkit-scrollbar {
  height: 6px;
}
.testimonials__track::-webkit-scrollbar-thumb {
  background: var(--color-divider);
  border-radius: 999px;
}
.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  height: 100%;
  scroll-snap-align: start;
}
.testimonial__stars {
  color: var(--color-secondary);
  display: flex;
  gap: 2px;
}
.testimonial__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  flex-grow: 1;
}
.testimonial__author {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.testimonial__author strong {
  color: var(--color-text);
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.testimonials__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.testimonials__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--color-divider);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.testimonials__arrow:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-bg);
  transform: translateY(-1px);
}
.testimonials__arrow:active {
  transform: translateY(0);
}

/* ============ FAQ ============ */
.faq__list {
  max-width: var(--content-narrow);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}
.faq-item__icon {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}
.faq-item[data-open='true'] .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item[data-open='true'] .faq-item__a {
  max-height: 300px;
}
.faq-item__a-inner {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 65ch;
}

/* ============ BOOKING / CTA ============ */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(var(--space-12), 10vw, var(--space-24)) clamp(var(--space-6), 6vw, var(--space-16));
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
[data-theme='dark'] .cta__bg {
  opacity: 0.18;
}
.cta__inner {
  max-width: 640px;
}
.cta__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}
.cta__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 50ch;
}
.cta__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.cta__contact {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}
.cta__contact-item svg {
  color: var(--color-primary);
}
.cta__contact-item:hover {
  color: var(--color-primary);
}

/* ============ FOOTER ============ */
.footer {
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 36ch;
}
.footer__heading {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-primary);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__social {
  display: flex;
  gap: var(--space-4);
}
.footer__social a {
  color: var(--color-text-muted);
}
.footer__social a:hover {
  color: var(--color-primary);
}

/* ============ MOTION ============ */
/* Content is always visible by default — no opacity gating on load.
   IntersectionObserver-based reveal proved unreliable across environments
   (headless browsers, slow script execution, edge-case rootMargin timing),
   so we use a purely additive entrance animation instead: elements animate
   from a slightly offset position to their final position, but are never
   hidden if JS is slow, fails, or the observer never fires. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-play {
    animation: reveal-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@keyframes reveal-in {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hero__badge {
    left: var(--space-4);
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    position: relative;
    top: auto;
    max-width: 420px;
    margin: 0 auto;
  }
  .about__creds {
    grid-template-columns: 1fr;
  }
  .about__list {
    grid-template-columns: 1fr;
  }
  .about__badge {
    width: 48px !important;
    height: 48px !important;
  }
  .about__quote {
    left: var(--space-3);
    max-width: 150px;
  }
  .testimonials__track {
    grid-auto-columns: minmax(260px, 82vw);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .testimonials__controls {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .header__actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding-block: var(--space-10) var(--space-16);
  }
  .hero__meta {
    gap: var(--space-6);
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: var(--space-6);
  }
  .callout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .callout__quote-mark {
    font-size: 3rem;
  }
  .cta__contact {
    flex-direction: column;
    gap: var(--space-3);
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav[data-open='true'] {
  transform: translateX(0);
}
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}
.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-nav__links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav__cta {
  margin-top: var(--space-8);
}
</content>
