/* ─── Tokens ──────────────────────────────────────────── */

:root {
  /* Surfaces */
  --c-base:        oklch(95.5% 0.012 55);
  --c-surface:     oklch(91.5% 0.018 55);
  --c-surface-alt: oklch(90%   0.018 148);
  --c-surface-quote: oklch(90% 0.028 18);

  /* Text */
  --c-text:        oklch(22%   0.018 55);
  --c-text-mid:    oklch(46%   0.022 55);
  --c-text-muted:  oklch(60%   0.016 55);

  /* Accent */
  --c-accent:      oklch(50%   0.092 32);
  --c-accent-dark: oklch(43%   0.092 32);
  --c-on-accent:   oklch(97%   0.008 55);
  --c-step:        oklch(70%   0.044 148);

  /* Border */
  --c-border:      oklch(85%   0.016 55);

  /* Semantic states */
  --c-error:       oklch(50%   0.16  22);

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  /* Type */
  --font-display: 'Gloock', 'Georgia', serif;
  --font-body:    'Chivo', 'Helvetica Neue', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.625rem;
  --text-hero: clamp(2.6rem, 5.5vw, 4.25rem);
  --text-step: clamp(5rem, 9vw, 8rem);

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(var(--sp-6), 5vw, var(--sp-16));
}

/* ─── Entrance Animations ─────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero-headline,
.hero-body,
.hero-actions {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-headline { animation-delay: 0.14s; }
.hero-body     { animation-delay: 0.22s; }
.hero-actions  { animation-delay: 0.30s; }

.hero-image-wrap {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-headline,
  .hero-body,
  .hero-actions,
  .hero-image-wrap {
    animation: none;
  }
}

/* ─── Skip Navigation ─────────────────────────────────── */

.skip-link {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-6);
  background-color: var(--c-text);
  color: var(--c-base);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}

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

/* ─── Focus ────────────────────────────────────────────── */

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

.btn-primary:focus-visible {
  outline-offset: 4px;
}

/* ─── Reset ───────────────────────────────────────────── */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.65;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main#main-content {
  flex: 1;
}

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

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

/* ─── Utilities ───────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: max(var(--gutter), calc(var(--gutter) + env(safe-area-inset-left)));
  padding-inline-end: max(var(--gutter), calc(var(--gutter) + env(safe-area-inset-right)));
}

/* ─── Navigation ──────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-base);
  border-bottom: 1px solid var(--c-border);
  padding-top: env(safe-area-inset-top);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-mid);
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.nav-links .nav-cta a {
  color: var(--c-accent);
}

@media (hover: hover) {
  .nav-links a:hover {
    color: var(--c-text);
  }

  .nav-links .nav-cta a:hover {
    color: var(--c-accent-dark);
  }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  color: var(--c-text);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; align-items: center; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--c-base);
    padding: var(--sp-4) var(--gutter) var(--sp-8);
    border-bottom: 1px solid var(--c-border);
    /* collapsed */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: var(--sp-3) 0;
    font-size: var(--text-base);
  }
}

/* ─── Hero ────────────────────────────────────────────── */

.hero {
  padding-block: clamp(var(--sp-8), 5vw, var(--sp-16));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-text);
  max-width: 14ch;
}

.hero-headline em {
  font-style: italic;
}

.hero-body {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--c-text-mid);
  max-width: 46ch;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background-color: var(--c-accent);
  color: var(--c-on-accent);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px var(--sp-8);
  min-height: 44px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.btn-primary:active {
  background-color: var(--c-accent-dark);
}

.btn-primary .arrow {
  transition: transform 0.18s ease;
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--c-accent-dark);
  }

  .btn-primary:hover .arrow {
    transform: translateX(3px);
  }
}

.link-secondary {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-mid);
  letter-spacing: 0.01em;
  position: relative;
}

.link-secondary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background-color: var(--c-text-mid);
  transition: right 0.22s ease;
}

.link-secondary:active::after {
  right: 0;
}

@media (hover: hover) {
  .link-secondary:hover::after {
    right: 0;
  }
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  object-fit: cover;
  border-radius: 2px;
}



@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}

/* ─── How It Works ────────────────────────────────────── */

.how {
  background-color: var(--c-surface-alt);
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.how-header {
  margin-bottom: clamp(var(--sp-12), 6vw, 80px);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  max-width: 26ch;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--sp-8), 4vw, var(--sp-16));
}

.how-step {
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-step);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-step);
  margin-bottom: var(--sp-6);
  user-select: none;
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.step-body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-text-mid);
  max-width: 38ch;
  font-weight: 300;
}

@media (max-width: 800px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .step-number {
    font-size: clamp(4rem, 14vw, 6rem);
    margin-bottom: var(--sp-4);
  }
}

/* ─── Testimonial ─────────────────────────────────────── */

.testimonial {
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}

.testimonial-label {
  margin-bottom: var(--sp-8);
}

.testimonial-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.85);
}

.testimonial-content {
  background-color: var(--c-surface-quote);
  padding: clamp(var(--sp-8), 5vw, var(--sp-16));
  border-radius: 2px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: var(--sp-8);
  max-width: 52ch;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

.testimonial-occasion {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .testimonial-inner {
    grid-template-columns: 1fr;
  }

  .testimonial-image {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
}

/* ─── CTA Section ─────────────────────────────────────── */

.cta-section {
  background-color: var(--c-surface);
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: end;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);
  max-width: 18ch;
}

.cta-body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-text-mid);
  font-weight: 300;
  max-width: 44ch;
}

.cta-action {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}

.cta-note {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

/* ─── Footer ──────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-12);
  padding-bottom: max(var(--sp-12), calc(var(--sp-12) + env(safe-area-inset-bottom)));
  border-top: 1px solid var(--c-border);
  background-color: var(--c-base);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--sp-6);
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  transition: color 0.18s ease;
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--c-text);
  }
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
  width: 100%;
  margin-top: var(--sp-4);
}

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-top: 0; }
}

/* ─── Services Page ───────────────────────────────────── */

/* Reuses fade-up keyframe defined above */
.services-anim {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0s) both;
}

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

/* Scroll reveal — used on service items and sections below fold */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity  0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.services-intro {
  padding-block: clamp(var(--sp-12), 8vw, 100px);
}

.services-intro-inner {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
}

.services-intro-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding-top: var(--sp-4);
}

.services-intro-image-wrap {
  overflow: hidden;
  border-radius: 2px;
}

.services-intro-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.9);
}

@media (max-width: 800px) {
  .services-intro-inner {
    grid-template-columns: 1fr;
  }

  .services-intro-image-wrap {
    order: -1;
  }

  .services-intro-image {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
}

.services-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  max-width: 26ch;
}

.services-headline em {
  font-style: italic;
}

.services-lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--c-text-mid);
  font-weight: 300;
  max-width: 54ch;
}

/* Services list */

.services-list {
  padding-bottom: clamp(var(--sp-12), 6vw, var(--sp-24));
  border-bottom: 1px solid var(--c-border);
}

.service-item {
  padding-block: clamp(var(--sp-12), 5vw, var(--sp-16));
  border-top: 1px solid var(--c-border);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.service-meta {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-2);
  letter-spacing: 0.01em;
}

.service-price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--c-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.service-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 58ch;
}

.service-details li {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--c-text-mid);
  font-weight: 300;
  padding-left: var(--sp-6);
  position: relative;
}

.service-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-step);
  font-size: var(--text-sm);
  top: 0.1em;
}

@media (max-width: 480px) {
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
}

/* Not sure? */

.services-unsure {
  padding-block: clamp(var(--sp-16), 8vw, 96px);
  background-color: var(--c-surface);
}

.services-unsure-inner {
  max-width: 48ch;
  margin-inline: auto;
  text-align: center;
}

.services-divider {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
}

.services-unsure-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.services-unsure-body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
}

/* Bundle */

.services-bundle {
  padding-block: clamp(var(--sp-16), 8vw, 96px);
  background-color: var(--c-surface-alt);
}

.bundle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}

.bundle-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.bundle-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.bundle-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--c-text);
}

.bundle-saving {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-mid);
  letter-spacing: 0.01em;
}

.bundle-details {
  max-width: 52ch;
  padding-top: var(--sp-2);
}

@media (max-width: 680px) {
  .bundle-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* Fine print — visually part of the bundle zone */

.services-fine {
  background-color: var(--c-surface-alt);
  padding-top: 0;
  padding-bottom: clamp(var(--sp-12), 5vw, var(--sp-16));
}

.services-fine-text {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 72ch;
  letter-spacing: 0.01em;
}

/* Beyond weddings */

.services-beyond {
  background-color: var(--c-base);
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.services-beyond-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}

.services-beyond-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 58ch;
}

.services-beyond-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.services-beyond-body p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
}

@media (max-width: 680px) {
  .services-beyond-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

/* ─── About Page ──────────────────────────────────────── */

/* Nav active state */
.nav-links a[aria-current="page"] {
  color: var(--c-text);
  position: relative;
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--c-text);
}

/* Opening statement */
.about-intro {
  padding-block: clamp(var(--sp-12), 8vw, 100px);
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--c-text);
  max-width: 24ch;
  margin-top: var(--sp-4);
}

.about-headline em {
  font-style: italic;
  color: var(--c-accent);
}

/* Story section */
.about-story {
  background-color: var(--c-surface);
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.about-story-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}

.about-story-label {
  padding-top: var(--sp-1);
}

.about-founder-note {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
  margin-top: var(--sp-2);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 65ch;
}

.about-body p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
}

.about-body p:first-child {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--c-text);
  font-weight: 400;
}

@media (max-width: 680px) {
  .about-story-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about-headline-br {
    display: none;
  }
}

/* Strengths section */
.about-strengths {
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.about-strengths-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24)) clamp(var(--sp-12), 8vw, var(--sp-24));
  max-width: 900px;
}

.about-strength {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about-strength-heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.about-strength-body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
  max-width: 42ch;
}

@media (max-width: 640px) {
  .about-strengths-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
}

/* Name section */
.about-name {
  background-color: var(--c-surface-quote);
  padding-block: clamp(var(--sp-16), 10vw, 120px);
}

.about-name-inner {
  max-width: 62ch;
}

.about-name-inner .section-label {
  margin-bottom: var(--sp-6);
}

.about-name-body {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--c-text);
  font-weight: 300;
}

.about-signoff {
  margin-top: var(--sp-8);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
}

/* ─── Contact ─────────────────────────────────────────── */

[x-cloak] { display: none !important; }

.contact-fade-up {
  animation: fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both;
}

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

.contact {
  padding-block: clamp(var(--sp-12), 8vw, 112px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(var(--sp-16), 8vw, 96px);
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.contact-intro-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
  max-width: 38ch;
  margin-bottom: var(--sp-6);
}

.contact-location {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}

.contact-direct-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.contact-direct-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--c-accent);
  transition: color 0.18s ease;
}

@media (hover: hover) {
  .contact-direct-link:hover { color: var(--c-accent-dark); }
}

/* Form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.01em;
}

.form-required {
  color: var(--c-accent);
  margin-left: 1px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--c-text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-color: var(--c-accent);
}

.form-input.is-error,
.form-select.is-error {
  border-color: var(--c-error);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--c-error);
}

.form-select-wrap {
  position: relative;
}

.form-select-wrap .form-select {
  padding-right: 36px;
  cursor: pointer;
}

.form-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--c-text-muted);
}

.form-select.is-placeholder {
  color: var(--c-text-muted);
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0; /* Firefox fieldset overflow fix */
}

.form-fieldset legend {
  float: left;
  width: 100%;
  margin-bottom: var(--sp-3);
}

.form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  clear: left;
}

.form-pill {
  cursor: pointer;
}

.form-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-pill span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--c-text-mid);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.form-pill input:checked + span {
  border-color: var(--c-step);
  background-color: var(--c-surface-alt);
  color: var(--c-text);
}

@media (hover: hover) {
  .form-pill:hover span {
    border-color: var(--c-text-muted);
    color: var(--c-text);
  }
}

.form-pill input:focus-visible + span {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.form-textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.6;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submit-error {
  font-size: var(--text-sm);
  color: var(--c-error);
}

.form-submit-error a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Success state transition */

.contact-success-enter {
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success-enter-start {
  opacity: 0;
  transform: translateY(10px);
}

.contact-success-enter-end {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .contact-success-enter { transition: none; }
}

/* Success state */

.contact-success {
  padding-block: var(--sp-12);
}


.contact-success-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.contact-success-body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-mid);
  font-weight: 300;
  max-width: 48ch;
}

.contact-success-body a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Responsive */

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .contact-intro-body { max-width: none; }
}

@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }

  .form-footer .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ─── 404 Page ────────────────────────────────────────── */

@keyframes light-1 {
  from { transform: translate(0,    0); }
  to   { transform: translate(12%,  18%); }
}
@keyframes light-2 {
  from { transform: translate(0,    0); }
  to   { transform: translate(-14%, -10%); }
}
@keyframes light-3 {
  from { transform: translate(0,    0); }
  to   { transform: translate(8%,  -16%); }
}
@keyframes light-4 {
  from { transform: translate(0,    0); }
  to   { transform: translate(-10%, 12%); }
}

.error-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, 80vh, 900px);
}

.error-water {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--c-base);
}

.error-light {
  position: absolute;
  border-radius: 50%;
  /* Sage tint — hue contrast against warm cream makes it visible even when light */
  background: radial-gradient(
    circle,
    oklch(84% 0.05 148 / 0.55) 0%,
    oklch(84% 0.05 148 / 0)    68%
  );
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.error-light--1 {
  width: 70vw; height: 70vw;
  top: -20%; left: -15%;
  animation: light-1 20s ease-in-out infinite alternate;
}
.error-light--2 {
  width: 60vw; height: 60vw;
  bottom: -20%; right: -15%;
  animation: light-2 26s ease-in-out infinite alternate;
}
.error-light--3 {
  width: 45vw; height: 45vw;
  top: 25%; left: 35%;
  animation: light-3 16s ease-in-out infinite alternate;
}
.error-light--4 {
  width: 55vw; height: 55vw;
  top: 40%; left: -5%;
  animation: light-4 22s ease-in-out infinite alternate;
}

.error-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.error-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.error-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.error-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-text);
  font-style: italic;
}

.error-sub {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  letter-spacing: 0.01em;
  max-width: 38ch;
}

.error-home {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding-inline: var(--sp-2);
  margin-inline: calc(-1 * var(--sp-2));
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.error-arrow {
  transition: transform 0.18s ease;
}

@media (hover: hover) {
  .error-home:hover { color: var(--c-accent-dark); }
  .error-home:hover .error-arrow { transform: translateX(3px); }
}

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