:root {
  --ink: #24100d;
  --accent: #e3ab75;
  --moss: #292505;
  --paper: #f8f1e9;
  --mist: #dbc8b8;
  --line: rgba(227, 171, 117, 0.22);
  --panel: rgba(255, 248, 240, 0.06);
  --panel-strong: rgba(255, 248, 240, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(227, 171, 117, 0.16), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(227, 171, 117, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(41, 37, 5, 0.8), rgba(36, 16, 13, 1));
  color: var(--paper);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
}

.display-font,
h1,
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

.display-font {
  font-weight: 500;
}

.eyebrow {
  font-family: "Playwrite DE Grund", cursive;
  font-optical-sizing: auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(227, 171, 117, 0.08), transparent 22%),
    radial-gradient(circle at 80% 35%, rgba(227, 171, 117, 0.08), transparent 18%);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.card-surface {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 171, 117, 0.45), transparent);
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 9999px;
  color: rgba(248, 241, 233, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(227, 171, 117, 0.3);
  color: var(--paper);
  transform: translateY(-1px);
}

.nav-link.active-link {
  background: var(--accent);
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  appearance: none;
  background: transparent;
  cursor: pointer;
  list-style: none;
}

.nav-trigger::-webkit-details-marker {
  display: none;
}

.nav-trigger::marker {
  content: "";
}

.nav-trigger::after {
  content: "▾";
  font-size: 0.72em;
  margin-left: 0.55rem;
}

.nav-dropdown[open] .nav-trigger::after {
  content: "▴";
}

.dropdown-menu {
  background: rgba(36, 16, 13, 0.96);
  border: 1px solid rgba(227, 171, 117, 0.22);
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
  display: none;
  min-width: 13rem;
  overflow: hidden;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 20;
}

.nav-dropdown[open] .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.dropdown-link {
  color: rgba(248, 241, 233, 0.82);
  display: block;
  padding: 0.9rem 1rem;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: rgba(227, 171, 117, 0.12);
  color: var(--paper);
}

.dropdown-link.active-dropdown-link {
  background: rgba(227, 171, 117, 0.2);
  color: var(--accent);
}

.primary-button,
.secondary-button {
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.primary-button {
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(227, 171, 117, 0.18);
  color: var(--ink);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 22px 38px rgba(227, 171, 117, 0.24);
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid rgba(227, 171, 117, 0.32);
  color: var(--paper);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: rgba(227, 171, 117, 0.12);
  transform: translateY(-2px);
}

.page-hero {
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 12% -10% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(227, 171, 117, 0.32), transparent 68%);
  filter: blur(12px);
  opacity: 0.7;
}

.home-carousel {
  position: relative;
  min-height: clamp(38rem, 78vh, 54rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(227, 171, 117, 0.18);
}

.home-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 11, 10, 0.82), rgba(20, 11, 10, 0.35) 48%, rgba(20, 11, 10, 0.7)),
    linear-gradient(180deg, rgba(20, 11, 10, 0.22), rgba(20, 11, 10, 0.52));
  z-index: 1;
}

.home-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14rem;
  background: linear-gradient(180deg, rgba(36, 16, 13, 0), rgba(36, 16, 13, 0.92));
  z-index: 2;
}

.carousel-stage {
  position: relative;
  min-height: inherit;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 700ms ease,
    transform 6s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-panel {
  position: relative;
  z-index: 3;
}

.carousel-arrow {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(248, 241, 233, 0.08);
  border: 1px solid rgba(248, 241, 233, 0.24);
  border-radius: 9999px;
  color: var(--paper);
  display: inline-flex;
  height: 3.2rem;
  justify-content: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
  width: 3.2rem;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(227, 171, 117, 0.18);
  border-color: rgba(227, 171, 117, 0.4);
  transform: translateY(-2px);
}

.carousel-dots {
  display: inline-flex;
  gap: 0.7rem;
}

.carousel-dot {
  appearance: none;
  background: rgba(248, 241, 233, 0.28);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  height: 0.72rem;
  padding: 0;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    width 180ms ease;
  width: 0.72rem;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  background: rgba(248, 241, 233, 0.52);
  transform: scale(1.08);
}

.carousel-dot.is-active {
  background: var(--accent);
  width: 2.4rem;
}

.carousel-meta-card {
  background: linear-gradient(180deg, rgba(13, 7, 6, 0.72), rgba(13, 7, 6, 0.52));
  border: 1px solid rgba(227, 171, 117, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.metric-card span:first-child,
.info-list dt {
  color: var(--accent);
}

.portrait-frame {
  background: linear-gradient(180deg, rgba(227, 171, 117, 0.12), rgba(41, 37, 5, 0.72));
  border: 1px solid rgba(227, 171, 117, 0.22);
  border-radius: 1.75rem;
  overflow: hidden;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.fade-rise {
  animation: fade-rise 0.8s ease forwards;
  opacity: 0;
  transform: translateY(18px);
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

.delay-4 {
  animation-delay: 0.48s;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-rise {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .carousel-slide {
    transition: none;
    transform: none;
  }

  .nav-link,
  .dropdown-link,
  .primary-button,
  .secondary-button,
  .carousel-arrow,
  .carousel-dot {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1023px) {
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    margin-top: 0.5rem;
    position: static;
    width: 100%;
  }
}
