@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --gold: #ffc107;
  --gold-light: #ffd54f;
  --gold-dark: #ff8f00;
  --void: #0a0a0a;
  --void-paper: #111111;
  --void-subtle: #1a1a1a;
  --white: #ffffff;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --muted-dark: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --content: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: var(--void);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--void-paper);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content);
  height: 80px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--gold);
  color: #000;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
}

.brand-name {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
}

.search-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  font-size: 0;
  transition: color 180ms ease, background 180ms ease;
}

.search-button::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.search-button::after {
  position: absolute;
  width: 8px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translate(9px, 9px) rotate(45deg);
}

.search-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-button {
  display: none;
}

.page-main {
  padding-top: 80px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 85vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-media::after {
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.5), var(--void));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1024px);
  padding: 0 16px;
  text-align: center;
}

.hero-title {
  margin-bottom: 24px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
}

.gold {
  color: var(--gold);
}

.hero-copy {
  max-width: 768px;
  margin: 0 auto 32px;
  color: #d1d5db;
  font-size: 20px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, border 180ms ease, color 180ms ease;
}

.button-primary {
  background: var(--gold);
  color: #000;
}

.button-primary:hover {
  background: var(--white);
}

.button-secondary {
  border-color: var(--border-strong);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.1);
  backdrop-filter: blur(4px);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.ticker-label {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 4px 16px;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(100%);
  }

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

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 32px;
}

.section-subtle {
  background: var(--void-subtle);
}

.section-center {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.section-copy {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.75;
}

.eyebrow {
  color: var(--muted);
  font-size: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.category-card,
.feature-card,
.news-card,
.contact-card,
.form-panel,
.tip-panel {
  border: 1px solid var(--border);
  transition: border 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-card {
  padding: 24px;
  text-align: center;
}

.category-card:hover,
.feature-card:hover,
.news-card:hover,
.contact-card:hover,
.form-panel:hover {
  border-color: rgba(255, 193, 7, 0.5);
}

.category-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  place-items: center;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.category-card h3,
.feature-card h3,
.news-card h3,
.contact-card h2 {
  font-family: "Playfair Display", serif;
}

.category-count {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.news-card {
  overflow: hidden;
}

.news-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 300ms ease, transform 300ms ease;
}

.news-card:hover .news-image img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.news-category {
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-title {
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
  transition: color 180ms ease;
}

.news-card:hover .news-title {
  color: var(--gold);
}

.news-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted-dark);
  font-size: 12px;
}

.read-more {
  margin-top: 8px;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px;
  text-align: center;
}

.feature-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid var(--gold);
  background: rgba(255, 193, 7, 0.1);
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.feature-card:hover .feature-mark {
  background: var(--gold);
  color: #000;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cta-panel {
  border: 1px solid rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.05);
  padding: 64px;
  text-align: center;
}

.cta-panel p {
  max-width: 672px;
  margin: 0 auto 32px;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.7;
}

.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--border);
  background: var(--void-paper);
}

.footer-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding: 64px 32px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  color: #d1d5db;
  font-size: 12px;
  font-weight: 800;
  transition: border 180ms ease, color 180ms ease, background 180ms ease;
}

.social-link:hover {
  border-color: var(--gold);
  background: rgba(255, 193, 7, 0.1);
  color: var(--gold);
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
}

.footer-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-list a {
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-list a:hover {
  color: var(--gold);
}

.newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.input-line {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  outline: 0;
  background: transparent;
  color: var(--white);
  padding: 12px 0;
}

.input-line:focus {
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  color: var(--muted-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.legal-page,
.contact-page {
  max-width: 896px;
  margin: 0 auto;
  padding: 96px 32px 0;
}

.contact-page {
  max-width: var(--content);
}

.page-heading {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.page-heading.center {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-title {
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
}

.page-date,
.page-intro {
  color: var(--muted);
}

.page-intro {
  font-size: 18px;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 32px;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.75;
}

.legal-content h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 26px;
}

.legal-content h3 {
  margin: 24px 0 12px;
  color: var(--gold);
  font-size: 20px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin-left: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.contact-stack {
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 24px;
}

.contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid var(--gold);
  background: rgba(255, 193, 7, 0.1);
  color: var(--gold);
  font-weight: 800;
}

.contact-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-card a,
.contact-card address {
  color: var(--gold);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.form-panel {
  padding: 32px;
}

.form-title {
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  outline: 0;
  background: transparent;
  color: var(--white);
  padding: 14px 0;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
  border: 1px solid var(--border-strong);
  padding: 16px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.tip-panel {
  margin-top: 64px;
  background: var(--void-subtle);
  padding: 32px;
  text-align: center;
}

.tip-panel h2 {
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.tip-panel p {
  max-width: 672px;
  margin: 0 auto 16px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-list {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 16px;
    border-top: 1px solid var(--border);
    background: var(--void-paper);
    padding: 0 16px;
    transition: max-height 180ms ease, padding 180ms ease;
  }

  .nav-toggle:checked ~ nav .nav-list {
    max-height: 320px;
    padding: 24px 16px;
  }

  .nav-link.active::after {
    display: none;
  }

  .search-button {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    cursor: pointer;
  }

  .mobile-menu-button span,
  .mobile-menu-button::before,
  .mobile-menu-button::after {
    display: block;
    width: 24px;
    height: 2px;
    content: "";
    background: #d1d5db;
  }

  .mobile-menu-button {
    gap: 5px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .category-grid,
  .news-grid,
  .feature-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section,
  .legal-page,
  .contact-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cta-panel {
    padding: 48px 24px;
  }

  .footer-shell {
    padding-right: 16px;
    padding-left: 16px;
  }
}
