/* =================================================================
   Jason Dove Mark - Compiled CSS v2
   ELEVATED DESIGN — Roberto's refinements applied
   ================================================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700&family=Karla:wght@400;500;600&family=Caveat:wght@400;500&display=swap');

:root {
  /* Font Families */
  --font-primary: 'Oswald', system-ui, sans-serif;
  --font-secondary: 'Karla', system-ui, sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Colors - Jason Dove Mark Palette */
  --color-primary: #B86B4D;
  --color-primary-dark: #9A5840;
  --color-primary-light: #D4927A;
  
  --color-secondary: #8B6F4E;
  --color-accent: #C49B5A;
  --color-accent-green: #6B8E6B;
  --color-accent-blue: #226dbe;
  
  --color-bg: #F7F4EF;
  --color-bg-dark: #EDE8E0;
  --color-bg-light: #FDFCFA;
  
  --color-contrast-higher: #3D3028;
  --color-contrast-high: #5A4A40;
  --color-contrast-medium: #6B5E52;
  --color-contrast-low: #9A8E82;
  --color-contrast-lower: #C4B9AD;

  /* Typography Scale - Base: 18px, Ratio: 1.333 */
  --text-base-size: 1.125em;
  --text-scale-ratio: 1.333;
  
  --text-xs: 0.563em;
  --text-sm: 0.75em;
  --text-md: 1.333em;
  --text-lg: 1.777em;
  --text-xl: 2.369em;
  --text-xxl: 3.157em;
  --text-xxxl: 4.209em;

  /* Spacing */
  --space-unit: 1rem;
  --space-4xs: 0.125rem;
  --space-3xs: 0.25rem;
  --space-2xs: 0.375rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
  --space-2xl: 5.25rem;
  --space-3xl: 8.5rem;

  /* Shadows - Enhanced */
  --shadow-sm: 0 2px 8px rgba(61, 48, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(61, 48, 40, 0.12);
  --shadow-lg: 0 8px 32px rgba(61, 48, 40, 0.16);
  --shadow-book: 0 25px 50px -12px rgba(61, 48, 40, 0.35), 0 12px 24px -8px rgba(61, 48, 40, 0.2);
  --shadow-lift: 0 10px 40px rgba(61, 48, 40, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base-size);
  color: var(--color-contrast-higher);
  background-color: var(--color-bg);
  line-height: 1.6;
  /* Paper texture effect */
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-blend-mode: overlay;
  background-size: 200px 200px;
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-contrast-higher);
}

h1, .text-xxl { font-size: var(--text-xxl); font-weight: 700; }
h2, .text-xl { font-size: var(--text-xl); }
h3, .text-lg { font-size: var(--text-lg); }
h4, .text-md { font-size: var(--text-md); font-weight: 500; }

/* Links - Enhanced with transitions */
a {
  color: var(--color-accent-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

/* Buttons - Enhanced with micro-interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875em 1.75em;
  font-family: var(--font-secondary);
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(184, 107, 77, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 107, 77, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(184, 107, 77, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 800px;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.margin-top-sm { margin-top: var(--space-sm); }
.margin-top-md { margin-top: var(--space-md); }
.margin-top-lg { margin-top: var(--space-lg); }
.margin-top-xl { margin-top: var(--space-xl); }

.margin-bottom-sm { margin-bottom: var(--space-sm); }
.margin-bottom-md { margin-bottom: var(--space-md); }
.margin-bottom-lg { margin-bottom: var(--space-lg); }
.margin-bottom-xl { margin-bottom: var(--space-xl); }

.color-primary { color: var(--color-primary); }
.color-accent { color: var(--color-accent); }
.color-muted { color: var(--color-contrast-medium); }




/* text-component */
.text-component {
  --heading-line-height: 1.2;
  --body-line-height: 1.4;
  --spacing: 2rem;
  line-height: var(--body-line-height);
}
.text-component > * {
  margin-bottom: var(--spacing);
}
.text-component :where(h1, h2, h3, h4) {
  margin-top: calc(var(--spacing) * 1.6666666667);
  line-height: var(--heading-line-height);
}
.text-component :where(ul, ol) {
  padding-left: 1.25em;
}
.text-component ul :where(ul, ol),
.text-component ol :where(ul, ol) {
  padding-left: 1em;
}
.text-component :where(ul) {
  list-style-type: disc;
}
.text-component :where(ol) {
  list-style-type: decimal;
}
.text-component ul li::marker,
.text-component ol li::marker {
  color: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.25);
}
.text-component :where(img) {
  margin: 0 auto;
  border-radius: var(--radius-md);
}
.text-component :where(figcaption) {
  margin-top: calc(var(--spacing) / 2);
  font-size: var(--text-sm);
  color: var(--color-contrast-low);
  text-align: center;
}
.text-component em {
  font-style: italic;
}
.text-component strong {
  font-weight: bold;
}
.text-component s {
  text-decoration: line-through;
}
.text-component u {
  text-decoration: underline;
}
.text-component :where(mark) {
  background-color: hsla(var(--color-accent-h), var(--color-accent-s), var(--color-accent-l), 0.2);
  color: inherit;
  border-radius: var(--radius-md);
  padding: 0 0.25em;
}
.text-component :where(blockquote) {
  padding-left: 1em;
  border-left: 3px solid hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.25);
  font-style: italic;
}
.text-component :where(hr) {
  margin: calc(var(--spacing) * 1.6666666667) 0;
  background: hsla(var(--color-contrast-higher-h), var(--color-contrast-higher-s), var(--color-contrast-higher-l), 0.1);
  height: 1px;
}
.text-component > *:first-child {
  margin-top: 0;
}
.text-component > *:last-child {
  margin-bottom: 0;
}

/* overflow items */
:where(.text-component__item-full-width, .text-component__item-overflow, .text-component__item-overflow-left, .text-component__item-overflow-right, .text-component__item-left, .text-component__item-right) img {
  width: 100%;
}

.text-component__item-full-width {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (min-width: 48rem) {
  .text-component__item-left,
.text-component__item-right,
.text-component__item-overflow-left,
.text-component__item-overflow-right {
    width: 45%;
  }
  .text-component__item-left,
.text-component__item-overflow-left {
    float: left;
    margin-right: var(--spacing);
  }
  .text-component__item-right,
.text-component__item-overflow-right {
    float: right;
    margin-left: var(--spacing);
  }
}
@media (min-width: 80rem) {
  .text-component__item-overflow,
.text-component__item-overflow-left,
.text-component__item-overflow-right {
    --overflow-size: 8rem;
  }
  .text-component__item-overflow {
    width: calc(100% + var(--overflow-size) * 2);
    margin-left: calc(var(--overflow-size) * -1);
  }
  .text-component__item-overflow-left {
    margin-left: calc(var(--overflow-size) * -1);
  }
  .text-component__item-overflow-right {
    margin-right: calc(var(--overflow-size) * -1);
  }
}
/* spacing variations */
.text-component--tight {
  --heading-line-height: 1.1;
  --body-line-height: 1.2;
  --spacing: 0.625rem;
}

.text-component--relaxed {
  --heading-line-height: 1.25;
  --body-line-height: 1.625;
  --spacing: clamp(1.25rem, calc(0.875rem + 0.78125vw), 1.5rem);
}



/* =================================
   HEADER - Enhanced
   ================================= */

.header {
  background-color: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .header__nav {
    justify-content: space-between;
  }
}

.header__logo {
  font-family: var(--font-primary);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-contrast-higher);
  transition: color var(--transition-fast);
}

.header__logo:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: var(--space-md);
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .header__menu {
    gap: var(--space-lg);
  }
}

.header__menu a {
  color: var(--color-contrast-medium);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.header__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.header__menu a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header__menu a:hover::after {
  width: 100%;
}

/* =================================
   HERO SECTION - Enhanced with Drama
   ================================= */

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Subtle decorative element */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 155, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 36% 1fr;
    gap: var(--space-3xl);
  }
}

.hero__cover {
  max-width: 480px;
  margin: 0 auto;
}

.hero__cover img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-book);
  border-radius: var(--radius-sm);
}

.hero__cover:hover img {
  box-shadow: 0 30px 60px -15px rgba(61, 48, 40, 0.4);
}

@media (min-width: 768px) {
  .hero__cover {
    max-width: 100%;
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 768px) {
  .hero__content {
    text-align: left;
  }
}

.hero__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-xxxl);
  }
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-contrast-medium);
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.hero__tagline {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
  line-height: 1.3;
  position: relative;
  padding: var(--space-md) 0;
}

@media (min-width: 768px) {
  .hero__tagline {
    font-size: var(--text-xxl);
  }
}

/* Hand-drawn underline effect */
.hero__tagline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-accent) 10%, 
    var(--color-accent) 90%, 
    transparent 100%
  );
  opacity: 0.4;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero__tagline::after {
    right: 30%;
  }
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__cta {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

.hero__release-date {
  font-size: var(--text-sm);
  color: var(--color-contrast-medium);
  margin-top: var(--space-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =================================
   PROBLEM STATEMENT - Enhanced
   ================================= */

.problem-statement {
  background-color: var(--color-bg);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
}

/* Botanical divider at top */
.problem-statement::before {
  content: '';
  position: absolute;
  top: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-height: 96px;
  background-image: url('../../img/fern-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 120px;
  height: 96px;
  opacity: 0.6;
}

.problem-statement__text {
  font-family: var(--font-primary);
  font-size: var(--text-md);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .problem-statement__text {
    font-size: var(--text-lg);
  }
}

.problem-statement__text strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Highlighted term */
.problem-statement__highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(196, 155, 90, 0.3) 60%);
  padding: 0 0.1em;
}

.problem-statement__antidote {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  color: var(--color-accent);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .problem-statement__antidote {
    font-size: var(--text-xxl);
  }
}

/* =================================
   AUTHOR SECTION - Enhanced
   ================================= */

.author {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
}

.author__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .author__grid {
    grid-template-columns: 360px 1fr;
    gap: var(--space-2xl);
  }
}

.author__photo {
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}

.author__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-bg-light);
}

.author__photo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--color-primary);
  border-radius: calc(var(--radius-md) + 4px);
  opacity: 0.3;
  pointer-events: none;
}

.author__credit {
  font-size: var(--text-sm);
  color: var(--color-contrast-medium);
  font-style: italic;
  margin-top: var(--space-sm);
  text-align: center;
}

.author__bio {
  text-align: center;
}

@media (min-width: 768px) {
  .author__bio {
    text-align: left;
  }
}

.author__name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-contrast-higher);
}

.author__description {
  color: var(--color-contrast-high);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-size: 1.05em;
}

.author__description em {
  color: var(--color-contrast-higher);
  font-style: italic;
}

/* =================================
   PRAISE SECTION - Enhanced
   ================================= */

.praise {
  background-color: var(--color-bg-light);
  padding: var(--space-2xl) 0;
}

.praise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .praise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Single column centered layout for 3 or fewer quotes */
  .praise__grid--centered {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }
}

.praise__quote {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-contrast-high);
  padding: var(--space-md);
  padding-top: var(--space-xl);
  padding-bottom: calc(var(--space-xl) + 60px);
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (min-width: 768px) {
  .praise__quote {
    font-size: var(--text-md);
    line-height: 1.6;
    padding: var(--space-xl);
    padding-bottom: calc(var(--space-xl) + 40px);
  }
}

/* Landscape silhouette - rolling hills for first quote */
.praise__quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cpath d='M0,80 L0,50 Q50,30 100,45 Q150,60 200,35 Q250,10 300,40 Q350,70 400,30 L400,80 Z' fill='%23C49B5A' fill-opacity='0.4'/%3E%3Cpath d='M0,80 L0,60 Q80,40 160,55 Q240,70 320,45 Q360,35 400,50 L400,80 Z' fill='%238C704F' fill-opacity='1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}
.praise__attribution {
  font-family: var(--font-secondary);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-contrast-medium);
  margin-top: var(--space-md);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
 
/* =================================
   SECTIONS
   ================================= */

.section {
  padding: var(--space-2xl) 0;
}

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


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

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--color-contrast-low);
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-contrast-lower), transparent);
}

/* =================================
   FOOTER - Enhanced
   ================================= */

.footer {
  background-color: var(--color-contrast-higher);
  color: var(--color-bg);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
}

/* Terracotta top accent */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__nav a {
  color: var(--color-bg);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-contrast-low);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(253, 252, 250, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-bg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  transform: translateY(-2px);
}

.footer__social-link[data-platform="twitter"]:hover {
  background: #000000;
  border-color: #000000;
  color: white;
}

.footer__social-link[data-platform="instagram"]:hover {
  background: #E4405F;
  border-color: #E4405F;
  color: white;
}

.footer__social-link[data-platform="facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.footer__social-link[data-platform="linkedin"]:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: white;
}

.footer__social-link[data-platform="youtube"]:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: white;
}

.footer__social-link[data-platform="bluesky"]:hover {
  background: #1185FE;
  border-color: #1185FE;
  color: white;
}

.footer__social-link svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* =================================
   CARDS - Enhanced with hover
   ================================= */

.card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-bg-dark);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
