/* Celestial Agency — shared design tokens
   Direction: ElevenLabs-calm paper studio — soft field, ink type, blush accent */

:root {
  --bg: #fafaf8;
  --bg-elevated: #ffffff;
  --ink: #14140f;
  --ink-muted: #5a5a56;
  --ink-soft: #8a8a84;
  --line: #ebebe6;
  --line-strong: #d8d8d2;
  --blush: #fccff6;
  --blush-deep: #e8a8de;
  --blush-wash: #fdf0fa;
  --success: #1f6b4a;
  --danger: #a33b3b;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(20, 20, 15, 0.04), 0 12px 40px rgba(20, 20, 15, 0.06);
  --shadow-float: 0 8px 32px rgba(20, 20, 15, 0.12);
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --content: 1120px;
  --content-wide: 1120px;
  --header-pad-x: clamp(1.25rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dark: #0a0a0a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blush-deep);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 3px;
}

.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;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: inherit;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 20, 15, 0.18);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  /* ElevenLabs-style soft gray rim so white buttons read on white */
  border-color: rgba(20, 20, 15, 0.14);
  box-shadow:
    0 0 0 1px rgba(20, 20, 15, 0.06),
    0 1px 3px rgba(20, 20, 15, 0.08),
    0 6px 18px rgba(20, 20, 15, 0.08);
}

.btn-secondary:hover {
  background: #fff;
  /* Explicit ink — generic .btn:hover color:inherit is white under .home */
  color: var(--ink);
  border-color: rgba(20, 20, 15, 0.2);
  box-shadow:
    0 0 0 1px rgba(20, 20, 15, 0.08),
    0 8px 24px rgba(20, 20, 15, 0.12);
}

.btn-blush {
  background: var(--blush);
  color: var(--ink);
  border-color: var(--blush);
}

.btn-blush:hover {
  background: var(--blush-deep);
  border-color: var(--blush-deep);
  color: var(--ink);
}

.btn-lena {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* Explicit ink — .btn:hover color:inherit becomes white under .home */
.btn-lena:hover,
.btn-lena:focus-visible {
  color: var(--ink);
}

.btn-lena-orb {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 20, 15, 0.18);
}

.btn-lena-orb .lena-orb-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: transparent;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(20, 20, 15, 0.08);
  /* Same outer pad as .section so logo aligns with section text */
  padding: 0 var(--header-pad-x);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0.95rem 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  line-height: 1.05;
}

.brand-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-slogan {
  display: none;
}

.site-footer--dark .brand-mark {
  box-shadow: none;
  background: transparent;
}

.site-footer--dark .brand-mark img {
  filter: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f7f4 0%, #fafaf8 100%);
  padding: 2.75rem var(--header-pad-x) 2rem;
}

.site-footer--dark {
  background: var(--dark);
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.25rem var(--header-pad-x) 2.5rem;
}

.site-footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 3rem;
}

.site-footer--dark .brand {
  color: #fff;
}

.site-footer--dark .brand:hover {
  color: #fff;
}

.site-footer--dark .brand-mark {
  box-shadow: none;
  background: transparent;
}

.site-footer--dark .brand-mark img {
  filter: none;
}

.site-footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.site-footer-brand .brand-text {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(7.5rem, 1fr));
  gap: 2rem 2.5rem;
}

@media (max-width: 720px) {
  .site-footer-cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.site-footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush);
}

.site-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer-col a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer-col a:hover {
  color: var(--blush);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.site-footer-legal-note {
  color: rgba(255, 255, 255, 0.42);
}

.site-footer--dark .site-footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-left: 0.75rem;
}

.site-footer--dark .site-footer-bottom a:hover {
  color: #fff;
}

.site-footer:not(.site-footer--dark) .site-footer-bottom {
  border-top-color: var(--line);
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .brand-slogan {
    display: none;
  }

  .header-nav .btn-ghost {
    display: none;
  }
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 4.5rem var(--header-pad-x);
}

.section-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section-wide .section-inner {
  max-width: var(--content-wide);
}

.h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lede {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  max-width: 38rem;
}

.lede strong {
  color: var(--ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
