:root {
  --kinari: #f3eee3;
  --paper: #faf7f0;
  --sumi: #23221f;
  --sumi-soft: #5c5950;
  --green: #24382f;
  --green-soft: #3b5548;
  --line: #d9d2c3;
  --error: #8a3324;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 12vw, 176px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(25px, 2.4vw, 31px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.eyebrow {
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sumi-soft);
}
.lead { font-family: var(--serif); font-size: clamp(23px, 2.5vw, 31px); line-height: 1.45; }
.muted { color: var(--sumi-soft); }

.link-arrow {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s;
}
.link-arrow:hover { opacity: .65; }

.button {
  display: inline-block;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.button:hover { background: var(--green-soft); border-color: var(--green-soft); }

/* Internal review bar */
.review-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 20px;
  padding: 7px var(--gutter);
  background: var(--sumi);
  color: var(--kinari);
  font-size: 12.5px;
  line-height: 1.5;
}
.review-bar button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  cursor: pointer;
}

/* Placeholder labels (internal review only) */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--kinari); }
.show-placeholder-labels .ph::after,
.show-placeholder-labels [data-placeholder-text]::before {
  content: 'PLACEHOLDER: ' attr(data-placeholder);
  z-index: 2;
  padding: 3px 8px;
  background: var(--sumi);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
}
.show-placeholder-labels .ph::after { position: absolute; top: 8px; left: 8px; right: 8px; width: fit-content; }
.show-placeholder-labels [data-placeholder-text]::before {
  content: 'PLACEHOLDER TEXT';
  display: table;
  margin-bottom: 10px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
}
.site-header--over { position: absolute; z-index: 5; left: 0; right: 0; color: var(--paper); }
.logo { display: block; width: 116px; }
.logo img { height: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.site-nav a {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; }

/* Top: hero */
.hero { position: relative; height: calc(100svh - 34px); min-height: 560px; max-height: 1100px; color: var(--paper); }
.hero .ph { position: absolute; inset: 0; }
.hero .ph::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,19,.5) 0, rgba(20,22,19,.05) 26%, rgba(20,22,19,.08) 52%, rgba(20,22,19,.68) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(40px, 7vw, 84px);
}
.hero-copy h1 { max-width: 12em; margin-bottom: 26px; }

/* Top: concept */
.concept { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.concept .ph { aspect-ratio: 4 / 5; }
.concept .lead { margin-bottom: 26px; }
.concept p + p { color: var(--sumi-soft); }

/* Top: featured */
.featured { background: var(--kinari); }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 80px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.card .ph { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--sumi-soft); }
.card a { text-decoration: none; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card-tag {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sumi-soft);
}

/* Top: Private Zen feature */
.zen-feature { display: grid; grid-template-columns: 7fr 5fr; background: var(--green); color: var(--paper); }
.zen-feature .ph { min-height: 560px; }
.zen-feature-copy { align-self: center; padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 88px); }
.zen-feature .eyebrow { color: #b9c4b9; }
.zen-feature h2 { margin-bottom: 26px; }
.zen-feature p { margin-bottom: 26px; color: #dfe2d8; }
.zen-feature .facts-inline { margin-bottom: 34px; font-size: 15px; letter-spacing: .03em; }

/* Top: tailor-made */
.tailor { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(44px, 8vw, 128px); align-items: center; }
.tailor .ph { aspect-ratio: 3 / 2; }
.tailor h2 { margin-bottom: 24px; }
.tailor p { color: var(--sumi-soft); }
.tailor .note { margin-top: 22px; font-size: 15px; }

/* Top: about */
.about { background: var(--kinari); text-align: center; }
.about .inner { max-width: 760px; margin-inline: auto; }
.about h2 { margin-bottom: 28px; }
.about p + p { margin-top: 20px; color: var(--sumi-soft); }

/* Footer */
.site-footer { padding-block: 64px; background: var(--sumi); color: var(--kinari); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .logo { width: 104px; margin-bottom: 18px; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer nav a { text-decoration: none; letter-spacing: .08em; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-note { width: 100%; padding-top: 26px; border-top: 1px solid #47453f; color: #b8b3a6; font-size: 13px; }

/* Tour page */
.tour-photo { aspect-ratio: 16 / 8; max-height: 78vh; width: 100%; }
.tour-head { padding-block: clamp(44px, 7vw, 88px) clamp(32px, 4vw, 52px); }
.tour-head h1 { max-width: 13em; font-size: clamp(42px, 6vw, 80px); }
.tour-head .location { margin-top: 20px; color: var(--sumi-soft); }

.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  padding-bottom: var(--section);
}
.tour-main > section + section { margin-top: clamp(60px, 8vw, 104px); }
.tour-main h2 { margin-bottom: 26px; font-size: clamp(31px, 3.4vw, 44px); }
.tour-main h2.eyebrow { margin-bottom: 22px; font-family: var(--sans); font-size: 12px; line-height: 1.75; }
.tour-main .lead + p { margin-top: 22px; color: var(--sumi-soft); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.gallery .ph { aspect-ratio: 1 / 1; }
.gallery .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.programme li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.programme li:last-child { border-bottom: 1px solid var(--line); }
.programme .step { padding-top: 3px; font-size: 13px; letter-spacing: .1em; color: var(--sumi-soft); }
.programme h3 { margin-bottom: 6px; font-size: 25px; }
.programme p { font-size: 16px; color: var(--sumi-soft); }
.sample-note { margin-top: 18px; font-size: 14.5px; color: var(--sumi-soft); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; }
.facts div { padding-block: 18px; border-top: 1px solid var(--line); }
.facts dt { margin-bottom: 2px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sumi-soft); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; }

.summary-card { position: sticky; top: 28px; padding: 36px 32px; border: 1px solid var(--line); background: var(--kinari); }
.summary-card .price { font-family: var(--serif); font-size: 38px; line-height: 1.1; }
.summary-card .price-unit { margin-bottom: 24px; font-size: 15px; color: var(--sumi-soft); }
.summary-card ul { margin-bottom: 26px; border-top: 1px solid var(--line); font-size: 15.5px; }
.summary-card li { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.summary-card li span:first-child { color: var(--sumi-soft); }
.summary-card .button { display: block; width: 100%; }
.summary-card .small { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--sumi-soft); }

/* Booking area */
.book-section { padding-block: clamp(72px, 10vw, 136px); background: var(--kinari); scroll-margin-top: 0; }
.book-inner { max-width: 880px; margin-inline: auto; }
.book-head { margin-bottom: 40px; text-align: center; }
.book-head h2 { margin-bottom: 14px; }
#booking-area { width: 100%; }
.book-note { color: var(--sumi-soft); }
#bokun-live { width: 100%; padding: clamp(32px, 5vw, 56px) 16px; background: var(--paper); text-align: center; }

/* Restyles the official Bókun button; the ID + class outranks the #id rules in its embed code. */
#bokun-live .bokunButton {
  /* Narrow enough to stay clear of Bókun's 88px cart frame, which sits on the right edge */
  min-width: min(280px, calc(100vw - 176px));
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}
#bokun-live .bokunButton:hover,
#bokun-live .bokunButton:active { background: var(--green-soft); border-color: var(--green-soft); }
#bokun-live .bokunButton:disabled,
.button.bokunButton:disabled { background: var(--green); border-color: var(--green); opacity: .55; cursor: default; }

/* Shown behind the widget's transparent iframe, so it is covered as soon as the widget paints. */
#bokun-modal-container::before {
  content: 'Opening availability…';
  position: fixed;
  z-index: -1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  color: var(--kinari);
  font-family: var(--serif);
  font-size: 24px;
  pointer-events: none;
}
#bokun-modal-container::after {
  content: '';
  position: fixed;
  z-index: -1;
  top: calc(50% - 32px);
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(243, 238, 227, .3);
  border-top-color: var(--kinari);
  border-radius: 50%;
  pointer-events: none;
  animation: booking-spin 1.1s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #bokun-modal-container::after { animation: none; }
}

.demo-booking { padding: clamp(24px, 4vw, 48px); border: 1px dashed var(--sumi-soft); background: var(--paper); }
.demo-flag {
  margin-bottom: 30px;
  padding: 10px 14px;
  background: var(--sumi);
  color: var(--kinari);
  font-size: 13.5px;
  line-height: 1.5;
}
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 36px; }
.field-label { display: block; margin: 0 0 10px; padding: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sumi-soft); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.demo-booking input[type='date'] {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--sumi-soft);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.time-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.time-options label { position: relative; cursor: pointer; }
.time-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.time-options span { display: block; padding: 12px 8px; border: 1px solid var(--sumi-soft); line-height: 26px; text-align: center; }
.time-options input:checked + span { border-color: var(--green); background: var(--green); color: var(--paper); }
.time-options input:focus-visible + span { outline: 2px solid var(--green-soft); outline-offset: 3px; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; height: 52px; border: 1px solid var(--sumi-soft); text-align: center; }
.stepper button { height: 100%; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.demo-total { align-self: end; padding-bottom: 2px; }
.demo-total strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.15; }
.demo-total small { font-size: 14px; color: var(--sumi-soft); }
.demo-booking .button { width: 100%; margin-top: 32px; letter-spacing: .12em; }
.demo-message { min-height: 1.6em; margin-top: 16px; font-size: 15px; line-height: 1.6; }
.demo-message[data-state='error'] { color: var(--error); }

.widget-info { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--sumi-soft); }
.widget-info div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.widget-info dl { margin: 0; }
.widget-info dt { min-width: 7.5em; }
.widget-info dd { margin: 0; color: var(--sumi); }
#widget-status[data-state='error'] { color: var(--error); }

.mobile-cta { display: none; }

/* Keeps the footer links and summary card clear of Bókun's cart frame while scrolling */
@media (min-width: 761px) and (max-width: 1351px) {
  .has-mobile-cta .site-footer nav { padding-right: 56px; }
}
@media (min-width: 1021px) and (max-width: 1100px) {
  .summary-card { margin-right: 8px; }
}

/* Tablet */
@media (max-width: 1020px) {
  .tour-layout { grid-template-columns: 1fr; }
  .summary-card { display: none; }
  .mobile-cta {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper);
    transition: transform .2s;
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta .price { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
  .mobile-cta small { display: block; font-size: 12.5px; line-height: 1.3; color: var(--sumi-soft); }
  .mobile-cta .button { flex: none; min-height: 48px; padding: 12px 20px; font-size: 12px; letter-spacing: .14em; }
  .has-mobile-cta .site-footer { padding-bottom: 120px; }
  /* Bókun's transparent cart frame would otherwise cover the right side of the mobile CTA */
  .has-mobile-cta .bokun-widgets-cart-wrapper { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
  .zen-feature { grid-template-columns: 1fr; }
  .zen-feature .ph { min-height: 0; aspect-ratio: 3 / 2; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding-block: 18px; }
  .logo { width: 96px; }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 41;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .2s, top .2s; }
  .nav-toggle span:nth-child(1) { top: 18px; }
  .nav-toggle span:nth-child(2) { top: 26px; }
  .nav-toggle[aria-expanded='true'] { color: var(--paper); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
  .site-nav {
    display: none;
    position: fixed;
    z-index: 40;
    inset: 0;
    padding: 96px var(--gutter);
    background: var(--green);
    color: var(--paper);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 26px; }
  .site-nav a { font-family: var(--serif); font-size: 32px; letter-spacing: 0; text-transform: none; }
  .concept, .tailor { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; gap: 44px; }
  .card .ph { aspect-ratio: 4 / 3; }
  .tailor .ph { order: -1; }
  .tour-photo { aspect-ratio: 4 / 3; max-height: none; }
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .programme li { grid-template-columns: 1fr; gap: 4px; }
}

/* Management preview: recorded booking demo */
.book-section .book-inner { max-width: 1120px; }
.demo-video-flag { margin-bottom: 28px; padding: 12px 18px; background: var(--sumi); color: var(--kinari); font-size: 15px; line-height: 1.6; text-align: center; }
.demo-videos { display: grid; grid-template-columns: 1.6fr .462fr; gap: 24px; align-items: start; }
.demo-videos figure { margin: 0; }
.demo-videos video { display: block; width: 100%; height: auto; background: var(--sumi); }
.demo-videos figcaption { margin-top: 10px; font-size: 14px; color: var(--sumi-soft); }
.demo-video-note { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--sumi-soft); }
.summary-card .button { padding-inline: 12px; letter-spacing: .06em; line-height: 1.5; }
@media (max-width: 1020px) {
  .mobile-cta .button { flex: 0 0 150px; padding: 8px 12px; letter-spacing: .04em; line-height: 1.4; word-break: keep-all; }
  .mobile-cta small { white-space: nowrap; }
}
@media (max-width: 760px) {
  .demo-videos { grid-template-columns: 1fr; }
  .demo-videos figure:last-child { order: -1; width: 82%; margin-inline: auto; }
}
