/* Something New: site styles. Colours and fonts from the brand profile (PROPOSED). */
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Variable.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }

:root {
  --cream: #FBF6EF;
  --sand-soft: #F3EDE2;
  --sand: #E3D7C4;
  --green: #2E5C4F;
  --green-dark: #23483D;
  --terracotta: #C8754C;
  --mint: #7DB5A2;
  --text: #2B2B2B;
  --muted: #5E5A55;
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; scroll-margin-top: 72px; }
.alt { background: var(--sand-soft); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--terracotta); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.placeholder { background: #FFF1C2; outline: 1px dashed #C9A227; padding: 0 4px; border-radius: 3px; }

/* Preview banner: remove at launch */
.preview-bar { background: var(--text); color: var(--white); text-align: center; font-size: .85rem; padding: 8px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 239, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--green); }
.nav a.btn, .nav a.btn:hover { color: var(--white); font-weight: 700; }
.menu-toggle { display: none; background: none; border: 1px solid var(--sand); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 13px 26px; border: 2px solid var(--green); background: var(--green); color: var(--white); cursor: pointer; font: 700 1rem var(--sans); }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.light { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline { background: transparent; color: var(--green); }
.btn.small { padding: 9px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 0; color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("images/hero-cafe_AI-assisted.jpg") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,26,.25) 0%, rgba(20,30,26,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 70px; }
.hero h1 { color: var(--white); max-width: 760px; }
.hero .eyebrow { color: #F2C9A8; }
.hero p { font-size: 1.15rem; max-width: 620px; }
.hero .tags { margin-top: 28px; font-size: .95rem; opacity: .92; border-top: 1px solid rgba(255,255,255,.3); padding-top: 16px; }

/* Grids and cards */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius); width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.fact { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.fact strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 4px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 36px; }
.card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; flex: none; }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card .kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--terracotta); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--green); margin: auto 0 4px; }
.card .price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* Price table */
.price-list { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 8px 22px; margin: 22px 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sand-soft); }
.price-list div:last-child { border-bottom: 0; }
.price-list span:first-child { white-space: nowrap; }
.price-list span:last-child { font-weight: 700; color: var(--green); text-align: right; }
.note { font-size: .9rem; color: var(--muted); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 28px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; font-size: .92rem; margin: 12px 0 5px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--sand); border-radius: 10px; background: var(--cream); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--mint); border-color: var(--mint); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; margin-top: 16px; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--sand-soft); display: none; }
.form-msg.show { display: block; }
form .btn { margin-top: 18px; }

/* Events */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 32px; }
.event { background: var(--white); border-left: 4px solid var(--terracotta); border-radius: 10px; padding: 20px 22px; }
.event .when { font-weight: 700; color: var(--green); font-size: .95rem; }
.event .tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--sand-soft); color: var(--terracotta); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }

/* Reviews */
.reviews { background: var(--green); color: var(--white); text-align: center; }
.reviews h2 { color: var(--white); }
.stars { font-size: 2rem; letter-spacing: 6px; color: #F5C451; margin: 8px 0; }
.rating { font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 34px 0 30px; text-align: left; }
.quote { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; }
.quote-stars { color: #F5C451; letter-spacing: 3px; font-size: 1rem; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: var(--white); flex: 1; }
.quote figcaption { font-size: .88rem; font-weight: 600; color: #CFE3DA; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--sand); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.3rem; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Visit */
.map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }
.hours { width: 100%; border-collapse: collapse; margin: 10px 0 20px; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--sand); }
.hours td:first-child { white-space: nowrap; padding-right: 12px; }
.hours td:last-child { text-align: right; font-weight: 600; }

/* Footer */
.site-footer { background: var(--text); color: #E9E4DC; padding: 60px 0 30px; font-size: .95rem; }
.site-footer a { color: #E9E4DC; }
.site-footer h3 { color: var(--white); font-size: 1rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.tagline { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 10px; }
.copyright { border-top: 1px solid #4A4743; margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.credit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: .8rem; color: #B9B2A8; }
.credit a { display: block; line-height: 0; }
.credit img { background: var(--white); border-radius: 8px; padding: 4px 8px; width: 150px; height: auto; box-sizing: content-box; }

/* Privacy page */
.legal { max-width: 780px; padding: 60px 20px 90px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Phone and tablet */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--sand); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--sand-soft); }
  .nav .btn { margin-top: 10px; text-align: center; }
  .menu-toggle { display: block; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  form .row { grid-template-columns: 1fr; gap: 0; }
  .brand span { display: none; }
  .hero { min-height: 88vh; }
  .form-card { padding: 20px; }
}

/* Event booking section: steps, occasion tags and quick facts */
.book { position: relative; overflow: hidden; }
.book::before, .book::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.book::before { width: 420px; height: 420px; background: var(--mint); opacity: .16; top: -140px; left: -160px; }
.book::after { width: 300px; height: 300px; background: var(--terracotta); opacity: .12; bottom: -120px; right: -100px; }
.book .wrap { position: relative; z-index: 1; align-items: start; }
.steps { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.step-num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.occasions span { background: var(--white); border: 1px solid var(--sand); color: var(--green); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 700; }
.book-card { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green); color: var(--white); border-radius: var(--radius); padding: 18px 10px; text-align: center; font-size: .85rem; line-height: 1.35; }
.book-card > div { padding: 0 8px; }
.book-card > div + div { border-left: 1px solid rgba(255,255,255,.25); }
.book-card strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: #F2C9A8; margin-bottom: 2px; }
.book .form-card { box-shadow: 0 18px 40px rgba(46,92,79,.12); border-top: 5px solid var(--terracotta); }
@media (max-width: 560px) { .book-card strong { font-size: 1.05rem; } }

/* Audit fixes (Oct 31): event photo aligned to top, events fallback line, compact vendor cards on phones */
#events .wrap { align-items: start; }
.more-events { margin-top: 24px; color: var(--muted); }
@media (max-width: 560px) {
  #vendors .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  #vendors .card .body { padding: 14px 14px 16px; }
  #vendors .card h3 { font-size: 1.05rem; }
  #vendors .card p { font-size: .85rem; }
  #vendors .card .price { font-size: 1.25rem; }
  #vendors .card .price small { display: block; font-size: .78rem; }
}

/* Collab page: Something New × Red Barn Bakery (Nov 4) */
.collab-hero { text-align: center; padding-top: 60px; }
.collab-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 820px; margin: 0 auto .4em; }
.collab-hero .lead { margin: 0 auto; }
.collab-logos { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 10px 0 30px; }
.collab-logos img { width: 140px; height: auto; }
.collab-logos .rb-logo { width: 190px; border-radius: 12px; }
.collab-x { font-family: var(--serif); font-size: 2.6rem; color: var(--terracotta); }
.rb-card { background: var(--white); border: 1px solid var(--sand); border-top: 5px solid #8E2B22; border-radius: var(--radius); padding: 24px; text-align: center; }
.rb-card img { width: 100%; max-width: 300px; margin: 0 auto 14px; border-radius: 10px; }
.rb-contact { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.collab-cta { text-align: center; }
.collab-cta .lead { margin: 0 auto 10px; }
.collab-cta .btn-row { justify-content: center; }
.event.collab { border-left-color: #8E2B22; }
@media (max-width: 560px) {
  .collab-logos { gap: 12px; }
  .collab-logos img { width: 96px; }
  .collab-logos .rb-logo { width: 130px; }
  .collab-x { font-size: 2rem; }
}
.advent .wrap { align-items: start; }
.advent .split img { max-height: none; max-width: 440px; margin: 0 auto; box-shadow: 0 18px 40px rgba(142,43,34,.15); }
.advent-card { background: #8E2B22; margin-top: 6px; }
.advent-card strong { color: #F6E7C8; }
.advent .btn-row { margin-top: 18px; }

/* Menu: highlight the page or section you're on (Nov 4) */
.nav a.active, .nav a[aria-current="page"] { color: var(--green); font-weight: 700; box-shadow: inset 0 -2px 0 var(--terracotta); }
@media (max-width: 900px) {
  .nav a.active, .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--terracotta); padding-left: 12px; }
}

/* Store walkthrough video (Nov 4) */
.tour { background: var(--green); color: var(--white); text-align: center; }
.tour h2 { color: var(--white); }
.tour .eyebrow { color: #F2C9A8; }
.tour .lead { color: #E3EFE9; margin: 0 auto 28px; }
.tour-video { width: 100%; max-width: 960px; height: auto; margin: 0 auto; display: block; border-radius: var(--radius); background: #1b2f29; box-shadow: 0 18px 40px rgba(0,0,0,.25); }

/* Event room photo stays in view beside the prices on wide screens (Nov 4) */
@media (min-width: 901px) {
  #events .split > img { position: sticky; top: 96px; }
}

/* Shelf cards: "Inquire for more details" instead of a price */
#vendors .card .price.price-ask { font-size: 1.15rem; }
