/* ============================================
   Scuttle & Squeak — Design System
   ============================================ */

/* --- Tokens --- */
:root {
  --olive:  #4C5132;
  --gold:   #D3C98A;
  --blush:  #FBCEC7;
  --sage:   #BED0C0;
  --shell:  #F2F4EE;

  --olive-dark: #3a3d25;
  --olive-light: #7d865a;
  --text:   #3a3a32;
  --text-muted: #6e6e60;
  --text-placeholder: #9C9B99;

  --font-header: 'Unkempt', cursive;
  --font-body:   'DM Sans', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--shell);
}

a { color: var(--olive); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  color: var(--olive-dark);
}

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

/* --- Buttons --- */
.ss-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.ss-btn:hover { text-decoration: none; }

.ss-btn-primary {
  background: var(--olive);
  color: var(--shell);
  border-color: var(--olive);
}
.ss-btn-primary:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: var(--shell);
}

.ss-btn-outline {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.ss-btn-outline:hover {
  background: var(--olive);
  color: var(--shell);
}

.ss-btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

/* --- Nav --- */
.ss-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  max-width: 1440px;
  margin: 0 auto;
}

.ss-nav-brand {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--olive-dark);
}
.ss-nav-brand:hover { text-decoration: none; color: var(--olive-dark); }

.ss-nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.ss-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.ss-nav-links a:hover { color: var(--olive); text-decoration: none; }

/* --- Burger --- */
.ss-nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.ss-nav-burger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--olive-dark);
  transition: all 0.3s ease;
}
.ss-nav-burger span:nth-child(1) { top: 0; }
.ss-nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.ss-nav-burger span:nth-child(3) { bottom: 0; }

.ss-nav-burger.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.ss-nav-burger.is-active span:nth-child(2) { opacity: 0; }
.ss-nav-burger.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Section helpers --- */
.ss-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-lg) 3rem;
}

.ss-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ss-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--olive);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ss-section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.ss-section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* --- Hero --- */
.ss-hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 3rem;
  max-width: 1440px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 206, 199, 0.3) 0%, transparent 60%),
    var(--shell);
}

.ss-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ss-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  background: var(--sage);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--olive);
  width: fit-content;
}

.ss-hero-title {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.ss-hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ss-hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ss-hero-image {
  width: 520px;
  height: 480px;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
}

/* --- Cards grid --- */
.ss-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ss-creature-card {
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
}

.ss-creature-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ss-creature-card-body {
  padding: 1.25rem;
}

.ss-creature-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.ss-creature-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ss-card-body--olive {
  background: linear-gradient(160deg, rgba(76, 81, 50, 0.12) 0%, rgba(211, 201, 138, 0.15) 100%);
}
.ss-card-body--blush {
  background: linear-gradient(160deg, rgba(251, 206, 199, 0.35) 0%, rgba(242, 244, 238, 0.5) 100%);
}
.ss-card-body--sage {
  background: linear-gradient(160deg, rgba(190, 208, 192, 0.35) 0%, rgba(242, 244, 238, 0.5) 100%);
}

/* --- Values section --- */
.ss-values {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(211, 201, 138, 0.3) 0%, transparent 70%),
    var(--shell);
  padding: 5rem 3rem;
}

.ss-values-inner {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.ss-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ss-value-card {
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.ss-value-card--olive {
  background: linear-gradient(160deg, rgba(76, 81, 50, 0.12) 0%, rgba(211, 201, 138, 0.15) 100%), #FFFFFF;
}
.ss-value-card--blush {
  background: linear-gradient(160deg, rgba(251, 206, 199, 0.35) 0%, rgba(242, 244, 238, 0.5) 100%), #FFFFFF;
}
.ss-value-card--sage {
  background: linear-gradient(160deg, rgba(190, 208, 192, 0.35) 0%, rgba(242, 244, 238, 0.5) 100%), #FFFFFF;
}

.ss-value-card h3 {
  font-size: 1.35rem;
}

.ss-value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ss-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-icon-circle--gold  { background: rgba(211, 201, 138, 0.25); }
.ss-icon-circle--blush { background: rgba(251, 206, 199, 0.25); }
.ss-icon-circle--sage  { background: rgba(190, 208, 192, 0.38); }

.ss-icon-circle i {
  font-size: 1.25rem;
  color: var(--olive);
}

/* --- Audience section --- */
.ss-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ss-audience-card {
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ss-audience-card i {
  font-size: 1.5rem;
  color: var(--olive);
}

.ss-audience-card h3 {
  font-size: 1.25rem;
}

.ss-audience-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA band --- */
.ss-cta {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(211, 201, 138, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, var(--shell) 0%, white 100%);
}

.ss-cta h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-xs);
}

.ss-cta p {
  max-width: 520px;
  margin: 0 auto var(--space-md);
  color: var(--text-muted);
}

.ss-cta-form {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
}

.ss-cta-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--sage);
  border-radius: 100px;
  background: white;
  outline: none;
  width: 280px;
  transition: border-color 0.2s ease;
}
.ss-cta-input:focus {
  border-color: var(--olive);
}

/* --- Footer --- */
.ss-footer {
  text-align: center;
  padding: 3rem var(--space-md);
  background: var(--olive-dark);
  color: rgba(242, 244, 238, 0.7);
}

.ss-footer-brand {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.ss-footer-tagline {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.ss-footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.ss-footer-links a {
  font-size: 0.8rem;
  color: rgba(242, 244, 238, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.ss-footer-links a:hover { color: var(--gold); text-decoration: none; }

.ss-footer-copy {
  font-size: 0.75rem;
  color: rgba(242, 244, 238, 0.35);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ss-hero-text .ss-badge        { animation: fadeInUp 0.6s ease-out both; }
.ss-hero-text .ss-hero-title   { animation: fadeInUp 0.7s ease-out 0.1s both; }
.ss-hero-text .ss-hero-subtitle { animation: fadeInUp 0.7s ease-out 0.2s both; }
.ss-hero-text .ss-hero-ctas    { animation: fadeInUp 0.7s ease-out 0.35s both; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .ss-nav {
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
  }
  .ss-nav-burger { display: block; }
  .ss-nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: var(--space-sm);
  }
  .ss-nav-links.is-open { display: flex; }
  .ss-nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(76, 81, 50, 0.08);
    font-size: 1rem;
  }
  .ss-nav-links .ss-btn {
    margin-top: 0.5rem;
    text-align: center;
  }

  .ss-hero { flex-direction: column; padding: 3rem 1.5rem; gap: 2rem; }
  .ss-hero-image { width: 100%; height: 300px; }
  .ss-values-grid { grid-template-columns: 1fr; }
  .ss-audience-grid { grid-template-columns: 1fr; }
  .ss-section { padding: var(--space-md) 1.5rem; }
}
