/* Sunnyvale Raw Honey: plain CSS, no build step. */
:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --text: #2b2118;
  --muted: #6b5a48;
  --honey: #e0a526;
  --honey-deep: #8a5a00;
  --line: #ecdcbc;
  --notice: #fff1cc;
  --todo-bg: #ffe3e3;
  --todo-text: #9b1c1c;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1712;
    --surface: #282019;
    --text: #f6ecdc;
    --muted: #c9b597;
    --honey: #f0b53a;
    --honey-deep: #f7cf72;
    --line: #3d3125;
    --notice: #3a2d12;
    --todo-bg: #4a1f1f;
    --todo-text: #ffc9c9;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--honey-deep); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; margin-top: 2rem; }
h4 { font-size: 1.05rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.topbar nav { display: flex; gap: 16px; }
.topbar nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.topbar nav a:hover { color: var(--honey-deep); }
@media (max-width: 520px) {
  .brand span { display: none; }
}

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 40px 16px 24px;
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 1fr; padding-top: 64px; } }
.eyebrow { color: var(--honey-deep); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin: 0 0 .75rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 1.5rem; }
.hero-note { color: var(--muted); font-size: .95rem; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--honey); color: #2b2118; font-weight: 700; text-decoration: none;
}
.button:hover { filter: brightness(1.05); }
.hero-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; width: 100%; height: auto; }
.hero-photo.portrait { aspect-ratio: 4 / 5; max-width: 480px; justify-self: center; }

/* Hexagon pattern used for placeholders until real photos arrive */
.placeholder {
  display: grid; place-items: center;
  border-radius: var(--radius);
  background-color: var(--notice);
  background-image:
    linear-gradient(30deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%),
    linear-gradient(90deg, transparent 47%, var(--line) 48%, var(--line) 52%, transparent 53%);
  background-size: 40px 70px;
}

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 48px 16px; border-top: 1px solid var(--line); }
.prose p { max-width: 62ch; }
.about-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.highlights { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.highlights h3 { margin-top: 0; }
.highlights ul { margin: 0; padding-left: 1.1em; }
.highlights li + li { margin-top: .6em; }
.video { margin: 0; grid-column: 1 / -1; width: 100%; max-width: 560px; justify-self: center; }
.video video { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #000; }
.video figcaption { font-size: .92rem; color: var(--muted); margin-top: .5em; text-align: center; }
.tip { margin-top: 20px; background: var(--notice); border-radius: var(--radius); padding: 16px 18px; }
.tip h4 { margin-bottom: .3em; }
.tip p { margin: 0; }

.gallery {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li { aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Sale */
.notice { background: var(--notice); border-left: 4px solid var(--honey); padding: 12px 16px; border-radius: 8px; }
.facts { display: grid; gap: 10px; margin: 24px 0 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

.products { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.product p { margin: 0 0 .5em; color: var(--muted); }
.product .price { margin-top: auto; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.small { font-size: .92rem; color: var(--muted); }

.form-embed { min-height: 320px; }
/* Google Forms can't tell the page its height, so these are measured (23 Nov 2026):
   reservation form ends ~2980px down on a 376px phone and ~2450px on desktop;
   contact form ~1170px and ~1025px. Phone heights checked again at 320px wide (both just fit before the
   extra margin was added). Re-measure if questions change. */
.form-embed iframe { width: 100%; height: 3400px; border: 0; background: var(--surface); border-radius: var(--radius); }
.form-embed.contact { min-height: 240px; }
.form-embed.contact iframe { height: 1400px; }
@media (min-width: 700px) {
  .form-embed iframe { height: 2550px; }
  .form-embed.contact iframe { height: 1100px; }
}

.footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 32px 16px; border-top: 1px solid var(--line); }

/* Placeholder markers: delete once every TODO is filled in */
.todo { background: var(--todo-bg); color: var(--todo-text); padding: 0 .35em; border-radius: 4px; font-weight: 600; }
.todo-block { background: var(--todo-bg); color: var(--todo-text); padding: 12px 14px; border-radius: 8px; }
.todo-link { color: var(--todo-text); }
