/* O PALMEIRAL — opalmeiral.com — v5.2
   ============================================================
   AESTHETIC: Editorial warmth. Quiet confidence.
   A well-lit room in a magazine you didn't expect to pick up.
   
   v5.2 CHANGES from v5:
   - Removed all fadeUp animations (no opacity fades)
   - Removed hero gradient overlay (no gradients on images)
   - Removed .figure fade-in (images display immediately)
   - Added <address> styling for footer
   - Added <details>/<summary> FAQ accordion
   - Added subtle border-left accent on sections
   - Refined spacing and type micro-adjustments
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --cream: #F5F0E6;
  --warm-white: #FAFAF6;
  --parchment: #ECE7DB;
  --ochre: #B8923A;
  --ochre-hover: #9A7A2E;
  --olive: #3E4E33;
  --ink: #1C1B18;
  --ink-soft: #4A4840;
  --stone: #8E8880;
  --stone-light: #B5AFA6;
  --terracotta: #B85C38;
  --linen: #E4DED2;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem; --s6: 4rem; --s7: 6rem; --s8: 8rem;

  --max-w: 1120px;
  --content-w: 640px;
  --nav-h: 56px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-weight: 300; color: var(--ink); background: var(--warm-white); line-height: 1.72; letter-spacing: 0.01em; }
::selection { background: var(--ochre); color: var(--warm-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--stone-light); transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 300; margin-bottom: var(--s3); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: var(--s2); }
h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-bottom: var(--s1); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1.1em; max-width: 58ch; }
.lead { font-family: var(--font-display); font-size: clamp(1.08rem, 2.2vw, 1.3rem); font-weight: 300; font-style: italic; color: var(--ink-soft); line-height: 1.6; max-width: 48ch; }

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s4); }
.content-narrow { max-width: var(--content-w); margin: 0 auto; }
section { padding: var(--s6) 0; }
section + section { border-top: 1px solid var(--linen); }

/* NAVIGATION */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; background: rgba(250, 250, 246, 0.88); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); border-bottom: 1px solid rgba(228, 222, 210, 0.5); }
body { padding-top: var(--nav-h); }
.site-nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo { border: none; flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-logo:hover { border: none; }
.nav-links { display: flex; gap: var(--s3); list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; border: none; color: var(--stone); transition: color 0.35s var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--ochre); transition: width 0.5s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { font-family: var(--font-body) !important; font-size: 0.62rem !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: 0.13em; padding: 0.5rem 1.4rem; background: var(--ink); color: var(--warm-white) !important; border: none !important; cursor: pointer; transition: background 0.35s var(--ease); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ochre); color: var(--warm-white) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); padding: 0.3rem; line-height: 1; z-index: 101; -webkit-tap-highlight-color: transparent; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 100; background: rgba(250, 250, 246, 0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--linen); gap: var(--s1); }
  .nav-links.open { display: flex !important; }
  .nav-links a { font-size: 0.78rem; padding: 0.5rem 0; }
  .nav-cta { text-align: center; display: block; margin-top: var(--s2); padding: 0.6rem 1.4rem; }
}

/* HERO — NO gradient overlay, clean edge */
.hero-banner { position: relative; overflow: hidden; }
.hero-banner img { width: 100%; height: 68vh; min-height: 380px; max-height: 580px; object-fit: cover; object-position: center 40%; }

/* HOME */
.home-intro { padding-top: var(--s6); padding-bottom: var(--s5); text-align: left; }
.home-section { padding: var(--s5) 0; }
.home-section + .home-section { border-top: 1px solid var(--linen); }
.home-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s3) 0; }
.home-gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 600px) { .home-gallery { grid-template-columns: 1fr; } }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: var(--s4); } }

/* FIGURES — NO fade animation, images show immediately */
.figure { margin: var(--s3) 0; }
.figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.figure figcaption { font-family: var(--font-body); font-size: 0.7rem; font-weight: 300; color: var(--stone); margin-top: var(--s1); letter-spacing: 0.02em; font-style: italic; }

/* BREADCRUMBS */
.breadcrumbs { font-family: var(--font-body); font-size: 0.62rem; font-weight: 400; color: var(--stone); text-transform: uppercase; letter-spacing: 0.12em; padding: var(--s1) 0; }
.breadcrumbs a { border: none; color: var(--stone); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 0.5em; color: var(--stone-light); }

/* ARTICLE */
.article-header { padding: var(--s5) 0 var(--s2); }

/* BUTTONS */
.btn { display: inline-block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.13em; padding: 0.7rem 2rem; border: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: all 0.4s var(--ease); }
.btn:hover { background: var(--ink); color: var(--warm-white); border-color: var(--ink); border-bottom-color: var(--ink); }
.btn-primary { background: var(--ochre); color: var(--warm-white); border-color: var(--ochre); border-bottom-color: var(--ochre); }
.btn-primary:hover { background: var(--ochre-hover); border-color: var(--ochre-hover); border-bottom-color: var(--ochre-hover); }

/* MENU SYSTEM */
.menu-tabs { display: flex; gap: 0; margin-bottom: var(--s5); border-bottom: 1px solid var(--linen); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { font-family: var(--font-body); font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; padding: var(--s2) var(--s3); background: none; border: none; border-bottom: 2px solid transparent; color: var(--stone); cursor: pointer; transition: all 0.35s var(--ease); white-space: nowrap; }
.menu-tab:hover { color: var(--ink); }
.menu-tab.active { color: var(--ink); border-bottom-color: var(--ochre); }
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-subhead { font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ochre); margin: var(--s5) 0 var(--s2); padding-bottom: var(--s1); border-bottom: 1px solid var(--linen); }
.menu-subhead:first-child { margin-top: 0; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid rgba(228,222,210,0.3); }
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; }
.menu-item-desc { font-size: 0.73rem; font-weight: 300; color: var(--stone); margin-top: 0.15rem; }
.menu-item-price { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); flex-shrink: 0; margin-left: var(--s3); letter-spacing: 0.02em; }
.menu-highlight { background: var(--cream); padding: var(--s3); margin-bottom: var(--s3); border-left: 3px solid var(--ochre); }
.menu-note { font-family: var(--font-body); font-size: 0.72rem; font-weight: 300; color: var(--stone); font-style: italic; margin-top: var(--s2); }
.set-menu-block { margin-bottom: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--linen); }
.set-menu-block:last-of-type { border-bottom: none; }
.set-menu-block h4 { font-family: var(--font-display); font-size: 1.3rem; }
.wine-pairing { font-family: var(--font-body); font-size: 0.72rem; font-weight: 300; color: var(--stone); margin-top: var(--s2); }

/* FAQ ACCORDION — <details>/<summary> feeds FAQPage schema */
details.faq { border-bottom: 1px solid var(--linen); padding: var(--s2) 0; }
details.faq summary { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; letter-spacing: -0.02em; user-select: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 1.1rem; font-weight: 300; color: var(--stone); transition: transform 0.3s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-a { padding: var(--s2) 0 var(--s1); max-width: 56ch; }
details.faq .faq-a p { margin-bottom: 0.8em; }

/* HOURS TABLE */
.hours-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 0.82rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--linen); }
.hours-table td:first-child { font-weight: 400; }
.hours-table td:last-child { text-align: right; color: var(--stone); font-weight: 300; }
.info-block { margin-bottom: var(--s3); }

/* MAP */
.map-container iframe { width: 100%; height: 340px; border: 0; filter: grayscale(0.12) contrast(1.04); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s4); }
.blog-card { border: none; }
.blog-card img { aspect-ratio: 3/2; object-fit: cover; margin-bottom: var(--s2); }
.blog-card h3 a { border: none; }

/* FOOTER — <address> for semantic NAP */
footer { background: var(--ink); color: var(--stone); padding: var(--s7) 0 var(--s5); font-family: var(--font-body); font-size: 0.75rem; font-weight: 300; margin-top: var(--s8); }
footer a { color: var(--parchment); border-bottom-color: rgba(255,255,255,0.1); }
footer a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
footer address { font-style: normal; line-height: 1.75; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s6); margin-bottom: var(--s6); }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ochre); margin-bottom: var(--s2); }
.footer-about { line-height: 1.75; color: var(--stone); font-family: var(--font-display); font-size: 0.95rem; font-weight: 300; font-style: italic; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: var(--s3); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom small { color: var(--stone); font-weight: 300; font-size: 0.68rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); } footer { padding: var(--s6) 0 var(--s4); margin-top: var(--s6); } }

/* MODAL */
.res-overlay { display: none; position: fixed; inset: 0; background: rgba(28, 27, 24, 0.55); backdrop-filter: blur(6px); z-index: 9998; }
.res-overlay.open { display: block; }
.res-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 420px; height: 80vh; max-height: 680px; background: var(--warm-white); z-index: 9999; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.25); }
.res-modal.open { display: block; }
.res-modal iframe { width: 100%; height: 100%; border: 0; }
.res-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); z-index: 10000; line-height: 1; }
.res-close:hover { color: var(--ochre); }

/* UTILITIES */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section-divider { text-align: center; padding: var(--s4) 0; color: var(--stone-light); font-size: 0.7rem; letter-spacing: 1em; }

/* MOBILE */
@media (max-width: 768px) {
  html { font-size: 14px; }
  .container { padding: 0 var(--s3); }
  section { padding: var(--s5) 0; }
  .article-header { padding: var(--s4) 0 var(--s2); }
  .hero-banner img { height: 50vh; min-height: 300px; }
}

/* PRINT */
@media print {
  .site-nav, .res-overlay, .res-modal, .nav-toggle, .btn { display: none !important; }
  body { padding-top: 0; font-size: 11pt; line-height: 1.5; }
  footer { background: #fff; color: #333; }
}

/* RECIPES */
.recipe-card { padding: var(--s5) 0; border-top: 1px solid var(--linen); }
.recipe-card:first-of-type { border-top: none; padding-top: var(--s3); }
.recipe-card h2 { margin-bottom: var(--s1); }
.recipe-card .lead { margin-bottom: var(--s3); }
.recipe-ingredients { list-style: none; font-size: 0.85rem; line-height: 1.8; }
.recipe-ingredients li { padding: 0.2rem 0; border-bottom: 1px solid rgba(228,222,210,0.3); }
.recipe-ingredients li:last-child { border-bottom: none; }
.recipe-method { font-size: 0.88rem; line-height: 1.75; padding-left: 1.2em; }
.recipe-method li { padding: 0.4rem 0; margin-bottom: 0.5em; }
.recipe-method li::marker { color: var(--ochre); font-weight: 500; }
