/* Clare's Place — public site styles */
:root {
  --cream: #f4fafa;
  --paper: #e3f1f1;
  --ink: #1d3233;
  --ink-soft: #4a6163;
  --chilli: #0f7d7d;
  --chilli-dark: #0a5f60;
  --mustard: #9fd3d2;
  --gold: #e3a72f;
  --sage: #5f8f8e;
  --line: #cfe4e4;
  --radius: 14px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--chilli); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.center { text-align: center; margin-top: 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600;
  color: var(--chilli); margin-bottom: .6rem;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--chilli); color: var(--cream);
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 2px solid var(--chilli); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--chilli-dark); border-color: var(--chilli-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }
.btn .ico { vertical-align: -3px; margin-right: .2rem; }
.btn-call { background: #3f5560; border-color: #3f5560; color: #fff; }
.btn-call:hover { background: #2e414a; border-color: #2e414a; }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.visit-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.visit .btn-call { color: #fff; }

/* Announcement */
.announce { background: var(--mustard); color: var(--ink); text-align: center; padding: .55rem 16px; font-weight: 600; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 250, 250, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: block; line-height: 0; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--chilli); }
.nav-links .btn { color: var(--cream); }
.section-head .btn { margin-top: .4rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: .15em; }
.hero h1.hero-logo { margin: 0 0 .9rem; line-height: 0; }
.hero-logo img { width: min(440px, 100%); height: auto; }
.tagline { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--chilli); margin-bottom: 1em; }
.intro { color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; padding: .35rem .85rem; border-radius: 999px; background: var(--paper); margin-bottom: 1.2rem; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #b0a294; }
.status.is-open .dot { background: #3e9b55; box-shadow: 0 0 0 4px rgba(62, 155, 85, .18); }
.rating-pill { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.stars { color: var(--gold); letter-spacing: .08em; }
.stars .off { color: var(--line); }

.hero-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius);
  background: var(--chilli);
  background-image: radial-gradient(circle at 20% 15%, rgba(255,255,255,.12) 0 18%, transparent 19%),
                    radial-gradient(circle at 85% 75%, rgba(0,0,0,.08) 0 22%, transparent 23%);
  display: grid; place-items: center; overflow: hidden;
}
.hero-art.has-photo { background: var(--paper); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-art-label { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--cream); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin: 0; }
.plate { position: relative; width: 62%; aspect-ratio: 1; }
.saucer { position: absolute; left: 0; right: 0; bottom: 18%; height: 18%; border-radius: 50%; background: var(--cream); box-shadow: 0 10px 0 rgba(0,0,0,.12); }
.cup { position: absolute; left: 22%; right: 22%; bottom: 26%; height: 38%; background: var(--cream); border-radius: 0 0 46% 46% / 0 0 60% 60%; box-shadow: inset 0 -10px 0 var(--paper); }
.cup::after { content: ''; position: absolute; right: -22%; top: 18%; width: 30%; height: 42%; border: 9px solid var(--cream); border-left: 0; border-radius: 0 50% 50% 0; }
.cup::before { content: ''; position: absolute; left: 6%; right: 6%; top: -6%; height: 16%; background: #6b3f26; border-radius: 50%; border: 6px solid var(--cream); }
.steam { position: absolute; left: 35%; right: 35%; top: 2%; height: 30%; display: flex; justify-content: space-between; }
.steam i { width: 6px; border-radius: 6px; background: rgba(244, 250, 250, .7); animation: steam 3s ease-in-out infinite; }
.steam i:nth-child(2) { animation-delay: .6s; }
.steam i:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%,100% { transform: translateY(8px) scaleY(.7); opacity: .2; } 50% { transform: translateY(-6px) scaleY(1); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .steam i { animation: none; } html { scroll-behavior: auto; } }

/* Favourites */
.favourites { background: var(--ink); color: var(--cream); padding: 3rem 0; }
.favourites .eyebrow { color: var(--mustard); }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.fav { border-top: 2px solid var(--mustard); padding-top: 1rem; }
.fav p { color: #c3dcdc; margin-bottom: .4rem; }
.fav .price { font-weight: 600; color: var(--mustard); }

/* Menu */
.menu { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.menu-grid { columns: 3 300px; column-gap: 3.5rem; }
.menu-cat { break-inside: avoid; margin-bottom: 2.5rem; scroll-margin-top: 140px; }
.menu-jump {
  position: sticky; top: 64px; z-index: 10; display: flex; gap: .5rem; overflow-x: auto;
  padding: .7rem 0; margin: 0 0 1.5rem; background: var(--cream); border-bottom: 1px solid var(--line);
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.menu-jump a {
  flex: none; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem;
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.menu-jump a:hover { border-color: var(--chilli); color: var(--chilli); }
.allergen-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--chilli); border-radius: 0 10px 10px 0; padding: .8rem 1rem; font-size: .95rem; margin: 0 0 2rem; max-width: 760px; }
.tag.tag-new { background: var(--chilli); color: #fff; }
.diet { font-size: .66rem; font-weight: 700; text-decoration: none; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 .3rem; vertical-align: middle; color: #3f6b3a; cursor: help; }
.diet-gf { color: #8a5a12; }
.item-allergens { font-size: .82rem; color: #8a2216; margin: .2rem 0 0; }
.diet-key { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

/* Today's specials — chalkboard */
.specials { padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.specials-board {
  background: #2f3a33; color: #f3efe6; border-radius: 18px; padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 10px solid #7a5a3c; box-shadow: inset 0 0 60px rgba(0,0,0,.35), 0 14px 30px rgba(29,50,51,.18);
  max-width: 820px; margin: 0 auto;
}
.specials-date { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--mustard); margin: 0 0 .3rem; }
.specials-board h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.specials-board ul { list-style: none; margin: 0; padding: 0; }
.specials-board li { padding: .7rem 0; border-top: 1px dashed rgba(243,239,230,.25); }
.sp-line { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.sp-name { font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.sp-price { font-weight: 600; color: var(--mustard); white-space: nowrap; font-size: 1.1rem; }
.specials-board p { margin: .2rem 0 0; color: #d9d3c6; font-size: .96rem; }

/* Holiday notices */
.announce-holiday { background: var(--ink); }
.announce-holiday a { color: var(--mustard); text-decoration: none; }
.holiday-hours { margin: -1rem 0 2rem; max-width: 380px; }
.holiday-hours ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.holiday-hours li { padding: .35rem 0; border-bottom: 1px solid rgba(244, 250, 250, .15); }
.holiday-hours strong { color: var(--mustard); font-weight: 600; }
.hours small { opacity: .8; }
.menu-cat h3 { border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1rem; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.menu-cat li { margin-bottom: 1.1rem; }
.item-line { display: flex; align-items: baseline; gap: .5rem; }
.item-name { font-weight: 600; }
.leader { flex: 1; border-bottom: 1px dotted var(--ink-soft); transform: translateY(-4px); opacity: .5; }
.item-price { font-weight: 600; color: var(--chilli); white-space: nowrap; }
.item-desc { color: var(--ink-soft); font-size: .96rem; margin: .15rem 0 0; }
.tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; background: var(--mustard); color: var(--ink); padding: .12rem .45rem; border-radius: 4px; vertical-align: middle; font-weight: 600; }

.cat-note { font-size: .92rem; color: var(--ink); background: var(--paper); border-left: 3px solid var(--mustard); padding: .55rem .8rem; border-radius: 0 8px 8px 0; margin: -.3rem 0 1rem; }

/* Offers */
.offers { background: var(--mustard); padding: 1.6rem 0; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; }
.offer h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.offer p { margin: 0; font-size: .96rem; }

/* Gallery */
.gallery { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.gallery-grid figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--paper); max-width: 220px; width: 100%; justify-self: center; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .6rem .45rem; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* About */
.about { background: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.about-body p { font-size: 1.1rem; color: var(--ink-soft); }

/* Reviews */
.reviews { padding: clamp(4rem, 8vw, 6rem) 0; }
.review-grid { columns: 3 280px; column-gap: 1.5rem; }
.review { break-inside: avoid; margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.review blockquote { margin: .6rem 0 1rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.45; font-weight: 500; }
.review figcaption { font-size: .9rem; font-weight: 600; }
.review figcaption span { color: var(--ink-soft); font-weight: 400; }

/* Visit */
.visit { background: var(--ink); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0; }
.visit .eyebrow { color: var(--mustard); }
.visit a:not(.btn) { color: var(--cream); }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: stretch; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.contact { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact li { margin-bottom: .3rem; }
.visit h3 { margin-top: 1rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; margin-bottom: 2rem; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px solid rgba(244, 250, 250, .15); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--mustard); font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: #1d3233; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* Footer */
.footer { padding: 2rem 0; font-size: .92rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer p { margin: 0; }
.footer a { color: var(--ink-soft); }

/* Like us on Facebook */
.facebook { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.fb-card { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 6px solid #1877F2; border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.fb-mark { flex: none; }
.fb-text { flex: 1 1 260px; }
.fb-text h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .3rem; }
.fb-text p { margin: 0; color: var(--ink-soft); }
.btn-fb { background: #1877F2; border-color: #1877F2; color: #fff; flex: none; }
.btn-fb:hover { background: #0d5fcc; border-color: #0d5fcc; }

/* Install the app */
[hidden] { display: none !important; }
.nav-links .nav-app { color: var(--chilli) !important; font-weight: 600; }
.app-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(29, 50, 51, .22); animation: rise .35s ease-out;
}
.app-banner img { border-radius: 12px; flex: none; }
.app-banner-text { flex: 1; min-width: 0; line-height: 1.3; }
.app-banner-text strong { display: block; font-size: .98rem; }
.app-banner-text span { font-size: .84rem; color: var(--ink-soft); }
.app-already { display: block; background: none; border: 0; padding: .15rem 0 0; font: inherit; font-size: .78rem; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.app-banner .btn { font: inherit; font-weight: 600; cursor: pointer; flex: none; }
.app-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 .2rem; flex: none; }
.ios-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(29, 50, 51, .45); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.ios-card { position: relative; background: var(--cream); width: min(440px, 100%); border-radius: 20px; padding: 1.6rem 1.4rem 1.2rem; text-align: center; animation: rise .3s ease-out; }
.ios-card img { border-radius: 14px; margin: 0 auto .6rem; }
.ios-card h3 { font-size: 1.25rem; }
.ios-card ol { text-align: left; padding-left: 1.3rem; margin: .8rem 0 0; }
.ios-card li { margin-bottom: .6rem; }
.ios-card svg { vertical-align: -3px; color: #1a73e8; }
.ios-card .app-close { position: absolute; top: .6rem; right: .8rem; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .app-banner, .ios-card { animation: none; } }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; width: 100%; justify-self: center; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: .7rem 0; width: 100%; }
  .nav-links .btn { text-align: center; margin-top: .5rem; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
