/* Wasyra Pet Agenda — Motion-grade legal pages
   Ref: motionsites.ai cinematic hero + organic luxury brand */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --deep-forest: #0f2825;
  --deep-forest-mid: #1a3c38;
  --sage: #3d6b63;
  --sage-light: #5a8f86;
  --cream: #f8f5f0;
  --sand: #ede6dc;
  --terracotta: #d4896a;
  --terracotta-deep: #c06748;
  --gold: #c9a66e;
  --gold-bright: #e4c99a;
  --ink: #141a19;
  --mist: #6b7c78;
  --white: #ffffff;
  --glass: rgba(15, 40, 37, 0.55);
  --glass-light: rgba(248, 245, 240, 0.78);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-light: rgba(26, 60, 56, 0.08);
  --shadow-soft: 0 4px 32px rgba(15, 40, 37, 0.08);
  --shadow-lift: 0 32px 80px rgba(15, 40, 37, 0.14);
  --shadow-glow: 0 0 80px rgba(212, 137, 106, 0.25);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-xl: 48px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --nav-h: 76px;
  --max-content: 740px;
  --max-wide: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10001;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-bright));
  box-shadow: 0 0 20px rgba(212, 137, 106, 0.6);
  transition: width 0.08s linear;
}

/* Ambient */
.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  transition: transform 0.4s var(--ease-out);
}

.orb--1 {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  background: radial-gradient(circle, rgba(90, 143, 134, 0.5) 0%, transparent 65%);
  top: -15%;
  right: -15%;
  animation: drift-a 22s var(--ease-out) infinite alternate;
}

.orb--2 {
  width: min(55vw, 440px);
  height: min(55vw, 440px);
  background: radial-gradient(circle, rgba(212, 137, 106, 0.4) 0%, transparent 65%);
  bottom: 5%;
  left: -18%;
  animation: drift-b 26s var(--ease-out) infinite alternate;
}

.orb--3 {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  background: radial-gradient(circle, rgba(201, 166, 110, 0.35) 0%, transparent 65%);
  top: 38%;
  left: 42%;
  animation: drift-c 18s var(--ease-out) infinite alternate-reverse;
}

@keyframes drift-a {
  to { transform: translate(-40px, 50px) scale(1.1); }
}
@keyframes drift-b {
  to { transform: translate(50px, -30px) scale(1.05); }
}
@keyframes drift-c {
  to { transform: translate(30px, 40px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
  html { scroll-behavior: auto; }
  .scroll-progress { display: none; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10002;
  padding: 12px 22px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s, height 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  height: 64px;
  background: var(--glass-light);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-soft);
}

.site-header--hero {
  background: transparent;
}

.site-header--hero .brand__name,
.site-header--hero .brand__tag { color: var(--cream); }
.site-header--hero .brand__tag { opacity: 0.7; }
.site-header--hero .nav-toggle span { background: var(--cream); }
.site-header--hero .site-nav a { color: rgba(248, 245, 240, 0.75); }
.site-header--hero .site-nav a:hover,
.site-header--hero .site-nav a.is-active { color: var(--cream); background: rgba(255,255,255,0.1); }

.site-header__inner {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover { transform: scale(1.02); }

.brand__icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}

.brand__icon-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  opacity: 0.6;
  filter: blur(8px);
  z-index: 0;
}

.brand__icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.brand__tag {
  font-size: 0.65rem;
  color: var(--mist);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Nav */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--glass-border-light);
  background: rgba(26,60,56,0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--deep-forest-mid);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.site-header--hero .nav-toggle { border-color: rgba(255,255,255,0.2); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .site-nav {
  background: rgba(26,60,56,0.04);
  border-color: var(--glass-border-light);
}

.site-nav a {
  position: relative;
  padding: 10px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mist);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.site-nav a:hover {
  color: var(--deep-forest-mid);
  background: rgba(255,255,255,0.9);
}

.site-nav a.is-active {
  color: var(--deep-forest);
  background: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(15,40,37,0.1);
}

.site-header--hero .site-nav a.is-active {
  color: var(--deep-forest);
  background: var(--cream);
}

/* Cinematic hero */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 32px) clamp(20px, 5vw, 48px) 0;
  background: var(--deep-forest);
  color: var(--cream);
  overflow: hidden;
}

.hero-cinema__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(212, 137, 106, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(90, 143, 134, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(201, 166, 110, 0.08) 0%, transparent 60%),
    linear-gradient(165deg, #0a1f1c 0%, var(--deep-forest) 40%, #1e4540 100%);
}

.hero-cinema__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero-cinema__beam {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(212,137,106,0.15), transparent 40%);
  filter: blur(40px);
  animation: beam-rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes beam-rotate {
  to { transform: rotate(360deg); }
}

.hero-cinema__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-wide);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: clamp(48px, 8vw, 80px);
}

@media (min-width: 900px) {
  .hero-cinema__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    min-height: calc(92vh - var(--nav-h) - 80px);
  }
}

.hero-cinema__copy { max-width: 36rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s var(--ease-expo) 0.1s forwards;
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 12px var(--terracotta);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-cinema__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw + 1rem, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-cinema__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(12deg);
  animation: word-in 0.9s var(--ease-expo) forwards;
}

.hero-cinema__title .word:nth-child(1) { animation-delay: 0.15s; }
.hero-cinema__title .word:nth-child(2) { animation-delay: 0.25s; }
.hero-cinema__title .word:nth-child(3) { animation-delay: 0.35s; }
.hero-cinema__title .word:nth-child(4) { animation-delay: 0.45s; }
.hero-cinema__title .word:nth-child(5) { animation-delay: 0.55s; }

.hero-cinema__title .accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--terracotta) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

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

.hero-cinema__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(248, 245, 240, 0.72);
  max-width: 38ch;
  opacity: 0;
  animation: rise 0.9s var(--ease-expo) 0.5s forwards;
}

.hero-cinema__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: rise 0.9s var(--ease-expo) 0.65s forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: rise 0.9s var(--ease-expo) 0.75s forwards;
}

.hero-stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.hero-stat__label {
  font-size: 0.8rem;
  color: rgba(248,245,240,0.55);
  margin-top: 4px;
}

/* Floating visual card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  animation: visual-in 1.1s var(--ease-expo) 0.4s forwards;
}

.hero-visual .device-card {
  animation: float-card 6s var(--ease-out) 1.2s infinite alternate;
}

@keyframes visual-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.device-card {
  position: relative;
  width: min(100%, 340px);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glow), 0 40px 80px rgba(0,0,0,0.35);
}

@keyframes float-card {
  to { transform: translateY(-12px); }
}

.device-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212,137,106,0.6), transparent 40%, rgba(201,166,110,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.device-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.device-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.device-card__desc {
  font-size: 0.9rem;
  color: rgba(248,245,240,0.65);
  line-height: 1.5;
}

.device-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gold-bright);
}

.device-card__ring {
  position: absolute;
  width: 120%;
  height: 120%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212,137,106,0.2);
  border-radius: 50%;
  animation: ring-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.device-card__ring--2 {
  width: 140%;
  height: 140%;
  animation-delay: -2s;
  border-color: rgba(90,143,134,0.15);
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.03); }
}

/* Marquee */
.marquee-wrap {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

.marquee__item {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248,245,240,0.35);
  white-space: nowrap;
}

.marquee__item strong {
  color: rgba(228, 201, 154, 0.7);
  font-weight: 600;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Curve transition */
.page-curve {
  position: relative;
  z-index: 3;
  height: 56px;
  margin-top: -1px;
  background: var(--cream);
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -24px 48px rgba(0,0,0,0.06);
}

@media (prefers-reduced-motion: reduce) {
  .chip, .hero-cinema__title .word, .hero-cinema__lead,
  .hero-cinema__actions, .hero-stats, .hero-visual,
  .device-card, .marquee, .hero-cinema__beam { animation: none !important; opacity: 1; transform: none; }
}

/* Page body */
.page-wrap {
  position: relative;
  z-index: 1;
  margin-top: -32px;
}

.content {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) clamp(80px, 12vw, 140px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 960px) {
  .content--with-aside {
    grid-template-columns: minmax(0, var(--max-content)) 300px;
    gap: 56px;
    align-items: start;
  }
}

/* Prose */
.prose {
  position: relative;
  background: var(--white);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.prose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--sage));
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep-forest-mid);
  margin: 2.25rem 0 0.85rem;
  letter-spacing: -0.025em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.prose h2::before {
  content: attr(data-num);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(212, 137, 106, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.prose h2:first-of-type { margin-top: 0; }

.prose h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--sage);
  margin: 1.75rem 0 0.5rem;
}

.prose p, .prose li { color: var(--ink); margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.45rem; }

.prose a {
  color: var(--terracotta-deep);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(transparent 92%, rgba(212,137,106,0.35) 92%);
  transition: color 0.2s;
}

.prose a:hover { color: var(--deep-forest-mid); }

.prose time, .prose .muted, .prose code {
  color: var(--mist);
  font-size: 0.9rem;
}

.prose code {
  background: var(--sand);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="scale"] {
  transform: translateY(24px) scale(0.97);
}

[data-reveal="scale"].is-visible {
  transform: translateY(0) scale(1);
}

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

/* TOC */
.aside { position: sticky; top: calc(var(--nav-h) + 32px); }

.toc {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--shadow-soft);
}

.toc__title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mist);
  margin-bottom: 20px;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 -12px;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
}

.toc a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.toc a:hover {
  background: var(--sand);
  color: var(--deep-forest-mid);
  transform: translateX(4px);
}

.toc a.is-active {
  background: rgba(212, 137, 106, 0.1);
  color: var(--terracotta-deep);
  font-weight: 600;
}

.toc a.is-active::before {
  background: var(--terracotta);
  transform: scale(1.3);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s;
}

.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,137,106,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.info-card:hover::after { opacity: 1; }

.info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--deep-forest-mid), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(26,60,56,0.2);
}

.info-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--cream);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--deep-forest-mid);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.info-card p { font-size: 0.95rem; color: var(--mist); line-height: 1.6; }

.info-card a {
  color: var(--terracotta-deep);
  font-weight: 600;
  text-decoration: none;
}

.info-card a:hover { color: var(--deep-forest-mid); }

.site-header.is-scrolled .brand__name,
.site-header.is-scrolled .brand__tag { color: var(--ink); }

.site-header.is-scrolled .brand__tag { color: var(--mist); }

/* CTA */
.cta-band {
  margin-top: 12px;
  padding: clamp(40px, 8vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--deep-forest);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(212,137,106,0.3), transparent),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(90,143,134,0.2), transparent);
}

.cta-band__inner { position: relative; z-index: 1; }

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-band p {
  opacity: 0.8;
  max-width: 42ch;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  touch-action: manipulation;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn:hover::after { transform: translateX(100%); }

.btn:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(192, 103, 72, 0.45);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(192, 103, 72, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 72px;
  margin-bottom: 16px;
  background: var(--sand);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.steps li:hover {
  border-color: rgba(212,137,106,0.25);
  box-shadow: var(--shadow-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--terracotta), var(--gold));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(212,137,106,0.35);
}

/* Alert */
.alert {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,137,106,0.12), rgba(201,166,110,0.08));
  border: 1px solid rgba(212, 137, 106, 0.25);
  margin: 1.5rem 0;
}

.alert svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: var(--terracotta-deep);
  fill: none;
  stroke-width: 2;
}

.alert p { margin: 0; font-size: 0.95rem; }

/* FAQ */
.faq { padding-top: 8px; }

.faq details {
  border-bottom: 1px solid var(--glass-border-light);
}

.faq summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--deep-forest-mid);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  transition: color 0.2s;
}

.faq summary:hover { color: var(--terracotta-deep); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c06748' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(212,137,106,0.15);
}

.faq details p {
  padding-bottom: 20px;
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 56px clamp(20px, 5vw, 48px);
  background: var(--deep-forest);
  color: var(--cream);
}

.site-footer__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta), var(--gold), transparent);
}

.site-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.site-footer__brand .brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.site-footer__brand p {
  font-size: 0.9rem;
  color: rgba(248,245,240,0.55);
  max-width: 32ch;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer nav a {
  font-size: 0.95rem;
  color: rgba(248,245,240,0.7);
  text-decoration: none;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}

.site-footer nav a:hover {
  color: var(--gold-bright);
  transform: translateX(6px);
}

.site-footer__bottom {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(248,245,240,0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--glass-border-light);
    box-shadow: var(--shadow-lift);
    transform: translateY(-16px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-expo), opacity 0.3s, visibility 0.4s;
  }

  .site-header--hero .site-nav {
    background: rgba(15,40,37,0.95);
    border-color: rgba(255,255,255,0.1);
  }

  .site-header--hero .site-nav a { color: rgba(248,245,240,0.85); }
  .site-header--hero .site-nav a.is-active { color: var(--deep-forest); }

  .site-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a { justify-content: center; }
  .hero-cinema { min-height: auto; padding-bottom: 0; }
  .hero-cinema__inner { padding-bottom: 40px; }
}
