/* Saltmarsh Kitchen — fictional example site by Botelho Technologies */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-alt: #f3ebdd;
  --ink: #1d2a30;
  --ink-2: #4d5a60;
  --line: #e2d6c3;
  --sea: #0d5673;
  --sea-ink: #ffffff;
  --sea-hover: #0a4760;
  --coral: #c2452a;
  --coral-ink: #ffffff;
  --coral-hover: #a83a22;
  --link: #0d5673;
  --price: #a83a22;
  --gf-bg: #dcefe4; --gf-ink: #1c5236;
  --v-bg: #f6e3c8; --v-ink: #6b3f0b;
  --banner-bg: #1d2a30;
  --banner-ink: #fbf7f0;
  --focus: #0d5673;
  --shadow: 0 1px 2px rgba(29, 42, 48, .06), 0 10px 28px rgba(29, 42, 48, .07);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a20;
    --surface: #14262e;
    --surface-alt: #102129;
    --ink: #f2ece2;
    --ink-2: #bcc6c9;
    --line: #29414b;
    --sea: #7cc4dd;
    --sea-ink: #0b1a20;
    --sea-hover: #9bd3e6;
    --coral: #f08a6e;
    --coral-ink: #1f0d07;
    --coral-hover: #f6a48d;
    --link: #8fd0e6;
    --price: #f6a48d;
    --gf-bg: #1d3f2d; --gf-ink: #bfe8cf;
    --v-bg: #4a3216; --v-ink: #f7d9ad;
    --banner-bg: #f08a6e;
    --banner-ink: #1f0d07;
    --focus: #8fd0e6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
svg { display: block; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.demo-banner { margin: 0; background: var(--banner-bg); text-align: center; font-size: .875rem; padding: 8px 16px; }
.demo-banner a { color: var(--banner-ink); font-weight: 600; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 14px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.bm-bg { fill: #0d5673; }
.bm-wave { fill: none; stroke: #bfe3ef; stroke-width: 2.4; stroke-linecap: round; }
.bm-sun { fill: #f08a6e; }
.brand-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text em { font-style: italic; font-weight: 400; color: var(--coral); }
@media (prefers-color-scheme: dark) { .brand-text em { color: var(--coral); } }
.phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-actions { display: flex; gap: 8px; width: 100%; }
.header-actions .btn { flex: 1 1 0; }

.site-nav { padding-bottom: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.site-nav li:first-child a { padding-left: 0; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none;
}
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--coral); color: var(--coral-ink); }
.btn-primary:hover { background: var(--coral-hover); }
.btn-secondary { background: var(--sea); color: var(--sea-ink); }
.btn-secondary:hover { background: var(--sea-hover); }
.btn-light { background: #fbf7f0; color: #0d3a4d; }
.btn-light:hover { background: #ffffff; }
.example-tag { font-weight: 500; font-size: .85em; }

/* Hero */
.hero {
  position: relative; color: #fbf7f0; padding: 56px 0 110px;
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(240, 138, 110, .45), transparent 65%),
    radial-gradient(600px 300px at 0% 100%, rgba(124, 196, 221, .25), transparent 60%),
    linear-gradient(170deg, #0f5d7c 0%, #0b4560 55%, #08364b 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd1c2; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); margin-bottom: 16px; }
.lede { font-size: 1.15rem; color: #e1ecef; max-width: 34em; }
.today {
  display: flex; gap: 12px; align-items: center; margin: 22px 0 24px; padding: 14px 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; max-width: 30em;
}
.today svg { width: 28px; height: 28px; flex: none; fill: none; stroke: #ffd1c2; stroke-width: 2; stroke-linecap: round; }
.today p { margin: 0; display: flex; flex-direction: column; }
.today strong { font-size: 1.1rem; }
.today span { font-size: .92rem; color: #e1ecef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero .btn-primary { background: #f08a6e; color: #1f0d07; }
.hero .btn-primary:hover { background: #f6a48d; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; }
.wave-1 { fill: rgba(251, 247, 240, .25); }
.wave-2 { fill: var(--bg); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); }
.section h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.section-lede { color: var(--ink-2); font-size: 1.08rem; max-width: 40em; margin-bottom: 20px; }
.muted { color: var(--ink-2); }
.small { font-size: .95rem; margin-top: 12px; }

.visit-grid { display: grid; gap: 28px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 1.02rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.location-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.location-card address { font-size: 1.1rem; margin: 16px 0 10px; line-height: 1.5; }
.location-card p { color: var(--ink-2); }
.map-art { width: 100%; height: auto; }
.ma-land { fill: #ede3d1; }
.ma-water { fill: #a9d3e2; }
.ma-road { stroke: #fff; stroke-width: 8; fill: none; }
.ma-pin { fill: #c2452a; }
.ma-pin-dot { fill: #fff; }
@media (prefers-color-scheme: dark) {
  .ma-land { fill: #1f3640; } .ma-water { fill: #1d5068; } .ma-road { stroke: #345563; } .ma-pin { fill: #f08a6e; } .ma-pin-dot { fill: #14262e; }
}

/* Menu */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); font-size: .95rem; margin-bottom: 26px; }
.legend .sep { margin: 0 6px; }
.tag {
  display: inline-block; font-family: var(--font); font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  padding: 1px 7px; border-radius: 6px; vertical-align: .12em; line-height: 1.5;
}
.tag-gf { background: var(--gf-bg); color: var(--gf-ink); }
.tag-v { background: var(--v-bg); color: var(--v-ink); }
.menu-grid { display: grid; gap: 18px; }
.menu-sec, .specials { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.menu-sec h3, .specials h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 6px;
  padding-bottom: 10px; border-bottom: 2px solid var(--coral);
}
.menu-note { font-size: .92rem; color: var(--ink-2); font-style: italic; margin: 8px 0 0; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mi-name { font-weight: 700; }
.mi-price { font-weight: 700; color: var(--price); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-list p { margin: 2px 0 0; color: var(--ink-2); font-size: .97rem; }
.specials { background: linear-gradient(160deg, #fff4ee, #fde6db); border-color: #f2c3b2; }
@media (prefers-color-scheme: dark) { .specials { background: linear-gradient(160deg, #2a1d1a, #1f1716); border-color: #5a362b; } }
.specials-kicker { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--price); margin-bottom: 4px; }
.specials-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.allergy { font-size: .9rem; color: var(--ink-2); margin: 22px 0 0; max-width: 48em; }

/* Order */
.order-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.order-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.order-card p { color: var(--ink-2); flex: 1; }
.order-card .btn { width: 100%; }
.example-note { font-size: .92rem; color: var(--ink-2); font-style: italic; margin: 16px 0 0; }

/* Events */
.events-grid { display: grid; gap: 24px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 22px; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px;
  border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg);
}

/* About */
.about-grid { display: grid; gap: 28px; align-items: center; }
.about-art svg { width: 100%; height: auto; max-width: 440px; }
.ab-sky { fill: #f6d8c4; }
.ab-sun { fill: #f08a6e; }
.ab-sea { fill: #2f7f9e; }
.ab-sea2 { fill: #0d5673; }
.ab-grass { stroke: #6f7f3a; stroke-width: 3; stroke-linecap: round; }
.ab-boat { fill: #1d2a30; }
.ab-sail { fill: #fbf7f0; }
@media (prefers-color-scheme: dark) { .ab-sky { fill: #2b2f3a; } .ab-sun { fill: #f6a48d; } .ab-sea { fill: #1d5068; } .ab-sea2 { fill: #123a4c; } .ab-boat { fill: #0b1a20; } .ab-sail { fill: #f2ece2; } .ab-grass { stroke: #8c9b55; } }

/* Reviews */
.reviews { display: grid; gap: 16px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.12rem; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.sample-tag { align-self: flex-start; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
.giftcard { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 18px 20px; border: 2px dashed var(--coral); border-radius: var(--radius); background: var(--surface); }
.giftcard svg { width: 48px; height: 32px; flex: none; }
.giftcard p { margin: 0; }
.gc-card { fill: var(--coral); }
.gc-ribbon { stroke: #fbf7f0; stroke-width: 3; fill: none; }
@media (prefers-color-scheme: dark) { .gc-ribbon { stroke: #14262e; } }

/* Footer */
.site-footer { background: #0a2a38; color: #d9e6ea; padding: 48px 0 24px; }
.site-footer a { color: #ffc3b0; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-h { font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 10px; }
.site-footer address { margin-bottom: .6em; }
.social { list-style: none; margin: 0; padding: 0; }
.social a { display: inline-block; padding: 10px 0; }
.footer-base { border-top: 1px solid #1e4555; margin-top: 28px; padding-top: 18px; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #071319; } }

@media (min-width: 640px) {
  .header-actions { width: auto; }
  .header-actions .btn { flex: 0 0 auto; }
  .hero-actions .btn { flex: 0 0 auto; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 84px 0 140px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; }
}
