/* =========================================================
   FORNO 27 — COOKIE DEVS PREMIUM RESTAURANT DEMO
   ========================================================= */

:root {
  --paper: #f5f1e8;
  --paper-2: #fffdf8;
  --ink: #171713;
  --muted: #68665f;
  --line: rgba(23, 23, 19, 0.16);
  --tomato: #b93624;
  --olive: #565b38;
  --cream: #ede1cd;
  --dark: #171613;

  --shell: min(1240px, calc(100% - 48px));
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;

  --shadow: 0 20px 70px rgba(24, 20, 15, 0.08);
  --ease: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { width: 100%; height: 100%; object-fit: cover; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; left: 16px; top: 16px; padding: 10px 14px;
  background: #fff; color: #000; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.eyebrow.light { color: rgba(255,255,255,.72); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(4.3rem, 9vw, 9rem); margin-bottom: 32px; }
h2 { font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 30px; }
h1 em, h2 em { font-weight: 600; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--tomato); }
.button-secondary { border-color: var(--line); background: transparent; }
.button-secondary:hover { background: white; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--cream); }
.button-ghost { color: white; border-color: rgba(255,255,255,.45); }
.button-ghost:hover { background: white; color: var(--ink); }
.button-outline-light { border-color: rgba(255,255,255,.35); color: white; }
.button-outline-light:hover { background: white; color: var(--ink); }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  color: white;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(245,241,232,.98);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%; font-size: .77rem; font-weight: 700;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { letter-spacing: .12em; font-size: .88rem; }
.brand-copy small { font-size: .56rem; letter-spacing: .15em; opacity: .72; margin-top: 4px; }

.desktop-nav { display: flex; gap: 26px; font-size: .79rem; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-7px; height:1px;
  background: currentColor; transition: right var(--ease);
}
.desktop-nav a:hover::after { right:0; }

.header-cta {
  justify-self: end; border: 1px solid currentColor; padding: 11px 16px; font-size: .76rem; font-weight: 700;
}
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 10px; cursor: pointer;
}
.menu-toggle > span:not(.sr-only) {
  display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }
body.menu-open { overflow: hidden; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: end;
  color: white;
  background: #111;
  overflow: hidden;
}
.hero-media, .hero-overlay { position:absolute; inset:0; }
.hero-media img { object-position: center 58%; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 60%);
}
.hero-content { position:relative; z-index:1; padding: 180px 0 84px; }
.hero-copy { max-width: 570px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.86); }
.hero-actions { display:flex; gap:12px; margin-top:34px; flex-wrap:wrap; }
.hero-note {
  position:absolute; z-index:1; right:36px; bottom:45px; writing-mode:vertical-rl;
  font-size:.62rem; letter-spacing:.2em; color:rgba(255,255,255,.65);
}

.intro-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items:start; }
.intro-copy { padding-top: 34px; max-width: 540px; }
.intro-copy .lead { font-size: 1.42rem; line-height:1.45; color:var(--ink); }
.intro-copy p:not(.lead) { color:var(--muted); }
.text-link {
  display:inline-flex; gap:14px; align-items:center; margin-top:24px; padding-bottom:4px;
  border-bottom:1px solid var(--ink); font-weight:700; font-size:.9rem;
}
.text-link span { transition:transform var(--ease); }
.text-link:hover span { transform:translate(4px,4px); }

.feature-split { min-height: 760px; display:grid; grid-template-columns: 1.1fr .9fr; background:var(--dark); color:white; }
.feature-image { min-height: 680px; }
.feature-copy { padding: 100px clamp(40px, 7vw, 110px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.feature-copy h2 { font-size:clamp(3rem,5.6vw,5.5rem); }
.feature-copy p:not(.eyebrow) { color:rgba(255,255,255,.68); max-width:480px; margin-bottom:34px; }

.section-heading { display:flex; justify-content:space-between; gap:60px; align-items:end; margin-bottom:72px; }
.section-heading h2 { margin-bottom:0; }
.section-heading > p { max-width:430px; color:var(--muted); margin-bottom:12px; }

.menu-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:64px; }
.menu-column { border-top:2px solid var(--ink); }
.menu-title-row { display:flex; justify-content:space-between; align-items:center; padding:22px 0 12px; }
.menu-title-row h3 { font-family:var(--serif); font-size:2rem; margin:0; }
.menu-title-row span { font-size:.7rem; letter-spacing:.15em; color:var(--muted); }
.menu-item {
  display:grid; grid-template-columns:1fr auto; gap:24px;
  padding:22px 0; border-top:1px solid var(--line);
}
.menu-item h4 { margin-bottom:5px; font-size:1rem; }
.menu-item p { margin:0; color:var(--muted); font-size:.88rem; max-width:420px; }
.menu-item strong { font-size:.92rem; }
.menu-disclaimer { margin:24px 0 0; color:var(--muted); font-size:.74rem; }
.order-panel {
  margin-top:84px; padding:48px; background:var(--tomato); color:white;
  display:flex; align-items:end; justify-content:space-between; gap:50px;
}
.order-panel h3 { font-family:var(--serif); font-size:clamp(2.2rem,4vw,4rem); line-height:1.05; margin:0; }
.order-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

.editorial { background:var(--paper-2); }
.editorial-grid { display:grid; grid-template-columns:1.15fr .75fr .55fr; gap:28px; align-items:center; }
.editorial-image { overflow:hidden; }
.editorial-image.large { height:650px; }
.editorial-image.small { height:420px; align-self:end; margin-bottom:40px; }
.editorial-copy { padding:20px; }
.editorial-copy .index { display:block; font-size:.68rem; letter-spacing:.14em; color:var(--muted); margin-bottom:70px; }
.editorial-copy h2 { font-size:clamp(3rem,5vw,5rem); }
.editorial-copy p:last-child { color:var(--muted); }

.gallery-section { background:var(--dark); color:white; padding:110px 0 0; }
.gallery-head { margin-bottom:54px; }
.gallery-head h2 { margin:0; }
.gallery-grid { display:grid; grid-template-columns:1.35fr .65fr 1fr; height:720px; }
.gallery-grid figure { margin:0; overflow:hidden; }
.gallery-grid img { transition: transform 700ms ease; }
.gallery-grid figure:hover img { transform:scale(1.025); }
.gallery-b img { object-position:70% center; }

.visit-grid { display:grid; grid-template-columns:1fr .95fr; gap:80px; align-items:stretch; }
.visit-copy { display:flex; flex-direction:column; justify-content:center; }
.visit-details { display:grid; grid-template-columns:repeat(2,1fr); gap:26px 40px; margin:20px 0 40px; }
.visit-details > div { border-top:1px solid var(--line); padding-top:16px; }
.visit-details span { display:block; font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.visit-details p { margin:0; }
.visit-details a { text-decoration:underline; text-underline-offset:4px; }
.visit-actions { display:flex; gap:12px; flex-wrap:wrap; }
.visit-image { min-height:690px; }

.closing { background:var(--olive); color:white; padding:140px 0; }
.closing-inner { text-align:center; }
.closing h2 { font-size:clamp(4rem,9vw,9rem); margin-bottom:44px; }

.site-footer { padding:58px 0; background:#0f0f0d; color:white; }
.footer-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:50px; align-items:start; }
.footer-brand { font-family:var(--serif); font-size:2rem; }
.footer-grid p { color:rgba(255,255,255,.55); font-size:.78rem; }
.footer-links, .footer-meta { display:grid; gap:9px; font-size:.8rem; }
.footer-meta { justify-items:start; }
.footer-meta p { margin:0; }
.cookie-credit { margin-top:12px; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:3px; }
.cookie-credit:hover { border-color:white; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 820px); }
  .section { padding:90px 0; }
  .desktop-nav, .header-cta { display:none; }
  .header-inner { grid-template-columns:1fr auto; min-height:74px; }
  .menu-toggle { display:block; justify-self:end; }
  .mobile-menu {
    display:block; max-height:0; overflow:hidden; background:var(--paper);
    color:var(--ink); border-top:1px solid transparent; transition:max-height 280ms ease, border-color 280ms ease;
  }
  .mobile-menu.is-open { max-height:calc(100vh - 74px); border-top-color:var(--line); }
  .mobile-menu-inner { min-height:calc(100svh - 74px); display:flex; flex-direction:column; padding:44px 0 32px; }
  .mobile-menu-inner > a:not(.button) {
    font-family:var(--serif); font-size:clamp(2.2rem,8vw,4rem); line-height:1.1;
    padding:14px 0; border-bottom:1px solid var(--line);
  }
  .mobile-menu-inner .button { margin-top:auto; width:100%; }
  .hero-content { padding-bottom:58px; }
  .hero-note { display:none; }
  .intro-grid { grid-template-columns:1fr; gap:20px; }
  .intro-copy { padding-top:0; }
  .feature-split { grid-template-columns:1fr; }
  .feature-image { min-height:520px; }
  .feature-copy { padding:80px 36px; }
  .section-heading { align-items:start; flex-direction:column; gap:18px; margin-bottom:54px; }
  .menu-grid { grid-template-columns:1fr; gap:44px; }
  .order-panel { align-items:start; flex-direction:column; }
  .order-actions { justify-content:flex-start; }
  .editorial-grid { grid-template-columns:1fr 1fr; }
  .editorial-copy { grid-column:1 / -1; order:-1; padding:0 0 20px; max-width:620px; }
  .editorial-copy .index { margin-bottom:30px; }
  .editorial-image.large { height:580px; }
  .editorial-image.small { height:580px; margin:0; align-self:auto; }
  .gallery-grid { grid-template-columns:1fr 1fr; height:auto; }
  .gallery-grid figure { height:500px; }
  .gallery-a { grid-column:1 / -1; height:650px !important; }
  .visit-grid { grid-template-columns:1fr; gap:56px; }
  .visit-image { min-height:580px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-meta { grid-column:1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding:72px 0; }
  h1 { font-size:clamp(3.55rem,18vw,5.4rem); }
  h2 { font-size:clamp(2.65rem,13vw,4rem); }
  .hero { min-height:92svh; }
  .hero-media img { object-position:55% center; }
  .hero-content { padding-top:135px; }
  .hero-copy { font-size:1rem; max-width:92%; }
  .hero-actions .button { width:100%; }
  .feature-image { min-height:430px; }
  .feature-copy { padding:64px 20px; }
  .order-panel { margin-inline:-14px; padding:36px 22px; }
  .order-actions, .order-actions .button { width:100%; }
  .editorial-grid { display:block; }
  .editorial-image.large, .editorial-image.small { height:480px; margin-top:18px; }
  .gallery-section { padding-top:72px; }
  .gallery-grid { display:block; }
  .gallery-grid figure, .gallery-a { height:430px !important; }
  .visit-details { grid-template-columns:1fr; }
  .visit-image { min-height:450px; }
  .visit-actions .button { width:100%; }
  .closing { padding:95px 0; }
  .footer-grid { grid-template-columns:1fr; gap:36px; }
  .footer-meta { grid-column:auto; }
}
