.veg-legacy-text {
    font-family: 'Impact', 'Anton', sans-serif; /* fallback options */
    font-weight: bold;
    color: #c39f57; /* gold shade */
    font-size: 2.5rem; /* adjust as needed */
}

/* ==============  Design Tokens  ============== */
:root{
  --accent: #c39f57;           /* gold */
  --ink: #1f2937;              /* dark */
  --muted: #6b7280;            /* gray text */
  --section-bg: #f6f7fa;       /* light section backdrop */
  --card-bg: #ffffff;
  --radius-lg: 18px;
  --shadow: 0 14px 36px rgba(0,0,0,.10);
  --shadow-lg: 0 22px 60px rgba(0,0,0,.16);
  --ease-1: cubic-bezier(.22,.8,.36,1);
}

/* ==============  Base  ============== */
*{ box-sizing: border-box; }
body{
  margin: 0;
  color: var(--ink);
  background: #fff;
}
.container{
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==============  Section  ============== */
.chefs-section{
  background: var(--section-bg);
}
.chefs-wrapper{
  position: relative;
  padding: clamp(16px, 3vw, 24px);
}
.chefs-wrapper::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 36px;
  box-shadow: 0 50px 120px rgba(0,0,0,.12);
  opacity:.25;
  pointer-events:none;
  transform: translateY(8px);
}

/* ==============  Header  ============== */
/* ==============  Grid  ============== */
.chef-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
}

/* ==============  Cards  ============== */
.chef-card{
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, .10);;
  overflow:hidden;
  transform: translateY(22px);
  opacity: 0;
  animation: cardIn .7s var(--ease-1) forwards;
  animation-delay: var(--delay, 0s);
  transition: transform .35s var(--ease-1), box-shadow .35s var(--ease-1);
}
.chef-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* media */
.chef-figure{
  margin:0;
  position: relative;
  overflow:hidden;
}
.chef-photo{
  display:block;
  width:100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s var(--ease-1);
  will-change: transform;
}
.chef-card:hover .chef-photo{
  transform: scale(1.09) translateY(-4px);
}

/* ==============  Hover Overlay + Bio  ============== */
.chef-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  color: #fff;

  opacity: 0;
  background: rgba(0,0,0,0);      /* animates to .55 on hover */
  pointer-events: none;

  transition: opacity .45s var(--ease-1),
              background .45s var(--ease-1);
}


.chef-card:hover .chef-overlay{
  opacity: 1;
  background: rgba(0,0,0,.55);
}
.chef-card:hover .chef-overlay > *{
  transform: translateY(0);
  opacity: 1;
}

/* Overlay typography + socials */
.ov-name{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  margin: 6px 0 6px;
  font-weight: 700;
  color: #fff;
}
.ov-role{
  color: #f9b842;
  margin: 0 0 14px;
  font-weight: 600;
}
.ov-bio{
  max-width: 360px;
  margin: 0 auto 14px;
  font-size: 14px;
  line-height: 1.6;
  opacity: .95;
}
.ov-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  border-radius:50%;
  background: rgba(255,255,255,.15);
  color:#fff;
  margin: 0 6px;
  font-size: 14px;
  transition: background .25s ease, transform .25s ease;
}
.ov-social a:hover{
  background: #f9b842;
  transform: translateY(-2px);
}

/* bottom meta (hidden on hover) */
.chef-meta{
  text-align:center;
  padding: 22px 24px 28px;
  background: #fff;
  transform: translateY(10px);
  transition: transform .45s var(--ease-1), opacity .35s var(--ease-1);
}
.chef-card:hover .chef-meta{
  transform: translateY(8px);
  opacity: 0;
}

/* text under the image */
.chef-name{
  font-family: "Playfair Display", Georgia, Cambria, "Times New Roman", serif;
  font-weight:700;
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 8px;
  color: var(--ink);
}
.chef-role{
  margin:0;
  font-size:.95rem;
  color: #f9b842;
  letter-spacing:.02em;
}

/* underline flourish */
.chef-name::after{
  content:"";
  display:block;
  height:2px;
  width:28px;
  margin:10px auto 0;
  background: #f9b842;
  transform-origin:left;
  transform: scaleX(.7);
  transition: transform .35s var(--ease-1);
}
.chef-card:hover .chef-name::after{
  transform: scaleX(1);
}

/* ==============  Animations  ============== */
@keyframes cardIn{
  to { transform: translateY(0); opacity:1; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .chef-card,
  .chef-photo,
  .chef-overlay,
  .chef-overlay > *,
  .chef-meta { transition: none !important; animation: none !important; opacity: 1; transform: none; }
}

/* ==============  Responsive  ============== */
@media (max-width: 1024px){
  .chef-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px){
  .chef-grid{ grid-template-columns: 1fr; }
  .title{ font-size: 32px; }
  .title::before{ height: 78%; }
}
