/* ==========================================
   3C Squared — Brand Website Stylesheet
   Brand: Forest Green / Sage / Gold / Cream
   ========================================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* === BRAND TOKENS === */
:root {
  /* Brand Colors */
  --forest: #2E5A3C;
  --forest-dark: #1E3D28;
  --sage: #7A9E7E;
  --sage-light: #EAF2EB;
  --gold: #B48C50;
  --gold-light: #FBF5EA;
  --cream: #F5F0E6;
  --body-text: #2D2D2D;
  --text-muted: #6B6B6B;
  --border: #C8C0B0;
  --cover-contact: #C8DFC9;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  /* Misc */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(30, 61, 40, 0.08);
  --shadow-md: 0 6px 24px rgba(30, 61, 40, 0.12);
  --shadow-lg: 0 16px 48px rgba(30, 61, 40, 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--body-text);
  background-color: var(--cream);
  line-height: 1.6;
  min-height: 100dvh;
}

img { display: block; max-width: 100%; height: auto; }
p, li { max-width: 72ch; text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
ul[role="list"] { list-style: none; }
a { text-decoration: none; color: inherit; }

::selection { background: rgba(46, 90, 60, 0.15); color: var(--body-text); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
}

/* === TYPOGRAPHY UTILITIES === */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}
.section-title.light { color: #fff; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--forest-dark); border-color: var(--forest-dark); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #9A7640; border-color: #9A7640; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* === HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-dark);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--body-text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--forest); }
.nav-links .nav-cta {
  background: var(--forest);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background var(--transition);
}
.nav-links .nav-cta:hover { background: var(--forest-dark); color: #fff; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) clamp(var(--space-4), 5vw, var(--space-16)) var(--space-6);
  gap: var(--space-4);
  border-top: 1px solid var(--border);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--body-text);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: var(--radius-md);
  text-align: center;
  border-bottom: none !important;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 61, 40, 0.82) 0%,
    rgba(46, 90, 60, 0.65) 50%,
    rgba(30, 61, 40, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  padding: var(--space-16) clamp(var(--space-6), 6vw, var(--space-20));
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 5vw, 6.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.55);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === BADGES BAR === */
.badges-bar {
  background: var(--forest-dark);
  padding: var(--space-5) 0;
}
.badges-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--cover-contact);
  font-size: var(--text-sm);
  font-weight: 500;
}
.badge-item svg { color: var(--gold); flex-shrink: 0; }
.badge-divider {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .badge-divider { display: none; }
  .badges-inner { gap: var(--space-5); }
}

/* === ABOUT === */
.about {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  line-height: 1.75;
}
.about-founder {
  font-style: italic;
  color: var(--forest) !important;
  font-weight: 500;
}
.about-founder span {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--text-muted) !important;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap img { height: 320px; }
}

/* === FRAMEWORK === */
.framework {
  position: relative;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
}
.framework-bg-photo {
  position: absolute;
  inset: 0;
}
.framework-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.framework-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,61,40,0.93) 0%, rgba(46,90,60,0.88) 100%);
}
.framework-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.framework-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  margin-bottom: var(--space-12);
  text-align: left;
}
.pillar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(4px);
}
.pillar-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.pillar h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.03em;
}
.pillar p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-sm);
  line-height: 1.75;
}
.framework-tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .framework-pillars { grid-template-columns: 1fr; }
}

/* === TRAINING / PRODUCTS === */
.training {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--cream);
}
.section-lead {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: var(--space-12);
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.product-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--forest);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full, 9999px);
}

.product-card-body {
  padding: var(--space-6) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.product-card-body > p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.product-features {
  list-style: none;
  margin: 0 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.product-features li {
  font-size: var(--text-sm);
  color: var(--body-text);
  padding-left: var(--space-5);
  position: relative;
}
.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  gap: var(--space-4);
}
.product-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--forest);
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* Featured product card */
.products-featured {
  margin-bottom: var(--space-12);
}
.product-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
}
.product-card--featured .product-card-img {
  height: 100%;
  min-height: 340px;
}
.product-card--featured .product-card-body {
  padding: var(--space-10);
}
.product-card-badge--gold {
  background: var(--gold) !important;
  color: #fff !important;
}
.product-series {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

/* Series section labels */
.products-series-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest-green);
  border-bottom: 2px solid var(--sage);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-8);
}

/* Store CTA */
.store-cta {
  text-align: center;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .product-card--featured {
    grid-template-columns: 1fr;
  }
  .product-card--featured .product-card-img {
    min-height: 220px;
  }
}

/* === QUOTE SECTION === */
.quote-section {
  background: var(--forest-dark);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.featured-quote {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.featured-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  margin-bottom: var(--space-5);
  max-width: none;
}
.featured-quote footer {
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* === WHY SECTION === */
.why-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.why-point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest);
}
.why-point strong {
  display: block;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}
.why-point p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-image img { height: 280px; }
}

/* === CONTACT === */
.contact {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--cream);
}
.contact-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.contact-lead {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: none;
}
.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--forest);
  font-weight: 500;
  font-size: var(--text-base);
  transition: color var(--transition);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}
.contact-link:hover { color: var(--forest-dark); border-color: var(--forest-dark); }

/* === FOOTER === */
.site-footer {
  background: var(--forest-dark);
  padding-block: var(--space-10);
}
.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  max-width: none;
}
.footer-tagline {
  font-size: var(--text-xs);
  color: var(--cover-contact);
  letter-spacing: 0.08em;
  max-width: none;
}
.footer-nav {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-align: center;
  max-width: none;
}
