/* ============================================================
   RAMEM KONOHA — Design System
   Moderno + essência da cultura japonesa (wabi-sabi)
   ============================================================ */

:root {
  --ink: #0f0d0b;            /* sumi — preto tinta */
  --ink-2: #17130f;
  --ink-3: #201a14;
  --paper: #f5efe6;          /* washi — papel */
  --gold: #d89664;           /* dourado original do site */
  --gold-soft: rgba(216, 150, 100, 0.55);
  --vermilion: #c73e3a;      /* shu-iro — vermelho tradicional */
  --text: #e9e1d5;
  --muted: #a3978a;
  --line: rgba(216, 150, 100, 0.22);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --sans: 'Zen Kaku Gothic New', 'Pavanam', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  min-height: 100vh;
  /* padrão seigaiha (ondas) sutil */
  background-image:
    radial-gradient(ellipse at top, rgba(216, 150, 100, 0.05), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23d89664' stroke-opacity='0.045'%3E%3Ccircle cx='20' cy='40' r='18'/%3E%3Ccircle cx='20' cy='40' r='12'/%3E%3Ccircle cx='20' cy='40' r='6'/%3E%3Ccircle cx='60' cy='40' r='18'/%3E%3Ccircle cx='60' cy='40' r='12'/%3E%3Ccircle cx='60' cy='40' r='6'/%3E%3Ccircle cx='0' cy='20' r='18'/%3E%3Ccircle cx='0' cy='20' r='12'/%3E%3Ccircle cx='40' cy='20' r='18'/%3E%3Ccircle cx='40' cy='20' r='12'/%3E%3Ccircle cx='40' cy='20' r='6'/%3E%3Ccircle cx='80' cy='20' r='18'/%3E%3Ccircle cx='80' cy='20' r='12'/%3E%3Ccircle cx='80' cy='20' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

::selection { background: var(--vermilion); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Tipografia ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold-soft);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.4rem 0 0.6rem;
}

.jp-accent {
  font-family: var(--serif);
  color: var(--gold);
  opacity: 0.85;
}

/* texto vertical decorativo (tategaki) */
.tategaki {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: 0.5em;
  color: var(--gold);
  opacity: 0.45;
  font-size: 0.95rem;
  user-select: none;
}

/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 4rem);
  background: linear-gradient(rgba(15, 13, 11, 0.92), rgba(15, 13, 11, 0.75));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* selo hanko */
.brand .hanko {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  background: var(--vermilion);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.25rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(199, 62, 58, 0.4);
}

.brand .name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--paper);
  line-height: 1.2;
}
.brand .name span { color: var(--gold); }
.brand .sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.4rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold);
  font-size: 1.3rem;
  width: 2.6rem;
  height: 2.6rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 13, 11, 0.97);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-top: 1px solid rgba(216, 150, 100, 0.08); }
  .nav-links a { display: block; padding: 1rem clamp(1.2rem, 5vw, 4rem); }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--gold-soft);
  transition: all 0.4s var(--ease);
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 8px 26px rgba(216, 150, 100, 0.3);
}

.btn-solid {
  background: var(--vermilion);
  border-color: var(--vermilion);
}
.btn-solid:hover {
  background: #d94f4a;
  border-color: #d94f4a;
  color: #fff;
  box-shadow: 0 8px 26px rgba(199, 62, 58, 0.4);
}

/* ---------- Hero (home) ---------- */

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

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(15, 13, 11, 0.25), rgba(15, 13, 11, 0.88)),
    linear-gradient(transparent 55%, var(--ink));
}

.hero-content { padding: 6rem 1.5rem 4rem; max-width: 820px; }

.hero-jp {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.8em;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 1.05;
  font-weight: 200;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero .tagline {
  margin: 1.6rem auto 2.6rem;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero .tategaki {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
}
.hero .tategaki-left {
  right: auto;
  left: clamp(1rem, 4vw, 3.5rem);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: float 2.6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Seções genéricas ---------- */

.section {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.2rem, 6vw, 6rem);
  max-width: 1280px;
  margin: 0 auto;
}

.section-head { margin-bottom: 3rem; }
.section-head .lead { color: var(--muted); max-width: 560px; }

/* cards de destaque na home */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.feature-card {
  position: relative;
  display: block;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: saturate(0.85) brightness(0.8);
}
.feature-card:hover img { transform: scale(1.07); filter: saturate(1) brightness(0.95); }

.feature-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  background: linear-gradient(transparent 35%, rgba(15, 13, 11, 0.92));
}
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.feature-card .jp { color: var(--gold); font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.4em; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }
.feature-card .arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold);
  transition: all 0.4s var(--ease);
}
.feature-card:hover .arrow { background: var(--vermilion); border-color: var(--vermilion); color: #fff; transform: rotate(45deg); }

/* faixa de informações */
.info-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.info-strip .section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.info-item .label {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Página interna: cabeçalho ---------- */

.page-hero {
  position: relative;
  padding: clamp(9rem, 16vw, 12rem) clamp(1.2rem, 6vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero .lead { color: var(--muted); max-width: 580px; margin-top: 0.8rem; }
.page-hero .tategaki {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  top: clamp(8rem, 14vw, 10rem);
}

/* ---------- Cardápio ---------- */

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

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.filter-pill {
  padding: 0.5rem 1.3rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
}
.filter-pill:hover { color: var(--gold); border-color: var(--gold-soft); }
.filter-pill.active {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #fff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  min-width: 240px;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  width: 100%;
}
.search-box input::placeholder { color: var(--muted); }
.search-box svg { flex-shrink: 0; color: var(--gold); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.dish-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: var(--text);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  animation: fadeUp 0.6s var(--ease) backwards;
}
.dish-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.dish-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.dish-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.dish-card:hover .thumb img { transform: scale(1.08); }

.dish-card .cat-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(15, 13, 11, 0.82);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.dish-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.dish-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.dish-card h3 { font-size: 1.05rem; letter-spacing: 0.08em; }
.dish-card .price { color: var(--gold); font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.dish-card .desc {
  color: var(--muted);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-card .more {
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vermilion);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 4rem 1rem;
  border: 1px dashed var(--line);
}

/* ---------- Modal genérico ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(10, 8, 6, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-card {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ink-2);
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
  position: relative;
}
.modal-backdrop.open .modal-card { transform: translateY(0) scale(1); }

.modal-card .close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: rgba(15, 13, 11, 0.85);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.modal-card .close:hover { background: var(--vermilion); border-color: var(--vermilion); }

.modal-card .modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.modal-card .modal-body { padding: 1.8rem 2rem 2.2rem; }
.modal-card .modal-body .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}
.modal-card h3 { font-size: 1.4rem; }
.modal-card .price { color: var(--gold); font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.modal-card .desc { color: var(--muted); }

/* ---------- Reservas ---------- */

.reserva-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 920px) {
  .reserva-layout { grid-template-columns: 1fr; }
}

.table-group { margin-bottom: 2.2rem; }
.table-group .group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.table-group h3 { font-size: 1.15rem; letter-spacing: 0.12em; }
.table-group .group-price { color: var(--gold); font-family: var(--serif); }

.tables {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.9rem;
}

.table-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1rem 0.9rem 0.9rem;
  text-align: center;
  color: var(--text);
  transition: all 0.35s var(--ease);
}
.table-card img {
  width: 70%;
  margin: 0 auto 0.5rem;
  filter: sepia(0.3) saturate(0.8);
  transition: filter 0.3s;
}
.table-card .t-name { font-size: 0.82rem; letter-spacing: 0.15em; }
.table-card .t-seats { font-size: 0.72rem; color: var(--muted); }
.table-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.table-card.selected {
  border-color: var(--vermilion);
  box-shadow: 0 0 0 1px var(--vermilion), 0 12px 30px rgba(199, 62, 58, 0.25);
}
.table-card.selected::after {
  content: "✓";
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  background: var(--vermilion);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
}
.table-card.occupied {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(1);
}
.table-card.occupied:hover { transform: none; border-color: var(--line); }
.table-card .t-status {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vermilion);
  display: none;
}
.table-card.occupied .t-status { display: block; }

/* formulário */
.form-panel {
  position: sticky;
  top: 6.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
}
.form-panel h3 {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 1.4rem;
}
.form-panel .selected-summary {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  min-height: 1.2em;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  color-scheme: dark;
}
.field input:focus,
.field select:focus { border-color: var(--gold); }
.field input.invalid { border-color: var(--vermilion); }
.field .hint { font-size: 0.72rem; color: var(--vermilion); margin-top: 0.3rem; display: none; }
.field.show-error .hint { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-pill {
  position: relative;
}
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  transition: all 0.3s;
}
.radio-pill input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.form-panel .btn { width: 100%; justify-content: center; margin-top: 0.6rem; }

/* confirmação */
.confirm-body { text-align: center; padding: 2.6rem 2rem 2.4rem; }
.confirm-body .enso {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  border-left-color: transparent;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.8rem;
  transform: rotate(-30deg);
}
.confirm-body .enso span { transform: rotate(30deg); }
.confirm-body h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.confirm-body .code {
  font-family: var(--serif);
  color: var(--vermilion);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}
.confirm-details {
  text-align: left;
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
}
.confirm-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
}
.confirm-details dt { color: var(--muted); }
.confirm-details dd { color: var(--paper); text-align: right; }

/* ---------- História ---------- */

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.story-block.reverse .story-img { order: 2; }
@media (max-width: 820px) {
  .story-block, .story-block.reverse .story-img { grid-template-columns: 1fr; order: 0; }
  .story-block { grid-template-columns: 1fr; }
}

.story-img {
  position: relative;
  border: 1px solid var(--line);
  padding: 0.8rem;
}
.story-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9);
}
.story-img::after {
  content: "";
  position: absolute;
  inset: -0.8rem auto auto -0.8rem;
  width: 3rem;
  height: 3rem;
  border-top: 2px solid var(--vermilion);
  border-left: 2px solid var(--vermilion);
}

.story-text h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0.4rem 0 1rem; }
.story-text p { color: var(--muted); margin-bottom: 1rem; }

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.award {
  text-align: center;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 2rem 1.4rem;
  transition: all 0.4s var(--ease);
}
.award:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.award .stars { color: var(--gold); letter-spacing: 0.3em; margin-bottom: 0.6rem; }
.award h3 { font-size: 1rem; letter-spacing: 0.2em; }
.award p { color: var(--muted); font-size: 0.8rem; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem clamp(1.2rem, 6vw, 6rem) 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.2rem;
}
.footer h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer p, .footer a { color: var(--muted); font-size: 0.88rem; }
.footer a { display: block; padding: 0.18rem 0; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer .brand-foot .name { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); letter-spacing: 0.15em; }
.footer .brand-foot .jp { color: var(--gold); font-family: var(--serif); letter-spacing: 0.4em; font-size: 0.85rem; }

.footer-bottom {
  border-top: 1px solid rgba(216, 150, 100, 0.1);
  text-align: center;
  padding: 1.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 120%);
  z-index: 300;
  background: var(--vermilion);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
