/* Lulu's Bali — public site. Colours, type and wordmark match the guest guide. */
:root {
  --bg: #fdf5f0;
  --surface: #ffffff;
  --sunk: #f7eae1;
  --fg: #474942;
  --muted: #68696b;
  --line: #e6d7ca;
  --hair: #f0e3d9;
  --clay: #cd9066;
  --accent: #5b462b;
  --accent-ink: #fdf5f0;
  --accent-soft: #f3d4b7;
  --gold: #d2a861;
  --green: #0e7658;
  --mark: #bf6d00;
  --display: "Playfair Display", Georgia, serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1rem/1.72 var(--mono); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; color: var(--fg); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mark); margin-bottom: .9em; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 42em; }

.wordmark {
  display: inline-block; aspect-ratio: 249.54 / 118.09;
  background: currentColor;
  -webkit-mask: url(images/lulus-wordmark.svg) no-repeat center / contain;
          mask: url(images/lulus-wordmark.svg) no-repeat center / contain;
}

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(253, 245, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--mark); display: flex; }
.logo .wordmark { height: 34px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-size: .88rem; }
.nav a:hover { color: var(--mark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--fg); cursor: pointer; }

.btn { display: inline-block; padding: 11px 22px; border-radius: 100px; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; border: 1px solid var(--accent); cursor: pointer; font: 500 .92rem var(--mono); }
.btn:hover { background: #3f301d; }
.btn-ghost { background: transparent; color: var(--accent) !important; }
.btn-ghost:hover { background: var(--accent-soft); }

.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,7,3,.72), rgba(12,7,3,.15) 55%, rgba(12,7,3,.25)); }
.hero .wrap { position: relative; z-index: 1; padding: 0 0 64px; }
.hero h1 { margin: 0; color: var(--mark); }
.hero h1 .wordmark { height: clamp(90px, 18vw, 170px); filter: drop-shadow(0 2px 18px rgba(12,7,3,.75)); }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero p { font-size: 1.05rem; max-width: 34em; margin-top: 18px; color: #fdf5f0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn-ghost { color: #fff !important; border-color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); }

section { padding: 88px 0; }
section.alt { background: var(--sunk); }

.shot { border-radius: var(--r); overflow: hidden; background: var(--accent-soft); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.grid-2 { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: center; }
.pair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.pair .shot { aspect-ratio: 3 / 4; }
.wide .shot, .shot.wide { aspect-ratio: 3 / 2; }

.note { margin-top: 32px; padding: 18px 22px; border-left: 3px solid var(--green); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.list-clean li span:first-child { font-weight: 500; color: var(--fg); }
.list-clean li span:last-child { color: var(--muted); text-align: right; }

.book { background: #2a2b26; color: var(--bg); }
.book h2 { color: var(--bg); }
.book .eyebrow { color: var(--gold); }
.book .lead { color: #c9c2b8; }
.book-form { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; color-scheme: light; }
.book-form label, .book-form .field { display: grid; gap: 6px; font-size: .82rem; color: #c9c2b8; }
.book-form .full { grid-column: 1 / -1; }
.book-form input, .book-form select, .book-form textarea { font: .95rem var(--mono); padding: 12px 14px; border-radius: 10px; border: 1px solid #fff; background: #fff; color: #2a2b26; }
.book-form ::placeholder { color: #8a8378; }
.book-form .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.book .btn { background: var(--gold); border-color: var(--gold); color: #2a2b26 !important; }
.book .btn:hover { background: #e0bb7a; }
.book .btn-ghost { background: transparent; color: var(--bg) !important; border-color: var(--bg); }
.book .btn-ghost:hover { background: rgba(255,255,255,.08); }
.ota-links { margin-top: 24px; font-size: .88rem; color: #c9c2b8; }
.ota-links a { color: var(--bg); }

/* Date range calendar */
.dates-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; cursor: pointer; font: .95rem var(--mono); padding: 12px 14px; border-radius: 10px; border: 1px solid #fff; background: #fff; color: #2a2b26; }
.dates-btn:hover, .dates-btn[aria-expanded="true"] { border-color: var(--gold); }
.dates-btn svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; }
.dates-btn.empty #dates-text { color: #8a8378; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-width: 380px; color: #2a2b26; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: .95rem; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #2a2b26; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow span { font-size: .68rem; color: #8a8378; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 8px; background: transparent; color: #2a2b26; font: .88rem var(--mono); cursor: pointer; }
.cal-day:hover:not(:disabled) { background: var(--sunk); }
.cal-day:disabled { color: #cfc8be; cursor: default; }
.cal-day.in-range { background: rgba(210, 168, 97, .3); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--gold); color: #2a2b26; font-weight: 500; }
.cal-day.today { box-shadow: inset 0 0 0 1px #8a8378; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.cal-link { background: none; border: 0; color: var(--muted); font: .8rem var(--mono); text-decoration: underline; cursor: pointer; padding: 6px; }
.cal-done { background: var(--gold); border: 0; border-radius: 100px; color: #2a2b26; font: 500 .82rem var(--mono); padding: 7px 16px; cursor: pointer; }

/* Cafe menu (markup comes from the guest guide) */
.menu-section .wrap { max-width: 860px; }
.fineprint { font-size: .86rem; color: var(--muted); }
.menujump { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 1.2rem; }
.menujump a { white-space: nowrap; font-size: .72rem; letter-spacing: .03em; text-decoration: none; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: .32rem .75rem; }
.menujump a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.pricenote { font-size: .8rem; line-height: 1.6; color: var(--muted); background: var(--sunk); border: 1px solid var(--hair); border-radius: var(--r); padding: .7rem .9rem; margin: 0 0 .5rem; }
.pricenote b { color: var(--fg); }
.family { display: flex; align-items: center; gap: .8rem; margin: 2.8rem 0 .2rem; }
.family::before, .family::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.family span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.course { margin: 1.5rem 0 2rem; scroll-margin-top: 80px; }
.course > h3 { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--fg); margin: 0 0 .9rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent); }
.course h4 { font-weight: 500; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--clay); margin: 1.2rem 0 .4rem; }
.course h4:first-of-type { margin-top: .2rem; }
.course .grouphint { font-size: .86rem; color: var(--muted); margin: -.3rem 0 .9rem; }
.course > .menu:last-child, .course > ul:last-child { margin-bottom: 0; }
.menu { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.menu > li { padding: .75rem 0; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 1fr 4.6rem; column-gap: 1rem; align-items: baseline; }
.menu .row { display: contents; }
.menu > li > p, .menu > li > .macros { grid-column: 1; }
.menu .name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.menu .price { font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--accent); text-align: right; }
.menu p { margin: .3rem 0 0; font-size: .86rem; color: var(--muted); }
.menu .macros { display: block; margin-top: .3rem; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.pick h4:first-child { margin-top: 0; }
.pick .menu { margin-bottom: 1.2rem; }
@media (min-width: 620px) { .picks { columns: 2; column-gap: 2.5rem; } .pick { break-inside: avoid; } }

footer { padding: 40px 0; font-size: .85rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .wordmark { height: 26px; color: var(--mark); }

@media (max-width: 860px) {
  .grid-2, .book-form { grid-template-columns: 1fr; }
  .grid-2 > .media { order: -1; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  section { padding: 60px 0; }
  .grid-2 { gap: 28px; }
  .cal { max-width: none; }
}
