@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: 260 40% 7%;
  --foreground: 270 30% 92%;
  --primary: 43 52% 54%;
  --primary-foreground: 260 40% 7%;
  --muted-foreground: 270 15% 60%;
  --border: 260 20% 18%;
  --gold: 43 52% 54%;
  --gold-light: 43 60% 68%;
  --gold-dark: 43 45% 40%;
  --surface: 260 35% 12%;
  --surface-light: 260 30% 18%;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: "Playfair Display", serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.font-display { font-family: "Playfair Display", serif; }
.font-body { font-family: Inter, sans-serif; }

.text-gradient-gold {
  background-image: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%), hsl(43 45% 40%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-gold {
  background-image: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%));
}

.glass {
  background: hsl(260 35% 12% / 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(260 20% 18% / 0.5);
}

.glass-gold {
  background: hsl(260 35% 12% / 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(43 52% 54% / 0.2);
}

.gold-glow {
  box-shadow: 0 0 30px hsl(43 52% 54% / 0.3), 0 0 60px hsl(43 52% 54% / 0.1);
}

.gold-glow-sm {
  box-shadow: 0 0 15px hsl(43 52% 54% / 0.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 15px hsl(43 52% 54% / 0.3); }
  50% { box-shadow: 0 0 30px hsl(43 52% 54% / 0.6), 0 0 60px hsl(43 52% 54% / 0.2); }
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: hsl(260 40% 7%); }
::-webkit-scrollbar-thumb { background: hsl(260 25% 20%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(43 52% 54% / 0.5); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
  background: transparent;
}
.navbar.is-scrolled {
  background: hsl(260 35% 12% / 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(260 20% 18% / 0.5);
  padding: 0.75rem 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: hsl(var(--muted-foreground));
  position: relative;
  transition: color 0.3s;
}
.nav-link:hover { color: hsl(var(--foreground)); }
.nav-link.is-active { color: hsl(var(--primary)); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%));
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-image: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  transition: opacity 0.3s;
}
.btn-gold:hover { opacity: 0.9; }
.btn-gold-lg {
  padding: 0.875rem 2rem;
  box-shadow: 0 0 30px hsl(43 52% 54% / 0.3), 0 0 60px hsl(43 52% 54% / 0.1);
}
.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}
.btn-outline-glass:hover { color: hsl(var(--primary)); }
.nav-toggle { display: block; color: hsl(var(--foreground)); padding: 0.25rem; }
.nav-mobile {
  display: none;
  margin: 0.5rem 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .btn-gold { text-align: center; margin-top: 0.5rem; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-brand p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  max-width: 24rem;
  line-height: 1.625;
  margin-top: 0.75rem;
}
.footer-col h4 {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col a, .footer-col span {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: hsl(var(--primary)); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-legal a:hover { color: hsl(var(--primary)); }

/* Language switcher (public pages) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch-sep {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}
.lang-switch-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.lang-switch-link:hover { color: hsl(var(--primary)); }
.lang-switch-link.is-active { color: hsl(var(--primary)); }
.nav-desktop { align-items: center; }

/* Legal pages */
.legal-section { padding: 0 0 5rem; }
.legal-doc {
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
}
.legal-doc h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p,
.legal-doc li {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.legal-doc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-doc li { margin-bottom: 0.45rem; }
.legal-doc a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc strong { color: hsl(var(--foreground)); font-weight: 600; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; }
}

/* Floating scroll-top (above the round stack) */
.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.5rem + 3.5rem + 0.75rem + 3.5rem + 0.75rem);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.floating-cta.is-visible { display: flex; }
.floating-cta .btn-gold { display: none; } /* Let's Talk moved into float-stack */

/* Round action stack: Let's Talk + WhatsApp */
.float-stack {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.talk-float,
.wa-float {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.35);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.talk-float {
  position: relative;
  overflow: hidden;
  gap: 0;
  padding: 0;
  background-image: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%));
  color: hsl(var(--primary-foreground));
  white-space: nowrap;
  justify-content: flex-start;
}
.talk-float-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.talk-float-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  fill: currentColor;
}
.talk-float-label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  padding-right: 0;
  transition: opacity 0.25s ease, max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
}
.talk-float:hover,
.talk-float:focus-visible {
  width: 9.75rem;
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.4);
  transform: translateY(-1px);
}
.talk-float:hover .talk-float-label,
.talk-float:focus-visible .talk-float-label {
  opacity: 1;
  max-width: 6rem;
  padding-right: 1.1rem;
}
.talk-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.wa-float {
  background: #25d366;
  color: #fff;
}
.wa-float:hover {
  background: #1ebe57;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.4);
}
.wa-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.wa-float svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

@media (max-width: 640px) {
  .float-stack {
    right: 1rem;
    bottom: 1rem;
    gap: 0.65rem;
  }
  .talk-float,
  .wa-float {
    width: 3.25rem;
    height: 3.25rem;
  }
  .talk-float-icon {
    width: 3.25rem;
    height: 3.25rem;
    flex-basis: 3.25rem;
  }
  .talk-float:hover,
  .talk-float:focus-visible {
    width: 9.25rem;
  }
  .floating-cta {
    right: 1rem;
    bottom: calc(1rem + 3.25rem + 0.65rem + 3.25rem + 0.65rem);
  }
}
.scroll-top-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.scroll-top-btn:hover { opacity: 0.8; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-base {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, hsl(260 40% 7%), hsl(260 35% 12%), hsl(260 40% 7%));
}
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
}
.hero-blob-1 {
  top: 25%; left: 25%;
  width: 24rem; height: 24rem;
  background: hsl(43 52% 54% / 0.05);
}
.hero-blob-2 {
  bottom: 25%; right: 25%;
  width: 20rem; height: 20rem;
  background: hsl(43 52% 54% / 0.08);
  animation-delay: 3s;
}
.hero-blob-3 {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: hsl(43 52% 54% / 0.03);
  filter: blur(200px);
}
.hero-grid {
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(hsl(43 52% 54% / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsl(43 52% 54% / 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 10; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(43 52% 54% / 0.2);
}
.eyebrow-plain {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-lead {
  color: hsl(var(--muted-foreground));
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.625;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce-y 2s ease-in-out infinite;
}
.scroll-indicator-outer {
  width: 1.25rem; height: 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(43 52% 54% / 0.3);
  display: flex;
  justify-content: center;
  padding-top: 0.375rem;
}
.scroll-indicator-inner {
  width: 0.25rem; height: 0.5rem;
  border-radius: 9999px;
  background: hsl(43 52% 54% / 0.5);
}

/* Sections */
.section { padding: 7rem 0; position: relative; }
.section-sm { padding: 5rem 0; }
.section-xs { padding: 4rem 0; }
.section-border { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.section-border-t { border-top: 1px solid hsl(var(--border)); }
.section-border-y { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.text-center { text-align: center; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-head p {
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
  margin: 0 auto;
  font-size: 1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-stats { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card-glass {
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.5s;
}
.card-glass:hover {
  border-color: hsl(43 52% 54% / 0.4);
  box-shadow: 0 0 15px hsl(43 52% 54% / 0.2);
}
.icon-box {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: hsl(43 52% 54% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: hsl(var(--primary));
  transition: background 0.3s;
}
.card-glass:hover .icon-box { background: hsl(43 52% 54% / 0.2); }
.card-glass h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.card-glass p, .muted {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Stats */
.grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stat-value {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Testimonials */
.quote-icon { color: hsl(43 52% 54% / 0.4); margin-bottom: 1rem; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}
.testimonial-card .quote {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(270 30% 92% / 0.9);
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-card .name { font-size: 0.875rem; font-weight: 600; }
.testimonial-card .role { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Trust */
.trust-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .trust-row { flex-direction: row; gap: 5rem; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--primary));
}
.trust-item span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.025em;
}

/* CTA band */
.cta-band {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, hsl(260 35% 12%), hsl(260 40% 7%), hsl(260 35% 12%));
}
.cta-band-blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 9999px;
  background: hsl(43 52% 54% / 0.05);
  filter: blur(150px);
}
.cta-band-content { position: relative; z-index: 10; }
.cta-band h2 {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  margin: 0 auto 1.5rem;
  max-width: 48rem;
  line-height: 1.15;
}
.cta-band p {
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}

/* Page heroes (inner) */
.page-hero {
  padding: 8rem 0 5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.page-hero p {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}

/* Team */
.avatar {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: hsl(43 52% 54% / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.team-card { text-align: center; border-radius: 1rem; padding: 1.75rem; height: 100%; transition: border-color 0.5s; }
.team-card:hover { border-color: hsl(43 52% 54% / 0.3); }
.team-card h3 { font-size: 1.125rem; font-weight: 600; }
.team-card .role { font-size: 0.75rem; color: hsl(var(--primary)); margin-bottom: 0.75rem; }

/* Timeline */
.timeline { position: relative; max-width: 48rem; margin: 0 auto; }
.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0; bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-1px); }
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  margin-left: 2.5rem;
}
@media (min-width: 768px) {
  .timeline-item { margin-left: 0; }
  .timeline-item.is-even { flex-direction: row; }
  .timeline-item.is-odd { flex-direction: row-reverse; }
}
.timeline-dot {
  position: absolute;
  left: -1.625rem;
  width: 1rem; height: 1rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  border: 4px solid hsl(var(--background));
  z-index: 10;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .timeline-dot { left: 50%; transform: translateX(-50%); }
}
.timeline-year {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--primary));
}
.timeline-card {
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 0.25rem;
}
.timeline-side { flex: 1; }
.timeline-side-desktop { display: none; }
.timeline-side-mobile { display: block; }
@media (min-width: 768px) {
  .timeline-side-desktop { display: block; }
  .timeline-side-mobile { display: none; }
  .timeline-side.is-right-align { text-align: right; }
}

/* Work filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}
.filter-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}
.filter-btn:hover { color: hsl(var(--foreground)); }
.filter-btn.is-active {
  background-image: linear-gradient(135deg, hsl(43 60% 68%), hsl(43 52% 54%));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 7rem;
}
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s;
}
.work-card:hover { transform: translateY(-2px); }
.work-card.is-hidden { display: none; }
.work-thumb {
  height: 12rem;
  position: relative;
  overflow: hidden;
}
.work-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: all 0.7s;
}
.work-card:hover .work-thumb img {
  opacity: 0.6;
  transform: scale(1.05);
}
.work-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(260 35% 12%), hsl(260 35% 12% / 0.6), transparent);
}
.work-thumb-icon {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
  color: hsl(var(--primary));
}
.work-card:hover .work-thumb-icon { opacity: 1; }
.work-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.work-cat {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.work-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.work-card-body h3 svg { color: hsl(var(--primary)); flex-shrink: 0; }
.work-card-body > p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  flex: 1;
  margin-bottom: 1rem;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--surface-light));
  color: hsl(var(--muted-foreground));
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 3fr 2fr; }
}
.contact-form {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  font-family: Inter, sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input::placeholder { color: hsl(var(--muted-foreground)); }
.form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary));
}
textarea.form-input { resize: none; }
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-card .icon-box { margin-bottom: 0; flex-shrink: 0; width: 2.5rem; height: 2.5rem; }
.info-card .label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.info-card a:hover { color: hsl(var(--primary)); }
.response-card {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.response-card .label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.response-card .value {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Toast */
.toast {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-1rem);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  background: hsl(260 35% 14%);
  border: 1px solid hsl(43 52% 54% / 0.45);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px hsl(43 52% 54% / 0.25);
  transition: transform 0.35s ease, opacity 0.35s ease;
  max-width: min(90vw, 26rem);
  text-align: center;
  color: hsl(var(--foreground));
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast[data-kind="error"] {
  border-color: hsl(0 70% 55% / 0.6);
}
.toast-title { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.toast-desc { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }

/* 404 */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.not-found h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.not-found p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}
.not-found a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

/* Demo chrome */
.demo-back {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgb(0 0 0 / 0.6);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  transition: background 0.3s;
}
.demo-back:hover { background: rgb(0 0 0 / 0.8); }
.demo-cta {
  padding: 6rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}
.demo-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.demo-cta p {
  font-size: 1.125rem;
  opacity: 0.7;
  margin: 0 auto 2rem;
  max-width: 28rem;
}

svg.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.icon-sm { width: 1rem; height: 1rem; }
svg.icon-lg { width: 1.375rem; height: 1.375rem; }
