/* The public site's design system.
 *
 * Tokens, type scale and components are the Mindfulness marketing palette, so
 * the two products read as one family: a violet ground with an amber call to
 * action. The token names describe the role rather than the hue -- the source
 * site still calls its violets "green" because it was recoloured without
 * renaming, and inheriting that would make every later change a guess.
 *
 * Fraunces carries the headings, Mulish the body. Both are loaded from Google
 * Fonts in the chrome template rather than self-hosted, matching the source. */

:root {
  --bg: #F4F3FA;
  --bg-warm: #FCFCFD;
  --surface: #FFFFFF;
  --surface-tint: #EEEAF8;
  --surface-sage: #E8E6F4;

  --ink: #15163D;
  --ink-soft: #40406B;
  --muted: #6F7391;
  --muted-soft: #B3B3CF;

  --band: #7361FA;
  --band-deep: #5A38E8;
  --violet: #4B2FD4;
  --violet-bright: #8B6EFA;
  --violet-soft: #EDE8FF;
  --leaf: #2E7D5B;

  /* The call to action is amber on purpose. Against a violet ground it is the
     only colour on the page that is not a shade of the background, which is
     what makes a button read as a button without a border. */
  --cta: #F0AA00;
  --cta-deep: #D4920A;
  --cta-bright: #F5C040;
  --cta-tint: #FEF4D6;
  --cta-ink: #B87D08;

  --line: rgba(112, 78, 250, .10);
  --line-strong: rgba(112, 78, 250, .18);

  --radius: 22px;
  --radius-lg: 30px;
  --radius-pill: 44px;
  --shadow-sm: 0 4px 18px rgba(112, 78, 250, .06);
  --shadow: 0 18px 50px rgba(112, 78, 250, .10);
  --shadow-cta: 0 10px 30px rgba(212, 146, 10, .25);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Mulish', -apple-system, system-ui, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
/* Sticky footer.
 *
 * A short page -- contact, a policy, an empty search -- does not fill the
 * viewport, so the footer lands mid-screen with the background showing under
 * it and the page looks truncated. Making the body a full-height column and
 * letting <main> take the slack pushes the footer to the bottom without ever
 * overlapping content on a long page, which position:fixed would.
 *
 * 100dvh rather than 100vh: on mobile Safari the address bar makes 100vh taller
 * than the visible area, which puts a scrollbar on every page that has nothing
 * to scroll. */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > footer.site { flex-shrink: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.pad { padding: 96px 0; }
.pad-sm { padding: 64px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .96rem;
  cursor: pointer;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s,
              background .22s, filter .22s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--cta); color: #fff; box-shadow: 0 4px 18px rgba(240, 170, 0, .25); }
.btn-solid:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(240, 170, 0, .35);
  background: var(--cta-deep);
}
.btn-gold {
  background: linear-gradient(135deg, var(--cta-bright), var(--cta-deep));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-gold:hover:not(:disabled) { transform: translateY(-3px); filter: brightness(1.04); }
.btn-ghost {
  background: transparent;
  color: var(--cta-deep);
  border: 1.5px solid rgba(212, 146, 10, .25);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--cta-tint);
  border-color: transparent;
  transform: translateY(-2px);
}
.btn-quiet {
  background: var(--surface);
  color: var(--violet);
  border: 1.5px solid var(--line-strong);
}
.btn-quiet:hover:not(:disabled) { background: var(--violet-soft); }

/* -------------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .body { padding: 28px 26px; }
.card .body p { color: var(--muted); margin-top: 10px; }
.card figure { margin: 0; aspect-ratio: 4 / 3; background: var(--surface-tint); }
.card figure img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 32px 30px;
}
.panel-tint { background: var(--surface-tint); border-color: rgba(75, 47, 212, .08); }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  background: var(--surface-sage);
  color: var(--violet);
}
.pill-sold { background: #FDE8E8; color: #B42318; }
.pill-open { background: #E3F5EC; color: var(--leaf); }

.price { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 600; }
.strike { color: var(--muted-soft); text-decoration: line-through; font-size: 1rem; margin-right: 8px; }

/* ------------------------------------------------------------------- chrome */

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 250, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
header.site.scrolled { border-bottom-color: var(--line); }
header.site nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
/* Two shapes, two rules. The shipped logo is a 4:1 wordmark, so it is sized by
   height and left to find its own width; a square mark uploaded in the admin is
   sized by width and sits next to the name. Sizing a wordmark by width is what
   renders it as an eight-pixel sliver. */
.brand-wordmark { height: 30px; width: auto; }
.brand-mark { width: 34px; height: auto; }
.brand .name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
footer.site .brand-wordmark { height: 26px; }
footer.site .brand-mark { width: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--violet); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
}
.menu-toggle span + span { margin-top: 5px; }

footer.site {
  background: linear-gradient(155deg, var(--band), var(--band-deep));
  color: #E4E2F8;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}
footer.site h6 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
footer.site a { color: #D4D2F5; transition: color .2s; }
footer.site a:hover { color: #fff; }
footer.site .brand .name { color: #fff; }
footer.site ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-tagline { margin-top: 14px; max-width: 34ch; color: rgba(255, 255, 255, .72); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: .84rem;
  color: #D4D2F5;
}
/* The cookie control reopens the consent gate rather than navigating, so it is
   a button. A dead anchor would put a stop in the tab order that goes nowhere. */
.foot-bottom button {
  background: none;
  border: none;
  color: #D4D2F5;
  font-size: .84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* --------------------------------------------------------------------- hero */

.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero .lead { color: var(--muted); font-size: 1.14rem; margin-top: 20px; max-width: 56ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.band {
  background: linear-gradient(155deg, var(--band), var(--band-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .78); margin-top: 16px; }

/* ------------------------------------------------------------------ gallery */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button {
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface-tint);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(21, 22, 61, .92);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox img { max-height: 86vh; width: auto; border-radius: 12px; }
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}
.lightbox .close { top: 22px; right: 22px; }
.lightbox .prev { left: 22px; }
.lightbox .next { right: 22px; }
.lightbox figcaption { color: rgba(255, 255, 255, .7); text-align: center; margin-top: 14px; }

/* ------------------------------------------------------------ booking panel */

.booking { position: sticky; top: 100px; }
.booking .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking label { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.booking input, .booking select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-warm);
  color: var(--ink);
}
.booking input:focus, .booking select:focus {
  outline: none;
  border-color: var(--violet-bright);
  box-shadow: 0 0 0 3px var(--violet-soft);
}
.booking .field + .field, .booking .row + .field, .booking .field + .row { margin-top: 14px; }

/* The rule above is an adjacent-sibling selector, and the two fields inside a
   .row are adjacent siblings too -- so the right-hand one was picking up 14px
   of top margin and sitting a label's height below its partner. Arrival and
   Departure, Adults and Children: every pair was off by exactly that.
   Cancel it inside the row, where the grid gap already does the spacing. */
.booking .row { align-items: start; }
.booking .row > .field + .field { margin-top: 0; }

/* A date input is not the same height as a select or a text input: Safari and
   Chrome both add the calendar button inside the box and size it from the
   font. Pinning one height across all three is what keeps a two-column row
   looking like a row rather than a staircase. */
.booking input, .booking select { height: 48px; }
.booking textarea { min-height: 48px; }
.booking input[type="date"] { -webkit-appearance: none; appearance: none; }
.booking input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: auto;
  opacity: .55;
  cursor: pointer;
}
.booking input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.booking .lines { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.booking .lines div { display: flex; justify-content: space-between; font-size: .94rem; padding: 5px 0; }
.booking .lines .total {
  font-weight: 800;
  font-size: 1.06rem;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 12px;
}
.booking .lines .off { color: var(--leaf); }
.note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.error { color: #B42318; font-size: .88rem; margin-top: 10px; }
.ok { color: var(--leaf); font-size: .88rem; margin-top: 10px; }

/* ----------------------------------------------------------------- seat bar */

.seats { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.seats .track { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-sage); }
.seats .fill { height: 8px; border-radius: 4px; background: var(--cta); }
.seats span { font-size: .86rem; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pad { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 28px 22px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; }
  .booking { position: static; }
  .band { padding: 48px 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .booking .row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- booking payment choice */
/* The pay-in-full / pay-deposit radios are the only non-text inputs inside
   .booking, and the field styling above is written for text inputs: it would
   stretch a radio button to the full width of the panel. */
.booking .choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.booking .choice input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
  padding: 0;
  accent-color: var(--cta);
}

/* The auth pair in the header.
 *
 * It is rendered twice: as buttons beside the nav on desktop, and as a plain
 * link inside the nav list on phones. Below 900px the list becomes the whole
 * menu, so a button left outside it would be the one control a phone user
 * cannot reach. Exactly one of the two is visible at any width. */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-auth-inline { display: none; }

@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .btn { padding: 12px 22px; }
}
@media (max-width: 900px) {
  .nav-auth { display: none; }
  .nav-auth-inline { display: block; }
  .nav-auth-inline a { color: var(--violet); font-weight: 700; }
}

/* The price table. Two columns on a phone would make every figure unreadable,
   so it scrolls sideways instead of shrinking. */
.rates { overflow-x: auto; }
.rates table { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates th, .rates td { text-align: left; padding: 14px 16px 14px 0; }
.rates thead th {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid var(--line-strong);
}
.rates tbody td { border-bottom: 1px solid var(--line); }
.rates tbody tr:last-child td { border-bottom: none; }
.rates td.num, .rates th.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.rates .name { font-weight: 700; }
.rates .sub { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; }

/* ------------------------------------------------------------------ basket */

.cart-badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px;
  border-radius: 999px; background: var(--cta); color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 1;
}
.btn-sm { padding: 6px 14px; font-size: .82rem; }
.btn-block { display: block; width: 100%; text-align: center; }
