:root {
  --ink: #15130f;
  --paper: #fbfaf7;
  --muted: #8a857c;
  --line: #e6e2da;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* badge */
.cbk-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: rgba(21, 19, 15, 0.92);
  color: #fbfaf7;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
.cbk-badge img { height: 20px; width: auto; display: block; }
.cbk-badge b { font-weight: 700; }

/* sticky minimal nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-thin { font-weight: 400; font-style: italic; color: var(--muted); }
.topnav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topnav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.topnav a:hover { color: var(--ink); }
.topnav .book {
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
}
.topnav .book:hover { background: var(--ink); color: var(--paper); }

/* gallery first */
.gallery-first { padding: 7vw 6vw 5vw; }
.gallery-intro { max-width: 900px; margin: 0 auto 5vw; text-align: center; }
.overline {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.01em;
}

.masonry {
  columns: 3;
  column-gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.frame {
  break-inside: avoid;
  margin: 0 0 24px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.frame.tall { aspect-ratio: 3 / 5; }
.frame.wide { aspect-ratio: 5 / 4; }
.frame figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.ph-a { background: linear-gradient(160deg, #c9bfae, #6f6657); }
.ph-b { background: linear-gradient(160deg, #d7cfc4, #9a8f80); }
.ph-c { background: linear-gradient(160deg, #b7a99a, #514a40); }
.ph-d { background: linear-gradient(160deg, #9aa3a8, #3e4347); }
.ph-e { background: linear-gradient(160deg, #e0d6c7, #b3a48d); }
.ph-f { background: linear-gradient(160deg, #88807a, #2c2925); }
.ph-g { background: linear-gradient(160deg, #ddd5c8, #8d8270); }
.ph-h { background: linear-gradient(160deg, #a9a097, #5b544c); }

/* about */
.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 9vw 6vw;
  text-align: center;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 1.5rem;
}
.byline {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* packages */
.packages {
  max-width: 880px;
  margin: 0 auto;
  padding: 4vw 6vw 9vw;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
  margin: 0 0 3rem;
}
.package-list { list-style: none; margin: 0; padding: 0; }
.package {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.package:last-child { border-bottom: 1px solid var(--line); }
.pk-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}
.pk-meta {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.9rem;
}
.pk-price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
}

/* quiet cta */
.cta-quiet {
  text-align: center;
  padding: 11vw 6vw;
  border-top: 1px solid var(--line);
}
.cta-quiet h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  margin: 0 0 1rem;
}
.cta-quiet p { color: var(--muted); margin: 0 0 2.4rem; }
.book-large {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 16px 42px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.book-large:hover { background: var(--ink); color: var(--paper); }

/* footer */
.foot {
  text-align: center;
  padding: 40px 6vw 90px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.foot a { color: var(--ink); }

@media (max-width: 860px) {
  .masonry { columns: 2; }
  .topnav { gap: 16px; }
  .topnav a:not(.book) { display: none; }
}
@media (max-width: 540px) {
  .masonry { columns: 1; }
  .package { grid-template-columns: 1fr; }
  .pk-price { grid-row: auto; grid-column: 1; }
  .topbar { padding: 18px 6vw; }
}


/* cross-template switcher */
.tpl-switch{border-top:1px solid currentColor;padding:34px 22px 30px;text-align:center;font-family:inherit;}
.tpl-switch .tpl-switch-label{display:block;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;opacity:.55;margin-bottom:14px;}
.tpl-switch a{display:inline-block;margin:4px 5px;padding:6px 15px;border:1px solid currentColor;border-radius:999px;font-size:.85rem;text-decoration:none;color:inherit;opacity:.7;transition:opacity .15s;}
.tpl-switch a:hover{opacity:1;}
.tpl-switch a.here{opacity:1;font-weight:600;}