/* ============================================================
   kayera — fine-art photography
   Black & white, minimal, premium
   ============================================================ */
@import url("transitions.css");
@import url("hub.css?v=30");
@import url("motion.css");
@import url("care.css?v=16");

:root {
  --black: #0c0c0c;
  --ink: #141414;
  --paper: #f6f5f2;
  --paper-2: #efeee9;
  --line: rgba(12, 12, 12, 0.12);
  --line-soft: rgba(12, 12, 12, 0.07);
  --muted: rgba(12, 12, 12, 0.55);
  --white: #ffffff;
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1320px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--black); color: var(--paper); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.hero--dark :focus-visible,
.hero--hub :focus-visible,
body.hub-login :focus-visible {
  outline-color: var(--paper);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--black);
  box-shadow: 0 2px 0 0 var(--black);
}
body.hub-login .field input:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.85);
}
body.hub-login--gold .field input:focus-visible {
  border-bottom-color: #c9a86a;
  box-shadow: 0 2px 0 0 #c9a86a;
}

/* --- Imagery: brand B&W except outdoor wedding site --- */
.hero__media img,
.gallery__item img,
.weddings__media img {
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}

body.wedding-site .hero__media img,
body.wedding-site .gallery__item img,
body.wedding-site .weddings__media img {
  filter: none;
  transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}

/* ----------------------------------------------------------
   Background hairline grid (Dropbox-inspired)
   ---------------------------------------------------------- */
.gridlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.gridlines span { border-left: 1px solid var(--line-soft); }
.gridlines span:last-child { border-right: 1px solid var(--line-soft); }

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
}
.nav__brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: currentColor; transition: width 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor;
  padding: 9px 18px;
  border-radius: 100px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { background: #fff; color: #000; }

.nav__home {
  font-weight: 500;
  letter-spacing: 0.12em;
}

.site-back { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav__toggle span { width: 26px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 100px; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border: 1px solid var(--black);
}
.btn--solid { background: var(--black); color: var(--paper); }
.btn--solid:hover { transform: translateY(-2px); background: #000; }
.btn--solid:disabled,
.btn--solid[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--paper); }
.btn--light {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}
.btn--light:hover {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.72);
}

/* ----------------------------------------------------------
   Layout / sections
   ---------------------------------------------------------- */
main { position: relative; z-index: 1; }
section { padding: clamp(70px, 11vw, 160px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

.section-head { margin-bottom: clamp(36px, 6vw, 72px); position: relative; }
.section-head__index {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--muted);
  display: block; margin-bottom: 16px;
}
.section-head__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6vw, 76px); line-height: 1; letter-spacing: -0.01em;
}
.section-head__note { margin-top: 18px; max-width: 44ch; color: var(--muted); }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  max-width: none;
  display: flex; align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.65) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(70px, 10vw, 130px);
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 11vw, 150px); line-height: 0.92; letter-spacing: -0.02em;
  margin: 14px 0 22px;
}
.hero__title em { font-style: italic; font-weight: 300; }
.hero__title--split .line-reveal {
  display: block;
}
.hero__title--split .line-reveal + .line-reveal {
  margin-top: 0.06em;
}
.hero--hub,
.hero--dark,
.hero:has(.hero__media) {
  color: #fff;
}
.hero--hub .eyebrow,
.hero--dark .eyebrow,
.hero:has(.hero__media) .eyebrow {
  color: rgba(255,255,255,0.85);
}
.hero--hub .hero__sub,
.hero--dark .hero__sub,
.hero:has(.hero__media) .hero__sub {
  max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,0.82);
}
.hero__sub { max-width: 46ch; font-size: clamp(15px, 1.5vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.hero .btn--solid { background: #fff; color: #000; border-color: #fff; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(70px, 10vw, 130px); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.hero__scroll svg { width: 18px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ----------------------------------------------------------
   Statement
   ---------------------------------------------------------- */
.statement { text-align: center; }
.statement__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 4.4vw, 56px); line-height: 1.25; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 auto;
}
.statement__text span { display: block; color: var(--muted); font-style: italic; margin-top: 0.4em; }

/* ----------------------------------------------------------
   Gallery
   ---------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
  grid-auto-flow: dense;
}
.gallery__item { position: relative; overflow: hidden; background: var(--ink); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--tall img { aspect-ratio: 3/5; height: 100%; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide img { aspect-ratio: 16/9; }
.gallery__item figcaption {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.gallery__item:hover img { filter: grayscale(1) contrast(1.05) brightness(0.78); transform: scale(1.04); }
body.wedding-site .gallery__item:hover img { filter: brightness(0.95); transform: scale(1.04); }
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------
   Weddings
   ---------------------------------------------------------- */
.weddings__panel {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line); background: var(--white);
}
.weddings__media { overflow: hidden; }
.weddings__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.weddings__content { padding: clamp(30px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.weddings__lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; margin-bottom: 28px; }
.weddings__list { list-style: none; display: grid; gap: 14px; }
.weddings__list li {
  font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.weddings__list span { color: var(--ink); font-weight: 500; }

.packages {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}
.package {
  border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; background: var(--paper);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease);
  position: relative;
}
.package:hover { transform: translateY(-6px); }
.package--feature { background: var(--black); color: var(--paper); border-color: var(--black); }
.package--feature .package__feats li { color: rgba(246,245,242,0.7); border-color: rgba(246,245,242,0.14); }
.package__tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid currentColor; padding: 5px 10px; border-radius: 100px; opacity: 0.8;
}
.package__name { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); }
.package__sub { margin: 6px 0 0; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.package--feature .package__sub { color: rgba(246,245,242,0.55); }
.package__price { font-size: 13px; letter-spacing: 0.08em; color: var(--muted); margin: 8px 0 24px; }
.package--feature .package__price { color: rgba(246,245,242,0.65); }
.package__price strong { font-weight: 500; color: inherit; font-size: 18px; }
.package__feats { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.package__feats li { font-size: 14px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.package__cta {
  margin-top: auto; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.package__cta::after { content: "→"; transition: transform 0.4s var(--ease); }
.package__cta:hover::after { transform: translateX(6px); }

/* ----------------------------------------------------------
   Availability / status
   ---------------------------------------------------------- */
.status {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px);
}
.status__item { padding: clamp(20px, 2.5vw, 32px); border-right: 1px solid var(--line); }
.status__item:last-child { border-right: none; }
.status__label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.status__value { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.05; }

.calendar { border: 1px solid var(--line); background: var(--white); padding: clamp(20px, 3vw, 40px); }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.calendar__title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3vw, 30px); }
.calendar__nav {
  width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 16px; border-radius: 50%; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.calendar__nav:hover { background: var(--black); color: var(--paper); }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar__weekdays span {
  text-align: center; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
}
.calendar__grid { gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 1px; }
.cell {
  background: var(--white); aspect-ratio: 1 / 1.05; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; position: relative;
  font-size: 14px;
  padding: 6px 4px 8px;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
.cell__num { line-height: 1; font-variant-numeric: tabular-nums; z-index: 1; }
.cell__hours {
  display: flex;
  gap: 2px;
  width: 92%;
  max-width: 58px;
  height: 8px;
  z-index: 1;
  transition: height 0.35s var(--ease), gap 0.35s var(--ease);
}
.cell__hour {
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 2px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.cell__hour--open { background: #5a8a6e; }
.cell__hour--booked { background: rgba(12, 12, 12, 0.14); }
.cell__hour--pending { background: #b8954a; }
.cell__hour--past { background: rgba(12, 12, 12, 0.05); }
.cell__meta {
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  z-index: 1;
  transition: color 0.35s var(--ease);
}
.cell__meta--full { color: rgba(12, 12, 12, 0.38); }
.cell--empty { background: var(--paper); }
.cell--open, .cell--partial { cursor: pointer; }
.cell--partial {
  background: linear-gradient(180deg, var(--white) 0%, #f8f7f4 100%);
}

/* Hover — 颜色即档期，不再整块变黑 */
.cell--open:hover {
  background: #f3f8f5;
  box-shadow: 0 8px 24px rgba(74, 107, 88, 0.1);
  transform: translateY(-2px);
  z-index: 2;
}
.cell--open:hover .cell__hour--open { background: #3d6b52; }
.cell--open:hover .cell__meta { color: #3d6b52; }

.cell--partial:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 12, 12, 0.07);
  transform: translateY(-2px);
  z-index: 2;
}
.cell--partial:hover .cell__hour--open { background: #3d6b52; }
.cell--partial:hover .cell__hour--booked { background: rgba(12, 12, 12, 0.24); }
.cell--partial:hover .cell__hour--pending { background: #9a7a32; }
.cell--partial:hover .cell__meta { color: var(--ink); }

.cell--booked:hover {
  box-shadow: inset 0 0 0 1px var(--line-soft);
  z-index: 2;
}
.cell--booked:hover .cell__hour--booked { background: rgba(12, 12, 12, 0.28); }

.cell--open:hover .cell__hours,
.cell--partial:hover .cell__hours,
.cell--booked:hover .cell__hours {
  height: 11px;
  gap: 2px;
}

/* 日历悬浮 — 由 .cal-tip 气泡组件承载（schedule.js） */
.cell[data-tip]:hover::after,
.cell[data-tip]:hover::before {
  display: none !important;
}

.cell--selected:hover::after,
.cell--selected:hover::before {
  display: none !important;
}

.cell--booked { color: var(--muted); background: repeating-linear-gradient(45deg, var(--white), var(--white) 5px, var(--paper) 5px, var(--paper) 6px); cursor: default; }
.cell--past { color: rgba(12,12,12,0.25); cursor: not-allowed; }
.cell--advance {
  background: #faf9f6;
  cursor: pointer;
}
.cell--advance .cell__meta--advance {
  color: rgba(12, 12, 12, 0.42);
  font-size: 8px;
}
.cell__hour--meal { background: rgba(180, 160, 130, 0.45); }
.cell__hour--advance { background: rgba(12, 12, 12, 0.06); }
.cell--advance:hover {
  box-shadow: inset 0 0 0 1px var(--line-soft);
  z-index: 2;
}
.cell--today { box-shadow: inset 0 0 0 1.5px var(--black); font-weight: 500; }
.cell--today:hover { box-shadow: inset 0 0 0 1.5px var(--black), 0 8px 24px rgba(74, 107, 88, 0.1); }

.cell--selected {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 28px rgba(12, 12, 12, 0.15);
  transform: none;
  z-index: 3;
}
.cell--selected:hover { background: var(--ink); color: var(--paper); transform: none; }
.cell--selected .cell__meta { color: rgba(255, 255, 255, 0.72); }
.cell--selected .cell__hour--open { background: #8bc4a4; }
.cell--selected .cell__hour--booked { background: rgba(255, 255, 255, 0.22); }
.cell--selected .cell__hour--pending { background: rgba(255, 255, 255, 0.42); }
.cell__dot { width: 5px; height: 5px; border-radius: 50%; }
.dot--open, .cell--open .cell__dot { background: #5a8a6e; }
.dot--partial { background: linear-gradient(90deg, #5a8a6e 45%, rgba(12, 12, 12, 0.16) 45%); }
.dot--booked, .cell--booked .cell__dot { background: rgba(12, 12, 12, 0.22); }
.cell--past .cell__dot { background: transparent; }

.calendar__legend { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.calendar__legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--open { background: #5a8a6e; }
.dot--partial { background: linear-gradient(90deg, #5a8a6e 45%, rgba(12, 12, 12, 0.16) 45%); }
.dot--pending { background: #b8954a; }
.dot--booked { background: rgba(12, 12, 12, 0.22); }
.dot--meal { background: rgba(180, 160, 130, 0.55); }

/* ----------------------------------------------------------
   Booking form
   ---------------------------------------------------------- */
.form { border: 1px solid var(--line); background: var(--white); padding: clamp(26px, 4vw, 56px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
.field { display: block; margin-bottom: 26px; }
.field__label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 0; transition: border-color 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(12,12,12,0.42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field input.is-invalid, .field select.is-invalid { border-color: #b00020; }
.field__error {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #b00020;
}
.field__hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.field textarea { resize: vertical; }
.field--error input, .field--error select { border-color: #b00020; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__hint { font-size: 12px; color: var(--muted); }
.form__hint.is-error { color: #b00020; }

.upcoming { margin-top: clamp(30px, 4vw, 56px); }
.upcoming__title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.upcoming__list { list-style: none; }
.upcoming__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.upcoming__item { cursor: pointer; transition: background 0.3s var(--ease); }
.upcoming__item:hover { background: var(--paper); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.upcoming__list .u-date { font-family: var(--serif); font-size: 20px; min-width: 130px; }
.upcoming__list .u-service { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
.upcoming__list .u-status { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; color: var(--muted); }
.upcoming__list .u-status--pending { border-color: #b8954a; color: #8a6b28; background: rgba(184, 149, 74, 0.08); }
.upcoming__empty { color: var(--muted); font-size: 14px; }
.upcoming__empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer { background: var(--black); color: var(--paper); padding: clamp(60px, 8vw, 110px) var(--gutter) 40px; position: relative; z-index: 1; }
.footer__brand { font-family: var(--serif); font-size: clamp(60px, 16vw, 200px); line-height: 0.9; letter-spacing: 0.06em; margin-bottom: 60px; text-transform: uppercase; }
.footer__brand-k {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}
.footer__brand-k:hover,
.footer__brand-k:focus-visible {
  opacity: 0.42;
  letter-spacing: 0.1em;
  outline: none;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: var(--maxw); }
.footer__label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,245,242,0.5); margin-bottom: 12px; }
.footer__cols p { color: rgba(246,245,242,0.85); line-height: 1.8; }
.footer__cols a:hover { text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(246,245,242,0.16); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,245,242,0.55); }

/* ----------------------------------------------------------
   Toast
   ---------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translate(-50%, 120%);
  background: var(--black); color: var(--paper); padding: 16px 26px; border-radius: 100px;
  font-size: 13px; letter-spacing: 0.04em; z-index: 100; box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  transition: transform 0.5s var(--ease); max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* Founder Easter egg modal (L1 only) */
body.founder-modal-open { overflow: hidden; }
.founder-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.founder-modal[hidden] { display: none; }
.founder-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.founder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
}
.founder-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: clamp(32px, 5vw, 48px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.founder-modal.is-open .founder-modal__dialog {
  transform: translateY(0) scale(1);
}
.founder-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.founder-modal__close:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.founder-modal__eyebrow {
  margin: 0 0 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder-modal__avatar {
  width: min(148px, 42vw);
  aspect-ratio: 4 / 5;
  border-radius: 0;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--paper-2);
  cursor: pointer;
  transition: width 0.45s var(--ease), aspect-ratio 0.45s var(--ease), border-color 0.3s;
}
.founder-modal__avatar:hover {
  border-color: var(--ink);
}
.founder-modal--formal .founder-modal__avatar {
  width: min(220px, 78vw);
  aspect-ratio: 3 / 4;
  max-height: min(360px, 52vh);
}
.founder-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.founder-modal--formal .founder-modal__avatar img {
  object-position: center bottom;
}
.founder-modal__name {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.founder-modal__role {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder-modal__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.founder-modal__sign {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* 404 */
.page-404 {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}
.page-404 .nav {
  mix-blend-mode: normal;
  color: var(--ink);
}
.not-found {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(100px, 14vh, 140px) var(--gutter) clamp(60px, 10vh, 100px);
  max-width: 720px;
  margin: 0 auto;
}
.not-found__title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.not-found__body {
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: var(--paper);
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    mix-blend-mode: normal;
  }
  .nav { mix-blend-mode: normal; color: var(--ink); }
  .nav.nav--light:not(.nav--menu-open) {
    color: #fff;
    mix-blend-mode: normal;
  }
  .nav.nav--light:not(.nav--menu-open) .nav__brand,
  .nav.nav--light:not(.nav--menu-open) .nav__toggle {
    color: #fff;
  }
  .nav.nav--menu-open {
    mix-blend-mode: normal !important;
    color: var(--ink) !important;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.nav--menu-open .nav__brand { color: var(--ink); }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 16px; color: var(--ink); }
  .nav__links .nav__home {
    order: -1;
    width: min(280px, 88vw);
    text-align: center;
    padding: 14px 24px;
    margin-bottom: 16px;
    border: 1.5px solid var(--ink);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
  }
  .site-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 45;
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 100px;
    box-shadow: 0 8px 28px rgba(12, 12, 12, 0.12);
    backdrop-filter: blur(8px);
  }
  body.is-home .site-back { display: none; }
  body:not(.is-home) main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .nav__links .nav__lang {
    color: var(--ink) !important;
    border: 1.5px solid var(--ink);
    background: var(--white);
    padding: 14px 36px;
    font-size: 13px;
    margin-top: 8px;
    min-width: 140px;
  }
  .nav__links .points-badge,
  .nav__links #navLogin {
    color: var(--ink);
    border-color: var(--ink);
    font-size: 14px;
    padding: 10px 18px;
  }
  .nav__links .nav__member {
    color: var(--muted);
    font-size: 14px;
    max-width: none;
  }
  .nav__links .nav__logout {
    color: var(--ink);
    opacity: 1;
    font-size: 13px;
    border: 1px solid var(--line);
    padding: 10px 22px;
    border-radius: 100px;
  }
  .nav__toggle { display: flex; z-index: 60; }
  .nav.nav--menu-open .nav__toggle { color: var(--ink); }
  .nav__toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .weddings__panel { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .status { grid-template-columns: repeat(2, 1fr); }
  .status__item:nth-child(2) { border-right: none; }
  .status__item:nth-child(1), .status__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .gallery__item img, .gallery__item--tall img, .gallery__item--wide img { aspect-ratio: 4/5; }
  .status { grid-template-columns: 1fr; }
  .status__item { border-right: none; border-bottom: 1px solid var(--line); }
  .status__item:last-child { border-bottom: none; }
  .cell { font-size: 12px; aspect-ratio: 1 / 1.12; padding: 4px 2px 6px; gap: 3px; }
  .cell__hours { max-width: 48px; height: 6px; }
  .cell__meta { font-size: 8px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cell--open:hover,
  .cell--partial:hover,
  .cell--booked:hover { transform: none; }
  .cell[data-tip]:hover::after,
  .cell[data-tip]:hover::before { animation: none; }
  .hero__scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}
