/* Fern & Kettle Café — example site. Warm, cozy, rounded. */
:root {
  --cream: #fbf4e8;
  --paper: #fffaf2;
  --espresso: #3b2418;
  --roast: #6b4330;
  --terracotta: #d4683f;
  --butter: #f3c96b;
  --sage: #8aa37b;
  --line: #ead9c3;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--espresso); background: var(--cream); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow { margin-bottom: 14px; color: var(--terracotta); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 2px solid var(--espresso); border-radius: 99px; color: var(--paper); background: var(--espresso); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--terracotta); border-color: var(--terracotta); box-shadow: 0 10px 24px rgba(212, 104, 63, .3); }
.btn-ghost { color: var(--espresso); background: transparent; }
.btn-ghost:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 244, 232, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--serif); text-decoration: none; }
.logo-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50% 50% 50% 8px; color: var(--paper); background: var(--sage); font-size: 1.1rem; }
.menu { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .92rem; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--terracotta); }
.menu .cta { padding: 9px 18px; border-radius: 99px; color: var(--paper); background: var(--terracotta); }
.menu .cta:hover { color: var(--paper); background: var(--espresso); }
.menu-btn { display: none; padding: 8px 12px; border: 1.5px solid var(--espresso); border-radius: 99px; background: none; color: inherit; font: 700 .85rem var(--sans); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 130px; color: var(--paper); background: #3b2418 url("../../images/neighborhood-cafe.jpg") center 45% / cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43, 24, 14, .92) 0%, rgba(59, 36, 24, .75) 55%, rgba(212, 104, 63, .35) 100%); }
.hero .container { position: relative; }
.hero .eyebrow { color: var(--butter); }
.hero h1 { max-width: 640px; margin-bottom: 22px; font-size: clamp(2.8rem, 7vw, 5.4rem); }
.hero h1 em { color: var(--butter); font-style: italic; }
.hero p.lead { max-width: 470px; margin-bottom: 32px; color: #f3e6d6; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn { color: var(--espresso); background: var(--butter); border-color: var(--butter); }
.hero .btn:hover { color: var(--paper); background: var(--terracotta); border-color: var(--terracotta); }
.hero .btn-ghost { color: var(--paper); background: transparent; border-color: rgba(255, 250, 242, .6); }
.badge { position: absolute; right: 6%; bottom: 40px; width: 150px; height: 150px; }
.badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { fill: var(--paper); font: 700 11.5px var(--sans); letter-spacing: 3.2px; }
.badge-cup { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.steam { position: absolute; left: 50%; top: 22%; width: 6px; height: 22px; border-radius: 99px; background: rgba(255, 250, 242, .55); animation: rise 2.4s ease-in-out infinite; }
.steam:nth-child(2) { margin-left: -12px; animation-delay: .6s; }
.steam:nth-child(3) { margin-left: 12px; animation-delay: 1.2s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px) scaleY(.6); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px) scaleY(1.1); } }

/* Marquee */
.marquee { overflow: hidden; padding: 16px 0; color: var(--espresso); background: var(--butter); font: italic 700 1.15rem var(--serif); white-space: nowrap; transform: rotate(-1.2deg); margin-top: -22px; position: relative; z-index: 2; }
.marquee-track { display: inline-block; animation: slide 30s linear infinite; }
.marquee span { margin: 0 22px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 14px; }
.section-head p { color: var(--roast); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 22px 44px rgba(59, 36, 24, .12); }
.card-icon { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 22px; border-radius: 22px; font-size: 1.9rem; background: #fde7d3; }
.card:nth-child(2) .card-icon { background: #fbefc8; }
.card:nth-child(3) .card-icon { background: #e3ecda; }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { color: var(--roast); margin-bottom: 18px; }
.price-list { margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--line); list-style: none; font-size: .92rem; }
.price-list li { display: flex; justify-content: space-between; padding: 4px 0; }
.price-list b { color: var(--terracotta); }

/* Quote teaser */
.quote { color: var(--paper); background: var(--sage); text-align: center; }
.quote .stars { color: var(--butter); font-size: 1.6rem; letter-spacing: 6px; }
.quote blockquote { max-width: 780px; margin: 18px auto 20px; font: italic 400 clamp(1.6rem, 3.6vw, 2.5rem)/1.3 var(--serif); }
.quote cite { display: block; margin-bottom: 30px; font-style: normal; font-weight: 700; opacity: .85; }
.quote .btn { color: var(--espresso); background: var(--paper); border-color: var(--paper); }
.quote .btn:hover { color: var(--paper); background: var(--espresso); border-color: var(--espresso); }

/* Contact info + map */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.info-card { padding: 40px; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); }
.info-card h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 26px; }
.info-list { margin: 0 0 28px; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-ico { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: #fde7d3; color: var(--terracotta); font-size: 1.1rem; }
.info-label { display: block; color: var(--roast); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.info-list a { font-weight: 700; text-decoration: none; }
.info-list a:hover { color: var(--terracotta); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours .today td { color: var(--terracotta); }
.map { position: relative; min-height: 380px; overflow: hidden; border-radius: 32px; background:
  linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
  linear-gradient(0deg, transparent 30%, #fff 30%, #fff 35%, transparent 35%),
  linear-gradient(0deg, transparent 70%, #fff8 70%, #fff8 73%, transparent 73%),
  linear-gradient(70deg, transparent 20%, #fff8 20%, #fff8 23%, transparent 23%),
  #e3ecda; }
.map::before { content: ""; position: absolute; right: 10%; top: 8%; width: 30%; height: 26%; border-radius: 20px; background: #c9dbb9; }
.map::after { content: ""; position: absolute; left: 6%; bottom: 8%; width: 28%; height: 20%; border-radius: 50%; background: #bcd3e8; }
.pin { position: absolute; left: 50%; top: 32%; z-index: 1; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50% 50% 50% 0; color: var(--paper); background: var(--terracotta); font-size: 1.3rem; transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 10px 20px rgba(59, 36, 24, .3); animation: bob 2.2s ease-in-out infinite; }
.pin span { transform: rotate(45deg); }
@keyframes bob { 50% { margin-top: -10px; } }
.map-label { position: absolute; left: 50%; top: calc(32% + 14px); z-index: 1; padding: 8px 14px; border-radius: 99px; background: var(--paper); box-shadow: 0 6px 16px rgba(59, 36, 24, .15); font-weight: 700; font-size: .85rem; white-space: nowrap; transform: translateX(-50%); }

/* Page hero for inner pages */
.page-hero { padding: 80px 0 70px; text-align: center; background: radial-gradient(circle at 20% 0%, #fde7d3 0, transparent 45%), radial-gradient(circle at 85% 100%, #e3ecda 0, transparent 45%), var(--cream); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 14px; }
.page-hero h1 em { color: var(--terracotta); }
.page-hero p { max-width: 540px; margin: 0 auto; color: var(--roast); font-size: 1.08rem; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; padding-bottom: 100px; }
.form-card { padding: 40px; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(59, 36, 24, .08); }
.form-card h2 { font-size: 2rem; margin-bottom: 6px; }
.form-card > p { color: var(--roast); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 16px; color: var(--espresso); background: var(--cream); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(212, 104, 63, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.chips-field { border: 0; margin: 0; padding: 0; }
.chips-field legend { margin-bottom: 8px; font-size: .82rem; font-weight: 800; }
.chip-opt { display: inline-block; margin: 0 6px 8px 0; }
.chip-opt input { position: absolute; opacity: 0; }
.chip-opt span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 99px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip-opt input:checked + span { color: var(--paper); background: var(--terracotta); border-color: var(--terracotta); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.form-note { margin: 16px 0 0; color: var(--roast); font-size: .8rem; }
.form-thanks { padding: 30px 10px; text-align: center; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.form-thanks:focus { outline: none; }
.thanks-icon { display: grid; width: 84px; height: 84px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--sage); font-size: 2.4rem; }
.form-thanks h2 { font-size: 2.1rem; }
.form-thanks p { color: var(--roast); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

/* Reviews page */
.summary { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; margin-bottom: 40px; padding: 40px; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); }
.score { text-align: center; }
.score b { display: block; font: 700 5rem/1 var(--serif); color: var(--terracotta); }
.stars { color: var(--butter); letter-spacing: 3px; }
.score .stars { font-size: 1.4rem; }
.score small { color: var(--roast); }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 34px 1fr 40px; gap: 12px; align-items: center; font-size: .88rem; font-weight: 700; }
.bar i { display: block; height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i::before { content: ""; display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--terracotta), var(--butter)); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 99px; color: var(--espresso); background: var(--paper); font: 700 .88rem var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--espresso); border-color: var(--espresso); }
.review-grid { columns: 3 300px; column-gap: 22px; padding-bottom: 40px; }
.review { break-inside: avoid; margin: 0 0 22px; padding: 28px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { display: grid; width: 46px; height: 46px; flex: none; place-items: center; border-radius: 50%; color: var(--paper); background: var(--terracotta); font-weight: 800; }
.review:nth-child(3n+2) .avatar { background: var(--sage); }
.review:nth-child(3n) .avatar { background: var(--roast); }
.review header b { display: block; }
.review header small { color: var(--roast); }
.review p { margin-bottom: 0; }
.review .stars { display: block; margin-bottom: 8px; }
.cta-band { margin-bottom: 100px; padding: 50px; border-radius: 32px; color: var(--paper); background: var(--espresso); text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band p { color: #e8d6c3; }
.cta-band .btn { color: var(--espresso); background: var(--butter); border-color: var(--butter); }

/* Footer */
.foot { padding: 40px 0; color: #e8d6c3; background: var(--espresso); font-size: .9rem; }
.foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot .logo { color: var(--paper); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--butter); }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .visit, .contact-layout { grid-template-columns: 1fr; }
  .badge { width: 110px; height: 110px; right: 16px; bottom: 16px; }
  .summary { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .menu a { padding: 12px 4px; }
  .menu .cta { margin-top: 8px; text-align: center; }
  .menu-open .menu { display: flex; }
  .hero { padding: 70px 0 150px; }
  .section { padding: 70px 0; }
  .info-card, .form-card, .summary, .cta-band { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .map { min-height: 300px; }
}
