/* Parko namai — industrial loft palette: concrete, blackened steel, oak, amber light. */
:root {
  --concrete: #e6e3de;
  --concrete-2: #d9d5ce;
  --paper: #f3f1ed;
  --steel: #161616;
  --steel-2: #232322;
  --graphite: #4a4845;
  --muted: #7b776f;
  --line: rgba(22, 22, 22, 0.14);
  --line-strong: rgba(22, 22, 22, 0.32);
  --amber: #d08a2c;
  --amber-deep: #a86717;
  --oak: #b98b5a;
  --ok: #4c6b4a;
  --danger: #a3402f;

  --display: 'Archivo', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
/* Hide the page for a moment until translations are applied (removed by i18n.js; inline fallback timer). */
.i18n-wait body {
  opacity: 0;
}
body {
  transition: opacity 0.15s;
}

/* LT / EN switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
}
.lang-switch span {
  opacity: 0.35;
}
.lang-switch button {
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 0.55;
}
.lang-switch button:hover {
  opacity: 1;
}
.lang-switch button.on {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--amber);
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--steel);
  font: 400 16px/1.6 var(--display);
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--amber);
  color: var(--steel);
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- type ---------- */
.label {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.label b {
  color: var(--steel);
  font-weight: 500;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(44px, 8.4vw, 132px);
}
h2 {
  font-size: clamp(32px, 4.6vw, 64px);
}
h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  max-width: 34em;
  color: var(--graphite);
}

/* ---------- header ---------- */
.site-head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--paper);
}
.site-head.solid {
  position: sticky;
  top: 0;
  background: var(--paper);
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  font: 800 18px/1 var(--display);
  font-variation-settings: 'wdth' 125;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-sub {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav .btn {
  opacity: 1;
}
@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
  .brand-sub {
    display: none;
  }
}
.brand-mark {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .nav .btn {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: var(--radius);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--steel);
  color: var(--paper);
  border-color: var(--steel);
}
.btn-amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--steel);
}
.btn-amber:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--amber);
}
.btn-block {
  width: 100%;
  padding: 18px 22px;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  color: inherit;
}
.btn-amber:disabled {
  background: var(--amber);
  color: var(--steel);
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--graphite);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--steel);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.04);
  animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes settle {
  to {
    transform: scale(1);
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, 0.82) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(28px, 5vw, 64px);
}
.hero h1 {
  max-width: 11ch;
}
.hero h1 .serif {
  color: var(--amber);
  font-size: 1.04em;
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid rgba(243, 241, 237, 0.28);
}
.hero-foot .label {
  color: rgba(243, 241, 237, 0.7);
}
.hero-foot .label b {
  color: var(--paper);
}
.specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
@media (max-width: 720px) {
  .hero-foot {
    grid-template-columns: 1fr;
  }
}

/* ---------- sections ---------- */
section {
  padding: clamp(64px, 9vw, 128px) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head .label {
  padding-top: 10px;
  border-top: 1px solid var(--steel);
}
@media (max-width: 720px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.dark {
  background: var(--steel);
  color: var(--paper);
}
.dark .label {
  color: rgba(243, 241, 237, 0.55);
}
.dark .sec-head .label {
  border-color: var(--paper);
}
.dark .lede {
  color: rgba(243, 241, 237, 0.75);
}
.concrete {
  background: var(--concrete);
}

/* ---------- loft index (home) ---------- */
.loft-list {
  border-top: 1px solid var(--steel);
}
.loft-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  align-items: start;
}
.loft-num {
  font: 500 13px/1 var(--mono);
  color: var(--muted);
  padding-top: 8px;
}
.loft-row h3 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 0.95;
  margin-bottom: 14px;
}
.loft-row p {
  margin: 0 0 20px;
  color: var(--graphite);
  max-width: 30em;
}
.loft-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--concrete-2);
}
.loft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.loft-row:hover .loft-media img {
  transform: scale(1.035);
}
.loft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 24px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.status.soon::before {
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@media (max-width: 820px) {
  .loft-row {
    grid-template-columns: 1fr;
  }
  .loft-num {
    padding: 0;
  }
  .loft-media {
    order: -1;
  }
}

/* Blueprint placeholder for lofts still being built */
.blueprint {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background-color: #1d2a33;
  background-image: linear-gradient(rgba(243, 241, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 237, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(243, 241, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 237, 0.035) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  color: rgba(243, 241, 237, 0.85);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.blueprint svg {
  width: 74%;
  max-width: 460px;
  height: auto;
}
.blueprint .bp-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 241, 237, 0.6);
}

/* ---------- why direct ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(243, 241, 237, 0.3);
}
.reason {
  padding: 28px 28px 8px 0;
}
.reason + .reason {
  padding-left: 28px;
  border-left: 1px solid rgba(243, 241, 237, 0.18);
}
.reason .num {
  font: 500 12px/1 var(--mono);
  color: var(--amber);
  margin-bottom: 40px;
  display: block;
}
.reason h3 {
  margin-bottom: 12px;
}
.reason p {
  margin: 0;
  color: rgba(243, 241, 237, 0.7);
}
@media (max-width: 820px) {
  .reasons {
    grid-template-columns: 1fr;
  }
  .reason + .reason {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(243, 241, 237, 0.18);
  }
  .reason .num {
    margin-bottom: 16px;
  }
}

/* ---------- location ---------- */
.loc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 64px);
}
.loc-map {
  aspect-ratio: 4 / 3;
  border: 0;
  width: 100%;
  filter: grayscale(1) contrast(1.05);
  background: var(--concrete-2);
}
.dist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line-strong);
}
.dist li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dist span:last-child {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--graphite);
  white-space: nowrap;
}
@media (max-width: 820px) {
  .loc {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--steel);
  color: rgba(243, 241, 237, 0.7);
  padding: 56px 0 40px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  justify-content: space-between;
}
.site-foot .brand-mark {
  color: var(--paper);
  font-size: clamp(36px, 7vw, 96px);
  line-height: 0.85;
  display: block;
  margin-bottom: 12px;
}
.site-foot a {
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--amber);
}
.foot-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.foot-cols div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

/* ---------- loft page ---------- */
.crumbs {
  padding-top: 28px;
  display: flex;
  gap: 10px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--steel);
}
.loft-title {
  padding: 20px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.loft-title h1 {
  font-size: clamp(44px, 7vw, 104px);
}
.loft-title .lede {
  margin-top: 16px;
}
@media (max-width: 820px) {
  .loft-title {
    grid-template-columns: 1fr;
  }
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  height: clamp(320px, 56vw, 640px);
  position: relative;
}
.gallery button {
  padding: 0;
  border: 0;
  background: var(--concrete-2);
  cursor: zoom-in;
  overflow: hidden;
  min-height: 0;
}
.gallery button:first-child {
  grid-row: span 2;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s;
}
.gallery button:hover img {
  transform: scale(1.03);
}
.gallery button.all {
  padding: 12px 16px;
  min-height: auto;
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--paper);
  color: var(--steel);
  border-color: var(--paper);
  cursor: pointer;
}
@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr;
    height: 76vw;
  }
  .gallery button:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .gallery button:nth-child(n + 4):not(.all) {
    display: none;
  }
}

.loft-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(64px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 1040px) {
  .loft-body {
    grid-template-columns: 1fr;
  }
}

.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--line-strong);
}
.spec div {
  padding: 18px 16px 18px 0;
}
.spec div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.spec strong {
  display: block;
  font: 800 clamp(26px, 3vw, 40px) / 1 var(--display);
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.spec strong small {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 2px;
}
@media (max-width: 560px) {
  .spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .spec div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

.block {
  padding-top: 48px;
}
.block > .label {
  display: block;
  margin-bottom: 18px;
}
.prose p {
  margin: 0 0 1em;
  font-size: 18px;
  line-height: 1.65;
  max-width: 36em;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.ticks li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.ticks li:nth-child(odd) {
  padding-right: 20px;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: translateY(-1px);
}
.ticks.plain li::before {
  background: none;
  border: 1px solid var(--steel);
}
.ticks.single {
  grid-template-columns: 1fr;
}
@media (max-width: 560px) {
  .ticks {
    grid-template-columns: 1fr;
  }
}

.times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.times div {
  background: var(--concrete);
  padding: 20px;
}
.times strong {
  display: block;
  font: 800 34px/1 var(--display);
  font-variation-settings: 'wdth' 112;
  margin-top: 8px;
}

/* ---------- booking card ---------- */
.book {
  position: sticky;
  top: 96px;
  scroll-margin-top: 88px;
  background: var(--steel);
  color: var(--paper);
  padding: 28px;
}
.book .label {
  color: rgba(243, 241, 237, 0.55);
}
.book-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 22px;
}
.book-price strong {
  font: 800 48px/1 var(--display);
  font-variation-settings: 'wdth' 112;
  letter-spacing: -0.02em;
}
.book-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(243, 241, 237, 0.25);
  margin-bottom: 16px;
}
.book-dates div {
  padding: 12px 14px;
}
.book-dates div + div {
  border-left: 1px solid rgba(243, 241, 237, 0.25);
}
.book-dates strong {
  display: block;
  font-weight: 600;
  margin-top: 4px;
  min-height: 1.6em;
}
.book-dates .empty {
  color: rgba(243, 241, 237, 0.4);
  font-weight: 400;
}
.book .cal {
  margin: 0 -6px 12px;
}
.book-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(243, 241, 237, 0.15);
  font-size: 15px;
}
.book-row.total {
  font-weight: 700;
  font-size: 18px;
  border-top-color: rgba(243, 241, 237, 0.5);
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(243, 241, 237, 0.3);
}
.stepper button {
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 18px;
}
.stepper button:disabled {
  opacity: 0.3;
  cursor: default;
}
.stepper output {
  min-width: 28px;
  text-align: center;
  font-family: var(--mono);
}
.book-note {
  font-size: 13px;
  color: rgba(243, 241, 237, 0.55);
  text-align: center;
  margin: 12px 0 0;
}
.book .field label {
  color: rgba(243, 241, 237, 0.6);
}
.book .field input,
.book .field textarea {
  background: rgba(243, 241, 237, 0.06);
  border-color: rgba(243, 241, 237, 0.25);
  color: var(--paper);
}
.book .link-btn {
  color: rgba(243, 241, 237, 0.7);
}
.book-done h3 {
  font-size: 32px;
  margin: 12px 0 14px;
}
.book-done .ref {
  font: 600 28px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--amber);
  margin: 6px 0 18px;
  display: block;
}
.err {
  color: #f2a490;
  font-size: 14px;
  margin: 10px 0 0;
  min-height: 1em;
}
@media (max-width: 1040px) {
  .book {
    position: static;
  }
}

/* ---------- forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 12px 14px;
  border-radius: var(--radius);
  width: 100%;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* ---------- calendar ---------- */
.cal {
  position: relative;
  user-select: none;
  --cal-fg: currentColor;
  --cal-sel: var(--amber);
  --cal-sel-fg: var(--steel);
  --cal-range: rgba(208, 138, 44, 0.22);
}
.cal-head {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}
.cal-nav {
  pointer-events: auto;
  width: 34px;
  height: 30px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 18px;
}
.cal-nav:disabled {
  opacity: 0.2;
  cursor: default;
}
.cal-months {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 28px;
}
.cal-title {
  text-align: center;
  font: 600 13px/30px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-wd {
  text-align: center;
  font: 500 10px/28px var(--mono);
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.cal-day {
  position: relative;
  height: 42px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: 500 14px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.cal-day span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.cal-day:hover:not(:disabled):not(.is-taken):not(.is-blocked) span {
  outline: 1px solid currentColor;
  outline-offset: -3px;
}
.cal-day:disabled {
  opacity: 0.22;
  cursor: default;
}
.cal-day.is-taken,
.cal-day.is-blocked {
  cursor: not-allowed;
  opacity: 0.32;
}
.cal-day.is-taken span {
  text-decoration: line-through;
}
.cal-day.in-range {
  background: var(--cal-range);
}
.cal-day.is-start span,
.cal-day.is-end span {
  background: var(--cal-sel);
  color: var(--cal-sel-fg);
  font-weight: 700;
}
.cal-day.has-range::before,
.cal-day.is-end::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--cal-range);
}
.cal-day.has-range::before {
  left: 50%;
  right: 0;
}
.cal-day.is-end::before {
  left: 0;
  right: 50%;
}
.cal-day.is-preview.is-end span {
  background: transparent;
  color: inherit;
  outline: 1px dashed var(--cal-sel);
  outline-offset: -3px;
}
.cal-tip {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 100%);
  background: var(--amber);
  color: var(--steel);
  font: 600 12px/1 var(--mono);
  padding: 8px 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 3;
}
.cal-tip.show {
  opacity: 1;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.96);
  color: var(--paper);
  display: none;
  grid-template-rows: auto 1fr auto;
}
.lightbox.open {
  display: grid;
}
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--gutter);
}
.lb-top .label {
  color: rgba(243, 241, 237, 0.7);
}
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 var(--gutter);
}
.lb-stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.lb-btn {
  background: none;
  border: 1px solid rgba(243, 241, 237, 0.3);
  color: var(--paper);
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 20px;
}
.lb-btn:hover {
  background: var(--paper);
  color: var(--steel);
}
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev {
  left: var(--gutter);
}
.lb-next {
  right: var(--gutter);
}
.lb-caption {
  text-align: center;
  padding: 16px var(--gutter) 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}

.waitlist {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  background: rgba(243, 241, 237, 0.08);
  border: 1px solid rgba(243, 241, 237, 0.3);
  color: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img {
    animation: none;
    transform: none;
  }
}
