/* ============================================================
   Qorevia.store — Modern Botanical Luxury
   Pure CSS3 · Mobile-first · No frameworks
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg-sage: #F6F8F2;
  --bg-ivory: #FFFDF8;
  --primary: #5F8D6A;
  --primary-deep: #4A7354;
  --secondary: #B08968;
  --accent: #D4A373;
  --highlight: #8FB996;
  --soft: #EAD7C0;
  --text: #2F3B32;
  --text-muted: #6F7A72;
  --card: #FFFFFF;
  --border: #E7E5DF;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 28px rgba(47, 59, 50, 0.06);
  --shadow-lift: 0 16px 40px rgba(47, 59, 50, 0.1);

  --container: 1120px;
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--highlight) 0%, var(--primary) 55%, var(--primary-deep) 100%);
  box-shadow: 0 6px 20px rgba(95, 141, 106, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(95, 141, 106, 0.4);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.85rem 1.75rem;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(95, 141, 106, 0.05);
}

.btn-soft {
  width: 100%;
  color: var(--primary-deep);
  background: var(--bg-sage);
  border: 1px solid transparent;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}

.btn-soft:hover,
.btn-soft:focus-visible {
  background: linear-gradient(145deg, var(--highlight), var(--primary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(95, 141, 106, 0.25);
}

.btn-ivory {
  color: var(--text);
  background: var(--bg-ivory);
  box-shadow: 0 6px 20px rgba(47, 59, 50, 0.12);
}

.btn-ivory:hover,
.btn-ivory:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(47, 59, 50, 0.16);
}

/* ---------- Text Link ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.4s var(--ease);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 100%;
}

/* ---------- Eyebrow & Section Header ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.eyebrow.light {
  color: var(--soft);
}

.section {
  padding-block: var(--section-y);
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  color: var(--text);
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.05rem;
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding-block: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: none;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
}

/* Mobile burger — CSS-only toggle */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 110;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:checked ~ .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-sage);
  padding: 1.5rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  gap: 1.25rem;
  animation: fadeDown 0.35s var(--ease);
}

@media (min-width: 900px) {
  .nav-burger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: min(92vh, 820px);
  padding: 3rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(143, 185, 150, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(234, 215, 192, 0.45) 0%, transparent 50%),
    linear-gradient(165deg, var(--bg-sage) 0%, #eef2e8 40%, var(--bg-ivory) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite;
}

.shape-1 {
  width: 340px;
  height: 340px;
  top: -80px;
  right: 8%;
  background: radial-gradient(circle, rgba(143, 185, 150, 0.2), transparent 70%);
}

.shape-2 {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.15), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.shape-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(95, 141, 106, 0.1), transparent 70%);
  animation-delay: -10s;
  animation-duration: 26s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 25%;
  border: 1px solid rgba(95, 141, 106, 0.15);
  background: transparent;
  animation-duration: 20s;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(176, 137, 104, 0.25);
}

.deco-circle.c1 {
  width: 48px;
  height: 48px;
  top: 22%;
  right: 18%;
  animation: float 8s ease-in-out infinite;
}

.deco-circle.c2 {
  width: 24px;
  height: 24px;
  bottom: 28%;
  right: 32%;
  border-color: rgba(95, 141, 106, 0.3);
  animation: float 10s ease-in-out infinite reverse;
}

.deco-circle.c3 {
  width: 16px;
  height: 16px;
  top: 55%;
  left: 12%;
  background: rgba(143, 185, 150, 0.25);
  border: none;
  animation: float 7s ease-in-out infinite;
}

.leaf {
  position: absolute;
  color: var(--primary);
  opacity: 0.35;
  animation: float 9s ease-in-out infinite;
}

.leaf-a {
  width: 64px;
  top: 18%;
  left: 6%;
  transform: rotate(-25deg);
}

.leaf-b {
  width: 44px;
  bottom: 22%;
  left: 18%;
  opacity: 0.25;
  animation-delay: -3s;
  transform: rotate(15deg);
}

.leaf-c {
  width: 52px;
  top: 28%;
  right: 6%;
  opacity: 0.3;
  animation-delay: -5s;
  transform: rotate(40deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  max-width: 36rem;
  animation: fadeUp 1s var(--ease) both;
  padding-bottom: 2rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 1.15rem;
  max-width: 22ch;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1.1s 0.15s var(--ease) both;
}

.hero-plane {
  width: min(100%, 420px);
  aspect-ratio: 5 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(143, 185, 150, 0.2) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.4), transparent);
  border-radius: 50% 50% 48% 52% / 42% 42% 58% 58%;
}

.botanical-svg {
  width: 85%;
  height: auto;
  animation: float 12s ease-in-out infinite;
}

.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}

.hero-curve svg {
  width: 100%;
  height: 60px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 2rem 0 6rem;
  }

  .hero-content {
    margin-left: max(1.25rem, calc((100% - var(--container)) / 2));
    margin-right: 0;
    width: auto;
    max-width: 34rem;
    padding-bottom: 0;
  }

  .hero-visual {
    display: flex;
    padding-right: max(1.25rem, calc((100% - var(--container)) / 2));
  }

  .hero-curve svg {
    height: 80px;
  }
}

/* ============================================================
   Collections
   ============================================================ */
.collections {
  background: var(--bg-ivory);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.collection-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.collection-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.collection-card:hover .collection-media {
  transform: scale(1.04);
}

.collection-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.collection-body h3 {
  color: var(--text);
}

/* Soft botanical placeholder gradients */
.media-home {
  background: linear-gradient(145deg, #d5e0d4 0%, #b8c9b4 40%, #8fa889 100%);
}
.media-wellness {
  background: linear-gradient(160deg, #e8ddd0 0%, #d4c4b0 45%, #b89a7a 100%);
}
.media-beauty {
  background: linear-gradient(135deg, #f0e6da 0%, #e0cfc0 50%, #c9a88a 100%);
}
.media-living {
  background: linear-gradient(150deg, #dce8dc 0%, #a8c4a8 50%, #6e9a78 100%);
}
.media-fashion {
  background: linear-gradient(140deg, #ebe4d8 0%, #cbb8a0 50%, #9a8068 100%);
}
.media-accessories {
  background: linear-gradient(155deg, #e4ebe2 0%, #c5d4c0 45%, #8fb996 100%);
}

@media (min-width: 600px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-sage) 0%, #eef3ea 100%);
  overflow: hidden;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.philosophy-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.35;
  max-width: 18ch;
}

.philosophy-story h2 {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.philosophy-story p {
  margin-bottom: 1rem;
  max-width: 38ch;
}

.philosophy-deco {
  position: absolute;
  right: 2%;
  top: 10%;
  opacity: 0.5;
  pointer-events: none;
  display: none;
}

.philosophy-deco .vine {
  width: 80px;
  height: auto;
}

@media (min-width: 800px) {
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .philosophy-deco {
    display: block;
  }
}

/* ============================================================
   Best Sellers
   ============================================================ */
.bestsellers {
  background: var(--bg-ivory);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.product-media {
  aspect-ratio: 1;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-media {
  transform: scale(1.06);
}

.product-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.product-body h3 {
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.media-p1 { background: linear-gradient(160deg, #e8efe6, #a8bda8); }
.media-p2 { background: linear-gradient(145deg, #f2ebe2, #c9b09a); }
.media-p3 { background: linear-gradient(135deg, #efe6d8, #d4a373); }
.media-p4 { background: linear-gradient(150deg, #e5ddd0, #a89070); }
.media-p5 { background: linear-gradient(140deg, #eaf0e8, #8fb996); }
.media-p6 { background: linear-gradient(155deg, #ebe4d6, #b08968); }

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   Why Choose
   ============================================================ */
.why {
  background: var(--bg-sage);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.95rem;
  max-width: 28ch;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* ============================================================
   Seasonal Banner
   ============================================================ */
.seasonal {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(212, 163, 115, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 40%, rgba(95, 141, 106, 0.25) 0%, transparent 50%),
    linear-gradient(120deg, #5a7a5e 0%, #6b8f6e 35%, #8a7358 70%, #a07d58 100%);
  overflow: hidden;
  text-align: center;
  color: var(--bg-ivory);
}

.seasonal-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.s-shape {
  position: absolute;
  border-radius: 50%;
  animation: drift 20s ease-in-out infinite;
}

.s-shape.s1 {
  width: 400px;
  height: 280px;
  top: -80px;
  left: -60px;
  background: rgba(234, 215, 192, 0.12);
  border-radius: 60% 40% 50% 50%;
}

.s-shape.s2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -40px;
  background: rgba(143, 185, 150, 0.15);
  animation-delay: -8s;
}

.s-shape.s3 {
  width: 160px;
  height: 160px;
  top: 30%;
  right: 20%;
  border: 1px solid rgba(255, 253, 248, 0.15);
  background: transparent;
  animation-duration: 24s;
}

.seasonal-leaf {
  position: absolute;
  width: 70px;
  bottom: 15%;
  left: 12%;
  opacity: 0.4;
  animation: float 10s ease-in-out infinite;
}

.seasonal-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-inline: auto;
  animation: fadeUp 0.9s var(--ease) both;
}

.seasonal-content h2 {
  color: var(--bg-ivory);
  margin-bottom: 1rem;
}

.seasonal-content p {
  color: rgba(255, 253, 248, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background: var(--bg-ivory);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.15rem;
  border: 2px solid var(--soft);
}

.av-1 { background: linear-gradient(145deg, #d4c4b0, #8fb996); }
.av-2 { background: linear-gradient(145deg, #b08968, #5f8d6a); }
.av-3 { background: linear-gradient(145deg, #ead7c0, #d4a373); }

.testimonial-card .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0.85rem 0 1.25rem;
}

.testimonial-card .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   Journal
   ============================================================ */
.journal {
  background: var(--bg-sage);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.journal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.journal-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  transition: transform 0.6s var(--ease);
}

.journal-card:hover .journal-media {
  transform: scale(1.04);
}

.journal-body {
  padding: 1.5rem;
}

.journal-body h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.media-j1 { background: linear-gradient(150deg, #e8efe4, #9ab89a); }
.media-j2 { background: linear-gradient(140deg, #ebe4d6, #a89070); }
.media-j3 { background: linear-gradient(135deg, #f0e8dc, #c4a882); }

@media (min-width: 768px) {
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(143, 185, 150, 0.18) 0%, transparent 60%),
    var(--bg-ivory);
}

.newsletter-inner {
  text-align: center;
  max-width: 34rem;
}

.newsletter-inner h2 {
  margin-bottom: 0.85rem;
  color: var(--text);
}

.newsletter-inner .section-lead {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(95, 141, 106, 0.15);
}

.newsletter-form .btn {
  width: 100%;
}

@media (min-width: 560px) {
  .newsletter-form {
    flex-direction: row;
    max-width: 32rem;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }

  .newsletter-form .btn {
    width: auto;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #2a332c;
  color: rgba(255, 253, 248, 0.75);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
  padding-bottom: 3.5rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-ivory);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: rgba(255, 253, 248, 0.6);
  transition: color 0.3s;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--highlight);
}

.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, 0.25);
  color: rgba(255, 253, 248, 0.7);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--highlight);
  color: var(--highlight);
  background: rgba(143, 185, 150, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.08);
  padding-block: 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 253, 248, 0.45);
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pay-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 6px;
  color: rgba(255, 253, 248, 0.5);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -12px) scale(1.04); }
  66% { transform: translate(-12px, 10px) scale(0.97); }
}

.leaf-a { --r: -25deg; }
.leaf-b { --r: 15deg; }
.leaf-c { --r: 40deg; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}
