/*
 * Our Story page (also used by Contact for shared section styles)
 * Loaded only on this page.
 */

/* ===== About page ===== */
.ab-hero-photos {
  position: relative;
  height: clamp(290px,28vw,400px);
}

.ab-hero-photos img {
  position: absolute;
  object-fit: cover;
  border-radius: 26px;
  border: 6px solid #fff;
  box-shadow: 0 22px 40px rgba(74,44,17,.2);
  opacity: 0;
  animation: wheelPouchIn .9s cubic-bezier(.2,.72,.25,1) forwards;
  background: #f3e4cf;
}

.ab-hero-photos img:nth-child(1) {
  left: 2%;
  top: 16%;
  width: 38%;
  aspect-ratio: 4/5;
  rotate: -6deg;
  animation-delay: .35s;
}

.ab-hero-photos img:nth-child(2) {
  left: 28%;
  top: 0;
  width: 46%;
  aspect-ratio: 1/1;
  z-index: 2;
  animation-delay: .5s;
}

.ab-hero-photos img:nth-child(3) {
  left: 60%;
  top: 22%;
  width: 38%;
  aspect-ratio: 4/5;
  rotate: 6deg;
  animation-delay: .65s;
}

.ab-hero-seal {
  position: absolute;
  z-index: 3;
  left: 22%;
  bottom: 2%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #7F1D1D;
  color: #FCEFC7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 14px 30px rgba(127,29,29,.3);
  border: 4px solid #fff;
  opacity: 0;
  animation: wheelPouchIn .8s cubic-bezier(.2,.72,.25,1) .85s forwards;
}

.ab-hero-seal b {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 30px;
  line-height: 1;
}

.ab-hero-seal small {
  font-size: 11px;
  line-height: 1.2;
  margin-top: 4px;
  letter-spacing: .04em;
}

.ab-section {
  padding: clamp(64px,8vw,110px) 0;
}

.ab-tint {
  background: linear-gradient(180deg,#fbf3e7,#f7ead8);
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2E6B34;
}

.ab-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  opacity: .7;
}

.ab-title {
  font-family: 'Playfair Display',Georgia,serif;
  font-weight: 700;
  color: #5A2312;
  font-size: clamp(32px,3.6vw,50px);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.ab-title em {
  font-style: italic;
  color: #8b4a1e;
}

.ab-copy p, .ab-head p {
  color: rgba(74,44,17,.78);
  font-size: clamp(15px,1.1vw,17px);
  line-height: 1.75;
  margin-top: 12px;
}

.ab-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.ab-head .ab-eyebrow::before {
  display: none;
}

.ab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px,6vw,90px);
  align-items: center;
}

.ab-split-rev .ab-copy {
  order: 0;
}

.ab-media {
  position: relative;
}

.ab-media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 26px 50px rgba(74,44,17,.18);
  background: #f3e4cf;
}

.ab-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: 30px;
  border: 2px solid rgba(201,137,46,.45);
  z-index: -1;
}

.ab-media-badge {
  position: absolute;
  right: -14px;
  bottom: 30px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 20px;
  box-shadow: 0 16px 34px rgba(74,44,17,.16);
  display: flex;
  flex-direction: column;
}

.ab-media-badge b {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 24px;
  color: #7F1D1D;
}

.ab-media-badge small {
  font-size: 12px;
  color: rgba(74,44,17,.65);
}

.ab-quote {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 22px;
  background: #fff;
  border-left: 4px solid #7F1D1D;
  box-shadow: 0 12px 30px rgba(74,44,17,.08);
}

.ab-quote p {
  margin: 0 !important;
  font-family: 'Playfair Display',Georgia,serif;
  font-style: italic;
  font-size: 19px !important;
  color: #4A2C11 !important;
  line-height: 1.5 !important;
}

.ab-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ab-quote footer > span:last-child {
  display: flex;
  flex-direction: column;
}

.ab-quote b {
  color: #4A2C11;
  font-size: 14px;
}

.ab-quote small {
  color: rgba(74,44,17,.6);
  font-size: 12px;
}

.ab-quote-avatar, .ab-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FCEFC7;
  color: #7F1D1D;
  font-weight: 800;
}

.ab-quote-avatar {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

.ab-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 22px;
  position: relative;
}

.ab-timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 22px;
  height: 2px;
  background: repeating-linear-gradient(90deg,rgba(127,29,29,.35) 0 8px,transparent 8px 14px);
}

.ab-timeline li {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 58px 20px 22px;
  box-shadow: 0 12px 28px rgba(74,44,17,.08);
}

.ab-year {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  background: #7F1D1D;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 0 0 6px #f9efe0;
  white-space: nowrap;
}

.ab-timeline h3, .ab-steps h3, .ab-values h3, .ab-people h3 {
  font-family: 'Playfair Display',Georgia,serif;
  font-weight: 700;
  font-size: 19px;
  color: #4A2C11;
  margin: 0 0 8px;
}

.ab-timeline p, .ab-steps p, .ab-values p, .ab-people p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(74,44,17,.72);
  margin: 0;
}

.ab-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}

.ab-steps article {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(74,44,17,.08);
  box-shadow: 0 12px 28px rgba(74,44,17,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ab-steps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(74,44,17,.12);
}

.ab-step-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 38px;
  font-weight: 700;
  color: rgba(201,137,46,.28);
}

.ab-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #FCEFC7;
  color: #7F1D1D;
  margin-bottom: 18px;
}

.ab-icon svg {
  width: 28px !important;
  height: 28px !important;
}

.ab-dark {
  background: radial-gradient(800px 400px at 85% 0%, rgba(245,197,66,.16), transparent 60%), #4A2C11;
}

.ab-head-light .ab-title {
  color: #FCEFC7;
}

.ab-head-light .ab-title em {
  color: #F5C542;
}

.ab-head-light .ab-eyebrow {
  color: #F5C542;
}

.ab-values {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}

.ab-values article {
  padding: 30px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(252,239,199,.14);
}

.ab-values .ab-icon {
  background: rgba(245,197,66,.16);
  color: #F5C542;
}

.ab-values h3 {
  color: #FCEFC7;
}

.ab-values p {
  color: rgba(252,239,199,.72);
}

.ab-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.ab-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #4A2C11;
  font-size: 15px;
}

.ab-checks svg {
  flex: 0 0 28px;
  width: 28px !important;
  height: 28px !important;
  padding: 5px;
  border-radius: 50%;
  background: #2E6B34;
  color: #fff;
  stroke-width: 2.4;
}

.ab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ab-stats div {
  padding: 30px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(74,44,17,.08);
  border: 1px solid rgba(74,44,17,.06);
}

.ab-stats div:nth-child(2), .ab-stats div:nth-child(3) {
  background: #FCEFC7;
}

.ab-stats b {
  display: block;
  font-family: 'Playfair Display',Georgia,serif;
  font-size: clamp(34px,3.4vw,46px);
  color: #7F1D1D;
  line-height: 1;
}

.ab-stats span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(74,44,17,.7);
}

.ab-people {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.ab-people article {
  text-align: center;
  padding: 34px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(74,44,17,.08);
}

.ab-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  font-size: 26px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px rgba(201,137,46,.45);
  font-family: 'Playfair Display',Georgia,serif;
}

.ab-role {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2E6B34;
  margin-bottom: 12px;
}

.ab-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(34px,4.5vw,56px);
  border-radius: 32px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(245,197,66,.35), transparent 60%), #FCEFC7;
  border: 1px solid rgba(201,137,46,.3);
}

.ab-cta .ab-title {
  margin-bottom: 6px;
}

.ab-cta p {
  color: rgba(74,44,17,.78);
}

.ab-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #7F1D1D;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(127,29,29,.22);
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}

.ab-btn:hover {
  background: #991B1B;
  transform: translateY(-1px);
}

.ab-btn-ghost {
  background: #fff;
  color: #7F1D1D !important;
  border: 1.5px solid rgba(127,29,29,.25);
  box-shadow: none;
}

.ab-btn-ghost:hover {
  background: #fff8ea;
}

@media (max-width:1023px) {
  .ab-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .ab-timeline::before {
    display: none;
  }
  .ab-steps, .ab-values {
    grid-template-columns: 1fr 1fr;
  }
  .ab-split {
    grid-template-columns: 1fr;
  }
  .ab-media {
    max-width: 640px;
  }
  .ab-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width:640px) {
  .ab-timeline, .ab-steps, .ab-values, .ab-people {
    grid-template-columns: 1fr;
  }
  .ab-timeline {
    padding-left: 26px;
    gap: 30px;
  }
  .ab-timeline::before {
    display: block;
    left: 7px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg,rgba(127,29,29,.35) 0 8px,transparent 8px 14px);
  }
  .ab-timeline li {
    padding: 22px 20px 20px;
  }
  .ab-year {
    position: relative;
    left: auto;
    transform: none;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: none;
  }
  .ab-media-badge {
    right: 10px;
  }
  .ab-media::before {
    inset: 16px -10px -14px 14px;
  }
  .ab-hero-photos {
    height: 250px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  .ab-hero-seal {
    width: 84px;
    height: 84px;
  }
  .ab-hero-seal b {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero-photos img, .ab-hero-seal {
    animation: none !important;
    opacity: 1 !important;
  }
}
