:root {
  --midnight-sky: #0D1B2A;
  --starlight-blue: #1B263B;
  --parchment: #F1FAEE;
  --polished-brass: #B8860B;
  --brass-hover: #9A7308;
  --bg-primary: #F1FAEE;
  --bg-secondary: #FEFFFE;
  --bg-card: #FFFFFF;
  --text-primary: #0D1B2A;
  --text-secondary: #1B263B;
  --border-color: #E8DCC6;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-small {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 2rem);
}

h5 {
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
}

h6 {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.heading-gradient {
  background: linear-gradient(135deg, var(--polished-brass), var(--starlight-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paragraph-large {
  font-size: 1.125rem;
  line-height: 1.8;
}

.paragraph-small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-brass {
  color: var(--polished-brass);
}

.text-starlight {
  color: var(--starlight-blue);
}

.bg-midnight {
  background-color: var(--midnight-sky);
}

.bg-starlight {
  background-color: var(--starlight-blue);
}

.bg-parchment {
  background-color: var(--parchment);
}

.bg-white {
  background-color: var(--bg-card);
}

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

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.border-radius {
  border-radius: 8px;
}

.border-radius-large {
  border-radius: 16px;
}

.shadow-light {
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.08);
}

.shadow-medium {
  box-shadow: 0 8px 32px rgba(13, 27, 42, 0.12);
}

.shadow-heavy {
  box-shadow: 0 16px 48px rgba(13, 27, 42, 0.16);
}

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

@media (max-width: 768px) {
  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .auto-container,
  .content-wrapper {
    padding: 0 16px;
  }
  
  .flex-between {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .auto-container,
  .content-wrapper {
    padding: 0 12px;
  }
}