/* =========================================
   MITTI & MIST — ABOUT.CSS
   Mood: Long-form editorial, magazine storytelling
   Palette: Warm white, charcoal text, terra accents, muted sage
   ========================================= */

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

:root {
  --warm-white: #FDFAF5;
  --off-white: #F5F0E8;
  --terra: #C4622D;
  --terra-light: #E07A45;
  --espresso: #1A0F0A;
  --espresso-mid: #3D2314;
  --charcoal: #2C2C2C;
  --fog: #7A6E68;
  --sage: #7B8C6E;
  --gold: #C9A84C;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--warm-white); color: var(--charcoal); font-family: var(--font-body); overflow-x: hidden; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(253,250,245,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,15,10,0.06);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--espresso); text-decoration: none;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; color: var(--espresso-mid); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--espresso); }

/* ── ABOUT HERO ── */
.about-hero { padding-top: 72px; }
.ah-visual {
  height: 60vh; min-height: 400px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ah-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1A0F0A 0%, #4A2810 40%, #C4622D 80%, #E07A45 100%);
}
.ah-text-overlay {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  opacity: 0.4;
}
.ah-year {
  font-family: var(--font-display); font-size: 8rem; font-weight: 300;
  color: var(--warm-white); line-height: 1; letter-spacing: -0.03em;
}
.ah-line { width: 1px; height: 80px; background: rgba(255,255,255,0.4); }
.ah-intro {
  padding: 5rem 4rem; max-width: 820px; border-bottom: 1px solid var(--off-white);
}
.ah-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1.5rem; display: block;
}
.ah-intro h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300; line-height: 1.15; color: var(--espresso); margin-bottom: 1.5rem;
}
.ah-intro h1 em { font-style: italic; color: var(--terra); }
.ah-lead {
  font-size: 1.1rem; line-height: 1.85; color: var(--fog); font-weight: 300;
}

/* ── FOUNDERS ── */
.founders {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-bottom: 1px solid var(--off-white);
}
.founders-text {
  padding: 5rem 4rem; border-right: 1px solid var(--off-white);
}
.f-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.f-label::before { content: ''; width: 24px; height: 1px; background: var(--terra); }
.founders-text h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--espresso); margin-bottom: 2rem; line-height: 1.2;
}
.founders-text p {
  font-size: 0.95rem; line-height: 1.85; color: var(--fog);
  margin-bottom: 1.25rem;
}
.founders-portrait {
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fp-img {
  flex: 1;
  background: linear-gradient(160deg, #2A1208 0%, #6B3A20 50%, #C4622D 100%);
  min-height: 400px; position: relative; overflow: hidden;
}
.fp-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(196,98,45,0.2) 0%, transparent 70%);
}
.fp-caption {
  padding: 1rem 2rem; font-size: 0.78rem; color: var(--fog); font-style: italic;
  background: var(--off-white); border-top: 1px solid var(--off-white);
}

/* ── TIMELINE ── */
.timeline-section {
  padding: 6rem 4rem; background: var(--espresso);
}
.tl-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 4rem; display: block; text-align: center;
}
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.1); transform: translateX(-50%);
}
.tl-item {
  display: flex; width: 50%; margin-bottom: 3rem;
  opacity: 0; transform: translateY(30px);
}
.tl-item.visible { animation: fadeUp 0.7s ease forwards; }
.tl-item:nth-child(1) { animation-delay: 0s; }
.tl-item:nth-child(2) { animation-delay: 0.1s; }
.tl-item:nth-child(3) { animation-delay: 0.2s; }
.tl-item:nth-child(4) { animation-delay: 0.3s; }
.tl-item:nth-child(5) { animation-delay: 0.4s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.tl-left { margin-right: auto; padding-right: 3rem; text-align: right; flex-direction: row-reverse; }
.tl-right { margin-left: auto; padding-left: 3rem; }
.tl-dot {
  position: absolute; left: 50%; top: 0.4rem; width: 12px; height: 12px;
  background: var(--terra); border-radius: 50%; transform: translateX(-50%);
  border: 2px solid var(--espresso);
}
.tl-item { position: relative; }
.tl-card { }
.tl-year {
  font-family: var(--font-display); font-size: 0.9rem; color: var(--terra-light);
  display: block; margin-bottom: 0.4rem; letter-spacing: 0.05em;
}
.tl-card h4 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: var(--warm-white); margin-bottom: 0.5rem;
}
.tl-card p { font-size: 0.85rem; color: rgba(245,240,232,0.55); line-height: 1.7; }

/* ── VALUES ── */
.values-section { padding: 6rem 4rem; background: var(--off-white); }
.vs-header { text-align: center; margin-bottom: 4rem; }
.vs-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 0.75rem; display: block;
}
.vs-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--espresso);
}
.vs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.vs-item {
  padding: 2.5rem 2rem; border-right: 1px solid rgba(26,15,10,0.1);
  transition: background 0.3s;
  opacity: 0; transform: translateY(20px);
}
.vs-item.visible { animation: fadeUp 0.6s ease forwards; }
.vs-item:nth-child(1) { animation-delay: 0s; }
.vs-item:nth-child(2) { animation-delay: 0.1s; }
.vs-item:nth-child(3) { animation-delay: 0.2s; }
.vs-item:nth-child(4) { animation-delay: 0.3s; }
.vs-item:last-child { border-right: none; }
.vs-item:hover { background: rgba(196,98,45,0.05); }
.vs-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 300;
  color: rgba(196,98,45,0.2); line-height: 1; margin-bottom: 1rem;
}
.vs-item h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 0.75rem;
}
.vs-item p { font-size: 0.88rem; line-height: 1.75; color: var(--fog); }

/* ── TEAM ── */
.team-section { padding: 6rem 4rem; background: var(--warm-white); }
.team-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 0.75rem; display: block; text-align: center;
}
.team-section h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--espresso); text-align: center; margin-bottom: 3.5rem;
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card {
  opacity: 0; transform: translateY(30px); transition: transform 0.4s;
}
.team-card.visible { animation: fadeUp 0.7s ease forwards; }
.team-card:nth-child(1) { animation-delay: 0s; }
.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.3s; }
.team-card:hover { transform: translateY(-6px) !important; }
.team-photo {
  aspect-ratio: 3/4; border-radius: 2px; margin-bottom: 1.25rem;
  position: relative; overflow: hidden;
}
.tp-1 { background: linear-gradient(160deg, #2A1208, #8B4A2A); }
.tp-2 { background: linear-gradient(160deg, #3D2314, #A05A30); }
.tp-3 { background: linear-gradient(160deg, #4A3020, #B56B35); }
.tp-4 { background: linear-gradient(160deg, #1A0F0A, #6B3A20); }
.team-info h4 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terra); display: block; margin-bottom: 0.6rem;
}
.team-info p { font-size: 0.85rem; color: var(--fog); line-height: 1.65; }

/* ── SOURCING ── */
.sourcing-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px; background: var(--espresso-mid);
}
.src-content { padding: 5rem 4rem; }
.src-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 1rem; display: block;
}
.src-content h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--warm-white); margin-bottom: 1rem;
}
.src-content > p {
  font-size: 0.95rem; color: rgba(245,240,232,0.55); line-height: 1.7; margin-bottom: 2.5rem;
}
.src-farms { display: flex; flex-direction: column; gap: 1.25rem; }
.src-farm {
  padding: 1.25rem; border-left: 2px solid var(--terra);
  background: rgba(255,255,255,0.04);
  opacity: 0; transform: translateX(-20px);
}
.src-farm.visible { animation: slideRight 0.6s ease forwards; }
.src-farm:nth-child(1) { animation-delay: 0s; }
.src-farm:nth-child(2) { animation-delay: 0.1s; }
.src-farm:nth-child(3) { animation-delay: 0.2s; }
.src-farm:nth-child(4) { animation-delay: 0.3s; }
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.src-region {
  display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 0.3rem;
}
.src-farm p { font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.6; }
.src-map { overflow: hidden; }
.src-map-bg {
  height: 100%;
  background: linear-gradient(135deg, #2A1208 0%, #C4622D 50%, #E07A45 100%);
  opacity: 0.7;
}

/* ── ABOUT CTA ── */
.about-cta {
  padding: 6rem 4rem; text-align: center;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--warm-white) 100%);
}
.ac-inner h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300; color: var(--espresso); line-height: 1.2; margin-bottom: 1rem;
}
.ac-inner p {
  font-size: 1rem; color: var(--fog); line-height: 1.7; margin-bottom: 2.5rem;
}
.ac-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--terra); color: var(--warm-white);
  padding: 0.9rem 2.2rem; border-radius: 2px; text-decoration: none;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover { background: var(--espresso); transform: translateY(-2px); }
.btn-secondary {
  display: inline-block; border: 1px solid var(--espresso); color: var(--espresso);
  padding: 0.9rem 2.2rem; border-radius: 2px; text-decoration: none;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--espresso); color: var(--warm-white); }

/* ── FOOTER ── */
.footer { background: var(--espresso); color: rgba(245,240,232,0.6); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding: 4rem 4rem 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--warm-white); margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--terra); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.5); text-decoration: none; transition: all 0.3s; font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--terra); color: var(--terra); }
.footer-links h4, .footer-contact h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--warm-white); margin-bottom: 1rem; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s;
}
.footer-links a:hover { color: var(--terra); }
.footer-contact p, .footer-contact a {
  font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.7;
  text-decoration: none; display: block;
}
.footer-contact a:hover { color: var(--terra); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 1.25rem 4rem; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: rgba(245,240,232,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 0.9rem 2rem; }
  .ah-intro { padding: 4rem 2rem; }
  .founders { grid-template-columns: 1fr; }
  .founders-text { padding: 4rem 2rem; border-right: none; border-bottom: 1px solid var(--off-white); }
  .fp-img { min-height: 280px; }
  .timeline-section { padding: 5rem 2rem; }
  .timeline::before { left: 20px; }
  .tl-item { width: 100%; padding-left: 3.5rem !important; padding-right: 0 !important; text-align: left !important; flex-direction: row !important; margin: 0 0 2.5rem 0 !important; }
  .tl-dot { left: 14px !important; }
  .vs-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-item:nth-child(2) { border-right: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sourcing-section { grid-template-columns: 1fr; }
  .src-map { min-height: 200px; }
  .src-content { padding: 4rem 2rem; }
  .values-section { padding: 5rem 2rem; }
  .team-section { padding: 5rem 2rem; }
  .about-cta { padding: 5rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 2rem; }
  .footer-bottom { padding: 1rem 2rem; flex-direction: column; gap: 0.4rem; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--espresso); flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s; list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--warm-white) !important; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-item { border-right: none; border-bottom: 1px solid rgba(26,15,10,0.1); }
  .team-grid { grid-template-columns: 1fr; }
  .nav { padding: 0.85rem 1.25rem; }
}
