:root {
  --mint: #94c0a5;
  --mint-dark: #7aa88c;
  --navy: #194566;
  --navy-dark: #123249;
  --tan: #e1caaf;
  --black: #111111;
  --white: #ffffff;
  --ink: #1c1c1c;

  --font-display: "alga", Georgia, "Times New Roman", serif;
  --font-body: "gibson", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4em;
  font-weight: 700;
  letter-spacing: -.05em;
}

.kanji-mark {
  display: inline-block;
  height: 3.5rem;
  width: auto;
  margin-bottom: 0.5rem;
}
.kanji-mark.small { height: 2.25rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9em 1.9em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-mint {
  background: var(--mint);
  color: var(--navy-dark);
}
.btn-mint:hover {
  background: var(--mint-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 3rem 1.5rem;
}

.hero-content .logo {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: var(--white);
  margin: 0.1em 0 -10px;
}

.hero-content .logo-sub {
  font-family: var(--font-body);
  letter-spacing: 2em;
  text-indent: 2em;
  font-size: 1.15rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   Omakase split section
   ========================================================================== */

.omakase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.omakase-text {
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.stacked-text {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.stacked-text span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  text-stroke: 1px rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.stacked-text span.solid {
  color: var(--white);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  font-weight: 700;
}

/* Non-solid lines are repositioned/faded by js/main.js as the section
   scrolls through view. will-change hints the browser to keep these on
   their own compositor layer since the transform updates every frame. */
.stacked-text span:not(.solid) {
  will-change: transform, opacity;
}

/* No-JS / reduced-motion fallback: resting stacked layout, fully visible. */
.no-js .stacked-text span:not(.solid),
.reduce-motion .stacked-text span:not(.solid) {
  transform: none !important;
  opacity: 1 !important;
}

.omakase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   About / navy section
   ========================================================================== */

.about {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}

.about .logo {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5rem);
}

.about .tagline {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.about-copy {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  opacity: 0.92;
  font-size: 1rem;
}

/* ==========================================================================
   Reservations / buyout section
   ========================================================================== */

.reservations {
  background: var(--tan);
  padding: 5rem 1.5rem;
}

.res-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: center;
}

.res-block.res-text h2 {
  color: var(--navy);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.05;
}

.res-block.res-text p {
  max-width: 46ch;
  color: var(--navy-dark);
}

.res-block.res-text .fine-print {
  font-size: 0.9rem;
  opacity: 0.8;
}

.res-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .res-grid { grid-template-columns: 1fr; }
  .res-block.res-image { order: -1; }
}

/* ==========================================================================
   Contact / footer
   ========================================================================== */

.contact {
  background: var(--mint);
  padding: 5rem 1.5rem 3rem;
  color: var(--navy-dark);
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(2.75rem, 5.5vw, 3.75rem);
}

.contact address,
.contact .hours,
.contact .social {
  font-style: normal;
  margin-bottom: 1.75rem;
}

.contact h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
  margin-bottom: 0.6em;
}

.contact address a { text-decoration: none; }
.contact address a:hover { text-decoration: underline; }

.contact .hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.social-icons a:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 4px;
}

.kanji-footer {
  display: block;
  height: 3rem;
  width: auto;
  margin: 3.5rem auto 0;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .omakase-split { grid-template-columns: 1fr; }
  .omakase-image { min-height: 320px; }
}

/* ==========================================================================
   Full-space request form (page 2)
   ========================================================================== */

.form-header {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.form-header .logo {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.form-header p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0.75rem auto 0;
}

.form-section {
  background: var(--tan);
  padding: 3.5rem 1.5rem 5rem;
}

.request-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(25, 69, 102, 0.12);
}

.form-row {
  margin-bottom: 1.4rem;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 560px) {
  .form-row-group { grid-template-columns: 1fr; }
}

.request-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.request-form .hint {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: #666;
  margin-top: 0.3rem;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"],
.request-form input[type="date"],
.request-form input[type="number"],
.request-form select,
.request-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(148, 192, 165, 0.35);
}

.request-form textarea {
  min-height: 130px;
  resize: vertical;
}

.request-form .required {
  color: #b3491f;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
}

.alert {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.alert-success {
  background: #e4f2e9;
  border: 1px solid var(--mint-dark);
  color: #245c3a;
}

.alert-error {
  background: #fbe9e5;
  border: 1px solid #d9836a;
  color: #93341a;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--white);
  opacity: 0.85;
}
.back-link:hover { opacity: 1; text-decoration: underline; }
