:root {
  --bg-deep: #081818;
  --bg-mid: #0f3838;
  --bg-soft: #e8f7f0;
  --ink-dark: #0a1515;
  --mint: #3dd598;
  --mint-light: #65d694;
  --sun: #ffca42;
  --coral: #ff8a6b;
  --card: rgba(248, 255, 252, 0.85);
  --border: rgba(10, 50, 40, 0.12);
  --shadow: 0 16px 40px rgba(0, 20, 18, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-dark);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 209, 102, 0.22), transparent 40%),
    radial-gradient(circle at 88% 15%, rgba(101, 214, 148, 0.25), transparent 35%),
    linear-gradient(140deg, var(--bg-soft), #f4fbff 30%, #fff3df 70%, #e4f1d3);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #061312 0%, #0a2a28 100%);
  border-bottom: 3px solid rgba(61, 213, 152, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 1.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #3dd598;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  transition: opacity 0.2s, transform 0.2s;
}

.brand:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.logo-img {
  height: 92px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #d5f5eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
  padding: 0.3rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3dd598, #65d694);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.site-nav a:hover {
  color: #3dd598;
}

.site-nav a:hover::after {
  width: 100%;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

p {
  line-height: 1.55;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, var(--bg-deep), var(--bg-mid));
  color: #f7fff9;
}

.status-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 320px;
  z-index: 90;
  animation: slideInUp 0.6s ease 0.3s both;
}

.status-content {
  padding: 1.4rem !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(20, 60, 55, 0.95), rgba(15, 50, 48, 0.95)) !important;
  border: 1px solid rgba(61, 213, 152, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

.status-content h3 {
  margin: 0 0 0.8rem 0;
  font-size: 0.95rem;
  color: #3dd598;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-content p {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #e8f7f0;
  font-weight: 600;
  min-height: 1.5em;
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.status-header h3 {
  margin: 0;
}

.status-body {
  display: grid;
  gap: 0.6rem;
}

.status-body[hidden] {
  display: none;
}

.status-toggle-btn {
  display: none;
  border: 1px solid rgba(61, 213, 152, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d5f5eb;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.status-controls {
  display: grid;
  gap: 0.6rem;
}

.status-picker {
  width: 100% !important;
  padding: 0.65rem 0.8rem !important;
  font-size: 0.9rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(61, 213, 152, 0.25) !important;
  color: #d5f5eb !important;
  border-radius: 8px !important;
}

.btn-small {
  padding: 0.65rem 1rem !important;
  font-size: 0.9rem !important;
  width: 100%;
  background: linear-gradient(135deg, #3dd598, #2bc080) !important;
}

.btn-small:hover {
  background: linear-gradient(135deg, #2bc080, #1f9d68) !important;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(101, 214, 148, 0.25), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(255, 127, 102, 0.22), transparent 35%);
  animation: pulseBg 8s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0;
  animation: riseIn 0.85s ease;
}

.kicker {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 5rem);
  margin: 0.5rem 0;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  max-width: 720px;
  margin: 0.75rem auto;
}

.announcement {
  color: #ffe7a4;
  font-weight: 700;
  margin-top: 0.25rem;
}

.hero-actions,
.status-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #07261e;
  font-weight: 800;
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(12, 43, 33, 0.18);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
}

.status-panel {
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.status-main {
  animation: riseIn 0.6s ease 0.2s both;
}

.location-select-row {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

select,
input,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #cce2d6;
  border-radius: 10px;
  background: #fcfffb;
  color: #19332e;
  font: inherit;
}

.section-grid {
  margin: 2.25rem auto;
  animation: riseIn 0.8s ease both;
}

.page-main {
  padding-bottom: 2.5rem;
}

.page-intro {
  margin-top: 1.3rem;
}

.section-head {
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cta-card {
  text-align: center;
}

.social-grid {
  align-items: stretch;
}

.post-card-embed {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.post-card-embed .instagram-media {
  min-width: 500px !important;
  width: 100% !important;
  margin: 0 !important;
  max-height: 550px !important;
  height: 550px !important;
}

.location-detail-card {
  display: grid;
  gap: 0.55rem;
}

.location-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.location-actions .btn {
  flex: 1;
  max-width: 150px;
}

.weekly-menu-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: contain;
  max-height: 500px;
}

.weekly-menu-image {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.weekly-menu-image:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.image-modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #3dd598;
}

.modal-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.menu-display-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hours-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
}

.flyer-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.pill-open {
  background: #daf8dd;
  color: #0e5a2a;
}

.pill-closing_soon {
  background: #fff2d1;
  color: #704600;
}

.pill-temporarily_closed,
.pill-closed,
.pill-unavailable {
  background: #ffdfd9;
  color: #8a250d;
}

.price {
  margin-top: 0.8rem;
  font-weight: 800;
  color: #0f5038;
}

.centered-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-card {
  width: min(500px, 92vw);
}

.stack-form {
  display: grid;
  gap: 0.55rem;
}

.flash-msg {
  background: #ecffe3;
  border: 1px solid #93c783;
  color: #1c4b16;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.admin-page {
  padding: 2rem 0 3rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.admin-section {
  margin-bottom: 1rem;
}

.admin-subcard {
  margin-top: 0.8rem;
}

.admin-card-grid {
  margin-top: 1rem;
}

.admin-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.65rem;
}

.day-hours-field {
  border: 1px solid #d1e6da;
  border-radius: 10px;
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.day-hours-field legend {
  font-weight: 700;
  padding: 0 0.35rem;
}

.section-divider {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #cde2d6;
}

.btn-danger {
  background: #df5a47;
  color: #fff8f4;
}

.helper-text {
  margin-top: 0.8rem;
  opacity: 0.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.contact-page {
  padding-bottom: 2.6rem;
}

.contact-hero-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 202, 66, 0.2), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(61, 213, 152, 0.2), transparent 40%),
    rgba(248, 255, 252, 0.92);
  border: 1px solid rgba(61, 213, 152, 0.22);
  padding: 1.45rem;
}

.contact-kicker {
  margin: 0;
  color: #0f8560;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-hero-card h1 {
  margin-top: 0.3rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.contact-hero-card p {
  margin: 0.45rem 0 0;
  max-width: 760px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 1rem;
}

.contact-form-card {
  padding: 1.35rem;
  border: 1px solid rgba(13, 72, 54, 0.18);
}

.contact-card-head {
  display: grid;
  gap: 0.3rem;
}

.contact-card-head p {
  margin: 0;
  color: #395e54;
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  gap: 0.7rem;
}

.contact-form {
  margin-top: 0.7rem;
  gap: 0.75rem;
}

.clean-form label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #17443a;
  margin-bottom: 0.25rem;
}

.clean-form input,
.clean-form select,
.clean-form textarea {
  border: 1px solid #b9dccf;
  background: #ffffff;
}

.clean-form input:focus,
.clean-form select:focus,
.clean-form textarea:focus {
  outline: none;
  border-color: #3dd598;
  box-shadow: 0 0 0 3px rgba(61, 213, 152, 0.16);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-row > div {
  display: grid;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.15rem;
}

.contact-note {
  margin-top: 0.15rem;
}

.contact-list {
  margin: 0.2rem 0 0;
  padding-left: 0;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.contact-list li {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(61, 213, 152, 0.09);
}

.contact-side-stack {
  display: grid;
  gap: 1rem;
}

.contact-checklist {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.inquiry-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.inquiry-card {
  border-left: 4px solid rgba(61, 213, 152, 0.5);
}

.site-footer {
  margin-top: 2.5rem;
  background: linear-gradient(145deg, #071818, #0d2f2d);
  color: #d5f5eb;
  border-top: 2px solid rgba(61, 213, 152, 0.28);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.footer-brand {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #3dd598;
}

.footer-copy {
  margin: 0.35rem 0 0;
  color: #c5ebe0;
  font-size: 0.94rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #f2fff8;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #3dd598;
}

.footer-meta {
  border-top: 1px solid rgba(61, 213, 152, 0.24);
  padding-top: 0.65rem;
  padding-bottom: 0.85rem;
  color: #a9d9cb;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBg {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1120px, 96vw);
    padding: 0 0.75rem;
  }

  .nav-wrap {
    gap: 1.25rem;
    padding: 1rem 0;
  }

  .logo-img {
    height: 76px;
  }

  .status-badge {
    position: static;
    width: min(760px, calc(100vw - 1.5rem));
    margin: 1rem auto 0;
    animation: riseIn 0.5s ease both;
  }

  .hero-content {
    padding: 3.25rem 0 2.5rem;
  }

  .section-grid {
    margin: 1.5rem auto;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .inquiry-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card-embed .instagram-media {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 420px !important;
  }
}

@media (max-width: 640px) {
  body.home-page.mobile-status-dock .page-main {
    padding-bottom: 6.2rem;
  }

  body.home-page.mobile-status-dock .site-footer {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  }

  body:not(.mobile-status-dock) .site-footer {
    padding-bottom: 0;
  }

  body:not(.mobile-status-dock) .footer-meta {
    padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0;
    text-align: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0.85rem 1rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .logo-img {
    height: 64px;
  }

  .hero {
    min-height: 62vh;
  }

  .hero-content {
    padding: 2.25rem 0 2rem;
  }

  .kicker {
    letter-spacing: 0.22em;
    font-size: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(340px, 90vw);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .status-badge {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    width: auto;
    margin: 0;
    z-index: 120;
  }

  .status-content {
    padding: 1rem !important;
  }

  .status-content h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .status-content p {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
  }

  .status-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section-head p,
  .lead {
    font-size: 0.96rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-hero-card {
    padding: 1.1rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }

  .footer-wrap {
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .footer-nav {
    width: 100%;
    gap: 0.65rem 1rem;
  }

  .footer-nav a {
    font-size: 0.92rem;
  }

  .footer-meta {
    padding-top: 0.75rem;
  }

  .inquiry-controls {
    grid-template-columns: 1fr;
  }

  .glass-card {
    border-radius: 14px;
    padding: 1rem;
  }

  .menu-display-card {
    gap: 0.6rem;
  }

  .weekly-menu-image {
    max-height: 360px;
    width: 100%;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    max-width: none;
    width: 100%;
  }

  .admin-page {
    padding-top: 1.1rem;
  }

  .admin-header {
    align-items: stretch;
  }

  .admin-header .btn {
    width: 100%;
    text-align: center;
  }

  .admin-inline-grid {
    grid-template-columns: 1fr;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  .post-card-embed .instagram-media {
    min-height: 360px !important;
    max-height: 520px !important;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.75rem;
    font-size: 2rem;
  }
}
