/* CAFE COVE — minimal cafe sample. Cream ground, ink type, didone display. */
:root {
  --cream: #F4F1EA;
  --cream-2: #ECE7DC;
  --ink: #17150F;
  --muted: #6E6758;
  --line: rgba(23,21,15,.14);
  --matcha: #7E9161;
  --bar-h: 30px;
  --ease: cubic-bezier(.22,.61,.21,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  background: var(--cream); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.wrap { width: min(1120px, 92vw); margin-inline: auto; }
.dim { color: var(--muted); }

/* sample bar */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--ink); color: var(--cream);
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(244,241,234,.55); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* nav */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(244,241,234,.9);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent; transition: background .35s, border-color .35s;
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(244,241,234,.97); }
.page { padding-top: calc(var(--bar-h) + 74px); }
.nav__inner { display: flex; align-items: center; gap: 30px; height: 74px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.nav__links a { opacity: .78; transition: opacity .25s; }
.nav__links a:hover { opacity: 1; }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; background: none; border: 0; cursor: pointer; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; margin-left: auto; } .nav .btn { display: none; } }

/* brand */
.brand { display: inline-flex; align-items: baseline; gap: 2px; line-height: 1; }
.brand__cafe {
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 13px; letter-spacing: .04em;
  writing-mode: vertical-rl; transform: rotate(180deg); align-self: center;
}
.brand__name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 30px; letter-spacing: -.02em; position: relative; }
.brand__bean { position: relative; display: inline-block; width: 0; }
.brand__bean svg { position: absolute; left: 1px; top: -13px; color: var(--ink); }
.brand--foot .brand__name { font-size: 26px; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: 0 8vw;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.8rem; padding-block: 14px; border-bottom: 1px solid var(--line); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  background: transparent; transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; }

/* shared section bits */
.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint { background: var(--cream-2); }
.sechead { margin-bottom: clamp(28px, 4vw, 48px); }
.sechead h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 10px; }

/* hero */
.hero { padding-top: clamp(48px, 8vw, 96px); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-top: 18px; }
.hero h1 em { font-style: italic; }
.lede { max-width: 520px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.acts { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero__photo { width: min(1120px, 92vw); margin: clamp(40px, 6vw, 70px) auto 0; overflow: hidden; border-radius: 4px; }
.hero__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 430px) { .hero h1 { font-size: 2.35rem; } }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; margin-top: clamp(40px, 6vw, 70px); }
.ticker__track { display: flex; white-space: nowrap; width: max-content; animation: tick 36s linear infinite; }
.ticker__track span { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* menu section */
.menuhead { text-align: center; margin-bottom: clamp(34px, 5vw, 60px); }
.display { font-size: clamp(3.2rem, 9vw, 6.5rem); letter-spacing: .06em; margin-top: 12px; font-weight: 500; }
.menuhead .dim { margin-top: 10px; font-size: 14px; }
.menucols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 6vw, 90px); }
@media (max-width: 820px) { .menucols { grid-template-columns: minmax(0, 1fr); } }
.pill {
  display: inline-block; background: var(--ink); color: var(--cream);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 8px;
}
.mlist li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mrow { display: flex; align-items: baseline; gap: 10px; }
.mrow b { font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.dots { flex: 1; border-bottom: 1px dotted rgba(23,21,15,.35); transform: translateY(-4px); min-width: 20px; }
.price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.mlist p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 40ch; }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } }
.story__photo { overflow: hidden; border-radius: 4px; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 12px; }
.story__text p { margin-top: 16px; color: var(--muted); max-width: 52ch; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post { border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px 24px; background: var(--cream); display: flex; flex-direction: column; gap: 12px; }
.post__meta { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 1.35rem; }
.post p { font-size: 14.5px; color: var(--muted); }
.post__more { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 2px; opacity: .8; }

/* visit */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr); } }
.visitcard { border: 1px solid var(--line); border-radius: 4px; background: var(--cream); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.visitcard b { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.visitcard span { color: var(--muted); font-size: 14.5px; }
.map {
  margin-top: 22px; border: 1px dashed rgba(23,21,15,.3); border-radius: 4px;
  min-height: 220px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; letter-spacing: .04em; background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(23,21,15,.03) 14px 28px);
}

/* contact */
.contactwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contactwrap { grid-template-columns: minmax(0, 1fr); } }
.contact__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 12px; }
.contact__text p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.contact__text .dim { font-size: 13px; }
.cform { border: 1px solid var(--line); border-radius: 4px; padding: 28px; background: #fff9; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  border: 1px solid var(--line); border-radius: 3px; background: var(--cream);
  padding: 11px 13px; font-size: 15px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--matcha); outline-offset: 1px; border-color: transparent; }
.cform .btn { align-self: flex-start; }

/* notice */
.notice { border: 1px solid var(--line); border-radius: 4px; background: var(--cream-2); padding: 24px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 720px) { .notice { grid-template-columns: minmax(0, 1fr); } }
.notice b { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.notice p { font-size: 13.5px; color: var(--muted); }
.notice p + p { margin-top: 8px; }

/* footer */
.foot { background: var(--ink); color: var(--cream); padding: clamp(44px, 6vw, 70px) 0 30px; }
.foot .brand__cafe, .foot .brand__name { color: var(--cream); }
.foot__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot__brand p { margin-top: 14px; color: rgba(244,241,234,.6); font-size: 14px; max-width: 30ch; }
.foot h4 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; color: rgba(244,241,234,.55); }
.foot ul li { font-size: 14px; padding-block: 4px; color: rgba(244,241,234,.85); }
.foot a:hover { color: #fff; }
.foot__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(244,241,234,.16); font-size: 12.5px; color: rgba(244,241,234,.55); }

/* reveals + page transitions (hooks used by site.js) */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}
