/* ==================================================
   TATI — Prague Reels Creator · Premium Landing
   Sand palette (light) + Modern Serif (Fraunces / Inter)
   ================================================== */
:root {
  --bg: #E6DFD3;
  --surface: #F0EAE0;
  --border: #C5BAA5;
  --text: #181410;
  --muted: #544a3d;
  --accent: #D4A574;
  --accent-rgb: 212,165,116;

  --maxw: 1320px;
  --pad-x: clamp(20px, 5vw, 64px);
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --font-display: 'Fraunces', Georgia, serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: 0.005em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::selection { background: rgba(var(--accent-rgb), 0.3); color: var(--text); }

/* film grain (subtle, on top) */
body::after {
  content: '';
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
  position: relative;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Typography ===== */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 14ch;
  margin-bottom: clamp(40px, 6vw, 80px);
  text-wrap: balance;
}

/* ===== Buttons ===== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--border);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: 15px;
  letter-spacing: 0.04em;
  font-weight: 400;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  --btn-bg: var(--accent);
  --btn-fg: #FBF7EF;
  --btn-bd: var(--accent);
}
.btn-primary:hover {
  color: #FBF7EF;
  box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.5);
}
.btn-ghost { backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(var(--accent-rgb), 0.6); color: var(--accent); }

/* Hero overrides — readable across the dark→sand gradient */
.hero .btn-ghost {
  color: rgba(20,20,20,0.9);
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero .btn-ghost:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { padding: 20px 32px; font-size: 16px; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: calc(100% - 24px);
  max-width: 920px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 22px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 12px 40px -16px rgba(0,0,0,0.25);
}
.nav-links--desktop {
  display: none;
  gap: 32px;
  color: var(--text);
}
.nav-links--desktop a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
  font-weight: 500;
}
.nav-links--desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav-links--desktop a:hover { color: var(--accent); }
.nav-links--desktop a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--text);
}
.lang-toggle button {
  padding: 2px 6px;
  border-radius: var(--r-pill);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--text);
  opacity: 0.7;
}
.lang-toggle button.on { background: var(--accent); color: #FBF7EF; opacity: 1; }
.lang-toggle button:hover { opacity: 1; }
.lang-toggle span { opacity: 0.4; }

.nav-burger {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #FBF7EF;
  position: relative;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  position: absolute;
  width: 16px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.3s var(--ease) 0.1s;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav.is-open .nav-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.nav-sheet.is-open { opacity: 1; pointer-events: auto; }
.nav-sheet-inner {
  position: absolute;
  top: 76px; left: 12px; right: 12px;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.nav-sheet.is-open .nav-sheet-inner { transform: translateY(0); opacity: 1; }
.nav-sheet-inner a {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.nav-sheet-inner a:last-child { border-bottom: 0; }
.nav-sheet-inner a:hover { color: var(--accent); }

@media (min-width: 880px) {
  .nav-links--desktop { display: flex; }
  .nav-burger { display: none; }
  .nav-sheet { display: none; }
  .nav { top: 22px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad-x) clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero-bg-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(0.95) saturate(0.85);
  animation: kenBurnsDesktop 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurnsDesktop {
  from { transform: scale(1.0) translate(0, 0); }
  to   { transform: scale(1.1) translate(-2%, -1.5%); }
}
@keyframes kenBurnsMobile {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
@media (max-width: 720px) {
  .hero-bg {
    animation-name: kenBurnsMobile;
    object-position: 100% 50%;
    transform-origin: 100% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(0,0,0,0.25) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.6) 75%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(20,20,20,0.85);
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.85);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  color: #fff;
  mix-blend-mode: difference;
  isolation: isolate;
  font-weight: 400;
  font-size: clamp(40px, 9vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.2s var(--ease) forwards;
}
.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.15s; }
.hero-line:nth-child(2) .hero-line-inner {
  animation-delay: 0.27s;
  font-style: italic;
  font-family: var(--font-accent);
  color: var(--accent);
}
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.39s; }
@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: #fff;
  mix-blend-mode: difference;
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 300;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.7s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.9s forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px; height: 48px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
}
.scroll-cue span {
  display: block;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollCue 2.4s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ===== Results / Stats ===== */
.results { background: var(--bg); }
.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.stat {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color 0.5s var(--ease);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat.is-in { opacity: 1; transform: translateY(0); }
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.stat:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.stat:hover::before { opacity: 1; }

.stat-num {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
}
.stat-num-glow {
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0.18;
  filter: blur(28px);
  pointer-events: none;
}
.stat-label {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0.78;
  line-height: 1.5;
  max-width: 22ch;
  font-weight: 300;
}

/* ===== Services / Pricing ===== */
.services { background: var(--bg); }
.pricing {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: none;
    align-items: stretch;
  }
}
.price-card {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 1s var(--ease);
}
.price-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-4px);
}
.price-card.is-popular {
  border-color: rgba(var(--accent-rgb), 0.7);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.09), var(--surface) 60%);
  box-shadow: 0 24px 56px -28px rgba(var(--accent-rgb), 0.35);
}
@media (min-width: 880px) {
  .price-card.is-popular { transform: translateY(-8px); }
  .price-card.is-popular:hover { transform: translateY(-12px); }
}
.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent);
  color: #FBF7EF;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  font-weight: 600;
  white-space: nowrap;
}
.price-head { margin-bottom: 32px; }
.price-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.2;
}
.price-count {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  opacity: 0.65;
  font-weight: 400;
}
.price-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 52px;
}
.price-num--custom { align-items: flex-end; }
.price-val {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.price-cur {
  font-size: 13px;
  color: var(--text);
  opacity: 0.6;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.price-custom {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.price-note {
  font-size: 15px;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: auto;
  padding-bottom: 28px;
  line-height: 1.5;
}
.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  transition: gap 0.3s var(--ease);
  font-weight: 500;
}
.price-cta:hover { gap: 14px; }
.is-popular .price-cta { border-top-color: rgba(var(--accent-rgb), 0.3); }

/* ===== Formats ===== */
.formats { background: var(--bg); }
.formats-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.format-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.format-row:hover { padding-left: 12px; }
.format-row:hover .format-text { color: var(--accent); }
.format-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  opacity: 0.7;
}
.format-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}
.format-line {
  width: 32px; height: 1px;
  background: var(--border);
}
.formats-langs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.lang-pill {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text);
  font-weight: 500;
}
.formats-langs-text {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text);
  opacity: 0.78;
  font-size: 17px;
}

/* ===== Work / Reels ===== */
.work { background: var(--bg); }
.work-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.work-head .section-title { margin-bottom: 0; }
.work-sub {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text);
  opacity: 0.72;
  font-size: 19px;
}

.reels {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 880px) {
  .reels { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reel.is-in { opacity: 1; transform: translateY(0); }

.reel video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.95) contrast(1.02) brightness(0.85);
}
.reel.is-playing video { filter: saturate(0.92) contrast(1.02); }
.reel:hover video { transform: scale(1.03); }
.reel-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.reel-meta {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  pointer-events: none;
}
.reel-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: -0.005em;
  color: #FBF7EF;
  margin-bottom: 2px;
}
.reel-loc {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,247,239, 0.85);
  font-weight: 400;
}
.reel-play {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: #1a1814;
  border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  z-index: 2;
}
.reel.is-playing .reel-play {
  background: var(--accent);
  color: #FBF7EF;
  border-color: var(--accent);
}

.reel-mute {
  position: absolute;
  top: 12px; left: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: #1a1814;
  border: 1px solid rgba(0,0,0,0.08);
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  padding: 0;
}
.reel.is-playing .reel-mute {
  opacity: 1;
  pointer-events: auto;
}
.reel.has-sound .reel-mute {
  background: var(--accent);
  color: #FBF7EF;
  border-color: var(--accent);
}
.reel-mute:hover { transform: scale(1.08); }

/* ===== Why ===== */
.why { background: var(--bg); position: relative; }
.why-title { max-width: 18ch; }
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--border);
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1.5px solid var(--border);
  position: relative;
  cursor: default;
  transition: padding 0.6s var(--ease), background 0.6s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), transparent 70%);
  transition: width 0.7s var(--ease);
  pointer-events: none;
}
.why-item:hover { padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
.why-item:hover::before { width: 100%; }
.why-item:hover .why-head { color: var(--accent); }
.why-item:hover .why-arrow { transform: translateX(8px) rotate(-12deg); color: var(--accent); opacity: 1; }

.why-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--accent);
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.why-body { position: relative; z-index: 1; }
.why-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.5s var(--ease);
}
.why-text {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text);
  opacity: 0.78;
  line-height: 1.5;
  font-weight: 300;
  max-width: 48ch;
}
.why-arrow {
  color: var(--text);
  opacity: 0.4;
  transition: transform 0.6s var(--ease), color 0.5s var(--ease), opacity 0.5s var(--ease);
  position: relative;
  z-index: 1;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-portrait {
  position: relative;
  width: clamp(140px, 22vw, 200px);
  height: clamp(140px, 22vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  margin: 16px 0 28px;
  border: 1.5px solid var(--border);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.3);
}
.contact-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.0);
}
.contact-portrait-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent 50%, rgba(var(--accent-rgb), 0.2), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  animation: portraitSpin 12s linear infinite;
  opacity: 0.7;
}
@keyframes portraitSpin { to { transform: rotate(360deg); } }
.contact-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  text-wrap: balance;
  max-width: 16ch;
}
.contact-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text);
  opacity: 0.78;
  margin-bottom: 40px;
  max-width: 36ch;
}
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.contact-mail {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text);
  opacity: 0.72;
  font-size: 17px;
  letter-spacing: 0.04em;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
  opacity: 0.65;
  letter-spacing: 0.06em;
}
@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
