@theme {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  transition: background-color 0.3s, color 0.3s;
  scroll-behavior: smooth;
}

.rt-vanilla-wrapper {
  overflow-x: hidden;
  min-height: 100vh;
  font-family: var(--font-sans);
  transition: background-color 0.3s, color 0.3s;
}

/* Light/Dark mode classes */
.rt-vanilla-wrapper.light { background-color: #ffffff; color: #09090b; }
.rt-vanilla-wrapper.dark { background-color: #000000; color: #ffffff; }

/* Theme specific elements */
.theme-transition { transition: all 0.3s ease; }

.light .header-bg { background-color: rgba(255, 255, 255, 0.4); }
.dark .header-bg { background-color: rgba(0, 0, 0, 0.2); }

.light .nav-link { color: #a1a1aa; }
.light .nav-link:hover { color: #18181b; }
.dark .nav-link { color: rgba(255, 255, 255, 0.4); }
.dark .nav-link:hover { color: #ffffff; }

.light .theme-btn { background-color: #f4f4f5; }
.light .theme-btn:hover { background-color: #e4e4e7; }
.dark .theme-btn { background-color: rgba(255, 255, 255, 0.05); }
.dark .theme-btn:hover { background-color: rgba(255, 255, 255, 0.1); }

.light .hero-text { color: #18181b; }
.dark .hero-text { color: #ffffff; }

.light .project-btn { background-color: #f4f4f5; color: #18181b; }
.light .project-btn:hover { background-color: #e4e4e7; }
.dark .project-btn { background-color: rgba(255, 255, 255, 0.05); color: #ffffff; }
.dark .project-btn:hover { background-color: rgba(255, 255, 255, 0.1); }

.light #image-shadow { display: none !important; }

/* Utilities from React */
.rt-header {
  position: fixed;
  top: 0; left: 0; width: 100%; z-index: 100;
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(4px);
}

.rt-nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rt-btn-primary {
  padding: 0.5rem 1.5rem;
  background-color: #FF5F1F;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 0.375rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(255, 95, 31, 0.2), 0 4px 6px -4px rgba(255, 95, 31, 0.2);
}
.rt-btn-primary:hover { background-color: rgba(255, 95, 31, 0.8); }

.rt-hero-section {
  min-height: auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding: 8rem 1.5rem 5rem 1.5rem;
  overflow: hidden;
}

.rt-grid-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rt-grid-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rt-hero-title {
    font-size: clamp(3.25rem, 8vw, 4.5rem);
    line-height: 1;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}
@media (min-width: 768px) { .rt-hero-title { font-size: 5rem; } }
@media (min-width: 1024px) { .rt-hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .rt-hero-title { font-size: 6rem; } }

.text-stroke-white { -webkit-text-stroke: 1px rgba(255, 255, 255, 1); }
.text-stroke-black { -webkit-text-stroke: 1px rgba(0, 0, 0, 1); }
.border-text { color: transparent; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
}

.rt-project-card {
    display: flex; flex-direction: column; gap: 2rem;
    padding: 5rem 0;
    border-bottom-width: 1px;
}

/* Simple Intro Animations */
.fade-in-left { opacity: 0; transform: translateX(-50px); transition: all 1s ease; }
.fade-in-left.is-visible { opacity: 1; transform: translateX(0); }

.scale-in { opacity: 0; transform: scale(0.9); transition: all 1s ease 0.2s; }
.scale-in.is-visible { opacity: 1; transform: scale(1); }

#mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 1rem;
  flex-direction: column; gap: 1rem;
  border-bottom: 1px solid rgba(128,128,128,0.2);
}
.light #mobile-menu { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); }
.dark #mobile-menu { background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(12px); }
#mobile-menu.active {
  display: flex;
}

/* From project.html */
.rt-back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.back-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.rt-back-btn:hover .back-circle {
  background-color: #FF5F1F;
  border-color: #FF5F1F;
  color: #ffffff;
}

.project-title {
    font-size: 10vw;
    line-height: 0.85;
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}
@media (min-width: 768px) { .project-title { font-size: 6.5rem; } }
@media (min-width: 1024px) { .project-title { font-size: 8rem; } }

/* Meta bar custom overrides */
.light .action-btn-line { background-color: #f4f4f5; color: #18181b; border: 1px solid #e4e4e7; }
.light .action-btn-line:hover { background-color: #e4e4e7; }
.dark .action-btn-line { background-color: rgba(255, 255, 255, 0.05); color: #ffffff; border: 1px solid rgba(255,255,255,0.1); }
.dark .action-btn-line:hover { background-color: rgba(255, 255, 255, 0.1); }

.light .action-btn-filled { background-color: #18181b; color: #ffffff; }
.light .action-btn-filled:hover { background-color: #27272a; }
.dark .action-btn-filled { background-color: #ffffff; color: #000000; }
.dark .action-btn-filled:hover { background-color: rgba(255,255,255,0.9); }

.next-project-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border-width: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.light .next-project-circle { border-color: #e4e4e7; }
.dark .next-project-circle { border-color: rgba(255,255,255,0.2); }

.group:hover .next-project-circle {
  background-color: #ffffff;
  color: #000000;
}
.light .group:hover .next-project-circle {
  background-color: #18181b;
  color: #ffffff;
}
