/* greenwayrestro.in. The greens are the logo's leaf (#86b649) and the
   restaurant's printed-menu forest; paper is warm cream. */
:root {
  --forest: #173d17;
  --forest-2: #1f4d1d;
  --leaf: #86b649;
  --leaf-deep: #4f7c22;
  --cream: #f6f1e6;
  --paper: #fffcf6;
  --sand: #eee5d1;
  --ink: #1b2617;
  --soft: #586551;
  --clay: #b8612f;
  --line: rgba(27, 38, 23, .12);
  --line-light: rgba(246, 241, 230, .18);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(23, 61, 23, .06), 0 12px 32px -12px rgba(23, 61, 23, .22);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.kicker { font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-deep); margin: 0 0 14px; }
.kicker-light { color: var(--leaf); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: rgba(246, 241, 230, .82); max-width: 34em; }
.fine { font-size: 14px; color: var(--soft); margin-top: 18px; }

/* icons */
.ico { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; flex: none; }
.ico svg { width: 100%; height: 100%; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn svg:not(.ico svg) { width: 1.1em; height: 1.1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: transform .2s ease, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-leaf { background: var(--leaf); color: var(--forest); }
.btn-leaf:hover { background: #95c556; }
.btn-ghost { color: var(--cream); border-color: rgba(246, 241, 230, .45); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 241, 230, .08); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-2); }
.btn-line { color: var(--forest); border-color: rgba(23, 61, 23, .35); }
.btn-line:hover { border-color: var(--forest); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--leaf-deep); text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, box-shadow .3s, color .3s; color: var(--cream); }
.top.solid, .top.scrolled { background: rgba(246, 241, 230, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.home { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 38px; height: auto; }
.logo-word { font: 600 25px/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .88; }
.nav a:hover { opacity: 1; }
.nav .nav-menu { opacity: 1; padding: 11px 20px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--cream); color: var(--ink); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .3); transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .nav-menu { margin-top: 16px; justify-content: center; border: 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #2a6326 0%, var(--forest) 55%, #10300f 100%); color: var(--cream); padding: 150px 0 120px; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/assets/leaves.svg') 0 0 / 120px auto; opacity: .05; transform: rotate(-12deg) scale(1.4); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin-bottom: 26px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--leaf); }
.hero-pic { position: relative; justify-self: center; width: min(440px, 100%); }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); outline: 1px solid rgba(246, 241, 230, .15); outline-offset: 10px; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -26px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; }
.badge .ico { width: 28px; height: 28px; color: var(--leaf-deep); }
@media (max-width: 860px) {
  .hero { padding: 120px 0 90px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-pic { width: min(360px, 88%); }
  .badge { left: -8px; }
}

/* facts band */
.facts { position: relative; z-index: 2; margin-top: -56px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts-in > div { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.facts-in > div + div { border-left: 1px solid var(--line); }
.facts .ico { width: 30px; height: 30px; color: var(--leaf-deep); margin-top: 2px; }
.facts p { margin: 0; font-size: 14.5px; color: var(--soft); line-height: 1.45; }
.facts b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 900px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in > div:nth-child(3) { border-left: 0; }
  .facts-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts-in > div { padding: 18px 20px; }
}

/* sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-bus { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* outlets */
.outlets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.outlet { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s ease; }
.outlet:hover { transform: translateY(-4px); }
.outlet-pic { aspect-ratio: 4 / 3; overflow: hidden; }
.outlet-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.outlet:hover .outlet-pic img { transform: scale(1.04); }
.outlet-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.outlet-body h3 { font-size: 28px; margin-bottom: 10px; }
.outlet-body > p:not(.kicker) { color: var(--soft); }
.outlet-body .more { margin-top: auto; padding-top: 8px; }
.hours { list-style: none; padding: 0; margin: 4px 0 18px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.hours li span { color: var(--soft); }
.hours b { font-weight: 700; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(90% 90% at 30% 20%, #2c6a28, var(--forest)); color: var(--leaf); position: relative; overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: -20%; background: url('/assets/leaves.svg') 0 0 / 90px auto; opacity: .07; transform: rotate(-14deg); }
.ph .ico { width: 92px; height: 92px; position: relative; }
.ph-cafe { background: radial-gradient(90% 90% at 70% 20%, #7a4e2c, #3d2615); color: #e9c99b; }
@media (max-width: 980px) { .outlets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .outlets { grid-template-columns: 1fr; } }

/* spaces */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.space { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; }
.space .ico { width: 54px; height: 54px; padding: 12px; border-radius: 16px; background: rgba(134, 182, 73, .18); color: var(--leaf-deep); margin-bottom: 20px; box-sizing: content-box; }
.space h3 { font-size: 22px; margin-bottom: 8px; }
.space p { color: var(--soft); margin: 0; font-size: 15.5px; }
@media (max-width: 980px) { .spaces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spaces { grid-template-columns: 1fr; } }

/* gallery */
.section-tight { padding-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 22px; row-gap: 30px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 12px; font-weight: 600; color: var(--soft); font-size: 15px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* events */
.events { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.events-card { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); }
.events-card h2 { margin-bottom: 26px; }
.events-card > p { color: rgba(246, 241, 230, .8); }
.event-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.event-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.event-list .ico { width: 20px; height: 20px; color: var(--leaf); }
.events-pic { border-radius: var(--radius); overflow: hidden; min-height: 360px; }
.events-pic img { width: 100%; height: 100%; object-fit: cover; }
.ph-events { background: linear-gradient(160deg, #e8dcc0, #d7c7a3); }
.ph-events > svg { width: 46%; position: relative; filter: drop-shadow(0 20px 30px rgba(23, 61, 23, .25)); }
@media (max-width: 860px) { .events { grid-template-columns: 1fr; } .events-pic { min-height: 240px; } }
@media (max-width: 480px) { .event-list { grid-template-columns: 1fr; } }

/* bus */
.bus { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bus h2 { margin-bottom: 18px; }
.bus p { color: var(--soft); max-width: 36em; }
.bus-art { color: var(--forest); --icon-bg: var(--sand); background: var(--paper); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow); max-width: 380px; width: 100%; justify-self: center; }
.bus-art svg { width: 64%; }
@media (max-width: 760px) { .bus { grid-template-columns: 1fr; } .bus-art { max-width: 220px; } }

/* menu peek */
.peeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.peek { border-top: 3px solid var(--leaf); padding-top: 22px; }
.peek h3 { font-size: 26px; }
.peek-count { color: var(--soft); font-size: 14px; margin: 6px 0 14px; }
.peek ul { list-style: none; padding: 0; margin: 0 0 18px; }
.peek li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.peek li a:hover { color: var(--leaf-deep); }
@media (max-width: 860px) { .peeks { grid-template-columns: 1fr; } }
/* the food mosaic: one big dish, four small */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 48px; }
.mosaic figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.mosaic figure.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; inset: auto 0 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(10, 20, 8, .72)); color: #fff; font-weight: 700; font-size: 15px; }
.mosaic .big figcaption { font: 600 24px/1.2 var(--serif); padding: 40px 22px 18px; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure.big { aspect-ratio: 1; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit h2 { margin-bottom: 26px; }
.contact { list-style: none; padding: 0; margin: 0 0 30px; }
.contact li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 18px; }
.contact .ico { width: 24px; height: 24px; color: var(--leaf); margin-top: 3px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.hours-card { background: rgba(246, 241, 230, .06); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 32px; }
.hours-card h3 { font-size: 26px; margin-bottom: 18px; }
.hours-row { padding: 14px 0; border-top: 1px solid var(--line-light); }
.hours-row > b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.hours-row .hours { margin: 8px 0 0; }
.section-forest .hours li { border-top-color: var(--line-light); }
.section-forest .hours li span, .section-forest .fine { color: rgba(246, 241, 230, .7); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.visit-media { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: clamp(40px, 6vw, 64px); }
.map { border-radius: var(--radius); overflow: hidden; background: #e8e4d8; min-height: 320px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.visit-pic { margin: 0; }
.visit-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cta-tight { margin-top: 0; }
@media (max-width: 860px) { .visit-media { grid-template-columns: 1fr; } }
.visit-pic figcaption { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: rgba(246, 241, 230, .8); font-size: 15px; }
.visit-pic figcaption .ico { width: 20px; height: 20px; color: var(--leaf); }

/* footer */
.foot { background: #0f2a0e; color: rgba(246, 241, 230, .8); padding: 64px 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo { color: var(--cream); margin-bottom: 14px; }
.foot-h { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: 6px 0 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); text-decoration: underline; }
.foot-small { font-size: 13px; color: rgba(246, 241, 230, .55); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(246, 241, 230, .55); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* menu page */
.menu-hero { background: var(--forest); color: var(--cream); padding: 140px 0 56px; position: relative; overflow: hidden; }
.menu-hero::before { content: ''; position: absolute; inset: 0; background: url('/assets/leaves.svg') 0 0 / 110px auto; opacity: .05; transform: rotate(-12deg) scale(1.4); }
.menu-hero .wrap { position: relative; }
.menu-hero h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 14px; }
.menu-bar { position: sticky; top: 76px; z-index: 20; background: rgba(246, 241, 230, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-bar-in { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--soft); }
.tab[aria-selected="true"] { background: var(--forest); color: var(--cream); }
.search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 14px; min-width: 240px; flex: 0 1 300px; }
.search svg { width: 18px; height: 18px; color: var(--leaf-deep); flex: none; }
.search input { border: 0; background: none; font: 600 16px var(--sans); padding: 8px 6px; width: 100%; color: var(--ink); outline: none; }
.kitchen { padding: 48px 0 24px; }
.kitchen + .kitchen { border-top: 1px solid var(--line); }
.kitchen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.kitchen-head h2 { font-size: clamp(32px, 4vw, 44px); }
.kitchen-head .hours { display: flex; gap: 18px; margin: 0; }
.kitchen-head .hours li { border: 0; padding: 0; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; }
.chips a:hover { border-color: var(--leaf-deep); color: var(--leaf-deep); }
.course { margin-bottom: 36px; break-inside: avoid; }
.course h3 { font-size: 26px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 2px solid var(--leaf); display: inline-block; }
.dishes { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 40px; }
.dishes li { break-inside: avoid; padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish { font-weight: 600; }
.var { font-size: 13.5px; color: var(--soft); text-align: right; }
.empty { padding: 40px 0; font-size: 18px; color: var(--soft); }
.menu-fine { margin: 10px 0 64px; }
/* with the script running, one kitchen at a time; without it, all of them in a row */
.js .kitchen[hidden] { display: none; }
.h-plain { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
@media (max-width: 640px) {
  .menu-bar { top: 76px; }
  .search { flex: 1 1 100%; min-width: 0; }
  .kitchen-head .hours { flex-direction: column; gap: 2px; }
}
