/* =========================================================================
   LONTAR — public design system. Frangipani cream, lava stone, jungle,
   terracotta, pool turquoise, sunset gold, Bali night indigo. Italiana for
   the voice, Cormorant italic for the whisper, Outfit to read, Plex Mono for
   dates, rates and references.
   ========================================================================= */
:root {
  --cream: #f6f1e7; --cream-2: #efe6d6; --sand: #e8dcc6; --white: #fffcf6; --lava: #2b2622; --lava-2: #5a514a; --mute: #8f857a; --line: rgba(43, 38, 34, .1); --line-2: rgba(43, 38, 34, .2);
  --jungle: #1f3a2e; --moss: #5b7b4f; --terra: #c46a3f; --terra-2: #a5532c; --pool: #3fb6c4; --pool-2: #2a97a6; --gold: #e7a74a; --night: #141a2e; --night-2: #0d1120; --rose: #e9b7a2;
  --fd: 'Italiana', 'Cormorant Garamond', Georgia, serif; --fs: 'Cormorant Garamond', Georgia, serif; --f: 'Outfit', system-ui, sans-serif; --fm: 'IBM Plex Mono', ui-monospace, monospace;
  --e: cubic-bezier(.2, .8, .1, 1); --gut: clamp(18px, 4.4vw, 64px); --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--lava); font: 350 16.5px/1.62 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fd); font-weight: 400; letter-spacing: -.01em; } p { margin: 0; }
a { color: inherit; } img, svg, canvas { display: block; max-width: 100%; } button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--white); } [hidden] { display: none !important; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 8px; }
.it { font-family: var(--fs); font-style: italic; font-weight: 300; letter-spacing: -.01em; } .terra { color: var(--terra); } .poolc { color: var(--pool-2); }
.eyebrow { font: 500 11px/1 var(--fm); letter-spacing: .24em; text-transform: uppercase; color: var(--terra); display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .eyebrow { line-height: 1.55; } .eyebrow::before { flex: none; } } .eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(196, 106, 63, .15); }
.fine { font-size: 13px; color: var(--mute); } .mono { font-family: var(--fm); } .muted { color: var(--mute); } .ink2 { color: var(--lava-2); }
.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; } .hide { display: none !important; }
/* ---------- pills: gradient + shadow, always */
.pill { --py: 15px; --px: 26px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--py) var(--px); border: 0; border-radius: 999px; cursor: pointer; font: 550 15px/1 var(--f); letter-spacing: .015em; text-decoration: none; white-space: nowrap; transition: transform .35s var(--e), box-shadow .35s var(--e), filter .3s; }
.pill i { font-style: normal; transition: transform .4s var(--e); } .pill:hover i { transform: translateX(3px); } .pill:active { transform: scale(.97); } .pill:disabled { opacity: .4; cursor: not-allowed; }
.pill--sm { --py: 10px; --px: 17px; font-size: 13.5px; } .pill--lg { --py: 19px; --px: 32px; font-size: 16.5px; }
.pill--terra { color: #fff; background: linear-gradient(180deg, #e39468 0%, #c46a3f 52%, #a5532c 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 -2px 0 rgba(90, 30, 5, .2) inset, 0 18px 38px -14px rgba(165, 83, 44, .85); } .pill--terra:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 26px 50px -14px rgba(165, 83, 44, 1); }
.pill--pool { color: #fff; background: linear-gradient(180deg, #74d3dd 0%, #3fb6c4 50%, #2a97a6 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 18px 38px -14px rgba(42, 151, 166, .85); } .pill--pool:hover:not(:disabled) { transform: translateY(-2px); }
.pill--lava { color: var(--cream); background: linear-gradient(180deg, #4a423b, #2b2622); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 16px 30px -14px rgba(43, 38, 34, .8); } .pill--lava:hover { transform: translateY(-2px); }
.pill--ghost { color: var(--lava); background: linear-gradient(180deg, #fffcf6, #f1e9da); box-shadow: inset 0 0 0 1.5px var(--line-2), 0 10px 24px -18px rgba(43, 38, 34, .6); } .pill--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lava); transform: translateY(-1px); }
.pill--glass { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45), 0 14px 30px -18px rgba(0, 0, 0, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(180deg, #fffcf6, #f1e9da); color: var(--lava); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 14px var(--f); transition: all .25s var(--e); } .chip:hover { box-shadow: inset 0 0 0 1.5px var(--lava); }
.chip.on { color: #fff; background: linear-gradient(180deg, #e39468, #c46a3f 60%, #a5532c); box-shadow: 0 10px 24px -12px rgba(165, 83, 44, .9); } .chip small { font: 500 11px var(--fm); color: var(--mute); } .chip.on small { color: rgba(255, 255, 255, .78); } .chip:disabled { opacity: .35; cursor: not-allowed; }
/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 18px; padding: 18px var(--gut); color: #fff; transition: background .4s, padding .4s, box-shadow .4s, color .4s; }
.nav.solid { background: rgba(246, 241, 231, .86); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); padding-block: 10px; box-shadow: 0 1px 0 var(--line); color: var(--lava); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; } .brand svg { width: 34px; height: 34px; } .brand b { font: 400 24px/1 var(--fd); letter-spacing: .34em; } .brand small { display: block; margin-top: 5px; font: 500 9px/1 var(--fm); letter-spacing: .3em; text-transform: uppercase; opacity: .65; }
.nav .links { display: flex; gap: 2px; margin-left: auto; }
.nav.solid .pill--glass { color: var(--lava); background: linear-gradient(180deg, #fffcf6, #f1e9da); box-shadow: inset 0 0 0 1.5px var(--line-2); } .nav .links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 450; font-size: 14.5px; opacity: .88; } .nav .links a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav .burger { display: none; } @media (max-width: 980px) { .nav .links { display: none; } .nav .burger { display: inline-flex; margin-left: auto; } .nav .cta { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 70; background: var(--cream); display: grid; align-content: center; gap: 4px; padding: var(--gut); transform: translateY(-100%); transition: transform .5s var(--e); } .drawer.open { transform: none; } .drawer a { font: 400 46px/1.2 var(--fd); text-decoration: none; } .drawer .x { position: absolute; top: 18px; right: var(--gut); }
/* ---------- type & sections */
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; } .sec-h { display: grid; gap: 18px; max-width: 860px; margin-bottom: clamp(36px, 5vw, 70px); }
.h-xl { font-size: clamp(58px, 9.4vw, 164px); line-height: .9; letter-spacing: -.02em; } .h-l { font-size: clamp(44px, 6vw, 96px); line-height: .96; letter-spacing: -.015em; } .h-m { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--lava-2); max-width: 60ch; font-weight: 330; }
.card { border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(43, 38, 34, .45); padding: 28px; }
.deep { background: radial-gradient(70% 60% at 85% 0%, rgba(63, 182, 196, .16), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(196, 106, 63, .2), transparent 60%), var(--night); color: var(--cream); } .deep .lede, .deep .ink2 { color: rgba(246, 241, 231, .74); } .deep .muted, .deep .fine { color: rgba(246, 241, 231, .52); } .deep .eyebrow { color: var(--gold); } .deep .card { background: rgba(246, 241, 231, .05); box-shadow: inset 0 0 0 1px rgba(246, 241, 231, .1); }
.jung { background: radial-gradient(70% 60% at 100% 0%, rgba(231, 167, 74, .16), transparent 60%), var(--jungle); color: var(--cream); } .jung .lede { color: rgba(246, 241, 231, .76); } .jung .eyebrow { color: var(--gold); } .jung .muted, .jung .fine { color: rgba(246, 241, 231, .55); }
/* ---------- forms */
.form { display: grid; gap: 16px; } .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } @media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; } .field > span { font: 500 10.5px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 16px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 16px; transition: box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--terra), 0 0 0 5px rgba(196, 106, 63, .16); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; } .check input { width: 20px; height: 20px; accent-color: var(--terra); margin-top: 2px; flex: none; }
.err { color: var(--terra-2); font-size: 14px; min-height: 1.2em; }
.toasts { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; pointer-events: none; display: grid; justify-items: center; gap: 8px; padding: 20px; } .toast { background: var(--lava); color: var(--cream); padding: 13px 20px; border-radius: 999px; font-weight: 500; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); } .toast--err { background: var(--terra-2); color: #fff; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(20, 26, 46, .45); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; } .modal.is-open { opacity: 1; }
.modal__c { width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--cream); border-radius: 28px; padding: 28px; box-shadow: 0 50px 100px -30px rgba(20, 26, 46, .6); } .modal__c--wide { width: min(880px, 100%); }
.mh { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; } .mh h2 { font-size: 34px; } .mf { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; cursor: pointer; font: 500 14px var(--f); background: linear-gradient(180deg, #fffcf6, #efe6d6); box-shadow: inset 0 0 0 1.5px var(--line-2); } .btn svg { width: 16px; height: 16px; }
.btn--heat, .btn--sea { color: #fff; background: linear-gradient(180deg, #e39468, #c46a3f 55%, #a5532c); box-shadow: 0 12px 24px -12px rgba(165, 83, 44, .9); } .btn--ghost { background: transparent; box-shadow: none; } .btn--icon { padding: 9px; }
/* ---------- footer */
.foot { padding: 90px 0 40px; background: var(--night-2); color: var(--cream); } .foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; } .foot h4 { font: 500 10.5px var(--fm); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 241, 231, .5); margin-bottom: 14px; } .foot a { display: block; color: rgba(246, 241, 231, .78); text-decoration: none; padding: 4px 0; } .foot a:hover { color: var(--gold); }
.foot .big { font: 400 clamp(70px, 17vw, 280px)/.8 var(--fd); letter-spacing: .2em; margin-top: 60px; color: rgba(246, 241, 231, .07); white-space: nowrap; } @media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e), transform 1s var(--e); } [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
/* ---------- villa cards (shared) */
.vcard { display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(43, 38, 34, .5); text-decoration: none; transition: transform .45s var(--e), box-shadow .45s var(--e); } .vcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(43, 38, 34, .55); }
.vcard .art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; } .vcard .art svg { width: 100%; height: 100%; transition: transform 1.2s var(--e); } .vcard:hover .art svg { transform: scale(1.04); }
.vcard .art .tag { position: absolute; top: 14px; left: 14px; font: 500 10px var(--fm); letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: rgba(255, 252, 246, .88); color: var(--lava); } .vcard .art .tag.r { left: auto; right: 14px; }
.vcard .bd { padding: 20px 22px 22px; display: grid; gap: 6px; } .vcard h3 { font-size: 32px; } .vcard .sp { font: 500 12px var(--fm); color: var(--mute); } .vcard .pr { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); } .vcard .pr b { font: 400 26px var(--fd); }
.vcard.busy { opacity: .62; } .vcard.busy:hover { opacity: 1; }
.stars { color: var(--gold); letter-spacing: 2px; }
.badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; font: 500 10px var(--fm); letter-spacing: .08em; text-transform: uppercase; background: var(--cream-2); color: var(--lava-2); } .s-confirmed, .s-done, .s-paid { background: rgba(91, 123, 79, .15); color: #3f5d34; } .s-requested, .s-due { background: rgba(231, 167, 74, .2); color: #8a5a00; } .s-cancelled { background: rgba(165, 83, 44, .12); color: var(--terra-2); }
