:root{
  --bg: #E7E2DD;
  --line: #6a655d;
  --text: #3f3a33;
  --muted:#6b645c;
  --accent:#b29775;
  --maxw: 1050px;
}

*,*::before,*::after{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  /* background: var(--bg); */
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* gallery section */
.gallery-section{
  padding: 80px 24px 30px;
}

@media (max-width:768px){
  .gallery-section{ padding:70px 16px 30px; }
}

/* Header class */
.header-section {
  text-align: center;
  padding: 0;
  background-color: #E4E0DC;
}
.separator-line {
  width: 100%;
  height: 1px;
  background-color: #443e37;
  margin-bottom: 18px;
}
.section-heading {
  text-align: center;
  font-size: 0.8em;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 15px 0 30px 0;
  font-weight: 400;
  color: #555;
}

/* Hero class */
.hero{
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.hero h1{
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(26px, 5vw, 40px);
  letter-spacing: .02em;
  margin: 24px 0 18px;
}

.lead{
  max-width: 920px;
  margin: 0 auto;
  font-family: "times new roman", serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
}
.lead em{
  font-style: italic;
  color: #4a443d;
}

/* Michelin line */
.award{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  margin-top: 48px;
  color:#6e6a63;
  letter-spacing: .15em;
  font-weight:500;
  font-size: 15px;
  opacity:.9;
}
.award svg{ width:18px; height:18px; flex:0 0 18px; }

.bottom-hairline{
  margin: 60px auto 60px;
  height: 1px;
  max-width: 1400px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity:.5;
}

/* Top tab bar */
.tabs{
  position: sticky; top:63px;
  z-index:10;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: rgba(231,226,221,.85);
  backdrop-filter: blur(2px);
}
.tab{
  display:flex; align-items:center; justify-content:center;
  min-height:64px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  letter-spacing: .45em;          /* spaced caps like in the image */
  text-transform: uppercase;
  font-size: 14px;
  color: #2e2a25;
  border-right: 1px solid var(--line);
  transition: color .25s ease;
  user-select:none;
  padding: 0 12px;
  white-space: nowrap;
  }
  .tab:last-child{ border-right: none; }
  .tab:hover{ color: var(--accent); transform: translateY(-1px); transition: transform .18s ease; }
  .tab.active{ color: var(--accent); font-weight:600; }

  /* Mobile response tabs */
  @media (max-width: 768px) {
    .tabs{
    display:flex;
    top: 57px;
    grid-template-columns:none;
    justify-content: space-between;
    gap:8px;
    padding: 8px 12px;
    align-items: center;
    overflow: visible;
    }

    .tab{
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
    font-size: 13px;
    letter-spacing: .02em;
    scroll-snap-align: none;
    text-align: center;
    border-right: none;
    border-radius: 8px;
    margin: 0 6px;
    background: transparent;
    white-space: normal;
    }

    .tab:first-child{ margin-left: 0; }
    .tab:last-child{ margin-right: 0; }

    .tab.active{
    background: rgba(178,151,117,0.10);
    color: var(--accent);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    font-weight:600;
    }

    @media (max-width: 420px) {
    .tab{ padding: 12px 10px; font-size: 14px; }
    }
  }

/* gallery container */
  .gallery{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .gallery__item{ grid-column: span 4; position: relative; border-radius: 16px; overflow:hidden; cursor: zoom-in; }
  .gallery__item img{ width:100%; height:100%; max-height: 60vh; object-fit:cover; aspect-ratio: 3/4; transform: scale(1.02); transition: transform .5s ease; }
  .gallery__item:hover img{ transform: scale(1.07); }
  @media (max-width: 920px){ .gallery__item{ grid-column: span 6; } }
  @media (max-width: 640px){ .gallery__item{ grid-column: span 12; } }

  .container{ width: min(92vw, var(--container)); margin: 0 auto; margin-top: 40px; }
  .section__title{ font-family:'Marcellus', serif; font-size: clamp(20px, 4vw, 30px); margin:0 0 12px; }
  .reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,0,1); }