/* ==========================================================
   waku × waku — Brand Stylesheet
   Minimal, generous white space, black & white base.
   ========================================================== */

:root {
  --ww-black: #111111;
  --ww-white: #ffffff;
  --ww-gray-50: #fafafa;
  --ww-gray-100: #f2f2f0;
  --ww-gray-300: #d8d6d2;
  --ww-gray-500: #8a8782;
  --ww-gray-700: #4a4844;
  --ww-accent: #c94f3d; /* warm accent, used sparingly */
  --ww-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --ww-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --ww-tracking: 0.14em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ww-sans);
  color: var(--ww-black);
  background: var(--ww-white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

.ww-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ww-wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.ww-eyebrow {
  font-size: 12px;
  letter-spacing: var(--ww-tracking);
  color: var(--ww-gray-500);
  text-transform: uppercase;
}

.ww-title {
  font-family: var(--ww-serif);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.ww-section-title {
  font-family: var(--ww-serif);
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}

.ww-copy {
  font-size: 16px;
  color: var(--ww-gray-700);
}

.ww-copy-lg {
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--ww-black);
}

/* ---------- Header ---------- */
.ww-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  backdrop-filter: blur(2px);
}

.ww-logo {
  font-family: var(--ww-serif);
  font-size: 18px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.ww-nav {
  display: none;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

@media (min-width: 860px) {
  .ww-nav { display: flex; }
}

.ww-nav a { opacity: 0.75; transition: opacity 0.2s; }
.ww-nav a:hover { opacity: 1; }

.ww-header-cta {
  display: flex;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ww-black);
  background: var(--ww-black);
  color: var(--ww-white);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.ww-btn:hover { background: var(--ww-white); color: var(--ww-black); }

.ww-btn-outline {
  background: transparent;
  color: var(--ww-black);
  border: 1px solid var(--ww-black);
}
.ww-btn-outline:hover { background: var(--ww-black); color: var(--ww-white); }

.ww-btn-sm { padding: 10px 22px; font-size: 12px; }

.ww-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- Hero ---------- */
.ww-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 140px 0 60px;
}

.ww-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ww-hero-media .ww-placeholder,
.ww-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ww-hero-content {
  position: relative;
  padding: 40px 28px;
  background: linear-gradient(to top, rgba(255,255,255,0.96) 40%, rgba(255,255,255,0));
}

.ww-hero-brand {
  font-family: var(--ww-serif);
  font-size: clamp(40px, 9vw, 96px);
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1;
}

.ww-hero-product {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ww-gray-500);
  margin: 14px 0 26px;
}

.ww-hero-copy {
  font-size: clamp(16px, 2.2vw, 22px);
  max-width: 620px;
  margin: 0 0 30px;
}

.ww-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  font-size: 14px;
  color: var(--ww-gray-700);
  margin-bottom: 32px;
}

.ww-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Placeholder ---------- */
.ww-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ww-gray-100);
  border: 1px dashed var(--ww-gray-300);
  color: var(--ww-gray-500);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 16px;
}

.ww-media {
  position: relative;
  overflow: hidden;
  background: var(--ww-gray-100);
}
.ww-media img { width: 100%; height: 100%; object-fit: cover; }

.ww-ratio-portrait { aspect-ratio: 4 / 5; }
.ww-ratio-square { aspect-ratio: 1 / 1; }
.ww-ratio-landscape { aspect-ratio: 16 / 10; }
.ww-ratio-a4 { aspect-ratio: 210 / 297; }

/* ---------- Sections ---------- */
.ww-section {
  padding: 120px 0;
  border-top: 1px solid var(--ww-gray-100);
}

.ww-section-dark {
  background: var(--ww-black);
  color: var(--ww-white);
}
.ww-section-dark .ww-copy { color: rgba(255,255,255,0.72); }
.ww-section-dark .ww-eyebrow { color: rgba(255,255,255,0.5); }

.ww-center { text-align: center; }

.ww-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .ww-grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Before / After (ONE PHOTO) ---------- */
.ww-compare {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.ww-compare-layer {
  position: absolute;
  inset: 0;
}
.ww-compare-after { clip-path: inset(0 0 0 50%); }
.ww-compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--ww-white);
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ww-compare-grip {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ww-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.ww-compare-label {
  position: absolute;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85);
}
.ww-compare-label-before { left: 14px; }
.ww-compare-label-after { right: 14px; }

/* ---------- Move it gallery ---------- */
.ww-move-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 700px) {
  .ww-move-grid { grid-template-columns: repeat(4, 1fr); }
}
.ww-move-item { position: relative; }
.ww-move-caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ww-gray-500);
  text-align: center;
}

/* ---------- Surface chooser ---------- */
.ww-surface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 700px) {
  .ww-surface-grid { grid-template-columns: repeat(5, 1fr); }
}
.ww-surface-card { text-align: center; }
.ww-surface-name {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.ww-surface-desc {
  font-size: 12px;
  color: var(--ww-gray-500);
  margin-top: 4px;
}

/* ---------- Life scenes ---------- */
.ww-scene-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 860px) {
  .ww-scene-list { gap: 96px; }
}
.ww-scene {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 860px) {
  .ww-scene { grid-template-columns: 1fr 1fr; gap: 60px; }
  .ww-scene-reverse { direction: rtl; }
  .ww-scene-reverse > * { direction: ltr; }
}
.ww-scene-num {
  font-family: var(--ww-serif);
  font-size: 13px;
  color: var(--ww-gray-500);
  letter-spacing: 0.2em;
}
.ww-scene-title {
  font-family: var(--ww-serif);
  font-size: clamp(24px, 3.6vw, 34px);
  margin: 8px 0 14px;
}
.ww-scene-note {
  font-size: 12px;
  color: var(--ww-gray-500);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ww-gray-100);
}

/* ---------- Flow steps ---------- */
.ww-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: flow;
}
@media (min-width: 780px) {
  .ww-flow { grid-template-columns: repeat(6, 1fr); }
}
.ww-flow-step {
  padding: 24px 16px;
  border-top: 1px solid var(--ww-gray-300);
  position: relative;
}
@media (min-width: 780px) {
  .ww-flow-step { border-top: none; border-left: 1px solid var(--ww-gray-300); }
  .ww-flow-step:first-child { border-left: none; }
}
.ww-flow-num {
  font-family: var(--ww-serif);
  font-size: 22px;
  color: var(--ww-gray-300);
}
.ww-flow-name {
  font-size: 13px;
  letter-spacing: 0.14em;
  margin: 10px 0 6px;
}
.ww-flow-desc { font-size: 13px; color: var(--ww-gray-500); }

/* ---------- Cards ---------- */
.ww-card {
  border: 1px solid var(--ww-gray-100);
  padding: 32px 28px;
}

.ww-price {
  font-family: var(--ww-serif);
  font-size: 28px;
}
.ww-price-tbd {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ww-gray-500);
}

/* ---------- Forms ---------- */
.ww-form { display: grid; gap: 16px; max-width: 560px; }
.ww-field { display: grid; gap: 6px; }
.ww-field label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ww-gray-700);
}
.ww-field input,
.ww-field select,
.ww-field textarea {
  padding: 13px 14px;
  border: 1px solid var(--ww-gray-300);
  background: var(--ww-white);
  font-family: inherit;
  font-size: 14px;
  color: var(--ww-black);
}
.ww-field input:focus,
.ww-field select:focus,
.ww-field textarea:focus {
  outline: none;
  border-color: var(--ww-black);
}
.ww-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .ww-field-row { grid-template-columns: 1fr; } }

.ww-form-note { font-size: 12px; color: var(--ww-gray-500); }
.ww-form-error {
  font-size: 13px;
  color: var(--ww-accent);
  padding: 10px 14px;
  border: 1px solid var(--ww-accent);
  display: none;
}
.ww-form-success {
  padding: 28px;
  border: 1px solid var(--ww-black);
  display: none;
}

/* ---------- FAQ ---------- */
.ww-faq-item { border-bottom: 1px solid var(--ww-gray-100); }
.ww-faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ww-black);
}
.ww-faq-icon { transition: transform 0.25s; font-size: 16px; color: var(--ww-gray-500); }
.ww-faq-item.open .ww-faq-icon { transform: rotate(45deg); }
.ww-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  color: var(--ww-gray-700);
}
.ww-faq-a-inner { padding-bottom: 22px; }

/* ---------- Footer ---------- */
.ww-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--ww-gray-100);
  font-size: 12px;
  color: var(--ww-gray-500);
}
.ww-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.ww-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Sticky bottom CTA (mobile) ---------- */
.ww-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  gap: 1px;
  background: var(--ww-gray-300);
}
.ww-sticky-cta .ww-btn { flex: 1; border-radius: 0; margin: 0; }
@media (min-width: 860px) { .ww-sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 58px; }
@media (min-width: 860px) { body.has-sticky-cta { padding-bottom: 0; } }

/* ---------- Utility ---------- */
.ww-mt-0 { margin-top: 0; }
.ww-mb-0 { margin-bottom: 0; }
.ww-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border: 1px solid var(--ww-gray-300);
  color: var(--ww-gray-700);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Modal ---------- */
.ww-reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17,17,17,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ww-reservation-modal-inner {
  background: #fff;
  padding: 40px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.ww-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Admin ---------- */
.admin-body {
  font-family: var(--ww-sans);
  background: #f5f5f3;
  color: #1a1a1a;
  margin: 0;
}
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  background: #111;
  color: #fff;
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-sidebar .logo { padding: 0 24px 24px; font-size: 15px; letter-spacing: 0.1em; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 12px; }
.admin-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,0.08); }
.admin-main { flex: 1; padding: 32px 40px; max-width: 1200px; }
.admin-h1 { font-size: 22px; margin: 0 0 24px; }
.admin-card { background: #fff; border: 1px solid #e5e3df; padding: 24px; margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eeece8; }
.admin-table th { color: #888; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; font-size: 12px; letter-spacing: 0.06em;
  background: #111; color: #fff; border: none; cursor: pointer;
}
.admin-btn.secondary { background: #fff; color: #111; border: 1px solid #ccc; }
.admin-btn.danger { background: #b33; }
.admin-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.admin-input, .admin-select, .admin-textarea {
  width: 100%; padding: 9px 10px; font-size: 13px; border: 1px solid #ccc; font-family: inherit;
}
.admin-grid-cols {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.admin-img-card { border: 1px solid #e5e3df; background: #fff; }
.admin-img-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #f0f0ee; }
.admin-img-thumb-empty {
  width: 100%; aspect-ratio: 1/1; background: #f0f0ee; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #999;
}
.admin-badge {
  display: inline-block; font-size: 10px; padding: 2px 8px; letter-spacing: 0.06em;
  background: #eee; color: #555;
}
.admin-badge.active { background: #d8ecd8; color: #2a6b2a; }
.admin-badge.inactive { background: #eee; color: #999; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab {
  padding: 8px 14px; font-size: 12px; background: #fff; border: 1px solid #ddd; cursor: pointer;
}
.admin-tab.active { background: #111; color: #fff; border-color: #111; }
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #111;
}
.admin-login-box { background: #fff; padding: 48px; width: 340px; }
.admin-flex { display: flex; gap: 10px; align-items: center; }
.admin-flex-between { display: flex; justify-content: space-between; align-items: center; }
.admin-muted { color: #999; font-size: 12px; }
.admin-section-title { font-size: 15px; margin: 0 0 14px; font-weight: 600; }
