/* Windsor Lake Cafe & Marketplace — remake
   Palette pulled from the existing brand red (#f40009) and the mountain/lake logo. */

:root {
  --cream: #faf5ec;
  --paper: #fffdf8;
  --sand: #f0e7d6;
  --ink: #1d1a17;
  --ink-soft: #5b544b;
  --red: #e4000a;
  --red-deep: #b00008;
  --pine: #1f3a31;
  --pine-deep: #162b24;
  --butter: #f2d38a;
  --line: rgba(29, 26, 23, .14);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(29,26,23,.06), 0 12px 32px -12px rgba(29,26,23,.22);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; font-variation-settings: "opsz" 96, "SOFT" 50; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--butter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(228,0,10,.6); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.on-dark .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--pine); }
.btn-sm { padding: .75rem 1.2rem; font-size: .88rem; }
.arrow::after { content: "→"; transition: transform .18s; }
.btn:hover.arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* Notice bar */
.notice { background: var(--ink); color: var(--cream); font-size: .9rem; text-align: center; padding: .6rem var(--gutter); }
.notice strong { color: var(--butter); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,245,236,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: 58px; border-radius: 50%; mix-blend-mode: multiply; }
.brand span { font: 600 1.15rem/1.05 var(--display); letter-spacing: -.01em; }
.brand small { display: block; font: 500 .68rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding-block: 6px; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
@media (max-width: 1140px) { .nav ul { gap: 1.1rem; } .nav ul a { font-size: .9rem; } }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { display: block; }

@media (max-width: 960px) {
  .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .nav ul { position: fixed; inset: 0 0 auto 0; top: var(--header-h, 76px); background: var(--cream); flex-direction: column; gap: 0; padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .22s; box-shadow: 0 24px 40px -20px rgba(0,0,0,.25); }
  .nav ul.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul a { display: block; padding: 16px 0; font-size: 1.15rem; font-family: var(--display); }
  .nav ul li.mobile-cta { border: 0; padding-top: 18px; }
  .nav ul li.mobile-cta a { display: flex; background: var(--red); color: #fff; border-radius: 999px; justify-content: center; font: 600 1rem var(--body); padding: 16px; }
  .nav ul li.mobile-cta a::after { display: none; }
}
@media (min-width: 961px) { .mobile-cta { display: none; } }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); margin: 1.2rem 0 1.4rem; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--red); }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.status { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; font-size: .92rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 999px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #9a9186; }
.status.open i { background: #2f9e55; box-shadow: 0 0 0 4px rgba(47,158,85,.2); }
.hero-art { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.stamp { position: absolute; left: -22px; bottom: 9%; width: 132px; height: 132px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; text-align: center; transform: rotate(-9deg); box-shadow: var(--shadow); }
.stamp div { font: 600 .66rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.stamp b { display: block; font: 600 2.2rem/1 var(--display); letter-spacing: -.02em; margin: 2px 0; }
.chip-float { position: absolute; right: -10px; top: 12%; background: var(--paper); padding: .8rem 1rem; border-radius: 16px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; max-width: 190px; transform: rotate(3deg); }
.chip-float b { display: block; font-family: var(--display); font-size: 1rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin-inline: auto; width: 100%; }
  .stamp { left: -6px; width: 108px; height: 108px; } .stamp b { font-size: 1.8rem; }
  .chip-float { display: none; }
}

/* Category strip */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.strip a { display: block; padding: 1.15rem 1.6rem; text-decoration: none; font: 500 1.35rem/1 var(--display); font-style: italic; transition: color .18s, background .18s; }
.strip a:hover { color: var(--red); background: var(--cream); }
.strip li + li a { border-left: 1px solid var(--line); }
@media (max-width: 640px) { .strip a { padding: .9rem 1rem; font-size: 1.1rem; } .strip li + li a { border-left: 0; } }

/* Sections */
section { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: .9rem; max-width: 14em; }
.sec-head p { max-width: 30em; color: var(--ink-soft); }

/* Menu cards (home + menu page) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; background: var(--sand); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img.empty { aspect-ratio: 16/7; background: var(--sand) url(img/logo.jpg) center / auto 92% no-repeat; background-blend-mode: multiply; }
.card-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card h3 { font-size: 1.28rem; line-height: 1.15; }
.card .price { font: 600 .95rem var(--body); color: var(--red-deep); }
.card .desc { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card .desc.open { -webkit-line-clamp: unset; }
.card .more { background: none; border: 0; padding: 0; font: 600 .82rem var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.card .foot { margin-top: auto; padding-top: .7rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.badge { position: absolute; top: 12px; left: 12px; font: 600 .72rem/1 var(--body); padding: .45rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; }
.badge.low { background: var(--butter); color: var(--ink); }
.card.sold { opacity: .72; }
.card.sold .card-img img { filter: grayscale(.8); }

/* Split feature sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.split.flip .split-art { order: 2; }
.split-art { position: relative; }
.split-art img { border-radius: var(--radius); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); }
.split-art.tall img { aspect-ratio: 4/5; max-height: 640px; }
#rooms .split-art img { max-height: 620px; }
.split h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: .9rem 0 1.1rem; }
.split p { color: var(--ink-soft); max-width: 32em; }
.on-dark { background: var(--pine); color: #f3eee3; }
.on-dark p { color: rgba(243,238,227,.78); }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .75rem; }
.facts li { display: flex; gap: .8rem; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-1px); }
.on-dark .facts li::before { background: var(--butter); }
.split-art .tag { position: absolute; right: 16px; bottom: 16px; background: var(--paper); color: var(--ink); font: 600 .8rem var(--body); padding: .55rem .9rem; border-radius: 999px; box-shadow: var(--shadow); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-art { order: 0; } .split-art.tall img { aspect-ratio: 5/4; } }

/* Events */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.event { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; position: relative; overflow: hidden; }
.event .date { display: flex; align-items: center; gap: 1rem; }
.event .date .d { background: var(--red); color: #fff; border-radius: 16px; min-width: 70px; padding: .6rem .7rem .55rem; text-align: center; flex: none; }
.event .d b { white-space: nowrap; }
.event .d b { display: block; font: 600 1.9rem/1 var(--display); }
.event .d span { font: 600 .68rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.event .when { font-size: .88rem; color: var(--ink-soft); line-height: 1.4; }
.event h3 { font-size: 1.5rem; }
.event p { color: var(--ink-soft); font-size: .95rem; }
.event .price-tag { font: 600 .85rem var(--body); color: var(--red-deep); }
.event .btn { margin-top: auto; align-self: flex-start; }
.pill { display: inline-block; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--butter); padding: .4rem .65rem; border-radius: 999px; }

/* Visit */
.visit { background: var(--sand); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.visit h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: .9rem 0 1.2rem; }
.hours { list-style: none; padding: 0; margin: 0; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.hours li { display: flex; justify-content: space-between; padding: .95rem 1.4rem; border-bottom: 1px solid var(--line); }
.hours li:last-child { border: 0; }
.hours li.today { background: var(--ink); color: var(--cream); font-weight: 600; }
.hours li.today span:first-child::after { content: " · today"; font-weight: 500; color: var(--butter); }
.addr { font-size: 1.15rem; line-height: 1.5; }
.addr a { text-underline-offset: 3px; }
.contact-list { display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.contact-list a, .contact-list div { display: flex; gap: .8rem; align-items: center; text-decoration: none; font-weight: 500; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--red); }
.contact-list a:hover span { text-decoration: underline; }
.note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* Newsletter band */
.band { background: var(--red); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.band .row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 16em; }
.band p { opacity: .92; margin-top: .6rem; }
.band .btn { background: #fff; color: var(--red-deep); }
.band .btn:hover { background: var(--cream); }

/* Footer */
.footer { background: var(--ink); color: #d9d2c4; padding-block: 56px 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--butter); margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; } .footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand-block img { width: 84px; height: 84px; border-radius: 50%; background: var(--cream); margin-bottom: 1rem; }
.footer .brand-block p { max-width: 24em; }
.legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #9b9486; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .brand-block { grid-column: 1 / -1; } }

/* Menu page */
.page-hero { padding-block: clamp(40px, 6vw, 80px) 28px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 1rem 0; }
.page-hero p { color: var(--ink-soft); max-width: 36em; font-size: 1.15rem; }
.toolbar { position: sticky; top: var(--header-h, 76px); z-index: 40; background: rgba(250,245,236,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); padding-block: 12px; }
.toolbar .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding-block: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .92rem var(--body); padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer; transition: .18s; white-space: nowrap; }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tab small { opacity: .6; margin-left: .3em; }
.search { position: relative; flex: 0 1 250px; }
.search input { width: 100%; font: 400 .95rem var(--body); padding: .65rem 1rem .65rem 2.4rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--ink); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-soft); }
.menu-body { padding-block: 40px 90px; }
.cat { margin-bottom: 64px; scroll-margin-top: 170px; }
.cat h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.4rem; display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.cat h2 small { font: 500 .85rem var(--body); color: var(--ink-soft); letter-spacing: 0; }
.empty-state { text-align: center; padding: 60px 0; color: var(--ink-soft); font-size: 1.1rem; }
.fine { font-size: .88rem; color: var(--ink-soft); max-width: 52em; padding: 1.2rem 1.4rem; background: var(--paper); border-radius: 16px; border: 1px solid var(--line); margin-top: 8px; }
@media (max-width: 640px) { .search { flex: 1 1 100%; } .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card-body { padding: .85rem .9rem 1rem; } .card h3 { font-size: 1.05rem; } .card .desc { font-size: .84rem; -webkit-line-clamp: 3; } .card .btn-sm { padding: .6rem .9rem; font-size: .8rem; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card, .card-img img { transition: none; } }
