/* =========================================
   ALPINE MODERN — GLOBAL STYLES
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&family=Inter:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --cream:       #f7f3ed;
  --cream-dark:  #ede7dd;
  --charcoal:    #1a1614;
  --charcoal-mid:#2e2925;
  --red:         #c93d1b;
  --red-light:   #e04a22;
  --tan:         #8c7b68;
  --tan-light:   #b8a898;
  --white:       #ffffff;
  --border:      #ddd6cc;

  --font-display: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --announce-h: 36px;
  --nav-h: 62px;
  --tab-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

p { max-width: 66ch; }
p + p { margin-top: 1rem; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section { padding-block: 5rem; }
.section--sm { padding-block: 3rem; }
.section--lg { padding-block: 8rem; }

.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section--cream-dark { background: var(--cream-dark); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-light); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}
.btn--outline:hover { background: var(--charcoal); color: var(--cream); }

.btn--outline-light {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn--outline-light:hover { background: var(--cream); color: var(--charcoal); }

.btn--lg { padding: 1.1rem 2.8rem; font-size: 0.82rem; }

/* =========================================
   NAVIGATION
   ========================================= */

.nav {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 243, 237, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white) !important;
  padding: 0 1.4rem;
  height: 36px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s;
  line-height: 1;
}
.nav__order:hover { background: var(--red-light) !important; }
.nav__order::after { display: none !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: calc(var(--announce-h) + var(--nav-h));
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.nav__mobile .btn--primary {
  text-align: center;
  margin-top: 0.5rem;
}

/* =========================================
   PAGE OFFSET
   ========================================= */

.page-body { padding-top: calc(var(--announce-h) + var(--nav-h)); }

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,22,20,0.30) 0%,
    rgba(26,22,20,0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero__content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  max-width: 52ch;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================
   MENU ANCHOR SCROLL OFFSET
   ========================================= */

.menu-anchor {
  scroll-margin-top: calc(var(--nav-h) + var(--tab-h) + 12px);
}

/* Menu tab active state */
.menu-tab {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tan);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.menu-tab:hover { color: var(--charcoal); }
.menu-tab.active {
  color: var(--charcoal);
  border-bottom-color: var(--red);
}

/* =========================================
   INTRO STRIP
   ========================================= */

.intro-strip {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: 1.5rem;
  text-align: center;
}

.intro-strip p {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-inline: auto;
}

/* =========================================
   IMAGE CARDS
   ========================================= */

.img-card {
  overflow: hidden;
  position: relative;
}

.img-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-card:hover img { transform: scale(1.04); }

.img-card__body {
  padding: 1.5rem 0;
}

/* =========================================
   LOCATION CARDS
   ========================================= */

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
}

.location-card + .location-card { margin-top: 3rem; }

.location-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: var(--border);
}

.location-card__images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.location-card__images img:first-child {
  grid-column: 1 / -1;
  height: 260px;
}

.location-card__info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.location-card__info h2 { margin-bottom: 0.25rem; }

.location-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--charcoal-mid);
}

.location-detail strong {
  font-weight: 600;
  color: var(--charcoal);
  min-width: 60px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
}

/* =========================================
   MENU STYLES
   ========================================= */

.menu-section { margin-bottom: 3.5rem; }

.menu-section h2 {
  font-size: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-item__left { flex: 1; min-width: 0; }
.menu-item__name { font-weight: 500; font-size: 0.95rem; }
.menu-item__desc { font-size: 0.82rem; color: var(--tan); margin-top: 0.2rem; }
.menu-item__price { font-size: 0.9rem; color: var(--charcoal); font-weight: 600; flex-shrink: 0; white-space: nowrap; }

/* =========================================
   REVIEWS
   ========================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}

.review-card__stars { color: var(--red); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-card__text { font-size: 0.9rem; line-height: 1.7; color: var(--charcoal-mid); margin-bottom: 1.25rem; }
.review-card__author { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.review-card__source { font-size: 0.72rem; color: var(--tan); margin-top: 0.15rem; }

.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reviews-aggregate__score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
}

.reviews-aggregate__detail { display: flex; flex-direction: column; gap: 0.25rem; }
.reviews-aggregate__stars { color: var(--red); font-size: 1.1rem; letter-spacing: 3px; }
.reviews-aggregate__count { font-size: 0.82rem; color: var(--tan); }

/* =========================================
   INSTAGRAM STRIP
   ========================================= */

.instagram-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.instagram-strip__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.instagram-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.instagram-strip__item:hover img { transform: scale(1.06); }

.instagram-strip__overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 61, 27, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.instagram-strip__item:hover .instagram-strip__overlay {
  background: rgba(201, 61, 27, 0.65);
}

.instagram-strip__overlay svg {
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  width: 28px;
  height: 28px;
}

.instagram-strip__item:hover .instagram-strip__overlay svg { opacity: 1; }

/* =========================================
   ABOUT PAGE
   ========================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  padding: 2.5rem;
}

.value-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.value-card p { font-size: 0.92rem; color: var(--charcoal-mid); max-width: none; }

/* =========================================
   REWARDS PAGE
   ========================================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.step { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.step__number {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--red);
}

.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.9rem; color: var(--tan); margin-inline: auto; }

/* =========================================
   CAREERS
   ========================================= */

.job-listing {
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.job-listing h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.job-listing__meta {
  font-size: 0.82rem;
  color: var(--tan);
  margin-top: 0.25rem;
}

/* =========================================
   SHOP
   ========================================= */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.shop-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
}

.shop-item h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.shop-item__price {
  font-size: 0.9rem;
  color: var(--tan);
  margin-top: 0.25rem;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: 4rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer__brand p { font-size: 0.88rem; color: var(--tan-light); max-width: 30ch; }

.footer__col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tan-light);
  margin-bottom: 1.25rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__col ul li a {
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer__col ul li a:hover { opacity: 1; }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--red);
  background: var(--red);
}

.footer__social svg { width: 16px; height: 16px; fill: var(--cream); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p { font-size: 0.78rem; color: var(--tan-light); max-width: none; }

.footer__phone a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.88rem;
}

/* =========================================
   ANNOUNCEMENT BAR
   ========================================= */

.announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding-inline: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
}

.announcement a { color: white; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */

.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { font-size: 1rem; color: var(--tan); }

/* =========================================
   DIVIDER X LOGO
   ========================================= */

.x-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-block: 3rem;
}

.x-divider::before,
.x-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.x-divider svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* =========================================
   PULL QUOTE
   ========================================= */

.pull-quote {
  padding: 2rem 0 4rem;
  text-align: center;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--charcoal);
  max-width: 720px;
  margin-inline: auto;
}

.pull-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* =========================================
   PHONE BAR
   ========================================= */

.phone-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.phone-bar a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  transition: color 0.2s;
}

.phone-bar a:hover { color: var(--red-light); }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .instagram-strip { grid-template-columns: repeat(4, 1fr); }
  .instagram-strip__item:nth-child(n+5) { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; --tab-h: 44px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .section { padding-block: 3.5rem; }
  .section--lg { padding-block: 5rem; }

  .hero { min-height: 85vh; }

  .location-card { grid-template-columns: 1fr; }
  .location-card__images img:first-child { height: 220px; }
  .location-card__images img { height: 140px; }
  .location-card__info { padding: 2rem; }

  .menu-items { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }

  .instagram-strip { grid-template-columns: repeat(3, 1fr); }
  .instagram-strip__item:nth-child(n+4) { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .values-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }

  .shop-grid { grid-template-columns: 1fr 1fr; }

  .x-divider { margin-block: 2rem; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .instagram-strip { grid-template-columns: repeat(2, 1fr); }
  .instagram-strip__item:nth-child(n+3) { display: none; }
}
