/* Sho Sushi & Roll — brand: logo red / black / leaf green */
:root {
  --red: #e31e24;
  --red-dark: #b8151a;
  --black: #111111;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --green: #4cc828;
  --cream: #faf8f5;
  --line: rgba(17, 17, 17, 0.1);
  --white: #ffffff;
  --font-display: "Zen Maru Gothic", "Hiragino Sans", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 2.6rem;
  width: auto;
}

.nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover {
  opacity: 1;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: #ffffff;
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.25) 0%, rgba(17, 17, 17, 0.72) 100%),
    url('/assets/img/hero_sushi.jpg') no-repeat center center;
  background-size: cover;
  transform: scale(1.04);
  animation: hero-ken 12s var(--ease) forwards;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Ccircle cx='80' cy='80' r='48' stroke-width='10'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}

@keyframes hero-ken {
  to {
    transform: scale(1);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
}

.hero__brand {
  width: min(340px, 85%);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 14ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 34ch;
  opacity: 0;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero .btn {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section__intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.section--catering {
  background: var(--white);
}

.catering-layout {
  display: grid;
  gap: 2.5rem;
}

.catering-call {
  font-size: 1.15rem;
}

.catering-call a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.catering-call a:hover {
  text-decoration: underline;
}

.catering-image {
  margin-top: 1.75rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.catering-img-file {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 280px;
  transition: transform 0.5s var(--ease);
}

.catering-image:hover .catering-img-file {
  transform: scale(1.05);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15);
}

.form textarea {
  min-height: 7rem;
  resize: vertical;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.alert--success {
  background: rgba(76, 200, 40, 0.12);
  color: #1f6b12;
  border: 1px solid rgba(76, 200, 40, 0.35);
}

.alert--error {
  background: rgba(227, 30, 36, 0.08);
  color: var(--red-dark);
  border: 1px solid rgba(227, 30, 36, 0.25);
}

.section--contact {
  background:
    radial-gradient(ellipse at top right, rgba(227, 30, 36, 0.06), transparent 55%),
    var(--cream);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--red);
}

.hours {
  width: 100%;
  max-width: 22rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours th,
.hours td {
  padding: 0.45rem 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours th {
  width: 4.5rem;
  color: var(--ink);
}

.hours td {
  color: var(--muted);
}

.hours tr.is-closed td {
  color: var(--red);
}

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--red);
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 17, 0.72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup {
  position: relative;
  max-width: min(480px, 100%);
  background: var(--white);
  padding: 0.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.popup-overlay.is-open .popup {
  transform: none;
}

.popup img {
  width: 100%;
  height: auto;
}

.popup__close {
  position: absolute;
  top: -0.65rem;
  right: -0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }

  .catering-layout,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .header-cta {
    display: none;
  }

  .site-header.is-scrolled .logo-link img,
  .site-header.is-solid .logo-link img {
    height: 2.2rem;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr 1.5fr;
  }
}

.contact-block--image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-img-file {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 320px;
  transition: transform 0.5s var(--ease);
}

.contact-block--image:hover .contact-img-file {
  transform: scale(1.05);
}
