:root {
  --bg-canvas: #fbf1f0;
  --bg-surface: rgba(255, 248, 246, 0.7);
  --bg-surface-hover: rgba(255, 248, 246, 0.95);
  --text-primary: #1c1917;
  --text-muted: #57534e;
  --accent-primary: #6b2155;
  --accent-secondary: #8c2a6e;
  --border-subtle: rgba(107, 33, 85, 0.15);
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.25);
  --glow-accent: 0 0 24px -4px var(--accent-primary);
  --glass-backdrop: blur(16px) saturate(180%);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.1em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

/* Header & Nav */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease-kinetic);
  padding: 1.5rem 5%;
}

header.solid {
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-family: 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

header:not(.solid) .brand, header:not(.solid) nav ul li a, header:not(.solid) .mobile-menu-btn {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 5%;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay a {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
}

/* Button (Pill) */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), background-color 0.3s;
}

.btn:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  color: #fff;
}

/* Layouts */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.long-copy {
  max-width: 72ch;
  margin: 0 auto;
}

.long-copy p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.long-copy h2, .long-copy h3 {
  margin-top: 3rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  overflow: hidden;
  background-color: #000;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(28,25,23,0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-content p {
  color: #e7e5e4;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero.compact {
  height: 50vh;
}

/* Background Gradients */
.bg-gradient-plum {
  position: relative;
}
.bg-gradient-plum::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(107,33,85,0.08) 0%, rgba(251,241,240,0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 4rem 0;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 2rem;
  position: relative;
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic), background 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  background: var(--bg-surface-hover);
}

.bento-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.bento-card .bento-content {
  position: relative;
  z-index: 2;
  background: rgba(251, 241, 240, 0.9);
  padding: 1.5rem;
  border-left: 4px solid var(--accent-primary);
}

.bento-card.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-card.wide {
    grid-column: span 1;
  }
}

/* Documentary Elements */
.doc-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0;
}

.doc-quote {
  font-size: 1.2rem;
  font-style: italic;
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--accent-primary);
}

.context-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.object-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 4rem 0;
}
@media (max-width: 768px) {
  .object-study {
    grid-template-columns: 1fr;
  }
}

.object-study img {
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  color: var(--text-primary);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(107, 33, 85, 0.2);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: var(--text-primary);
  color: #e7e5e4;
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
footer h4 {
  color: #fff;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
footer p, footer a {
  color: #a8a29e;
  font-size: 0.9rem;
}
footer a:hover {
  color: #fff;
}
.footer-legal {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #78716c;
}
.footer-legal a {
  color: #78716c;
  margin: 0 0.5rem;
}
.footer-legal a:hover {
  color: #fff;
}

/* FAQ Styles */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.faq-question {
  font-family: 'Arial Narrow', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic);
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}
th {
  background: var(--bg-surface);
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  header {
    background: rgba(28,25,23,0.8);
  }
}

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