/* ==========================================================================
   Hooked on Seafood — built from the real roadside sign:
   maroon building, white sign panels, black extended lettering,
   red phone number, Maryland-flag crab.
   ========================================================================== */

:root {
  --maroon: #6e2a39;       /* the building */
  --maroon-deep: #521e2a;
  --signwhite: #f7f5ef;    /* the sign panels */
  --ink: #191919;          /* sign lettering */
  --sign-red: #c23b2a;     /* the phone number */
  --md-gold: #eaab00;      /* Calvert gold */
  --shell: #f6efe3;        /* warm page background */
  --shell-deep: #efe4cf;

  --font-word: "Michroma", "Arial Black", sans-serif;   /* the sign wordmark */
  --font-num: "Audiowide", "Michroma", sans-serif;      /* the sign phone digits */
  --font-board: "Staatliches", "Oswald", sans-serif;    /* condensed sign lettering */
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-hand: "Caveat", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--shell);
  color: var(--ink);
  line-height: 1.6;
}

em { font-style: normal; }

/* ============================== MASTHEAD ============================== */
/* The maroon building wall, floodlit from above, sign mounted center. */

.masthead {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -20%, #8a3a4c 0%, var(--maroon) 50%, var(--maroon-deep) 100%);
  text-align: center;
  overflow: hidden;
}

/* faint vertical wall panel seams, like the clad building in the photo */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 220px,
    rgba(0, 0, 0, 0.10) 220px 223px
  );
  pointer-events: none;
}

.masthead__inner {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem clamp(6rem, 12vw, 8.5rem);
}

/* ------ the sign panel ------ */

.sign-panel {
  position: relative;
  background: var(--signwhite);
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 3rem) clamp(1.75rem, 4vw, 2.5rem);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(0, 0, 0, 0.04);
  animation: rise 0.7s ease-out both;
}

/* the three-board seams visible on the real sign */
.sign-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(25, 25, 25, 0.08);
  pointer-events: none;
}
.sign-seam--1 { left: 33.3%; }
.sign-seam--2 { left: 66.6%; }

.sign-word { width: 100%; height: auto; display: block; }

.sign-word__text {
  font-family: var(--font-word);
  font-size: 50px;
  letter-spacing: 4px;
  fill: var(--ink);
}

.md-crab {
  width: clamp(120px, 24vw, 190px);
  margin: 0.5rem auto 0.75rem;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate(1deg); }
}

.sign-phone {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--sign-red);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.sign-phone:hover { transform: scale(1.03); }

/* ------ below the sign ------ */

.masthead__tag {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-style: italic;
  color: #ecd9dd;
  max-width: 34em;
  margin: 1.75rem auto;
  animation: rise 0.7s 0.15s ease-out both;
}

.masthead__cta {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: rise 0.7s 0.3s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.btn {
  font-family: var(--font-board);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--red {
  background: var(--sign-red);
  color: var(--signwhite);
  box-shadow: 0 4px 0 #8f2a1d;
}
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #8f2a1d; }
.btn--red:active { transform: translateY(2px); box-shadow: 0 2px 0 #8f2a1d; }

.btn--ghost {
  color: var(--signwhite);
  border: 2px solid rgba(247, 245, 239, 0.5);
}
.btn--ghost:hover { border-color: var(--signwhite); background: rgba(247, 245, 239, 0.08); }

/* rubber-stamp badge */
.stamp {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  right: clamp(0.5rem, 5vw, 3rem);
  width: 104px;
  height: 104px;
  border: 3px dashed var(--md-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(12deg);
  color: var(--md-gold);
  font-family: var(--font-board);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
  opacity: 0.9;
}

.waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.waves svg { width: 100%; height: clamp(30px, 5vw, 70px); }

/* ============================ SECTION TITLES =========================== */

.section-title {
  font-family: var(--font-word);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.section-title em { color: var(--sign-red); }
.section-title--left { text-align: left; }

/* ============================= PRICE BOARD ============================= */
/* A white sign board like the real one: black lettering, red prices. */

.board-section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem 2rem;
}

.board-updated {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--maroon);
  margin-bottom: 1.5rem;
}
.board-updated--fresh::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3fae5a;
  margin-right: 0.5em;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* maroon frame around the white board — the sign on the building */
.board-frame {
  position: relative;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 6px;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  box-shadow:
    0 14px 40px rgba(82, 30, 42, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.15);
}

.board {
  border-radius: 3px;
  background: var(--signwhite);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.06);
  color: var(--ink);
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  min-height: 300px;
}

.board__loading, .board__error {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: #8a8578;
  text-align: center;
  padding: 3rem 0;
}

.board__category {
  margin-top: 1.9rem;
  animation: fadeUp 0.45s ease-out both;
}
.board__category:first-child { margin-top: 0; }

.board__category:nth-child(1) { animation-delay: 0.05s; }
.board__category:nth-child(2) { animation-delay: 0.18s; }
.board__category:nth-child(3) { animation-delay: 0.31s; }
.board__category:nth-child(4) { animation-delay: 0.44s; }
.board__category:nth-child(5) { animation-delay: 0.57s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.board__heading {
  font-family: var(--font-word);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  display: inline-block;
  margin-bottom: 0.7rem;
  border-bottom: 3px solid var(--md-gold);
  padding-bottom: 0.25rem;
}

/* Menu-row grid: name may wrap inside its column; dots flex; price is
   pinned right and never drops to a second line. 4th column holds the
   optional sold-out tag and collapses to zero when absent. */
.board__row {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr max-content auto;
  align-items: baseline;
  column-gap: 0.55rem;
  font-family: var(--font-board);
  font-size: clamp(1.05rem, 3.4vw, 1.6rem);
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
}

.board__item {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.25;
}

.board__dots {
  border-bottom: 2px dotted rgba(25, 25, 25, 0.3);
  transform: translateY(-0.32em);
  min-width: 1.25rem;
}

.board__price {
  font-family: var(--font-num);
  font-size: 0.92em;
  color: var(--sign-red);
  white-space: nowrap;
}
.board__unit {
  font-family: var(--font-board);
  font-size: 0.68em;
  color: #7a7568;
  letter-spacing: 0.06em;
}

.board__row--out .board__item,
.board__row--out .board__price,
.board__row--out .board__unit {
  color: #a9a294;
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: rgba(194, 59, 42, 0.85);
}

.soldout-tag {
  font-family: var(--font-board);
  font-size: 0.62em;
  color: var(--sign-red);
  border: 2px solid var(--sign-red);
  border-radius: 4px;
  padding: 0.05em 0.4em;
  transform: rotate(-3deg);
  display: inline-block;
  letter-spacing: 0.12em;
}

/* announcement — paper note "taped" to the frame */
.board-note {
  position: absolute;
  top: -1.1rem;
  right: clamp(0.5rem, 4vw, 2rem);
  max-width: min(260px, 70%);
  background: #fff8e6;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.3;
  padding: 0.8rem 1rem 0.9rem;
  transform: rotate(2.5deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}
.board-note::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 84px;
  height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(210, 200, 170, 0.65); /* tape */
}

.board-caveat {
  text-align: center;
  font-size: 0.95rem;
  color: #6d6a60;
  margin-top: 1.4rem;
}

/* =============================== GALLERY =============================== */

.gallery {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) 1.25rem 0;
  text-align: center;
}

.gallery__stage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.gallery__frame {
  flex: 1;
  min-width: 0;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  padding: clamp(8px, 1.6vw, 14px);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(82, 30, 42, 0.35);
}

.gallery__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: var(--shell-deep);
}

.gallery__frame figcaption {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--signwhite);
  padding: 0.5rem 0.25rem 0.1rem;
  min-height: 1.4em;
}

.gallery__nav {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: var(--signwhite);
  color: var(--maroon);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.gallery__nav:hover { background: var(--maroon); color: var(--signwhite); }

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.gallery__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.gallery__dots button[aria-selected="true"] { background: var(--maroon); }

@media (max-width: 560px) {
  .gallery__nav { display: none; } /* swipe instead */
}

/* ================================ ABOUT ================================ */

.about {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem;
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.polaroid {
  background: #fff;
  padding: 12px 12px 14px;
  transform: rotate(-3deg);
  box-shadow: 0 12px 28px rgba(82, 30, 42, 0.25);
  transition: transform 0.25s ease;
}
.polaroid:hover { transform: rotate(-1deg) scale(1.02); }

.polaroid__img {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(45deg, #e8e0d6 0 14px, #ded4c6 14px 28px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #8a7f70;
  font-size: 0.95rem;
  line-height: 1.5;
}

.polaroid__caption {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--ink);
}

.about__copy p { margin-bottom: 1rem; max-width: 55ch; }

.about__points {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

/* ============================ HOURS & VISIT ============================ */

.visit {
  background: var(--shell-deep);
  border-top: 3px solid rgba(110, 42, 57, 0.12);
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem clamp(3rem, 8vw, 5.5rem);
}

.visit__cards {
  max-width: 980px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.ticket {
  background: var(--signwhite);
  border: 2px solid var(--maroon);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
  position: relative;
  box-shadow: 5px 5px 0 rgba(110, 42, 57, 0.22);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--shell-deep);
  border: 2px solid var(--maroon);
  transform: translateY(-50%);
}
.ticket::before { left: -10px; }
.ticket::after  { right: -10px; }

.ticket h3 {
  font-family: var(--font-word);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sign-red);
  margin-bottom: 0.75rem;
}

.hours { list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(110, 42, 57, 0.3);
}
.hours li span:first-child { font-weight: 600; }

.ticket__big { font-size: 1.15rem; font-weight: 600; line-height: 1.5; }

.ticket__fine { font-size: 0.85rem; color: #6d6a60; margin-top: 0.9rem; }

.ticket--call { text-align: center; }
.ticket__phone {
  font-family: var(--font-num);
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--sign-red);
  text-decoration: none;
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 3px solid var(--maroon);
  border-radius: 8px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ticket__phone:hover { background: var(--maroon); color: var(--signwhite); transform: translateY(-2px); }

/* ================================ FOOTER =============================== */

.footer {
  background: var(--maroon-deep);
  color: var(--signwhite);
  text-align: center;
  padding: 0 1.25rem 2.5rem;
}

/* Maryland flag stripe */
.footer__flag {
  height: 12px;
  margin-bottom: 2.25rem;
  background: repeating-linear-gradient(
    90deg,
    var(--md-gold) 0 40px,
    #141414 40px 80px,
    var(--sign-red) 80px 120px,
    #f2efe8 120px 160px
  );
}

.footer__name {
  font-family: var(--font-word);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__line { margin-top: 0.4rem; color: #e5cfd5; font-family: var(--font-num); font-size: 0.95rem; }

.footer__fine {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #b58f99;
  font-style: italic;
}

/* =============================== MOBILE ================================ */

@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { order: 2; justify-self: center; width: min(300px, 80%); }
  .stamp { width: 84px; height: 84px; font-size: 0.9rem; }
  .sign-word__text { letter-spacing: 3px; }
  .board { padding-left: 1rem; padding-right: 1rem; }
  .board__row { column-gap: 0.4rem; }
  .board__unit { font-size: 0.6em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
