/* =============================================
   TIMBERLY LOFT - ABOUT US PAGE
   Nav styles are in ../shared/nav.css
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --brown-dark:    #3B1F0F;
  --brown-mid:     #6B3A1F;
  --brown-warm:    #8C4A22;
  --brown-light:   #C48A5C;
  --cream-deep:    #F0E6D3;
  --cream-light:   #FAF6EF;
  --cream-white:   #FFFDF9;
  --text-primary:  #2A1608;
  --text-secondary:#6B5744;
  --text-muted:    #A08060;

  --font-display: 'Host Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:        80px;
  --section-pad:  clamp(64px, 8vw, 120px);
  --container:    1200px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    24px;

  --transition:   0.3s ease;
  --shadow-soft:  0 4px 24px rgba(59, 31, 15, 0.08);
  --shadow-card:  0 8px 40px rgba(59, 31, 15, 0.12);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--cream-white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section-pad { padding: var(--section-pad) 0; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-warm);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--brown-light);
  border-color: var(--brown-light);
  color: var(--brown-dark);
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--cream-light);
  border-color: var(--cream-light);
  transform: translateY(-1px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--cream-light);
  border-color: rgba(250, 246, 239, 0.4);
}
.btn-ghost-light:hover {
  background-color: rgba(250, 246, 239, 0.1);
  border-color: var(--cream-light);
}
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ===== IMG PLACEHOLDER ===== */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-deep) 0%, #DEC5A8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}
.img-placeholder.tall { min-height: 520px; }
.img-placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== ABOUT HERO ===== */
.about-hero {
  padding-top: var(--nav-h);
  background-color: var(--cream-white);
  overflow: hidden;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.about-hero-text {
  animation: fadeUp 0.7s ease both;
}
.about-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.about-hero-heading em {
  font-style: italic;
  color: var(--brown-warm);
}
.about-hero-body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
}
.about-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.9s ease 0.2s both;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background-color: var(--brown-dark);
  padding: clamp(40px, 5vw, 64px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 8px 24px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--cream-white);
  line-height: 1;
}
.stat-plus, .stat-pct {
  font-size: 0.6em;
  color: var(--brown-light);
  vertical-align: super;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(240, 230, 211, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background-color: rgba(250, 246, 239, 0.12);
}

/* ===== OUR STORY ===== */
.our-story { background-color: var(--cream-light); }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.story-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.story-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 420px;
}
.story-img-accent {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 52%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--cream-light);
}

.story-text p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}
.story-text p:last-child { margin-bottom: 0; }

/* ===== VALUES ===== */
.values { background-color: var(--cream-deep); }
.values-header {
  max-width: 520px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background-color: var(--cream-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.value-icon {
  color: var(--brown-warm);
  width: 48px;
  height: 48px;
  background-color: rgba(140, 74, 34, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process { background-color: var(--cream-white); }
.process-header {
  max-width: 560px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.process-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 8px;
}

.process-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}
.process-line {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brown-warm), var(--cream-deep));
}

.process-step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding-bottom: 48px;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }

.process-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--brown-dark);
  border: 3px solid var(--cream-white);
  box-shadow: 0 0 0 2px var(--brown-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-dot span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brown-light);
}

.process-content {
  padding-top: 6px;
}
.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.process-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brown-mid) 0%, var(--brown-dark) 100%);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C48A5C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--cream-white);
  margin-bottom: 16px;
}
.cta-subtext {
  font-size: 1rem;
  color: rgba(250, 246, 239, 0.7);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--brown-dark);
  color: var(--cream-deep);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(250, 246, 239, 0.1);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream-white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--brown-light); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.65);
  line-height: 1.65;
  max-width: 260px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 20px;
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a, .footer-contact li {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.7);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cream-white); }
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-links a {
  font-size: 0.875rem;
  color: rgba(240, 230, 211, 0.7);
  transition: color var(--transition);
}
.social-links a:hover { color: var(--brown-light); }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(240, 230, 211, 0.35); }

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-hero-image { max-height: 400px; }
  .img-placeholder.tall { min-height: 400px; }
  .story-inner { grid-template-columns: 1fr; }
  .story-img-accent { display: none; }
  .story-img-main { height: 340px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-line { left: 18px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}