/* ============================================
   ALMA CHEMIST — Rainforest Alchemy
   Premium Botanical Website Styles
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Roca Two';
  src: url('../font/Roca Two Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Roca Two';
  src: url('../font/Roca Two Light Italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Roca Two';
  src: url('../font/Roca Two Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* --- Custom Properties --- */
:root {
  --deep-green: #1B3328;
  --forest: #2A4A3A;
  --muted-green: #3D5E4C;
  --sage: #8B9E8F;
  --light-sage: #B5C4B1;
  --warm-beige: #F4EDE4;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --gold: #C4A265;
  --gold-hover: #D4B87A;
  --gold-subtle: rgba(196, 162, 101, 0.15);
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-light: #7a7a7a;
  --text-on-dark: #E8E0D4;

  --font-serif: 'Roca Two', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --nav-height: 72px;
  --container-max: 1280px;
  --container-narrow: 900px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.1);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: var(--deep-green);
  overscroll-behavior: none;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--deep-green);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  overscroll-behavior: none;
}

::selection {
  background-color: var(--gold-subtle);
  color: var(--deep-green);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label-light {
  color: var(--gold);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

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

.section-intro {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.gold-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-header .gold-line {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  color: var(--deep-green);
  border: 1px solid var(--deep-green);
  background: transparent;
}

.btn-outline:hover {
  background: var(--deep-green);
  color: var(--white);
}

.btn-gold {
  color: var(--white);
  border: 1px solid var(--gold);
  background: transparent;
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-solid {
  color: var(--white);
  background: var(--deep-green);
  border: 1px solid var(--deep-green);
}

.btn-solid:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.text-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
  display: inline-block;
  margin-top: 1.5rem;
}

.text-link:hover {
  color: var(--gold-hover);
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
  background: rgba(27, 51, 40, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 100%;
  margin: 0;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--white);
  transition: opacity var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-icon-btn {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.nav-icon-btn svg {
  width: 24px;
  height: 24px;
}

.nav-icon-btn:hover {
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1010;
}

.menu-bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active .menu-bar:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--deep-green);
  z-index: 1005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link:hover {
  color: var(--gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--deep-green);
  transform: translateZ(0);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 51, 40, 0.25) 0%,
    rgba(27, 51, 40, 0.45) 50%,
    rgba(27, 51, 40, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.5rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
}

.hero-heading-line2 {
  margin-bottom: 3rem;
  margin-top: 0;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.hero-cta {
  margin-top: 0.5rem;
}

.hero-categories {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
  min-width: 140px;
}

.category-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(196, 162, 101, 0.5);
  transform: translateY(-4px);
}

.category-icon {
  font-size: 2rem;
}

.category-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: 8rem 0;
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.philosophy-image:hover img {
  transform: scale(1.03);
}

.philosophy-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 8rem 0;
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

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

.product-card-link {
  display: block;
}

.product-image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0.5rem 0;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.products-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ============================================
   SIGNATURE PRODUCT
   ============================================ */
.signature {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.signature-image-bg {
  position: absolute;
  inset: 0;
}

.signature-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 51, 40, 0.92) 0%,
    rgba(27, 51, 40, 0.85) 50%,
    rgba(27, 51, 40, 0.6) 100%
  );
}

.signature-grid {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.signature-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-on-dark);
  margin-bottom: 2.5rem;
}

.ingredient-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ingredient {
  padding: 1rem 0;
  border-top: 1px solid rgba(196, 162, 101, 0.2);
}

.ingredient-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.ingredient-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--sage);
  line-height: 1.5;
}

/* ============================================
   RITUAL / SCIENCE
   ============================================ */
.ritual {
  padding: 8rem 0;
  background: var(--white);
}

/* ============================================
   CORE PRINCIPLES
   ============================================ */
.principles {
  padding: 6rem 0;
  background: var(--cream);
}

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

.principle-card {
  text-align: center;
  padding: 2rem;
}

.principle-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.principle-icon svg {
  width: 80px;
  height: 80px;
}

.principle-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.principle-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.ritual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ritual-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

.ritual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(196, 162, 101, 0.2);
  border-bottom: 1px solid rgba(196, 162, 101, 0.2);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--deep-green);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.4;
}

.ritual-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.ritual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ritual-image:hover img {
  transform: scale(1.03);
}

/* ============================================
   JOURNAL
   ============================================ */
.journal {
  padding: 8rem 0;
  background: var(--warm-beige);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.journal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

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

.journal-card-link {
  display: block;
}

.journal-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.journal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.journal-card:hover .journal-image-wrap img {
  transform: scale(1.05);
}

.journal-info {
  padding: 1.5rem;
}

.journal-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.journal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0.6rem 0;
  line-height: 1.35;
}

.journal-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  position: relative;
  padding: 8rem 0;
  background: var(--deep-green);
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../picture/home/lab2.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 51, 40, 0.85);
  z-index: 2;
}

.newsletter-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-logo {
  width: 360px;
  opacity: 0.9;
}

.newsletter-logo img {
  width: 100%;
  height: auto;
}

.newsletter-content {
  text-align: center;
}

.newsletter .section-label {
  color: var(--gold);
}

.newsletter .section-heading {
  color: var(--white) !important;
}

.newsletter-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  width: 100%;
}

.form-group-name {
  margin-bottom: 0.75rem;
}

.form-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: all var(--transition);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  flex-shrink: 0;
}

.newsletter-form .btn-solid:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.footer {
  padding: 5rem 0 4rem;
  background: var(--cream);
  border-top: 1px solid rgba(27, 51, 40, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-logo-img {
  width: 180px;
  height: auto;
  opacity: 0.8;
  flex-shrink: 0;
}

.footer-brand-text {
  flex: 1;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--deep-green);
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--text-light);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.social-link:hover {
  color: var(--deep-green);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--deep-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 51, 40, 0.08);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--deep-green);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

.reveal-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-image {
    aspect-ratio: 16 / 9;
    max-height: 400px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signature {
    padding: 6rem 0;
  }

  .signature-overlay {
    background: rgba(27, 51, 40, 0.88);
  }

  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ritual-image {
    order: -1;
    aspect-ratio: 16 / 9;
    max-height: 400px;
  }

  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-card:last-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 1280px) {
  :root {
    --nav-height: 72px;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .nav-logo {
    gap: 0.5rem;
  }

  .logo-image {
    height: 36px;
  }

  .logo-text {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle,
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-logo {
    text-align: left;
    justify-content: flex-start;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .philosophy,
  .products,
  .ritual,
  .journal,
  .newsletter {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .philosophy-grid {
    gap: 2.5rem;
  }

  .philosophy-image {
    aspect-ratio: 4 / 3;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .signature {
    padding: 5rem 0;
  }

  .ingredient-callouts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ritual-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .ritual-image {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .journal-card:last-child {
    display: block;
  }

  .form-group {
    flex-direction: column;
  }

  .newsletter-form .btn-solid {
    width: 100%;
    text-align: center;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .newsletter-logo {
    margin: 0 auto;
    width: min(180px, 60vw);
  }

  @media (min-width: 769px) and (max-width: 1280px) {
    .newsletter-logo {
      width: min(240px, 70vw);
    }
  }

  /* iPhone SE specific scaling - reduce everything by 20% */
  @media (max-width: 375px) {
    html {
      font-size: 12.8px; /* 16px * 0.8 = 12.8px */
    }

    .hero-heading {
      font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .logo-image {
      height: 29px; /* 36px * 0.8 */
    }

    .logo-text {
      font-size: 0.56rem; /* 0.7rem * 0.8 */
    }

    .container {
      padding: 0 1rem;
    }

    .section-heading {
      font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .newsletter-logo {
      width: min(144px, 60vw); /* 180px * 0.8 */
    }

    .footer-logo-img {
      width: 64px; /* 80px * 0.8 */
    }
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .site-footer,
  .footer {
    padding: 2.5rem 0 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .footer-logo-img {
    width: 60px;
  }

  .footer-logo {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .footer-tagline {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .footer-heading {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.12em;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links a {
    display: block;
    font-size: 0.8rem;
  }

  .footer-socials {
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

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

  .footer-legal {
    justify-content: center;
  }
}

/* ============================================
   TABLET
   ============================================ */
@media (max-width: 1024px) and (min-width: 1281px) {
  .philosophy-grid,
  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .philosophy-content,
  .ritual-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .philosophy-image,
  .ritual-image {
    margin: 0 auto;
  }

  .section-heading,
  .section-intro,
  .section-label {
    text-align: center;
  }

  .gold-line {
    margin: 1.5rem auto;
  }
  .site-footer,
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 0.7fr 0.7fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .footer-logo-img {
    width: 100px;
  }

  .footer-logo {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .footer-heading {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .newsletter-inner {
    max-width: 700px;
  }

  .ingredients-container {
    gap: 3rem;
  }
}

/* ============================================
   SMALL MOBILE
   ============================================ */
@media (max-width: 380px) {
  .hero-heading {
    font-size: 1.8rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.75rem;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-slide-right,
  .reveal-slide-left {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    transform: scale(1);
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-green);
}
