/* The Seafood Shack — designed to feel like the room itself:
   warmly-lit cream menu boards with crisp red double-frames, mounted on a
   near-black wall, with the real red stamp glowing like the sign over the
   counter. Restrained palette — charcoal, cream, one confident red.
   Type mirrors the boards: Oswald (condensed) headers + PT Serif descriptions. */

:root {
  --wall: #16130f;          /* the near-black wall */
  --wall-2: #211c16;
  --cream: #f7f0e1;         /* warm page cream */
  --cream-2: #efe6d2;
  --board: #f0f5ef;         /* the pale, lit menu-board cream */
  --paper: #ffffff;
  --red: #cf2027;           /* brand red, sampled from the logo */
  --red-deep: #a4161c;
  --ink: #221d16;           /* warm near-black text */
  --ink-soft: #6e6555;
  --line: rgba(34, 29, 22, 0.16);
  --frame: rgba(207, 32, 39, 0.5);
  --shadow: 0 26px 60px -32px rgba(0, 0, 0, 0.7);
  --glow: 0 0 70px -10px rgba(255, 233, 190, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: "Oswald", ui-sans-serif, system-ui, "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.03;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.012em;
}

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 3.2rem); }

.kicker {
  display: inline-block;
  font-family: "Oswald", sans-serif; font-weight: 500;
  font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.85rem;
}
.kicker.light { color: #e8a0a0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.5rem; border-radius: 3px;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none; border: 2px solid var(--red); background: var(--red); color: #fff;
  cursor: pointer; transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: currentColor; border-color: currentColor; }
.hero .btn.ghost:hover { color: var(--wall); }

/* ===== Top bar ===== */
.topbar {
  background: var(--wall); color: rgba(247, 240, 225, 0.7);
  font-family: "Oswald", sans-serif; font-weight: 300; font-size: 0.78rem; letter-spacing: 0.05em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; align-items: center; justify-content: space-between; padding-block: 0.5rem; }
.topbar a { color: #e8a0a0; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 240, 225, 0.93); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-words b { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.28rem; color: var(--ink); letter-spacing: 0.02em; }
.brand-words small { font-family: "Oswald", sans-serif; font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-top: 0.24rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { text-decoration: none; font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.92rem; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--red); }
@media (max-width: 620px) {
  .nav-links { gap: 0.8rem; }
  .nav-links a:not(.btn) { display: none; }
  .brand-words b { font-size: 1.08rem; }
  .brand-logo { width: 44px; height: 44px; }
}

/* ===== Hero: lit wall sign ===== */
.hero {
  position: relative; color: var(--cream); overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(255, 226, 170, 0.12), transparent 62%),
    radial-gradient(90% 120% at 78% 30%, rgba(207, 32, 39, 0.14), transparent 60%),
    var(--wall);
  padding-block: clamp(2.8rem, 7vw, 5.5rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: radial-gradient(rgba(247, 240, 225, 0.045) 1px, transparent 1px);
  background-size: 6px 6px;
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
.hero-copy { order: 2; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); color: #fff; margin-bottom: 0.7rem; letter-spacing: 0.005em; }
.hero h1 em { font-style: normal; color: var(--red); }
/* the real wall neon: "Life is short… eat the lobster roll!" glowing red on the dark wall */
.neon {
  font-family: "Pacifico", "Segoe Script", cursive;
  text-transform: none; font-weight: 400;
  font-size: clamp(1.45rem, 3.6vw, 2.15rem); line-height: 1.25;
  color: #ff5b60; margin: 0 0 1.5rem;
  text-shadow:
    0 0 5px rgba(255, 120, 124, 0.95),
    0 0 16px rgba(207, 32, 39, 0.75),
    0 0 34px rgba(207, 32, 39, 0.55);
}
.hero .lede { font-size: clamp(1.08rem, 2.1vw, 1.28rem); max-width: 46ch; color: rgba(247, 240, 225, 0.8); margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-actions .btn.ghost { color: var(--cream); }

.hero-sign { order: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.hero-sign::before {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 195, 0.22) 0%, rgba(207, 32, 39, 0.08) 48%, transparent 70%);
  filter: blur(8px);
}
.hero-logo {
  position: relative; width: min(360px, 74vw); height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.55));
}
@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .hero-copy { order: 1; }
  .hero-sign { order: 2; }
}

/* ===== Sign ribbon ===== */
.ribbon-bar { background: var(--red); color: #fff; }
.ribbon-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.1rem;
  padding-block: 0.85rem; text-align: center;
  font-family: "Oswald", sans-serif; font-weight: 400; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.ribbon-bar .dot { font-size: 0.4rem; opacity: 0.7; transform: translateY(-2px); }
@media (max-width: 720px) { .ribbon-bar .dot { display: none; } .ribbon-bar .wrap { gap: 0.3rem 1rem; } }

/* ===== The board wall (menu) ===== */
.menu-wall {
  position: relative; color: var(--cream);
  background:
    radial-gradient(80% 60% at 50% -5%, rgba(255, 226, 170, 0.07), transparent 60%),
    var(--wall);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.menu-wall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(247, 240, 225, 0.04) 1px, transparent 1px);
  background-size: 6px 6px;
}
.menu-wall .wrap { position: relative; z-index: 1; }
.wall-head { max-width: 60ch; margin-bottom: 2.4rem; }
.wall-head h2 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; }
.wall-head p { margin: 0; color: rgba(247, 240, 225, 0.72); }

/* Each board = one lit cream panel with a red double-line frame */
.board-wall { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.board {
  position: relative; background: var(--board); color: var(--ink);
  border: 2px solid var(--red); border-radius: 6px;
  padding: clamp(1.5rem, 3.5vw, 2.3rem); box-shadow: var(--shadow), var(--glow);
}
.board::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--frame); border-radius: 4px; pointer-events: none;
}
.board > * { position: relative; }

/* The signature board — lobster rolls, the headliner: a red flag + warmer glow */
.board.feature { box-shadow: var(--shadow), 0 0 54px -6px rgba(207, 32, 39, 0.42); }
.board.feature::before { border-color: var(--red); }
.board-flag {
  position: absolute; top: -0.8rem; left: clamp(1.2rem, 3vw, 2rem); z-index: 3;
  background: var(--red); color: #fff;
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.72rem; line-height: 1;
  padding: 0.5rem 0.95rem; border-radius: 4px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7);
}
.board.feature .cats { margin-top: 0.4rem; }

/* Categories flow in newspaper-style columns within a board, like the real boards */
.cats { columns: 1; }
.cat { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 1.9rem; }
.cat:last-child { margin-bottom: 0; }
.cat h3 {
  font-size: 1.32rem; color: var(--red); letter-spacing: 0.04em;
  padding-bottom: 0.5rem; margin: 0 0 0.7rem; border-bottom: 2px solid var(--red);
}
.board-note { font-size: 0.83rem; color: var(--ink-soft); font-style: italic; margin: 0 0 0.7rem; line-height: 1.45; }
.board-note i { opacity: 0.85; }
.cat ul { list-style: none; margin: 0; padding: 0; }
.cat li { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.5rem 0; border-top: 1px dotted var(--line); }
.cat li:first-of-type { border-top: 0; }
.cat .n { flex: 1; }
.cat .n b { font-family: "PT Serif", serif; font-weight: 700; color: var(--ink); }
.cat .n small { display: block; color: var(--ink-soft); font-size: 0.81rem; line-height: 1.4; margin-top: 0.1rem; }
.cat .p { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--red); font-size: 1.02rem; white-space: nowrap; flex: none; }

/* Lobster Trivia — straight off the printed menu */
.trivia {
  position: relative; margin-top: 1.6rem;
  background: var(--wall-2); color: var(--cream);
  border: 2px solid var(--red); border-radius: 6px; padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.trivia::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(247,240,225,0.18); border-radius: 4px; pointer-events: none;
}
.trivia h3 {
  position: relative; color: #fff; font-size: 1.32rem; letter-spacing: 0.04em;
  padding-bottom: 0.5rem; margin: 0 0 0.9rem; border-bottom: 2px solid var(--red);
}
.trivia ul {
  position: relative; list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem);
}
.trivia li {
  break-inside: avoid; margin-bottom: 0.55rem; padding-left: 1.1rem; position: relative;
  font-style: italic; color: rgba(247,240,225,0.8); font-size: 0.95rem; line-height: 1.4;
}
.trivia li::before { content: "★"; position: absolute; left: 0; color: var(--red); font-style: normal; }
.trivia b { font-style: normal; color: #e8a0a0; font-family: "PT Serif", serif; }
@media (max-width: 560px) { .trivia ul { columns: 1; } }

.menu-note {
  margin-top: 1.8rem; font-family: "Oswald", sans-serif; font-weight: 300; letter-spacing: 0.03em;
  font-size: 0.88rem; color: rgba(247, 240, 225, 0.6); text-align: center;
}

/* ===== Signatures: real food photos, lobster roll leading ===== */
.signatures { background: var(--cream); padding-block: clamp(2.8rem, 6vw, 4.8rem); }
.sig-head { max-width: 58ch; margin-bottom: 2rem; }
.sig-head h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); color: var(--ink); }
.sig-head p { margin: 0; color: var(--ink-soft); }
.sig-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
.sig-card {
  margin: 0; position: relative; background: var(--paper);
  border: 2px solid var(--red); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow);
}
.sig-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.sig-card figcaption { padding: 1rem 1.15rem 1.2rem; }
.sig-card figcaption b {
  display: block; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--red); font-size: 1.22rem; line-height: 1.05;
}
.sig-card figcaption small { display: block; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.45; margin-top: 0.35rem; }
.sig-flag {
  display: inline-block; background: var(--red); color: #fff;
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.66rem; padding: 0.32rem 0.62rem; border-radius: 3px; margin-bottom: 0.55rem;
}
.sig-cta { margin-top: 1.8rem; }
@media (min-width: 720px) {
  .sig-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .sig-card.lead {
    grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
    box-shadow: var(--shadow), 0 0 44px -10px rgba(207, 32, 39, 0.4);
  }
  .sig-card.lead img { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .sig-card.lead figcaption { align-self: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
  .sig-card.lead figcaption b { font-size: clamp(1.5rem, 3vw, 2.1rem); }
  .sig-card.lead figcaption small { font-size: 0.96rem; margin-top: 0.6rem; }
}

/* ===== Story ===== */
.story { background: var(--cream); padding-block: clamp(3rem, 7vw, 5.5rem); }
.story .wrap { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: center; }
.story h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--ink); }
.story p { color: var(--ink-soft); max-width: 56ch; }
.story-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.6rem; }
.story-stats div { display: flex; flex-direction: column; }
.story-stats b { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 2rem; color: var(--red); line-height: 1; }
.story-stats span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.35rem; }
.story-photo {
  margin: 0; position: relative; border-radius: 8px; min-height: 360px; overflow: hidden;
  background:
    radial-gradient(70% 80% at 30% 20%, rgba(207,32,39,0.10), transparent 60%),
    repeating-linear-gradient(135deg, var(--cream-2) 0 22px, #e7ddc6 22px 44px);
  border: 1px dashed var(--line); display: flex; align-items: flex-end; padding: 1.4rem;
}
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-slot {
  background: rgba(34, 29, 22, 0.06); color: var(--ink-soft);
  font-family: "Oswald", sans-serif; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em;
  padding: 0.6rem 0.9rem; border-radius: 6px; border: 1px solid var(--line); max-width: 30ch;
}
/* When the real photo is present, hide the placeholder chip and show a caption overlay */
.photo-cap { display: none; }
.story-photo:has(img.story-img) { border-style: solid; border-color: var(--red); padding: 0; }
.story-photo:has(img.story-img) .photo-slot { display: none; }
.story-photo:has(img.story-img) .photo-cap {
  display: block; position: relative; z-index: 2; align-self: stretch; margin-top: auto;
  padding: 2.6rem 1.3rem 1.1rem;
  background: linear-gradient(to top, rgba(22,19,15,0.9) 8%, rgba(22,19,15,0.55) 55%, transparent);
  color: var(--cream); font-family: "PT Serif", serif; font-style: italic; font-size: 0.92rem; line-height: 1.45;
}
@media (min-width: 820px) { .story .wrap { grid-template-columns: 1.1fr 0.9fr; } }

/* ===== Visit ===== */
.visit { background: var(--wall); color: var(--cream); padding-block: clamp(3rem, 7vw, 5.5rem); }
.visit .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.visit h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.visit dl { margin: 0; display: grid; gap: 0; }
.visit dl > div { display: grid; grid-template-columns: 7rem 1fr; gap: 0.5rem 1.2rem; padding: 1rem 0; border-top: 1px solid rgba(247, 240, 225, 0.15); }
.visit dt { font-family: "Oswald", sans-serif; color: #e8a0a0; font-weight: 500; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.2rem; }
.visit dd { margin: 0; }
.visit dd small { display: block; color: rgba(247, 240, 225, 0.58); font-size: 0.85rem; margin-top: 0.15rem; }
.visit .btn { margin-top: 1.6rem; }
.call-card { background: var(--red); color: #fff; border-radius: 8px; padding: 1.9rem; display: flex; flex-direction: column; gap: 0.85rem; align-self: start; box-shadow: var(--shadow); }
.call-card .kicker { color: rgba(255, 255, 255, 0.85); }
.call-card .num { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(1.7rem, 4.6vw, 2.1rem); text-decoration: none; color: #fff; white-space: nowrap; }
.call-card p { margin: 0; font-size: 0.95rem; }
.call-card .socials { display: flex; gap: 0.7rem; align-items: center; }
/* Social icon buttons (Facebook / Instagram platform glyphs) */
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid currentColor; color: inherit; text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.social svg { width: 20px; height: 20px; display: block; }
.social:hover { transform: translateY(-2px); }
.call-card .social { background: #fff; color: var(--red); border-color: #fff; }
.call-card .social:hover { background: transparent; color: #fff; border-color: #fff; }
@media (min-width: 820px) { .visit .wrap { grid-template-columns: 1.35fr 0.65fr; align-items: start; } }

/* ===== Footer ===== */
.site-footer { background: var(--wall-2); color: rgba(247, 240, 225, 0.72); }
.site-footer .wrap { display: grid; gap: 1.8rem; grid-template-columns: 1fr; padding-block: 2.8rem; }
.foot-brand { display: flex; flex-direction: column; gap: 1rem; }
.foot-logo { width: 84px; height: 84px; }
.site-footer h4 { color: #e8a0a0; font-family: "Oswald", sans-serif; margin: 0 0 0.6rem; letter-spacing: 0.05em; }
.site-footer p { margin: 0; font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.social-row { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.site-footer .social { color: var(--cream); border-color: rgba(247, 240, 225, 0.38); }
.site-footer .social:hover { background: var(--red); color: #fff; border-color: var(--red); }
.disclaimer { grid-column: 1 / -1; border-top: 1px solid rgba(247, 240, 225, 0.15); padding-top: 1.3rem; font-size: 0.8rem; color: rgba(247, 240, 225, 0.48); line-height: 1.55; }

/* ===== Responsive ===== */
@media (min-width: 760px) {
  .cats { columns: 2; column-gap: clamp(1.8rem, 4vw, 3.4rem); }
  /* The feature board has a single category, so the 2-column flow would strand
     a blank right column. Instead let its header span the full board and flow
     the 4 lobster sandwiches into two columns — as on the real printed menu. */
  .board.feature .cats { columns: 1; }
  .board.feature .cat ul { columns: 2; column-gap: clamp(1.8rem, 4vw, 3.4rem); }
  .board.feature .cat li { break-inside: avoid; -webkit-column-break-inside: avoid; }
  .board.feature .cat li:first-of-type { border-top: 0; }
  .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
