:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: #0d111a;
  --panel-2: #111022;
  --line: rgba(132, 171, 197, 0.2);
  --line-strong: rgba(144, 218, 247, 0.46);
  --ink: #f3f7fb;
  --muted: #9aa8b9;
  --cyan: #82ddff;
  --pink: #e8a5db;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(104, 139, 160, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 139, 160, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(104, 139, 160, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 139, 160, 0.025) 1px, transparent 1px);
  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
  background-size:
    54px 54px,
    54px 54px,
    9px 9px,
    9px 9px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 68px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(242, 248, 255, 0.8);
  border-radius: 50%;
  background: rgba(5, 7, 11, 0.72);
  box-shadow: 0 0 30px rgba(130, 221, 255, 0.08);
}

.brand-mark span {
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 0.8;
}

.brand-mark small {
  color: var(--muted);
  font-size: 9px;
}

.nav-pill {
  display: flex;
  gap: clamp(18px, 3.5vw, 42px);
  align-items: center;
  padding: 15px 25px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 13, 22, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.nav-pill a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-pill a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-pill a:hover,
.nav-pill a:focus-visible {
  color: var(--ink);
}

.nav-pill a:hover::after,
.nav-pill a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  position: relative;
  min-height: 100svh;
  padding: 150px clamp(22px, 6vw, 88px) 90px;
  border-bottom: 1px solid var(--line);
}

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  align-content: center;
  gap: 8vw;
  overflow: hidden;
}

.home-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.38), rgba(5, 7, 11, 0.1) 56%, rgba(5, 7, 11, 0.28)),
    linear-gradient(to bottom, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.44));
}

.home-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(1) contrast(1.02) brightness(1.2);
}

.home-copy {
  align-self: center;
  position: relative;
  z-index: 1;
}

.kicker,
.section-index,
.signal-label,
.booking-form-heading span,
.schedule-note span,
.price-footnote span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-copy h1,
h2 {
  margin: 24px 0 0;
  font-weight: 800;
  letter-spacing: 0;
}

.home-copy h1 {
  font-size: clamp(64px, 11vw, 156px);
  line-height: 0.91;
}

.home-intro {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 30px);
}

.home-detail {
  margin: 10px 0 26px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--pink);
  font-weight: 800;
}

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

.home-signal {
  align-self: center;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgba(41, 61, 89, 0.42), rgba(28, 19, 43, 0.6)),
    rgba(10, 13, 22, 0.82);
  box-shadow: var(--shadow);
}

.home-signal strong {
  font-size: clamp(23px, 3vw, 34px);
}

.home-signal small {
  color: var(--muted);
}

.signal-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 6vw, 88px);
  bottom: 34px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.section-topline {
  display: flex;
  gap: 20px;
  align-items: center;
}

.section-index {
  color: var(--pink);
}

.section-intro,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 8vw, 140px);
  align-items: end;
  margin-top: 34px;
}

h2 {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
}

.section-intro p,
.section-subtitle {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 34px;
  border: 1px solid var(--line);
  padding: 7px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 48px;
}

.work-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.work-card.hero-work {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.tall-work {
  grid-row: span 2;
}

.work-card.wide-work {
  grid-column: span 2;
}

.work-card img {
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.work-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.work-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(5, 7, 11, 0.55), transparent 42%);
}

.work-card figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
}

.work-card figcaption span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-card figcaption strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.work-card.is-hidden {
  display: none;
}

.price-list,
.calendar-board {
  border-top: 1px solid var(--line);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 102px;
  border-bottom: 1px solid var(--line);
}

.price-row div {
  display: flex;
  gap: 22px;
  align-items: center;
}

.price-row span {
  color: var(--pink);
  font-size: 12px;
}

.price-row strong {
  font-size: 26px;
}

.price-row b {
  color: var(--cyan);
  font-size: 18px;
  white-space: nowrap;
}

.price-footnote,
.schedule-note {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 24px 0 0;
}

.price-footnote p,
.schedule-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.calendar-board {
  padding-top: 24px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.calendar-head div {
  display: grid;
  gap: 5px;
}

.calendar-head span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.calendar-head strong {
  font-size: 36px;
  line-height: 1;
}

.calendar-head p {
  margin: 0;
  color: var(--muted);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.calendar-weekdays span {
  min-height: 34px;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.calendar-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.calendar-empty,
.calendar-day {
  min-height: 76px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px;
  color: var(--ink);
  background: rgba(7, 11, 18, 0.6);
}

.calendar-day {
  display: grid;
  align-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

.calendar-day b {
  font-size: 16px;
  line-height: 1;
}

.calendar-day small {
  color: var(--muted);
  font-size: 11px;
}

.calendar-day.available {
  background: rgba(130, 221, 255, 0.09);
}

.calendar-day.available small {
  color: var(--cyan);
}

.calendar-day.tentative {
  background: rgba(232, 165, 219, 0.09);
}

.calendar-day.tentative small {
  color: var(--pink);
}

.calendar-day.booked {
  color: rgba(243, 247, 251, 0.34);
  background: rgba(255, 255, 255, 0.025);
  cursor: not-allowed;
}

.calendar-day.idle small {
  color: #c1b7ff;
}

.calendar-day:not(.booked):hover,
.calendar-day.active {
  border: 1px solid var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.calendar-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.available-dot {
  background: var(--cyan);
}

.tentative-dot {
  background: var(--pink);
}

.booked-dot {
  background: rgba(243, 247, 251, 0.34);
}

.idle-dot {
  background: #c1b7ff;
}

.day-detail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 17, 0.68);
}

.day-detail > div:first-child {
  display: grid;
  gap: 6px;
  align-content: start;
}

.day-detail span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.day-detail strong {
  font-size: 18px;
}

.slot-list {
  display: grid;
  gap: 10px;
}

.slot-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.time-slot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(7, 11, 18, 0.8);
  text-align: left;
  cursor: pointer;
}

.time-slot b {
  font-size: 15px;
}

.time-slot small {
  color: var(--muted);
}

.time-slot.available small {
  color: var(--cyan);
}

.time-slot.tentative small {
  color: var(--pink);
}

.time-slot.idle small {
  color: #c1b7ff;
}

.time-slot.booked {
  color: rgba(243, 247, 251, 0.4);
  cursor: not-allowed;
}

.time-slot.booked small {
  color: rgba(243, 247, 251, 0.4);
}

.time-slot:hover,
.time-slot.active {
  border-color: var(--cyan);
}

.contact-intro {
  align-items: center;
}

.contact-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 40px 38px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgba(38, 62, 87, 0.42), rgba(44, 22, 51, 0.52)),
    rgba(10, 13, 22, 0.82);
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.contact-card strong {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
}

.contact-card small {
  color: var(--muted);
}

.contact-card svg {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--pink);
}

.booking-form-wrap {
  margin-top: 92px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.booking-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.booking-form-heading p {
  margin: 0;
  color: var(--muted);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin-top: 28px;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.order-form .full,
.submit-button {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(8, 11, 17, 0.8);
  outline: none;
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(130, 221, 255, 0.12);
}

.submit-button,
.copy-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--cyan);
  padding: 11px 17px;
  color: var(--bg);
  background: var(--cyan);
  cursor: pointer;
  font-weight: 900;
}

.submit-button:hover,
.copy-button:hover {
  color: var(--ink);
  background: transparent;
}

.summary-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 22, 0.78);
}

.summary-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.summary-panel pre {
  min-height: 170px;
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
}

.summary-panel p {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 22px;
  }

  .nav-pill {
    gap: 16px;
    padding: 13px 17px;
  }

  .nav-pill a {
    font-size: 12px;
  }

  .home-section,
  .section-intro,
  .split-section,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .home-signal {
    max-width: 430px;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .work-card.hero-work,
  .work-card.wide-work {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .nav-pill {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 14px;
    border-radius: 18px;
    padding: 11px 14px;
  }

  .nav-pill a::after {
    bottom: -4px;
  }

  .section {
    min-height: auto;
    padding: 132px 18px 72px;
  }

  .home-section {
    min-height: 100svh;
    padding-bottom: 90px;
  }

  .home-copy h1 {
    font-size: clamp(56px, 17vw, 86px);
  }

  .scroll-cue {
    display: none;
  }

  h2 {
    font-size: 54px;
  }

  .gallery-grid,
  .order-form {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.hero-work,
  .work-card.tall-work,
  .work-card.wide-work {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .price-row {
    min-height: 84px;
  }

  .price-row strong {
    font-size: 21px;
  }

  .price-row b {
    font-size: 14px;
  }

  .price-footnote,
  .schedule-note,
  .day-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .contact-card strong {
    font-size: 42px;
  }

  .booking-form-heading {
    display: grid;
    gap: 8px;
  }

  .submit-button {
    width: 100%;
  }

  .site-footer {
    padding: 24px 18px;
    text-align: center;
  }
}
