/* ============================================================
   Fernwood Diner — SAMPLE SITE (fictional business)
   Design system by Coulee Web Co. Teal, cream, amber, charcoal.
   Same template as the Rosie's build, recoloured.
   No external dependencies.
   ============================================================ */

:root {
  --cream:      #FBF6EA;
  --cream-2:    #F3EBD9;
  --cream-3:    #EBE0C8;
  --line:       #DDD1B6;

  --char:       #1C2422;
  --char-2:     #3F4A47;
  --muted:      #6D7A76;

  --teal:       #1F4A4A;
  --teal-2:     #163737;
  --teal-lt:    #2A5C5C;

  --amber:      #D98A2B;
  --amber-2:    #B8701C;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow: 0 2px 4px rgba(28,36,34,.05), 0 14px 40px rgba(28,36,34,.11);
  --shadow-lg: 0 6px 12px rgba(28,36,34,.07), 0 30px 70px rgba(28,36,34,.16);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--char-2);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--char);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.012em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: var(--teal); color: var(--cream); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; background: var(--teal); color: #fff; padding: .75rem 1.25rem; z-index: 999; }
.skip:focus { left: 0; top: 0; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { max-width: 760px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.75rem); max-width: 22ch; }
.section-sub { margin-top: 1rem; color: var(--muted); max-width: 56ch; font-size: 1.075rem; }

.kicker {
  font-size: .7rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .9rem;
}
.kicker-cream { color: var(--amber); }

/* ── sample banner ─────────────────────────────────────────── */
.demo-banner {
  background: repeating-linear-gradient(135deg, #1C2422, #1C2422 10px, #26302E 10px, #26302E 20px);
  color: #E4DFD3; font-size: .78rem; padding: .55rem 0; text-align: center; line-height: 1.45;
}
.demo-banner strong { color: var(--amber); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.6rem; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .16s, border-color .16s, color .16s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-block { display: flex; width: 100%; }

.btn-gold { background: var(--amber); color: #1C2422; box-shadow: 0 6px 18px rgba(217,138,43,.32); }
.btn-gold:hover { background: var(--amber-2); }

.btn-red { background: var(--teal); color: var(--cream); }
.btn-red:hover { background: var(--teal-2); }

.btn-outline { border-color: rgba(251,246,234,.45); color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); background: rgba(251,246,234,.1); }

.btn-dark { border-color: var(--line); color: var(--char); }
.btn-dark:hover { border-color: var(--char); background: rgba(28,36,34,.04); }

.is-disabled {
  opacity: .55; cursor: default; pointer-events: none;
  font-weight: 500; font-size: .8125rem; letter-spacing: 0;
  white-space: normal; line-height: 1.4;
}

/* ── top bar ───────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,246,234,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 66px; }

.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--teal); letter-spacing: -.02em; }
.logo-sub { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .28rem; font-weight: 600; }

.bar-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.bar-nav a { text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--char-2); letter-spacing: .02em; }
.bar-nav a:hover { color: var(--teal); }

.bar-call {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--teal); color: var(--cream);
  padding: .6rem 1.1rem; border-radius: 100px;
  text-decoration: none; font-weight: 700; font-size: .875rem; flex-shrink: 0;
}
.bar-call:hover { background: var(--teal-2); }
.bar-call svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) { .bar-nav { display: none; } .bar-call { margin-left: auto; } }
@media (max-width: 420px) { .bar-call span { display: none; } .bar-call { padding: .7rem; } }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(90% 120% at 15% 0%, #2E6363 0%, transparent 55%),
    linear-gradient(160deg, #23514F 0%, #1A403F 55%, #143433 100%);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(251,246,234,.055) 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero-eyebrow {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(251,246,234,.72); font-weight: 700; margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(3.4rem, 10vw, 6.25rem);
  color: var(--cream); line-height: .9; letter-spacing: -.035em; font-weight: 700;
}
.hero-title span { color: var(--amber); }

.hero-tagline {
  margin-top: 1.5rem; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2.3vw, 1.45rem); color: rgba(251,246,234,.9); max-width: 26ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

.hero-facts {
  list-style: none; padding: 0; margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.25rem;
  border-top: 1px solid rgba(251,246,234,.2); padding-top: 1.5rem;
}
.hero-facts li { display: flex; flex-direction: column; font-size: .78rem; color: rgba(251,246,234,.66); line-height: 1.35; }
.hero-facts strong {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  color: var(--cream); letter-spacing: .01em; margin-bottom: .1rem;
}

/* the plate */
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.plate { width: min(100%, 400px); filter: drop-shadow(0 30px 50px rgba(0,0,0,.32)); }
.plate-rim  { fill: #FBF3E4; }
.plate-face { fill: #FDF9F0; }
.plate-ring { fill: none; stroke: #E6DAC0; stroke-width: 2; }

.cake ellipse { fill: #D89A4E; stroke: #A96F2C; stroke-width: 2.5; }
.butter { fill: #F5D77E; stroke: #C9A93F; stroke-width: 2; }
.syrup  { fill: none; stroke: #8A4A18; stroke-width: 4; stroke-linecap: round; opacity: .8; }

.egg ellipse { fill: #FFFDF6; stroke: #E3D6B8; stroke-width: 2.5; }
.yolk { fill: #F0A72C; stroke: #C9821A; stroke-width: 2; }

.bacon { fill: none; stroke: #9E3B24; stroke-width: 11; stroke-linecap: round; }

.toast path { fill: #E7B96A; stroke: #B8873B; stroke-width: 2.5; }
.toast path:last-child { fill: #EDC57C; }

.art-note { text-align: center; }
.art-num { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--amber); letter-spacing: .18em; font-weight: 700; }
.art-label { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(251,246,234,.6); margin-top: .35rem; font-weight: 600; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .plate { width: min(68%, 260px); }
  .hero-tagline { max-width: none; }
  .hero-facts { gap: 1rem 1.75rem; }
}

/* ── strip ─────────────────────────────────────────────────── */
.strip { background: var(--char); color: #BEC7C4; }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.09);
  border-inline: 1px solid rgba(255,255,255,.09);
}
.strip-item { background: var(--char); padding: 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; }
.strip-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #7E8A87; font-weight: 700; }
.strip-value { font-family: var(--serif); font-size: 1.02rem; color: var(--cream); }
.strip-value a { color: var(--amber); text-decoration: none; }
.strip-value a:hover { text-decoration: underline; }

@media (max-width: 780px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }

/* ── signature dish ────────────────────────────────────────── */
.deuce {
  background: var(--char); color: #BEC7C4;
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center; border-bottom: 6px solid var(--teal);
}
.deuce-inner { max-width: 880px; margin-inline: auto; }
.deuce-title { color: var(--cream); font-size: clamp(1.5rem, 3.6vw, 2.4rem); line-height: 1.25; max-width: none; }
.deuce-body { margin-top: 1.75rem; color: #9AA5A2; max-width: 54ch; margin-inline: auto; }
.deuce-price {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(4.5rem, 15vw, 8.5rem);
  color: var(--amber); line-height: 1; letter-spacing: -.04em; margin-top: 1.75rem;
}
.deuce-price .dollar { font-size: .45em; vertical-align: .42em; margin-right: .04em; }
.deuce-foot { margin-top: .75rem; font-style: italic; color: #7E8A87; font-family: var(--serif); font-size: 1.05rem; }

/* ── menu ──────────────────────────────────────────────────── */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3rem; }
@media (max-width: 800px) { .menu-grid { grid-template-columns: 1fr; } }

.menu-cat {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1.35rem; padding-bottom: .8rem;
  border-bottom: 2px solid var(--teal); margin-bottom: 1.5rem; color: var(--teal);
}
.menu-cat-2 { margin-top: 3rem; }
.cat-icon { width: 26px; height: 26px; flex-shrink: 0; fill: var(--teal); }
.cat-icon .stroke { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; }
.cat-icon .hole { fill: var(--cream); }

.menu-list { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.menu-list li { display: flex; flex-direction: column; gap: .2rem; }
.dish { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--char); display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.dish-flag {
  font-family: var(--sans); font-style: normal;
  font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--amber); color: #1C2422; padding: .18rem .5rem; border-radius: 4px;
}
.desc { color: var(--muted); font-size: .95rem; }

.menu-note {
  margin-top: 3rem; padding: 1.15rem 1.4rem;
  background: var(--cream-2); border: 1px dashed var(--line);
  border-radius: 12px; font-size: .9rem; color: var(--muted); max-width: 60ch;
}
.menu-note strong { color: var(--char); }

/* ── story ─────────────────────────────────────────────────── */
.story { background: var(--cream-2); border-block: 1px solid var(--line); }
.story-body { margin-top: 2rem; display: grid; gap: 1.2rem; font-size: 1.1rem; }
.story-body strong { color: var(--char); font-weight: 650; }

.lineage {
  margin-top: 3.5rem; display: flex; align-items: stretch;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.gen { flex: 1; padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.gen-year { font-family: var(--serif); font-size: 1.6rem; color: var(--teal); font-weight: 700; line-height: 1; }
.gen-name { font-weight: 700; color: var(--char); font-size: 1rem; margin-top: .35rem; }
.gen-role { font-size: .85rem; color: var(--muted); }
.gen-rule { width: 1px; background: var(--line); flex-shrink: 0; }

@media (max-width: 720px) {
  .lineage { flex-direction: column; }
  .gen-rule { width: auto; height: 1px; }
}

/* ── reviews ───────────────────────────────────────────────── */
.reviews-inner { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .reviews-inner { grid-template-columns: 1fr; } }

.rating-block {
  text-align: center; background: var(--cream-2);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 2.25rem 1.75rem; box-shadow: var(--shadow);
}
.rating-num { font-family: var(--serif); font-size: 4.75rem; font-weight: 700; color: var(--char); line-height: 1; letter-spacing: -.04em; }
.rating-stars { font-size: 1.35rem; color: var(--amber); letter-spacing: .12em; margin-top: .5rem; }
.rating-stars .half { opacity: .45; }
.rating-count { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.rating-count strong { color: var(--char); }
.rating-block .btn { margin-top: 1.5rem; }

.rating-copy p { color: var(--muted); margin-top: 1.25rem; font-size: 1.075rem; max-width: 48ch; }
.rating-fine { font-size: .85rem !important; font-style: italic; color: #8B9793 !important; }

/* ── visit ─────────────────────────────────────────────────── */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 3rem; align-items: start; }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

.visit-hours h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--char); font-weight: 600; font-size: .95rem; }
.hours td { text-align: right; font-family: var(--serif); color: var(--char-2); font-size: 1rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours-note { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); font-style: italic; }

.map-card {
  display: block; text-decoration: none; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--cream-2); box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.map-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.map-grid {
  position: relative; height: 220px;
  background:
    linear-gradient(var(--cream-3) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--cream-3) 1px, transparent 1px) 0 0 / 32px 100%,
    #F5EDDD;
}
.map-road { position: absolute; background: #E3D5B7; }
.map-road-h { left: 0; right: 0; top: 58%; height: 13px; }
.map-road-v { top: 0; bottom: 0; left: 38%; width: 13px; }
.map-pin {
  position: absolute; left: 38%; top: 58%;
  width: 20px; height: 20px; margin: -26px 0 0 -4px;
  background: var(--teal); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(31,74,74,.4);
}
.map-pin::after { content: ""; position: absolute; inset: 6px; background: var(--cream); border-radius: 50%; }

.map-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; border-top: 1px solid var(--line); background: var(--cream);
}
.map-foot strong { display: block; color: var(--char); font-family: var(--serif); font-size: 1.075rem; }
.map-foot span { color: var(--muted); font-size: .875rem; }
.map-cta { color: var(--teal) !important; font-weight: 700; font-size: .85rem !important; white-space: nowrap; }

.visit-actions { margin-top: 1.25rem; }

/* ── footer ────────────────────────────────────────────────── */
.foot { background: var(--char); color: #7E8A87; padding-block: 3.5rem 2.75rem; text-align: center; }
.foot-logo { font-family: var(--serif); font-size: 1.85rem; color: var(--cream); font-weight: 700; letter-spacing: -.02em; }
.foot-line { margin-top: .5rem; font-size: .9rem; }
.foot-line a { color: var(--amber); text-decoration: none; }
.foot-line a:hover { text-decoration: underline; }

.foot-demo {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .75rem; line-height: 1.65; color: #63706C;
  max-width: 68ch; margin-inline: auto;
}
.foot-demo strong { color: #9AA5A2; }
.foot-demo a { color: #9AA5A2; }
