/* ============================================================
   ZIKI — Luxury Japanese Steakhouse
   Complete Stylesheet
   ============================================================ */

/* Fonts loaded via <link> in HTML for performance */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-elevated: #1C1C1C;
  --accent-red: #A52421;
  --accent-gold: #C9A96E;
  --accent-warm: #D4A574;
  --text-primary: #F5F0EB;
  --text-secondary: #8A8178;
  --text-heading: #FFFFFF;
  --border-subtle: rgba(201, 169, 110, 0.15);

  --font-display: "Playfair Display", serif;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Outfit", sans-serif;
  --font-jp: "Noto Serif JP", serif;

  --size-display: clamp(3.5rem, 8vw, 6rem);
  --size-h1: clamp(2.5rem, 5vw, 4rem);
  --size-h2: clamp(2rem, 4vw, 3rem);
  --size-h3: clamp(1.25rem, 2vw, 1.75rem);
  --size-body: 1rem;
  --size-body-lg: 1.125rem;
  --size-small: 0.875rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Film Grain Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
}

p {
  text-wrap: pretty;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-elevated) var(--bg-primary);
}

/* ============================================================
   FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-text {
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-display);
  font-size: var(--size-h1);
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  font-weight: 300;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  font-weight: 400;
  color: var(--text-heading);
}

.section-label {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  font-weight: 300;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
  padding: 0.75rem 0;
}

.nav > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-heading);
  transition: color 0.3s ease;
  touch-action: manipulation;
}

.nav-logo:hover {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
  touch-action: manipulation;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-heading);
  background-color: var(--accent-red);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  touch-action: manipulation;
}

.nav-cta:hover {
  background-color: #C42B27;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(165, 36, 33, 0.4);
}

.nav-cta:active {
  transform: translateY(0);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 6px;
  touch-action: manipulation;
  z-index: 1002;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile .nav-link {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s ease, opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.nav-mobile.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile.active .nav-link:nth-child(6) { transition-delay: 0.35s; }

.nav-mobile .nav-cta {
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}

.nav-mobile.active .nav-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.35) 40%,
    rgba(10, 10, 10, 0.6) 70%,
    rgba(10, 10, 10, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-logo {
  margin: 0 0 1.5rem;
  width: auto;
  height: auto;
  max-width: 200px;
  filter: brightness(1.1);
}

.hero-content .section-label {
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: var(--size-display);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-content p {
  font-size: var(--size-body-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 2.5rem;
  line-height: 1.8;
}

.hero-content .nav-cta {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: var(--size-small);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2.5s ease-in-out infinite;
  touch-action: manipulation;
}

.hero-scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header .hero-bg {
  height: 110%;
}

.page-header .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    rgba(10, 10, 10, 0.7) 80%,
    rgba(10, 10, 10, 1) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.page-header-content h1 {
  font-family: var(--font-display);
  font-size: var(--size-h1);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.page-header-content p {
  font-size: var(--size-body-lg);
  color: var(--text-secondary);
}

/* ============================================================
   STORY SECTION
   ============================================================ */
.story {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text {
  position: relative;
  z-index: 1;
}

.story-text .section-label {
  margin-bottom: 1.25rem;
}

.story-text .section-heading {
  margin-bottom: 2rem;
}

.story-text p {
  color: var(--text-secondary);
  font-size: var(--size-body-lg);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.story-text p:last-of-type {
  margin-bottom: 0;
}

.story-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.story-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.8s var(--ease-out-expo);
}

.story-image-wrapper:hover .story-image {
  transform: scale(1.03);
}

.story-kanji {
  position: absolute;
  font-family: var(--font-jp);
  font-size: clamp(12rem, 18vw, 20rem);
  color: var(--text-heading);
  opacity: 0.04;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ============================================================
   MENU HIGHLIGHTS
   ============================================================ */
.menu-highlights {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.menu-highlights > .container {
  position: relative;
  z-index: 1;
}

.menu-highlights .section-label {
  text-align: center;
}

.menu-highlights .section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.menu-card:hover {
  border-color: rgba(201, 169, 110, 0.35);
  box-shadow: 0 8px 40px rgba(201, 169, 110, 0.08);
  transform: translateY(-4px);
}

.menu-card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.menu-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.menu-card:hover .menu-card-image {
  transform: scale(1.05);
}

.menu-card-content {
  padding: 1.75rem;
}

.menu-card-title {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.menu-card-items {
  font-size: var(--size-small);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.menu-card-cta {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease, gap 0.3s ease;
  touch-action: manipulation;
}

.menu-card-cta::after {
  content: "\2192";
  transition: transform 0.3s ease;
}

.menu-card-cta:hover {
  color: var(--accent-warm);
}

.menu-card-cta:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 8rem 0;
  position: relative;
}

.gallery > .container > .section-label {
  text-align: center;
}

.gallery > .container > .section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-caption span {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* ============================================================
   RESERVATIONS
   ============================================================ */
.reservations {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reservations::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.reservations > .container {
  max-width: 700px;
}

.reservations .section-heading {
  font-family: var(--font-display);
  font-size: var(--size-h1);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.reservations > .container > p {
  color: var(--text-secondary);
  font-size: var(--size-body-lg);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.reservations-cta {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: var(--size-body);
  margin-bottom: 3.5rem;
}

.reservations-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.reservations-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.reservations-info-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.reservations-info-item span,
.reservations-info-item a {
  font-size: var(--size-small);
  color: var(--text-secondary);
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

.reservations-info-item a {
  color: var(--text-primary);
  transition: color 0.3s ease;
  touch-action: manipulation;
}

.reservations-info-item a:hover {
  color: var(--accent-gold);
}

/* ============================================================
   HOME CTA BAND
   ============================================================ */
.home-cta {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.home-cta .section-heading {
  font-family: var(--font-display);
  font-size: var(--size-h1);
  margin-bottom: 1.25rem;
}

.home-cta p {
  color: var(--text-secondary);
  font-size: var(--size-body-lg);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--accent-gold);
  padding: 4rem 0 0;
  position: relative;
}

.footer-content {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: var(--size-small);
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-col a {
  font-size: var(--size-small);
  color: var(--text-secondary);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
  touch-action: manipulation;
}

.footer-col a:hover {
  color: var(--accent-gold);
  padding-left: 0.25rem;
}

.footer-col .nav-logo {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--size-small);
  color: var(--text-secondary);
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
  touch-action: manipulation;
}

.footer-bottom a:hover {
  color: var(--accent-gold);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
  touch-action: manipulation;
}

.footer-social a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  touch-action: manipulation;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.back-to-top:hover svg {
  color: var(--bg-primary);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ============================================================
   BUTTON GLOBAL STYLES
   ============================================================ */
.btn-primary {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-heading);
  background-color: var(--accent-red);
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  touch-action: manipulation;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #C42B27;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(165, 36, 33, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(165, 36, 33, 0.3);
}

.btn-outline {
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background-color: transparent;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--accent-gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  touch-action: manipulation;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .story-grid {
    gap: 3rem;
  }

  .story-kanji {
    font-size: 14rem;
    opacity: 0.03;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-content p {
    font-size: var(--size-body);
  }

  .hero-scroll-indicator {
    bottom: 1.5rem;
  }

  /* Story */
  .story {
    padding: 5rem 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-image-wrapper {
    order: -1;
  }

  .story-image {
    aspect-ratio: 16 / 10;
  }

  .story-kanji {
    font-size: 10rem;
    opacity: 0.03;
    right: -10%;
    top: 10%;
    transform: none;
  }

  .story-text p {
    font-size: var(--size-body);
  }

  /* Menu */
  .menu-highlights {
    padding: 5rem 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-card-content {
    padding: 1.25rem;
  }

  /* Gallery */
  .gallery {
    padding: 5rem 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .gallery-item-caption {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reservations */
  .reservations {
    padding: 5rem 0;
  }

  .reservations-content .section-heading {
    font-size: var(--size-h2);
  }

  .reservations-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .reservations-content .nav-cta {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-bg img {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-indicator {
    animation: none;
  }

  .nav-mobile .nav-link,
  .nav-mobile .nav-cta {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body::after {
    display: none;
  }

  .nav,
  .hero-scroll-indicator,
  .back-to-top,
  .nav-mobile {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-bg,
  .hero-overlay {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
