:root {
  --bg-cream: #faf6ef;
  --accent-terra: #c2562e;
  --accent-olive: #6b7a3a;
  --text-dark: #2b211a;
  --white: #ffffff;
  
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --ease-slow: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

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

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

/* Alternating Color Bands */
.band-cream {
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

.band-olive {
  background-color: var(--accent-olive);
  color: var(--bg-cream);
}
.band-olive h1, .band-olive h2, .band-olive h3, .band-olive p {
  color: var(--bg-cream);
}

.band-terra {
  background-color: var(--accent-terra);
  color: var(--bg-cream);
}
.band-terra h1, .band-terra h2, .band-terra h3, .band-terra p {
  color: var(--bg-cream);
}

/* Header & Nav */
.site-header {
  position: static; 
  width: 100%;
  padding: 30px 40px;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: bold;
}

.band-olive .brand, .band-terra .brand,
.band-olive .nav-links a, .band-terra .nav-links a {
  color: var(--bg-cream);
}

.desktop-nav .nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.desktop-nav .nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links & Buttons */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  font-weight: 500;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

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

.btn-main {
  display: inline-block;
  background-color: var(--accent-terra);
  color: var(--white);
  padding: 15px 35px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 0;
}

.btn-main:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

.band-terra .btn-main {
  background-color: var(--bg-cream);
  color: var(--accent-terra);
}
.band-terra .btn-main:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* Hero Section */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 20px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  padding-right: 20px;
}

.hero-images {
  position: relative;
  height: 500px;
  width: 100%;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.hero-img-1 {
  top: 0;
  left: 0;
  width: 65%;
  height: 70%;
  z-index: 1;
}

.hero-img-2 {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 60%;
  z-index: 2;
}

.hero-img-3 {
  top: 15%;
  right: 15%;
  width: 45%;
  height: 50%;
  z-index: 3;
}

/* Tea Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.tea-card {
  background-color: var(--white);
  color: var(--text-dark);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tea-card-img {
  position: relative;
  width: 100%;
  height: 260px;
}

.tea-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tea-card-badge {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background-color: var(--accent-terra);
  color: var(--bg-cream);
  padding: 8px 16px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  z-index: 10;
}

.band-olive .tea-card-badge {
  background-color: var(--accent-olive);
}

.tea-card-content {
  padding: 40px 30px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tea-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: inherit;
  line-height: 1;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--bg-cream);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Forms & Tools */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
}

.form-control:focus {
  outline: 2px solid var(--accent-terra);
}

.tool-output {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-cream);
  color: var(--text-dark);
  border-left: 4px solid var(--accent-terra);
  display: none;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
th {
  font-family: var(--font-serif);
}

/* Footer */
.site-footer {
  background-color: var(--text-dark);
  color: var(--bg-cream);
  padding: 60px 40px;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Rule: Footer Centered layout but brand STRICTLY far left */
.footer-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--bg-cream);
  text-decoration: none;
  text-align: left;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--bg-cream);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-details {
  font-size: 0.85rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Article Copy Width */
.long-form-copy {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-images {
    height: 300px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
