:root {
  --color-bg: #f8f5f3;
  --color-blush: #f5e8e4;
  --color-blush-dark: #eedad3;
  --color-surface: #ffffff;
  --color-border: #e5e0dd;
  --color-gray: #b5b0ad;
  --color-gray-dark: #8a8582;
  --color-slate: #1a1a1a;
  --color-slate-light: #6b6b6b;
  --color-accent: #d4a59a;
  --color-accent-dark: #c49488;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-slate);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-accent);
  color: white;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
  background: rgba(248, 245, 243, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(245, 232, 228, 0.4));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  margin-left: 0.75rem;
}

.logo-text {
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-slate);
  letter-spacing: 0.01em;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-gray-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
  text-align: center;
  transition: color 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--color-accent-dark);
}

.logo:hover .logo-tagline {
  color: var(--color-accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-slate);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--color-accent-dark);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-slate);
  position: relative;
  z-index: 1001;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--color-blush) 0%,
    var(--color-bg) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 30% 20%,
      rgba(212, 165, 154, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(181, 176, 173, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--color-slate);
  opacity: 0;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-headline em {
  font-style: italic;
  display: inline-block;
  padding-bottom: 0.1em;
  background: linear-gradient(
    90deg,
    var(--color-gray-dark) 0%,
    var(--color-accent) 25%,
    var(--color-accent-dark) 50%,
    var(--color-gray-dark) 75%,
    var(--color-accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--color-gray-dark);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-locations {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
  opacity: 0;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-locations svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* Waitlist Form */
.waitlist-container {
  opacity: 0;
  animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.waitlist-form input {
  padding: 1.1rem 1.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--color-slate);
  width: 300px;
  outline: none;
  letter-spacing: 0.01em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.waitlist-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212, 165, 154, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.waitlist-form input::placeholder {
  color: var(--color-gray);
  transition: opacity 0.3s ease;
}

.waitlist-form input:focus::placeholder {
  opacity: 0.5;
}

.waitlist-form button {
  background: var(--color-slate);
  color: white;
  padding: 1.1rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.waitlist-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.waitlist-form button:hover {
  background: var(--color-gray-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.waitlist-form button:hover::before {
  transform: translateX(100%);
}

.waitlist-form button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.waitlist-note {
  font-size: 0.8rem;
  color: var(--color-gray);
  letter-spacing: 0.02em;
}

/* Success State */
.waitlist-success {
  display: none;
  text-align: center;
}

.waitlist-success.show {
  display: block;
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.waitlist-success svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.waitlist-success h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  color: var(--color-slate);
}

.waitlist-success p {
  color: var(--color-gray-dark);
  letter-spacing: 0.01em;
}

.form-container.submitted .waitlist-form,
.form-container.submitted .waitlist-note {
  display: none;
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto 0;
  position: relative;
  opacity: 0;
  animation: scaleIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-image:hover img {
  transform: translateY(-8px) scale(1.01);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.18));
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  color: var(--color-gray);
  animation: softBounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Why Section - Industry Change */
.why-section {
  padding: 10rem 2rem;
  background: white;
}

.why-content {
  max-width: 1100px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 8rem;
}

.why-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
}

.why-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-slate);
  max-width: 750px;
  margin: 0 auto;
}

/* Why Items - Alternating Editorial Layout */
.why-items {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.why-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-item:nth-child(even) {
  direction: rtl;
}

.why-item:nth-child(even) > * {
  direction: ltr;
}

.why-item-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.why-item-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.why-item:hover .why-item-image {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.why-item-visual-inner {
  aspect-ratio: 4/3;
  background: linear-gradient(
    145deg,
    var(--color-blush) 0%,
    var(--color-bg) 100%
  );
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:hover .why-item-visual-inner {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.why-item-visual-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(212, 165, 154, 0.08) 100%
  );
}

.why-item-icon {
  width: 72px;
  height: 72px;
  background: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:hover .why-item-icon {
  transform: translateY(-5px) rotate(3deg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
}

.why-item-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gray-dark);
  stroke-width: 1.5;
}

.why-item-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 1rem;
  color: var(--color-slate);
  line-height: 1.35;
}

.why-item-content p {
  font-size: 0.95rem;
  color: var(--color-slate-light);
  line-height: 1.85;
}

/* Full Width Statement */
.statement-section {
  padding: 8rem 2rem;
  background: var(--color-slate);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 165, 154, 0.1) 0%,
    transparent 70%
  );
}

.statement-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.statement-line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 2rem;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-section.in-view .statement-line {
  transform: scaleX(1);
}

.statement-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: white;
}

.statement-text span {
  color: var(--color-accent);
  font-style: italic;
}

/* Manifesto Section */
.manifesto-section {
  padding: 10rem 2rem;
  background: var(--color-blush);
}

.manifesto-content {
  max-width: 850px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--color-slate);
  text-align: center;
  margin-bottom: 4rem;
}

.manifesto-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.manifesto-text p {
  font-size: 0.9rem;
  color: var(--color-slate-light);
  line-height: 1.9;
}

/* Careers Section */
.careers-section {
  padding: 6rem 2rem 10rem;
  background: var(--color-bg);
}

.careers-content {
  max-width: 1000px;
  margin: 0 auto;
}

.careers-header {
  text-align: center;
  margin-bottom: 4rem;
}

.careers-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.careers-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.careers-desc {
  font-size: 1rem;
  color: var(--color-gray-dark);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.careers-departments {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.careers-department {
}

.department-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.careers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.career-item {
  background: white;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.career-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.career-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0;
  color: var(--color-slate);
  transition: color 0.3s ease;
}

.career-item:hover .career-info h4 {
  color: var(--color-accent-dark);
}

.career-info p {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.career-arrow {
  width: 36px;
  height: 36px;
  background: var(--color-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--color-gray-dark);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-item:hover .career-arrow {
  background: var(--color-slate);
  transform: scale(1.1);
}

.career-item:hover .career-arrow svg {
  color: white;
  transform: translateX(3px);
}

.careers-footer {
  margin-top: 4rem;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.careers-footer p {
  font-size: 1rem;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
}

.careers-general-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-slate);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-general-btn:hover {
  background: var(--color-gray-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: var(--color-slate);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo:hover svg {
  transform: scale(1.05);
}

.footer-logo-text-group {
  display: flex;
  flex-direction: column;
  margin-left: 0.65rem;
}

.footer-logo-text {
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.footer-logo-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}

/* Legal Pages */
.legal-page {
  padding: 8rem 2rem 6rem;
  background: var(--color-bg);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--color-slate);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-body {
  color: var(--color-slate-light);
  line-height: 1.8;
}

.legal-body p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-slate);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-slate);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.legal-body a {
  color: var(--color-accent-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  transition: all 0.3s ease;
}

.legal-body a:hover {
  color: var(--color-slate);
  border-bottom-color: var(--color-slate);
}

.legal-body strong {
  color: var(--color-slate);
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes textReveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes softBounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(6px) translateX(-50%);
  }
}

/* Animation utility classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.animate-fade {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade.in-view {
  opacity: 1;
}

/* Stagger delays */
.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.1s;
}

.stagger-3 {
  transition-delay: 0.15s;
}

.stagger-4 {
  transition-delay: 0.2s;
}

.stagger-5 {
  transition-delay: 0.25s;
}

.stagger-6 {
  transition-delay: 0.3s;
}

.stagger-7 {
  transition-delay: 0.35s;
}

.stagger-8 {
  transition-delay: 0.4s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 245, 243, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-slate);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) {
  transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu-link:nth-child(2) {
  transition-delay: 0.25s;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  color: var(--color-accent);
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

/* Responsive */

/* Tablet */
@media (max-width: 1024px) {
  .hero-image {
    max-width: 95%;
    margin-top: 2rem;
  }

  .why-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-item:nth-child(even) {
    direction: ltr;
  }

  .why-item-visual-inner {
    aspect-ratio: 16/9;
  }

  .why-item-image {
    aspect-ratio: 16/9;
  }

  .manifesto-text {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .careers-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  nav {
    padding: 0.875rem 1.25rem;
  }

  .logo-img {
    width: 52px !important;
    height: 52px !important;
  }

  .logo-text-group {
    display: none;
  }

  .nav-right .nav-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 6.5rem 1.25rem 3rem;
  }

  .hero-headline {
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .hero-locations {
    font-size: 0.8rem;
    margin-bottom: 2rem;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .waitlist-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    text-align: center;
  }

  .waitlist-form button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
  }

  .waitlist-note {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }

  .hero-image {
    margin-top: 2.5rem;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-image img {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  }

  .scroll-cue {
    display: none;
  }

  /* Why Section Mobile */
  .why-section {
    padding: 4rem 1.25rem;
  }

  .why-header {
    margin-bottom: 3rem;
  }

  .why-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 1rem;
  }

  .why-headline {
    font-size: 1.75rem;
    line-height: 1.35;
  }

  .why-items {
    gap: 3rem;
  }

  .why-item {
    gap: 1.5rem;
  }

  .why-item-visual-inner {
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
  }

  .why-item-image {
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
  }

  .why-item-visual {
    border-radius: var(--radius-lg);
  }

  .why-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .why-item-icon svg {
    width: 24px;
    height: 24px;
  }

  .why-item-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .why-item-content p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  /* Statement Mobile */
  .statement-section {
    padding: 4rem 1.25rem;
  }

  .statement-text {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  /* Manifesto Mobile */
  .manifesto-section {
    padding: 4rem 1.25rem;
  }

  .manifesto-label {
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .manifesto-quote {
    font-size: 1.25rem;
    line-height: 1.55;
    margin-bottom: 2.5rem;
  }

  .manifesto-text p {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  /* Careers Mobile */
  .careers-section {
    padding: 3rem 1.25rem 4rem;
  }

  .careers-header {
    margin-bottom: 2.5rem;
  }

  .careers-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .careers-desc {
    font-size: 0.9rem;
  }

  .careers-departments {
    gap: 2rem;
  }

  .department-title {
    font-size: 0.75rem;
  }

  .careers-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .career-item {
    padding: 1.25rem 1.25rem;
    border-radius: 12px;
  }

  .career-info h4 {
    font-size: 0.875rem;
  }

  .career-info p {
    font-size: 0.75rem;
  }

  .career-arrow {
    width: 32px;
    height: 32px;
  }

  .career-arrow svg {
    width: 12px;
    height: 12px;
  }

  .careers-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .careers-footer p {
    font-size: 0.9rem;
  }

  .careers-general-btn {
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
  }

  /* Footer Mobile */
  footer {
    padding: 2rem 1.25rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-logo svg {
    width: 40px;
    height: 40px;
  }

  .footer-logo-text-group {
    display: none;
  }

  .footer-copy {
    font-size: 0.7rem;
  }

  .footer-links {
    order: 2;
  }

  /* Legal Pages Mobile */
  .legal-page {
    padding: 6rem 1.25rem 4rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-updated {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .legal-body h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
  }

  .legal-body h3 {
    font-size: 1rem;
  }

  .legal-body p,
  .legal-body li {
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  .logo-img {
    width: 46px !important;
    height: 46px !important;
  }

  .hero {
    padding: 5.5rem 1rem 2.5rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 0.875rem;
  }

  .waitlist-form {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .waitlist-form input,
  .waitlist-form button {
    padding: 0.875rem 1rem;
  }

  .why-section,
  .statement-section,
  .manifesto-section {
    padding: 3rem 1rem;
  }

  .why-headline {
    font-size: 1.5rem;
  }

  .why-item-content h3 {
    font-size: 1.2rem;
  }

  .statement-text {
    font-size: 1.1rem;
  }

  .manifesto-quote {
    font-size: 1.1rem;
  }

  .careers-section {
    padding: 2.5rem 1rem 3rem;
  }

  .careers-header h2 {
    font-size: 1.5rem;
  }

  .career-item {
    padding: 1rem;
  }
}

/* Handle notch/safe areas on modern phones */
@supports (padding: max(0px)) {
  .hero {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
  .waitlist-form button {
    min-height: 48px;
  }

  .career-item {
    min-height: 72px;
  }

  .nav-link {
    padding: 0.5rem;
  }

  /* Disable parallax on touch devices */
  .hero-image img {
    transform: none !important;
  }
}

/* Custom Dog Cursor - Cute Style */
.dog-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 56px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-75%, -45%) scale(0.55);
  transition: opacity 0.3s ease;
}

.dog-cursor.visible {
  opacity: 1;
}

.dog-cursor .dog-svg {
  width: 100%;
  height: 100%;
  color: #c9a092; /* Warm peachy-brown for cute look */
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2)) 
          drop-shadow(0 5px 12px rgba(201, 160, 146, 0.35));
  transition: color 0.3s ease, filter 0.3s ease;
}

/* Soft outline for definition */
.dog-cursor .dog-body,
.dog-cursor .dog-head {
  stroke: rgba(160, 110, 95, 0.3);
  stroke-width: 0.8;
}

.dog-cursor .dog-ear {
  stroke: rgba(160, 110, 95, 0.25);
  stroke-width: 0.5;
}

/* Flip dog based on direction */
.dog-cursor.facing-left .dog-svg {
  transform: scaleX(-1);
}

/* ==========================================
   DOG RUNNING ANIMATION
   ========================================== */

/* Tail wagging - always active when visible */
.dog-cursor.visible .dog-tail {
  animation: tailWag 0.5s ease-in-out infinite;
  transform-origin: 6px 26px;
}

@keyframes tailWag {
  0%, 100% { d: path("M6 26 Q0 20, 2 14 Q4 8, 8 10"); }
  50% { d: path("M6 26 Q2 22, 4 16 Q6 10, 10 14"); }
}

/* Idle bounce - cute bouncy motion */
.dog-cursor.idle .dog-svg {
  animation: idleBounce 1.5s ease-in-out infinite;
}

@keyframes idleBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(-1deg); }
  75% { transform: translateY(-1px) rotate(1deg); }
}

/* Idle ear wiggle */
.dog-cursor.idle .dog-ear {
  animation: earWiggle 2s ease-in-out infinite;
  transform-origin: 42px 14px;
}

@keyframes earWiggle {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(-25deg); }
}

/* Running animation - bouncy legs */
.dog-cursor.running .dog-leg-back-1,
.dog-cursor.running .dog-paw-back-1 {
  animation: legBounce1 0.12s ease-in-out infinite;
}

.dog-cursor.running .dog-leg-back-2,
.dog-cursor.running .dog-paw-back-2 {
  animation: legBounce2 0.12s ease-in-out infinite;
}

.dog-cursor.running .dog-leg-front-1,
.dog-cursor.running .dog-paw-front-1 {
  animation: legBounce2 0.12s ease-in-out infinite;
}

.dog-cursor.running .dog-leg-front-2,
.dog-cursor.running .dog-paw-front-2 {
  animation: legBounce1 0.12s ease-in-out infinite;
}

@keyframes legBounce1 {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-4px) scaleY(0.85); }
}

@keyframes legBounce2 {
  0%, 100% { transform: translateY(-4px) scaleY(0.85); }
  50% { transform: translateY(0) scaleY(1); }
}

/* Running body bounce */
.dog-cursor.running .dog-body {
  animation: bodyBounceRun 0.12s ease-in-out infinite;
}

.dog-cursor.running .dog-head,
.dog-cursor.running .dog-ear,
.dog-cursor.running .dog-snout,
.dog-cursor.running .dog-nose,
.dog-cursor.running .dog-eyes,
.dog-cursor.running .dog-cheek {
  animation: headBounce 0.12s ease-in-out infinite;
}

@keyframes bodyBounceRun {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-3px) scaleX(1.02); }
}

@keyframes headBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Faster tail wag when running - super happy! */
.dog-cursor.running .dog-tail {
  animation: tailWagFast 0.15s ease-in-out infinite;
}

@keyframes tailWagFast {
  0%, 100% { d: path("M6 26 Q-2 18, 2 10 Q6 4, 12 8"); }
  50% { d: path("M6 26 Q4 24, 6 18 Q8 12, 14 16"); }
}

/* Tongue flops out when running fast */
.dog-cursor.running .dog-tongue {
  opacity: 0.8;
  animation: tongueFlop 0.15s ease-in-out infinite;
}

@keyframes tongueFlop {
  0%, 100% { d: path("M64 28 Q68 34, 66 38 Q62 34, 64 28"); }
  50% { d: path("M64 28 Q70 36, 68 42 Q62 36, 64 28"); }
}

/* ==========================================
   STATE-BASED STYLES
   ========================================== */

/* Pressed/clicking state */
.dog-cursor.pressed .dog-svg {
  transform: scale(0.9);
}

.dog-cursor.pressed .dog-tongue {
  opacity: 1 !important;
  animation: tongueLick 0.3s ease-in-out;
}

@keyframes tongueLick {
  0%, 100% { d: path("M58 24 Q60 28, 58 30 Q56 28, 58 24"); }
  50% { d: path("M58 24 Q62 30, 58 34 Q54 30, 58 24"); }
}

/* ==========================================
   TREAT/SNACK ANIMATION
   ========================================== */

.dog-treat {
  position: absolute;
  width: 20px;
  height: 20px;
  top: -25px;
  right: -10px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0) rotate(0deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.dog-treat svg {
  width: 100%;
  height: 100%;
}

/* Treat flies to dog's mouth when eating */
.dog-cursor.eating .dog-treat {
  animation: treatToMouth 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes treatToMouth {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg) translate(15px, 10px);
  }
  80% {
    opacity: 1;
    transform: scale(0.8) rotate(360deg) translate(25px, 18px);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(400deg) translate(30px, 20px);
  }
}

/* Dog eating animation - chomping */
.dog-cursor.eating .dog-snout {
  animation: chomp 0.12s ease-in-out 0.35s 4;
  transform-origin: 64px 24px;
}

@keyframes chomp {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  50% { transform: scaleY(0.7); }
}

/* Happy eyes when eating */
.dog-cursor.eating .dog-eye {
  animation: happyEyes 0.5s ease-in-out forwards;
}

@keyframes happyEyes {
  0% { 
    transform: scaleY(1);
    cy: 15;
  }
  30%, 100% { 
    transform: scaleY(0.3);
    ry: 0.5;
  }
}

/* Wagging tail when eating - super happy! */
.dog-cursor.eating .dog-tail {
  animation: tailWagHappy 0.08s ease-in-out infinite;
}

@keyframes tailWagHappy {
  0%, 100% { d: path("M6 26 Q-6 14, 4 6 Q12 0, 18 6"); }
  50% { d: path("M6 26 Q8 26, 10 20 Q14 14, 20 20"); }
}

/* Little bounce when eating */
.dog-cursor.eating .dog-svg {
  animation: eatBounce 0.15s ease-in-out 0.35s 3;
}

@keyframes eatBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}

/* Hearts burst when eating (optional extra delight) */
.dog-cursor.eating::after {
  content: "❤️";
  position: absolute;
  top: -20px;
  left: 50%;
  font-size: 12px;
  opacity: 0;
  animation: heartBurst 0.6s ease-out 0.4s forwards;
  pointer-events: none;
}

@keyframes heartBurst {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.8);
  }
}

/* Text input state - curious/sniffing */
.dog-cursor.state-text .dog-svg {
  color: #a89590; /* Curious warm gray */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)) 
          drop-shadow(0 4px 8px rgba(168, 149, 144, 0.4));
}

.dog-cursor.state-text .dog-head {
  animation: headTilt 1s ease-in-out infinite;
  transform-origin: 54px 22px;
}

@keyframes headTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

.dog-cursor.state-text .dog-ear {
  animation: earPerk 0.8s ease-in-out infinite;
}

@keyframes earPerk {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50% { transform: rotate(-20deg) translateY(-2px); }
}

.dog-cursor.state-text .dog-brow {
  opacity: 0.6;
}

.dog-cursor.state-text .dog-head {
  animation: headTilt 0.8s ease-in-out infinite;
  transform-origin: 50px 18px;
}

.dog-cursor.state-text .dog-ear {
  animation: earPerk 0.8s ease-in-out infinite;
  transform-origin: 44px 10px;
}

@keyframes headTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
}

@keyframes earPerk {
  0%, 100% { transform: rotate(-20deg) scaleY(1); }
  50% { transform: rotate(-10deg) scaleY(1.2); }
}

/* Show cursor state icon for text */
.dog-cursor.state-text .cursor-state-icon {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dog-cursor.state-text .cursor-state-icon::before {
  content: "✎";
  font-size: 10px;
  color: var(--color-slate);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Link/button state - excited/happy */
.dog-cursor.state-link .dog-svg {
  color: #d4a090; /* Excited warm peachy */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) 
          drop-shadow(0 4px 12px rgba(212, 160, 144, 0.5));
}

.dog-cursor.state-link .dog-tail {
  animation: tailWagExcited 0.1s ease-in-out infinite !important;
}

@keyframes tailWagExcited {
  0%, 100% { d: path("M6 26 Q-4 16, 4 8 Q10 2, 16 8"); }
  50% { d: path("M6 26 Q6 24, 8 18 Q12 12, 18 18"); }
}

.dog-cursor.state-link .dog-tongue {
  opacity: 1;
  animation: happyTongue 0.3s ease-in-out infinite;
}

@keyframes happyTongue {
  0%, 100% { d: path("M64 28 Q67 34, 64 38 Q61 34, 64 28"); opacity: 1; }
  50% { d: path("M64 28 Q69 36, 66 40 Q61 36, 64 28"); opacity: 1; }
}

.dog-cursor.state-link .dog-svg {
  animation: excitedBounce 0.3s ease-in-out infinite;
}

@keyframes excitedBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.02); }
}

.dog-cursor.state-link .dog-cheek {
  opacity: 0.6;
}

.dog-cursor.state-link .dog-tongue {
  opacity: 1;
}

.dog-cursor.state-link .dog-tail {
  animation: tailWagExcited 0.15s ease-in-out infinite;
}

@keyframes tailWagExcited {
  0%, 100% { d: path("M8 20 Q-2 10, 2 4"); }
  50% { d: path("M8 20 Q6 22, 0 16"); }
}

.dog-cursor.state-link .cursor-state-icon {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 165, 154, 0.4);
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dog-cursor.state-link .cursor-state-icon::before {
  content: "👆";
  font-size: 8px;
}

/* Selection state - alert/focused */
.dog-cursor.state-select .dog-svg {
  color: #8a7d78; /* Focused warm brown */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) 
          drop-shadow(0 4px 8px rgba(138, 125, 120, 0.4));
}

.dog-cursor.state-select .dog-ear {
  animation: earAlert 0.4s ease-in-out infinite;
  transform-origin: 42px 14px;
}

@keyframes earAlert {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50% { transform: rotate(-15deg) translateY(-3px); }
}

.dog-cursor.state-select .dog-eye {
  animation: eyeWide 0.5s ease-in-out infinite;
}

@keyframes eyeWide {
  0%, 100% { r: 4; }
  50% { r: 4.5; }
}

.dog-cursor.state-select .dog-ear {
  animation: earsAlert 0.5s ease-in-out infinite;
}

@keyframes earsAlert {
  0%, 100% { transform: rotate(-20deg); }
  50% { transform: rotate(-5deg) translateY(-2px); }
}

.dog-cursor.state-select .cursor-state-icon {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--color-blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dog-cursor.state-select .cursor-state-icon::before {
  content: "◇";
  font-size: 10px;
  color: var(--color-accent-dark);
}

/* Dragging state */
.dog-cursor.dragging .dog-svg {
  color: var(--color-gray-dark);
  transform: rotate(-5deg);
}

.dog-cursor.dragging .dog-body {
  animation: dragStretch 0.3s ease-in-out infinite;
}

@keyframes dragStretch {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.1); }
}

/* Hide default cursor */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none !important;
  }
  
  body * {
    cursor: none !important;
  }
}

/* Don't show on touch devices */
@media (hover: none) and (pointer: coarse) {
  .dog-cursor {
    display: none !important;
  }
}

/* Hide state icon by default */
.cursor-state-icon {
  display: none;
}

.dog-cursor.state-text .cursor-state-icon,
.dog-cursor.state-link .cursor-state-icon,
.dog-cursor.state-select .cursor-state-icon {
  display: flex;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-headline,
  .hero-sub,
  .hero-locations,
  .waitlist-container,
  .hero-image,
  .scroll-cue {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-headline em {
    background: none !important;
    -webkit-text-fill-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
  }
}
