/* Kin — minimal. White ground, steel greys as hairlines, one light-blue accent. */

:root {
  --ink: #15212a;
  --ink-2: #55626c;
  --line: #e2e7ea;
  --line-2: #cfd6db;
  --steel: #f4f6f7;
  --blue: #87cbe8;
  --blue-soft: #e4f3fa;
  --blue-ink: #1f6890;
  --bg: #ffffff;

  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(96px, 14vw, 180px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue-ink); accent-color: var(--blue-ink);
}
::selection { background: var(--blue-soft); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.16em; }
.muted { color: var(--ink-2); font-weight: 400; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.02; max-width: 12ch; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.lede { margin: 24px 0 0; max-width: 38ch; font-size: 1.15rem; color: var(--ink-2); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: background-color .2s, transform .3s var(--ease);
}
.btn:hover { background: #24333e; }
.btn:hover .ico { transform: translateX(2px); }
.btn .ico { transition: transform .3s var(--ease); }
.btn--sm { height: 38px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .35em;
}
.link:hover { text-decoration-color: var(--ink); }
.link--muted { color: var(--ink-2); text-decoration-color: var(--line-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(64px, 9vw, 128px);
}
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--steel); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* gallery: pinned horizontal scroll */
.gallery { border-top: 1px solid var(--line); padding-top: var(--space); }
.strip { position: relative; height: 240vh; }
.strip__sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; overflow: hidden; }
.strip__track { display: flex; gap: 20px; align-items: center; padding: 0 var(--gutter); will-change: transform; }
.strip figure { margin: 0; flex: none; width: clamp(280px, 36vw, 520px); aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--steel); }
.strip figure.tall { width: clamp(220px, 24vw, 360px); aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.caption { margin: 16px auto 0; font-size: .85rem; color: var(--ink-2); }

/* section heads */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.head p { margin: 0; color: var(--ink-2); max-width: 40ch; }

/* menu */
.menu { padding-top: var(--space); padding-bottom: var(--space); }
.menu__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 14px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--ink-2); font-size: .98rem; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab__n { margin-left: 6px; font-size: .78rem; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.menu__bulk { display: flex; gap: 18px; flex: none; font-size: .95rem; }

.menu__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); }
.item { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.item__name { margin: 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.item__desc { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }
.add {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color .25s, border-color .25s, transform .4s var(--ease);
}
.add:hover { border-color: var(--ink); }
.add[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.08); } 100% { transform: none; } }

.picked { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 32px; }
.picked__count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.picked__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 300px; }
.picked__list li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--blue-soft); font-size: .88rem; }
.picked__list button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.picked__list button:hover { color: var(--ink); background: #fff; }
.picked__list .ico { width: 14px; height: 14px; }

/* booking */
.book { background: var(--steel); border-top: 1px solid var(--line); padding: var(--space) 0; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal__month { font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; transition: border-color .2s; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }

.cal__dow, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { margin-bottom: 8px; }
.cal__dow span { text-align: center; font-size: .78rem; color: var(--ink-2); }
.day {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-size: .98rem; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.day--blank { pointer-events: none; }
.day--past { color: #a9b3ba; cursor: default; }
.day--open { background: var(--blue-soft); }
.day--few { box-shadow: inset 0 0 0 1.5px var(--blue); background: #fff; }
.day--booked { color: #a9b3ba; text-decoration: line-through; cursor: not-allowed; }
.day--open:hover, .day--few:hover { background: var(--blue); }
.day--today { font-weight: 700; }
.day--mine, .day--mine:hover { background: var(--ink); color: #fff; box-shadow: none; animation: pop .45s var(--ease); }
.day__mo { font-size: .62rem; display: block; line-height: 1; color: var(--ink-2); }
.day--mine .day__mo { color: #c7d3da; }
.day__inner { display: grid; justify-items: center; line-height: 1.1; }

.legend { list-style: none; display: flex; gap: 20px; margin: 20px 0 0; padding: 0; font-size: .85rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 50%; }
.sw--open { background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.sw--few { box-shadow: inset 0 0 0 1.5px var(--blue); }
.sw--booked { background: var(--line-2); }

.times { border: 0; padding: 32px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line-2); min-width: 0; }
.times[disabled] { opacity: .45; }
.times legend { padding: 0; font-weight: 600; margin-bottom: 16px; float: left; width: 100%; }
.seg { clear: both; display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); margin-bottom: 16px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  font-size: .88rem; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s;
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { color: #a9b3ba; text-decoration: line-through; border-color: var(--line); background: transparent; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.msg { margin: 14px 0 0; min-height: 1.5em; font-size: .92rem; color: var(--ink-2); }
.msg.is-bad { color: #a8382f; }

.details { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.label { font-size: .88rem; font-weight: 600; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #7f8b94; }
input:hover, select:hover, textarea:hover { border-color: #aeb8bf; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px var(--blue-soft); }
.err { display: none; font-size: .85rem; color: #a8382f; }
.field.is-invalid input { border-color: #a8382f; }
.field.is-invalid .err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: .92rem; transition: border-color .2s, background-color .2s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-checked="true"] { background: var(--blue); border-color: var(--blue); }

.summary { margin: 8px 0 0; border-top: 1px solid var(--line-2); }
.summary > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 600; }
.summary dd.is-empty { font-weight: 400; color: #8a959d; }
.fine { margin: -8px 0 0; font-size: .85rem; color: var(--ink-2); }
.form-msg { margin: 0; font-size: .9rem; color: #a8382f; }
.form-msg:empty { display: none; }

.done { max-width: 560px; padding: 24px 0; }
.done:focus { outline: none; }
.done__dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); margin-bottom: 24px; animation: pop .5s var(--ease); }
.done__dot .ico { width: 24px; height: 24px; }
.done h3 { font-size: 2rem; }
.done p { color: var(--ink-2); margin: 12px 0 24px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot__inner { display: flex; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.foot__logo { height: 28px; width: auto; }
.foot p { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* mobile dock */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: none; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px -12px rgba(21,33,42,.3);
  font-weight: 600; font-size: .92rem;
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.dock.is-on { transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { aspect-ratio: 4 / 3; }
  .head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .menu__list { grid-template-columns: minmax(0, 1fr); }
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .dock { display: flex; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .menu__bar { flex-direction: column; align-items: flex-start; gap: 0; }
  .menu__bulk { padding: 14px 0; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .strip { height: auto; }
  .strip__sticky { position: static; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip__sticky::-webkit-scrollbar { display: none; }
  .strip__track { transform: none !important; gap: 12px; }
  .strip figure, .strip figure.tall { width: 80vw; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .foot__inner { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .strip { height: auto; }
  .strip__sticky { position: static; height: auto; overflow-x: auto; }
  .strip__track { transform: none !important; }
}

/* spam trap: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
