/* ============================================================
   RESINFY — About Page Styles
   about.css
   ============================================================ */

.ab-main { background: var(--bg, #f4ede0); overflow-x: hidden; }

/* ── Shared reveal ─────────────────────────────────────────── */
.ab-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.ab-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Shared section title ──────────────────────────────────── */
.ab-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text, #1e150a);
  margin: 10px 0 32px;
}
.ab-section-title em { font-style: italic; font-weight: 400; color: var(--accent, #a07840); }

/* ================================================================
   1. HERO
   ================================================================ */
.ab-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 100px;
  background: var(--brown, #2c1f0f);
  overflow: hidden;
  text-align: center;
}

.ab-hero-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.ab-hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); animation: blobFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.ab-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(160,120,64,0.2), transparent 65%);
  top: -20%; left: -15%;
}
.ab-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 65%);
  bottom: -10%; right: -5%;
  animation-delay: -5s;
}

.ab-hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.ab-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.6);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 1s 0.3s forwards;
}
.ab-line {
  display: block;
  width: 50px; height: 1px;
  background: rgba(201,169,110,0.3);
}

.ab-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--bg, #f4ede0);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1.1s 0.5s forwards;
}
.ab-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2, #c9a96e);
  display: block;
}

.ab-hero-quote {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(244,237,224,0.65);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeInUp 1s 0.8s forwards;
}

.ab-hero-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 1s 1s forwards;
}
.ab-sig-dash { color: rgba(201,169,110,0.4); }
.ab-sig-name {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2, #c9a96e);
}

.ab-hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s 1.4s forwards;
}
.ab-scroll-track {
  width: 1px; height: 56px;
  background: rgba(201,169,110,0.15);
  position: relative; overflow: hidden;
}
.ab-scroll-thumb {
  position: absolute; top: -100%;
  width: 100%; height: 50%;
  background: var(--accent-2, #c9a96e);
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%   { top: -50%; }
  100% { top: 100%; }
}
.ab-hero-scroll > span {
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.4);
  writing-mode: vertical-rl;
}

/* ================================================================
   2. FOUNDER
   ================================================================ */
.ab-founder {
  padding: 120px 60px;
  max-width: 1300px;
  margin: 0 auto;
}
.ab-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Photo Column */
.ab-photo-col { position: sticky; top: 100px; }
.ab-photo-frame {
  position: relative;
  padding: 28px;
}
.ab-photo-corner {
  position: absolute;
  width: 32px; height: 32px;
  border-color: var(--accent, #a07840);
  border-style: solid;
}
.ab-corner-tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.ab-corner-br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.ab-photo-wrap {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.ab-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--brown, #2c1f0f) 0%, var(--brown-mid, #3d2c18) 40%, var(--accent-3, #8b6a38) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.ab-photo-initials {
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  font-weight: 600;
  color: var(--accent-2, #c9a96e);
  opacity: 0.6;
  line-height: 1;
}
.ab-photo-hint {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.4);
  position: absolute;
  bottom: 20px;
}
/* If actual image is placed: */
.ab-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating stat badges */
.ab-stat-badge {
  position: absolute;
  background: var(--bg-card, #faf6ef);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 8px 32px rgba(44,31,15,0.1);
  animation: floatBadge 5s ease-in-out infinite;
}
.ab-stat-1 { top: 8%; left: -12%; animation-delay: 0s; }
.ab-stat-2 { bottom: 22%; right: -10%; animation-delay: -2s; }
.ab-stat-3 { bottom: 8%; left: 5%; animation-delay: -4s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.ab-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent, #a07840);
  line-height: 1;
}
.ab-stat-num sup { font-size: 0.7em; vertical-align: super; }
.ab-stat-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted, #7a6650);
}

.ab-photo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(160,120,64,0.06);
  border: 1px solid rgba(160,120,64,0.14);
  border-radius: 4px;
}
.ab-note-icon { color: var(--accent, #a07840); font-size: 0.8rem; }
.ab-photo-note span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
}

/* Story blocks */
.ab-story-blocks { display: flex; flex-direction: column; gap: 32px; }
.ab-story-block {
  display: flex;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(44,31,15,0.07);
}
.ab-story-block:last-child { border-bottom: none; }
.ab-block-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(160,120,64,0.12);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
  margin-top: 2px;
}
.ab-block-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text, #1e150a);
  margin-bottom: 10px;
}
.ab-block-content p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
  line-height: 1.85;
}

/* ================================================================
   3. PHILOSOPHY
   ================================================================ */
.ab-philosophy {
  padding: 100px 60px;
  background: var(--bg-2, #ede4d3);
  border-top: 1px solid rgba(44,31,15,0.07);
  border-bottom: 1px solid rgba(44,31,15,0.07);
}
.ab-philosophy-inner { max-width: 1300px; margin: 0 auto; }
.ab-phil-header { text-align: center; margin-bottom: 60px; }
.ab-phil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ab-phil-card {
  background: var(--bg-card, #faf6ef);
  border: 1px solid rgba(44,31,15,0.07);
  border-radius: 4px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ab-phil-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44,31,15,0.09);
}
.ab-phil-icon { font-size: 2rem; display: block; margin-bottom: 18px; }
.ab-phil-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text, #1e150a);
  margin-bottom: 14px;
  line-height: 1.3;
}
.ab-phil-card p {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
  line-height: 1.85;
  font-style: italic;
}

/* ================================================================
   4. TIMELINE
   ================================================================ */
.ab-timeline-section {
  padding: 110px 60px;
  background: var(--bg, #f4ede0);
}
.ab-timeline-inner { max-width: 900px; margin: 0 auto; }

.ab-timeline {
  position: relative;
  padding: 20px 0;
}
.ab-timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(160,120,64,0.3) 10%, rgba(160,120,64,0.3) 90%, transparent);
  transform: translateX(-50%);
}

.ab-tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 56px;
  position: relative;
}
.ab-tl-left  { flex-direction: row; padding-right: calc(50% + 28px); }
.ab-tl-right { flex-direction: row-reverse; padding-left: calc(50% + 28px); }
.ab-tl-left  .ab-tl-content { text-align: right; }
.ab-tl-right .ab-tl-content { text-align: left; }

.ab-tl-dot {
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-card, #faf6ef);
  border: 2px solid var(--accent, #a07840);
  z-index: 1;
  transition: background 0.3s, transform 0.3s;
}
.ab-tl-item:hover .ab-tl-dot {
  background: var(--accent, #a07840);
  transform: translateX(-50%) scale(1.4);
}

.ab-tl-year {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent, #a07840);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.ab-tl-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text, #1e150a);
  margin-bottom: 9px;
}
.ab-tl-content p {
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
  line-height: 1.8;
  font-style: italic;
}

/* ================================================================
   5. IN HER OWN WORDS
   ================================================================ */
.ab-words-section {
  padding: 100px 60px;
  background: var(--brown, #2c1f0f);
  position: relative;
  overflow: hidden;
}
.ab-words-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.ab-words-deco-l,
.ab-words-deco-r {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  font-weight: 700;
  color: rgba(201,169,110,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.ab-words-deco-l { top: -30px; left: -40px; }
.ab-words-deco-r { bottom: -60px; right: -40px; }

.ab-words-content { position: relative; z-index: 1; }
.ab-words-content .section-label { color: rgba(201,169,110,0.6); }

.ab-blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.95;
  color: rgba(244,237,224,0.78);
  margin: 28px 0;
  padding-left: 24px;
  border-left: 2px solid rgba(201,169,110,0.25);
}
.ab-blockquote:first-of-type { margin-top: 20px; }

.ab-words-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.ab-words-sig-line { flex: 0 0 40px; height: 1px; background: rgba(201,169,110,0.3); }
.ab-words-sig > span {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.5);
}

/* ================================================================
   6. VALUES
   ================================================================ */
.ab-values {
  padding: 0;
  border-top: 1px solid rgba(44,31,15,0.07);
}
.ab-values-inner {
  display: flex;
  align-items: stretch;
  max-width: 100%;
}
.ab-value-item {
  flex: 1;
  padding: 56px 40px;
  text-align: center;
  background: var(--bg-card, #faf6ef);
  transition: background 0.3s;
}
.ab-value-item:hover { background: #fff; }
.ab-value-divider {
  width: 1px;
  background: rgba(44,31,15,0.08);
  flex-shrink: 0;
}
.ab-value-icon { font-size: 1.8rem; display: block; margin-bottom: 16px; }
.ab-value-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1e150a);
  margin-bottom: 12px;
}
.ab-value-item p {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
  line-height: 1.75;
  font-style: italic;
}

/* ================================================================
   7. CTA
   ================================================================ */
.ab-cta {
  padding: 130px 60px;
  background: var(--bg-2, #ede4d3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ab-cta-blob {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(160,120,64,0.1), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.ab-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.ab-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--text, #1e150a);
  line-height: 1.15;
  margin: 12px 0 20px;
}
.ab-cta-title em { font-style: italic; font-weight: 400; color: var(--accent, #a07840); }
.ab-cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted, #7a6650);
  line-height: 1.85;
  max-width: 540px;
  margin: 0 auto 44px;
}
.ab-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ab-cta-btn-main { padding: 14px 36px; font-size: 0.78rem; letter-spacing: 0.16em; }
.ab-cta-btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid rgba(44,31,15,0.2);
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted, #7a6650);
  text-decoration: none;
  transition: all 0.3s;
}
.ab-cta-btn-ghost:hover { border-color: var(--accent, #a07840); color: var(--accent, #a07840); transform: translateY(-2px); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .ab-founder-grid { grid-template-columns: 1fr; gap: 60px; }
  .ab-photo-col { position: static; max-width: 440px; margin: 0 auto; }
  .ab-phil-grid { grid-template-columns: 1fr; }
  .ab-values-inner { flex-direction: column; }
  .ab-value-divider { width: 100%; height: 1px; }
}

@media (max-width: 768px) {
  .ab-hero { padding: 110px 24px 90px; min-height: 90vh; }
  .ab-hero-title { font-size: 3rem; }
  .ab-founder { padding: 80px 24px; }
  .ab-philosophy { padding: 70px 24px; }
  .ab-timeline-section { padding: 80px 24px; }
  .ab-words-section { padding: 80px 24px; }
  .ab-cta { padding: 90px 24px; }

  /* Timeline goes vertical on mobile */
  .ab-timeline-line { left: 20px; }
  .ab-tl-item { flex-direction: column !important; padding-left: 48px !important; padding-right: 0 !important; }
  .ab-tl-left .ab-tl-content { text-align: left; }
  .ab-tl-dot { left: 20px; }

  .ab-words-deco-l, .ab-words-deco-r { font-size: 8rem; }
  .ab-blockquote { font-size: 1rem; padding-left: 16px; }
  .ab-stat-1 { left: -5%; }
  .ab-stat-2 { right: -5%; }
}

@media (max-width: 480px) {
  .ab-hero-title { font-size: 2.5rem; }
  .ab-stat-badge { padding: 10px 12px; }
  .ab-stat-num { font-size: 1.4rem; }
}
