/* =========================================================
   Alexander's Greek Cuisine — "Aegean soul, Oregon roots"
   Mobile-first. Breakpoints: 760px (tablet), 1024px (desktop)
   Palette: olive-teal dusk · honey gold · sea-glass · warm paper
   Display: Fraunces · Body/data: Hanken Grotesk
   ========================================================= */
@font-face{font-family:"Fraunces";src:url("fonts/fraunces.woff2") format("woff2");font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("fonts/hankengrotesk.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root {
  /* core palette */
  --ink:        #16302b;   /* olive-teal — taverna at dusk, olive groves */
  --ink-deep:   #0e211d;   /* deepest section */
  --honey:      #e0a52e;   /* baklava honey, olive oil, golden hour */
  --honey-soft: #f2cd7e;
  --sea:        #6fa192;   /* muted Aegean sea-glass (secondary) */
  --clay:       #c9633c;   /* warm clay — used very sparingly */
  --paper:      #f7efdf;   /* warm paper */
  --paper-2:    #efe3cb;
  --paper-line: #e2d4b6;
  --ink-text:   #23302c;   /* body text on paper */
  --muted:      #6a7670;   /* muted body */
  --light:      #f3ead9;   /* text on dark */
  --light-mut:  rgba(243,234,217,.74);

  --maxw: 1180px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 22px 50px -26px rgba(14, 33, 29, 0.6);
  --shadow-sm: 0 10px 24px -16px rgba(14, 33, 29, 0.55);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 64px 0; }

.kicker {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--clay);
  margin: 0 0 .7rem;
}
.kicker--light { color: var(--honey-soft); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); color: var(--ink); }
.section-note { color: var(--muted); margin: -.2rem 0 0; }

/* focus visibility (quality floor) */
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: .96rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--honey); color: var(--ink-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--honey-soft); }
.btn-ghost { background: transparent; color: var(--light); border-color: rgba(243,234,217,.5); }
.btn-ghost:hover { background: rgba(243,234,217,.1); }
.btn-outline { background: transparent; color: var(--honey); border-color: var(--honey); }
.btn-outline:hover { background: var(--honey); color: var(--ink-deep); }
.btn-call { background: var(--honey); color: var(--ink-deep); padding: 9px 16px; font-size: .88rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 33, 29, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243,234,217,.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--light); }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--honey); color: var(--ink-deep); border-radius: 50%; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.32rem; font-weight: 600; }
.brand-sub { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--honey-soft); margin-top: 4px; }
.main-nav { display: none; gap: 30px; }
.main-nav a { color: var(--light-mut); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--honey-soft); text-decoration: none; }
.header-call { display: inline-flex; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: var(--light);
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-deep) 100%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(224,165,46,.42), transparent 62%),
    radial-gradient(50% 50% at 12% 95%, rgba(111,161,146,.28), transparent 60%);
}
.hero-inner { position: relative; padding-block: 76px 88px; max-width: 760px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .76rem;
  font-weight: 700; color: var(--honey-soft); margin: 0 0 20px;
}
.hero-title { font-size: clamp(2.7rem, 9vw, 5rem); font-weight: 600; margin: 0 0 22px; }
.hero-title .accent { color: var(--honey); font-style: italic; }
.hero-lede { font-size: clamp(1.05rem, 2.3vw, 1.32rem); color: var(--light-mut); max-width: 600px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li {
  font-size: .82rem; background: rgba(243,234,217,.08);
  border: 1px solid rgba(224,165,46,.4); color: var(--honey-soft);
  padding: 6px 15px; border-radius: 999px;
}

/* ---------- info bar ---------- */
.infobar { background: var(--ink-deep); color: var(--light-mut); border-top: 1px solid rgba(243,234,217,.08); }
.infobar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 14px; padding-block: 13px; font-size: .86rem; text-align: center;
}
.infobar strong { color: var(--light); }
.infobar a { color: var(--honey-soft); }
.infobar .dot { color: var(--sea); }

/* =========================================================
   MEDIA PLACEHOLDERS  (swap for real photos — see images/README)
   ========================================================= */
.media-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(22,48,43,.05) 0 14px, rgba(22,48,43,.02) 14px 28px),
    linear-gradient(150deg, var(--paper-2), #e6d6b6);
  border: 1px dashed rgba(22,48,43,.28);
  border-radius: var(--radius-lg);
  display: grid; place-items: center; min-height: 240px; overflow: hidden;
}
.media-placeholder .ph-text {
  font-size: .82rem; color: var(--ink); opacity: .65; font-weight: 600;
  letter-spacing: .03em; text-align: center; padding: 0 16px;
}
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; }
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   STORY
   ========================================================= */
.story { background: var(--paper); }
.story-grid { display: grid; gap: 38px; }
.story-photo { min-height: 320px; }
.story-copy h2 { font-size: clamp(1.9rem, 4.8vw, 2.8rem); color: var(--ink); }
.story-copy p { color: var(--muted); margin: 0 0 1rem; }
.story-marks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.story-marks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink-text); }
.story-marks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--honey); border-radius: 50%; }

/* =========================================================
   MENU — the signature (editorial, leader dots)
   ========================================================= */
.menu { background: var(--paper-2); }
.menu-board { display: grid; gap: 38px; grid-template-columns: 1fr; }
.menu-col { min-width: 0; }
.menu-cat {
  font-size: 1.5rem; color: var(--ink); margin: 0 0 18px;
  padding-bottom: 10px; border-bottom: 2px solid var(--honey);
  display: inline-block;
}
.menu-cat--spaced { margin-top: 36px; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list .m-item { margin-bottom: 16px; }
.m-name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink-text); }
.m-desc { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }

/* priced rows with dotted leaders */
.priced .m-row { display: flex; align-items: baseline; gap: 8px; }
.priced .m-lead { flex: 1 1 auto; border-bottom: 2px dotted var(--paper-line); transform: translateY(-4px); min-width: 18px; }
.m-price {
  font-family: var(--body); font-weight: 700; font-size: 1.05rem;
  color: var(--clay); font-variant-numeric: tabular-nums; flex: none;
}
.m-price::before { content: "$"; font-size: .78em; vertical-align: .08em; margin-right: 1px; opacity: .8; }
.m-price--ask { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.m-price--ask::before { content: ""; }
.m-price-note { font-size: .62em; font-weight: 500; opacity: .75; }

.menu-aside {
  margin: 14px 0 0; font-size: .9rem; color: var(--muted);
  padding: 12px 14px; background: rgba(111,161,146,.12);
  border-left: 3px solid var(--sea); border-radius: 0 6px 6px 0;
}
.menu-aside strong { color: var(--ink); }

/* desserts ribbon */
.dessert-ribbon {
  margin-top: 44px; background: var(--ink); color: var(--light);
  border-radius: var(--radius-lg); padding: 30px 28px;
  display: grid; gap: 22px;
}
.dessert-ribbon .menu-cat { color: var(--honey-soft); border-bottom-color: var(--honey); }
.dessert-ribbon .m-name { color: var(--light); }
.dessert-ribbon .priced .m-lead { border-bottom-color: rgba(243,234,217,.25); }
.dessert-ribbon .m-price { color: var(--honey); }
.dessert-ribbon .m-price--ask { color: var(--light-mut); }
.dessert-head .dessert-note { color: var(--light-mut); margin: 8px 0 0; font-size: .95rem; }
.dessert-list { display: grid; gap: 14px; }

.menu-cta { text-align: center; margin-top: 38px; font-size: 1.05rem; color: var(--muted); }
.menu-cta a { font-weight: 700; color: var(--clay); }

/* =========================================================
   THE BAR — Oregon-roots payoff
   ========================================================= */
.bar { position: relative; overflow: hidden; background: var(--ink-deep); color: var(--light); }
.bar-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 85% 110%, rgba(224,165,46,.3), transparent 60%); }
.bar-inner { position: relative; }
.bar h2 { color: var(--light); font-size: clamp(1.9rem, 4.8vw, 2.8rem); max-width: 16ch; }
.bar-lede { color: var(--light-mut); max-width: 56ch; margin: 0 0 34px; font-size: 1.05rem; }
.bar-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bar-card {
  background: rgba(243,234,217,.05); border: 1px solid rgba(243,234,217,.12);
  border-radius: var(--radius-lg); padding: 24px 24px 22px;
}
.bar-card h3 { font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--honey-soft); margin-bottom: 14px; }
.bar-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bar-card li { color: var(--light); font-size: .98rem; padding-left: 18px; position: relative; }
.bar-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--paper); }
.reviews .section-head h2 { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.stars { color: var(--honey); letter-spacing: .1em; font-size: 1.6rem; }
.review-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.review {
  margin: 0; background: var(--paper-2); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; border-top: 3px solid var(--honey); box-shadow: var(--shadow-sm);
}
.review p { font-family: var(--display); font-size: 1.32rem; font-weight: 500; color: var(--ink); margin: 0 0 14px; line-height: 1.25; }
.review cite { font-style: normal; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: var(--paper-2); }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery-grid .media-placeholder, .gallery-grid .media-frame { min-height: 170px; }

/* =========================================================
   VISIT
   ========================================================= */
.visit { background: var(--ink); color: var(--light); }
.visit h2 { color: var(--light); font-size: clamp(1.9rem, 4.8vw, 2.8rem); }
.visit-grid { display: grid; gap: 34px; }
.info-block { margin-bottom: 22px; }
.info-block h3 { font-family: var(--body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--honey-soft); margin-bottom: 6px; }
.info-block p, .info-block a { color: var(--light); margin: 0; }
.info-block a:hover { color: var(--honey-soft); }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: 6px 0; color: var(--light); font-weight: 400; }
.hours th { font-weight: 600; padding-right: 24px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.visit-map { min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink-deep); color: var(--light-mut); }
.footer-inner { display: grid; gap: 30px; padding-block: 50px; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.55rem; color: var(--light); display: block; margin-bottom: 8px; }
.footer-brand p { margin: 0; max-width: 340px; }
.footer-col h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--honey-soft); margin-bottom: 12px; }
.footer-col p { margin: 0 0 8px; }
.footer-col a { color: var(--light); }
.footer-bottom { border-top: 1px solid rgba(243,234,217,.1); padding-block: 18px; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* =========================================================
   STICKY MOBILE CALL BAR
   ========================================================= */
.mobile-callbar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--honey); color: var(--ink-deep); font-weight: 700;
  padding: 15px; border-radius: 999px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
}
.mobile-callbar:hover { text-decoration: none; }

/* =========================================================
   SCROLL REVEAL (progressive enhancement)
   ========================================================= */
/* Only hide reveal content when JS is present to bring it back. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero reveal runs as a plain CSS animation, not gated on JS boot + the
   IntersectionObserver — the hero is always in view on load, so waiting on
   script execution just delays first paint (this was the LCP bottleneck).
   Below-the-fold sections keep the JS-driven scroll reveal above. */
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .reveal { opacity: 0; animation: hero-in .6s ease forwards; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 760px) {
  .section { padding: 84px 0; }
  .main-nav { display: flex; }
  .story-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .bar-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .dessert-ribbon { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .dessert-list { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .gallery-grid .media-placeholder, .gallery-grid .media-frame { min-height: 0; height: 100%; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: span 2; }
  .mobile-callbar { display: none; }
}

@media (min-width: 1024px) {
  .menu-board { grid-template-columns: repeat(3, 1fr); gap: 44px; }
  .hero-inner { padding-block: 116px 124px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  .hero .reveal { opacity: 1; animation: none; transform: none; }
}
