:root {
  --olive-green: #2F4A2E;
  --warm-gold: #B08D57;
  --cream: #F7F2E8;
  --charcoal: #1F2326;
  --terracotta: #B24A3A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--olive-green);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Navigation */
nav {
  background-color: var(--olive-green);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.1;
  min-width: 0;
  white-space: nowrap;
}

nav .logo img {
  flex-shrink: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--warm-gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(247, 242, 232, 0.7);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--olive-green) 0%, #3a5f38 100%);
  color: var(--cream);
  height: 91vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .container {
  width: 100%;
  min-width: 0;
}

.hero h1 {
  color: var(--cream);
  font-size: 3.5rem;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--warm-gold);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--warm-gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background-color: #c39d67;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(176, 141, 87, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-secondary:hover {
  background-color: var(--cream);
  color: var(--olive-green);
}

/* Sections */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 0;
}

section:nth-child(even) .card {
  background: var(--cream);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: var(--olive-green);
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Values List */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  background: white;
  padding: 1.5rem;
  border-left: 4px solid var(--warm-gold);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.value-item h4 {
  font-family: 'Fraunces', serif;
  color: var(--olive-green);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Brand Identity Section */
.brand-colors {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  justify-content: center;
}

.color-swatch {
  text-align: center;
  min-width: 150px;
}

.color-box {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-swatch h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.color-swatch code {
  font-size: 0.875rem;
  color: #666;
}

/* Typography Demo */
.typography-demo {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.font-sample {
  margin-bottom: 2rem;
}

.font-sample h4 {
  color: var(--warm-gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fraunces-sample {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive-green);
}

.manrope-sample {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  color: var(--charcoal);
}

/* Personality Pills */
.personality-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  justify-content: center;
}

.pill {
  background: var(--olive-green);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
}

/* Contact Section */
.contact-info {
  background: var(--olive-green);
  color: var(--cream);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.contact-info h3 {
  color: var(--warm-gold);
}

.contact-info p {
  font-size: 1.125rem;
}

/* Footer */
footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 3rem 0;
  text-align: center;
}

footer p {
  margin: 0;
}

.footer-contacts {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contacts h3 {
  color: var(--warm-gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-item label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a,
.contact-item p {
  color: var(--warm-gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.contact-item a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 2.1rem;
    overflow-wrap: anywhere;
  }

  nav {
    padding: 0.75rem 0;
  }

  nav .logo {
    font-size: 1rem;
    white-space: normal;
  }

  nav .logo img {
    height: 32px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0 0.25rem;
  }

  .hero {
    height: auto;
    min-height: 91vh;
    padding: 4rem 0;
  }

  .hero .container>div {
    max-width: 100%;
  }

  .hero .container>div:last-child {
    gap: 0.75rem;
  }

  .cards-grid,
  .values-list,
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  nav.menu-open ul {
    display: flex;
  }
}