:root {
  --bg: #0d0d0b;
  --bg-alt: #111110;
  --bg-surface: #181816;
  --bg-elevated: #1f1f1c;
  --text: #f0ead8;
  --text-muted: #8c857a;
  --text-dim: #4a4742;
  --gold: #c8922a;
  --gold-light: #dfb05a;
  --gold-pale: rgba(200, 146, 42, 0.12);
  --gold-border: rgba(200, 146, 42, 0.35);
  --border: rgba(240, 234, 216, 0.07);
  --border-mid: rgba(240, 234, 216, 0.12);
  --serif: "DM Serif Display", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

::selection {
  background: var(--gold);
  color: #0d0d0b;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 18px rgba(200, 146, 42, 0.5);
  transform-origin: left center;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 68px;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 11, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease;
}

.site-nav.is-scrolled {
  background: rgba(13, 13, 11, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.15s forwards;
}

.nav-logo-accent {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.nav-links li:nth-child(1) a { animation-delay: 0.22s; }
.nav-links li:nth-child(2) a { animation-delay: 0.3s; }
.nav-links li:nth-child(3) a { animation-delay: 0.38s; }
.nav-links li:nth-child(4) a { animation-delay: 0.46s; }
.nav-links li:nth-child(5) a { animation-delay: 0.54s; }
.nav-links li:nth-child(6) a { animation-delay: 0.62s; }
.nav-links li:nth-child(7) a { animation-delay: 0.7s; }
.nav-links li:nth-child(8) a { animation-delay: 0.78s; }

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  color: var(--gold) !important;
  font-family: var(--mono) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0d0b !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

.section-inner {
  padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 7vw, 7rem);
}

.section-head {
  margin-bottom: 4rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  max-width: 560px;
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

.divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.btn-primary,
.btn-secondary,
.form-submit-btn {
  min-height: 44px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #0d0d0b;
  border: none;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 146, 42, 0.25);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg,
.btn-primary:focus-visible svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 400;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--text);
  background: rgba(240, 234, 216, 0.04);
  border-color: var(--gold-border);
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-mid);
  background: var(--bg-surface);
  color: var(--text);
  border-radius: 2px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 234, 216, 0.42);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-border);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(200, 146, 42, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #0d0d0b;
  border: none;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit-btn:hover,
.form-submit-btn:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
  padding: 2.5rem clamp(1.5rem, 7vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links.open {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    background: rgba(13, 13, 11, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open li:last-child {
    border-bottom: none;
  }

  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.92rem;
    opacity: 1;
    animation: none;
  }

  .nav-links.open .nav-cta-btn {
    display: flex;
    width: calc(100% - 3rem);
    margin: 1rem 1.5rem 0.25rem;
    padding: 0.85rem 1.2rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-form {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section-head {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }
}
