/* Azure Paradise Maldives — single stylesheet. Tokens first, then base, then sections. */
:root {
  --ink: #0c1f26; --ink-2: #3a525b; --deep: #0b4f5a; --turq: #1aa6b0; --aqua: #bfe6e3;
  --sand: #f5efe4; --sand-2: #e9dfcc; --white: #fff;
  --gold: #8a6420; --gold-l: #d6b373;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --pad: clamp(20px, 5vw, 72px); --ease: cubic-bezier(.22, 1, .36, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 72px; --s6: clamp(72px, 9vw, 128px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-variant-numeric: lining-nums; margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--sand); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
section { position: relative; padding-block: var(--s6); }
.dark { background: var(--ink); color: var(--sand); }
.deep { background: var(--deep); color: var(--sand); }
.label { font: 600 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 12px; align-items: center; margin-bottom: var(--s3); }
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.dark .label, .deep .label { color: var(--gold-l); }
h2 { font: 400 clamp(2.4rem, 5.5vw, 5rem)/1.02 var(--serif); letter-spacing: -.01em; max-width: 16ch; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
.dark h2 em, .deep h2 em { color: var(--gold-l); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 56ch; color: var(--ink-2); }
.dark .lead, .deep .lead { color: rgba(245, 239, 228, .82); }

/* Photo placeholder: gradient + slot name until a real photo exists */
.ph { position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate;
  background: linear-gradient(160deg, #0b4f5a 0%, #1aa6b0 48%, #bfe6e3 78%, #f1e4c8 100%); }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 80% at 85% 0%, rgba(255, 255, 255, .38), transparent 60%); }
.ph::before { content: attr(data-slot); position: absolute; left: 16px; bottom: 14px; z-index: 0; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: var(--deep); }
.herovid { opacity: 0; transition: opacity 1.2s ease; } .herovid.on { opacity: 1; }
.reel video { cursor: pointer; }
.vcard .ph .alt { opacity: 0; transition: opacity .7s var(--ease); }
.vcard .ph:hover .alt, .vcard .ph:focus-within .alt { opacity: 1; }
@media (hover: none) { .vcard .ph .alt { animation: altfade 9s ease-in-out infinite; } }
@keyframes altfade { 0%, 38% { opacity: 0; } 48%, 88% { opacity: 1; } 98%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vcard .ph .alt { animation: none; } }
.r169 { aspect-ratio: 16/9; } .r45 { aspect-ratio: 4/5; } .r32 { aspect-ratio: 3/2; } .r916 { aspect-ratio: 9/16; } .r11 { aspect-ratio: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1px solid currentColor; background: transparent; text-decoration: none; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); touch-action: manipulation; }
.btn.solid { background: var(--gold-l); border-color: var(--gold-l); color: var(--ink); }
.btn.solid:hover { background: var(--white); border-color: var(--white); }
.btn:hover { background: rgba(255, 255, 255, .14); }
.btn.dk { color: var(--ink); } .btn.dk:hover { background: var(--ink); color: var(--sand); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Loader */
#loader { display: none; position: fixed; inset: 0; z-index: 300; background: var(--deep); color: var(--sand); place-items: center; }
.js #loader { display: grid; } .no-motion #loader { display: none; }
#loader .n { font: 300 clamp(5rem, 18vw, 14rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
#loader .t { position: absolute; bottom: 8vh; font: 600 .75rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .7; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 18px var(--pad); color: var(--white); transition: background .4s var(--ease), color .4s var(--ease); }
.nav.scrolled { background: rgba(245, 239, 228, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); padding-block: 12px; box-shadow: 0 1px 0 rgba(12, 31, 38, .08); }
.logo { font: 500 1.5rem/1 var(--serif); letter-spacing: .02em; text-decoration: none; white-space: nowrap; padding-block: 11px; }
.logo b { font-weight: 600; color: var(--gold-l); } .nav.scrolled .logo b { color: var(--gold); }
.links { display: none; gap: 32px; }
.links a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 11px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.links a:hover::after { right: 0; }
.nav-r { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; min-width: 44px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .8rem; letter-spacing: .08em; }
.lang button[aria-pressed="true"] { background: currentColor; }
.nav:not(.scrolled) .lang button[aria-pressed="true"] span { color: var(--deep); }
.nav.scrolled .lang button[aria-pressed="true"] span { color: var(--sand); }
.nav .btn { min-height: 44px; padding: 0 22px; display: none; }
.burger { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.burger i { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }
.menu { position: fixed; inset: 0; z-index: 99; background: var(--deep); color: var(--sand); display: none; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--pad); }
.menu.open { display: flex; }
.menu a { font: 400 clamp(2.4rem, 11vw, 4rem)/1.2 var(--serif); text-decoration: none; padding: 6px 0; }
@media (min-width: 960px) { .links { display: flex; } .burger { display: none; } .nav .btn { display: inline-flex; } .menu { display: none !important; } }

/* Hero */
.hero { min-height: 100svh; padding: 0; display: flex; align-items: flex-end; color: var(--white); background: var(--deep); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; border-radius: 0; will-change: transform; }
.hero .bg::after { background: linear-gradient(90deg, rgba(8, 28, 34, .5) 0%, rgba(8, 28, 34, .18) 55%, rgba(8, 28, 34, 0) 100%), linear-gradient(180deg, rgba(8, 28, 34, .35) 0%, rgba(8, 28, 34, 0) 30%, rgba(8, 28, 34, .45) 100%); }
.hero .bg::after, .xcard .ph::after { z-index: 2; } /* overlays must sit above the photo, not under it */
.hero h1, .hero p { text-shadow: 0 2px 24px rgba(8, 28, 34, .35); }
.hero .bg::before { left: var(--pad); bottom: 32px; }
.hero .in { position: relative; z-index: 2; width: 100%; padding-block: 140px 112px; }
.eyebrow { font: 600 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s3); color: var(--gold-l); }
h1 { font: 300 clamp(3.2rem, min(11vw, 15svh), 10.5rem)/.92 var(--serif); letter-spacing: -.02em; }
h1 .l { display: block; overflow: hidden; padding-bottom: .08em; }
h1 .l > span { display: block; }
h1 .l:last-child { font-style: italic; color: var(--gold-l); }
.hero .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-top: var(--s4); }
.hero p { max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.scrollcue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; display: none; flex-direction: column; align-items: center; gap: 10px; font: 600 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.scrollcue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--white), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 700px) and (min-height: 600px) { .scrollcue { display: flex; } }

/* Manifesto + pillars */
.mani { font: 400 clamp(1.9rem, 4.6vw, 4rem)/1.18 var(--serif); max-width: 24em; letter-spacing: -.005em; }
.mani .w { color: rgba(12, 31, 38, .55); transition: color .4s ease; } /* dim but still >=3:1 for large text */
.mani .w.on { color: var(--ink); }
.no-motion .mani .w { color: var(--ink); }
.pillars { display: grid; gap: var(--s4); margin-top: var(--s5); }
.pillar { border-top: 1px solid rgba(12, 31, 38, .22); padding-top: var(--s3); }
.pillar h3 { font: 500 1.7rem/1.15 var(--serif); margin-bottom: 10px; }
.pillar .no { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: var(--s2); }
.pillar p { color: var(--ink-2); max-width: 36ch; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

/* Stats */
.stats { padding-block: clamp(80px, 9vw, 136px); overflow: hidden;
  background: radial-gradient(60% 120% at 88% 0%, rgba(26, 166, 176, .38), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(214, 179, 115, .14), transparent 60%), var(--deep); }
.stats ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
.stats li { position: relative; padding-top: var(--s3); }
.stats li::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--gold-l), rgba(214, 179, 115, .12)); transform-origin: left; transition: transform 1.3s var(--ease); }
.js:not(.no-motion) .stats li:not(.in)::before { transform: scaleX(0); }
.stats .no { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .24em; color: var(--gold-l); margin-bottom: var(--s3); }
.stats .num { display: flex; align-items: flex-start; font: 300 clamp(4.5rem, 10vw, 9.5rem)/.9 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; color: var(--sand); }
.stats .num sup { font-size: .3em; line-height: 1; letter-spacing: 0; margin: .5em .12em 0; color: var(--gold-l); }
.stats .num sup:first-child { margin-left: 0; }
.stats .cap { display: block; margin-top: var(--s3); font: 600 .78rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 239, 228, .85); }
@media (min-width: 800px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }

/* Location */
.loc { display: grid; gap: var(--s5); align-items: center; }
.loc .facts { margin-top: var(--s4); display: grid; gap: 14px; }
.loc .facts li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(12, 31, 38, .15); }
.loc .facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); transform: translateY(-1px); }
.loc small { display: block; margin-top: 12px; color: var(--ink-2); }
@media (min-width: 900px) { .loc { grid-template-columns: 1fr 1.1fr; gap: var(--s6); } }

/* Villas */
.villas { padding-block: var(--s6); }
.villas .head { padding-bottom: var(--s5); }
.track { display: grid; gap: var(--s5); padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.vcard { display: grid; gap: var(--s2); align-content: start; }
.vcard .ph { aspect-ratio: 16/10; }
.vcard h3 { font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.05 var(--serif); }
.price { font: 500 1.9rem/1 var(--serif); color: var(--gold-l); font-variant-numeric: lining-nums tabular-nums; }
.price small { font: 400 .9rem var(--sans); opacity: .75; margin-left: 6px; }
.vcard p { color: rgba(245, 239, 228, .8); max-width: 40ch; }
.vcard ul { display: grid; gap: 6px; font-size: .98rem; }
.vcard li { display: flex; gap: 12px; } .vcard li::before { content: "✓"; color: var(--gold-l); }
@media (min-width: 700px) {
  .vcard { grid-template-columns: 1.1fr 1fr; column-gap: var(--s4); align-items: center; }
  .vcard .ph { grid-row: 1 / span 5; }
  .vcard > :not(.ph) { grid-column: 2; }
}
/* Tall desktop screens: the section pins and the three cards rise in, ending side by side (see app.js) */
@media (min-width: 1100px) and (min-height: 700px) {
  .villas { padding-block: 0; }
  .vpin { height: 100vh; padding: 80px 0 44px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .villas .head { padding-bottom: var(--s3); width: 100%; }
  .villas .head h2 { max-width: none; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  .villas .head .label { margin-bottom: var(--s2); }
  .track { grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
  .vcard { grid-template-columns: none; align-items: start; }
  .vcard > :not(.ph) { grid-column: auto; } .vcard .ph { grid-row: auto; aspect-ratio: 16/9; }
  .vcard h3 { font-size: clamp(1.7rem, 2.1vw, 2.1rem); }
  .vcard ul { gap: 4px; font-size: .92rem; }
}
@media (min-width: 1100px) and (min-height: 700px) and (max-height: 820px) { .vcard p { display: none; } }

/* Experiences */
.xgrid { display: grid; gap: var(--s3); margin-top: var(--s5); }
.xcard { position: relative; border-radius: var(--r); overflow: hidden; color: var(--white); min-height: 360px; display: flex; align-items: flex-end; }
.xcard .ph { position: absolute; inset: 0; border-radius: 0; }
.xcard .ph::after { background: linear-gradient(180deg, rgba(8, 28, 34, 0) 20%, rgba(8, 28, 34, .85) 100%); }
.xcard .tx { position: relative; z-index: 2; padding: var(--s3); }
.xcard h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: 8px; }
.xcard p { max-width: 34ch; font-size: .98rem; color: rgba(255, 255, 255, .9); }
.xcard .ph img { transition: transform 1.2s var(--ease); } .xcard:hover .ph img { transform: scale(1.05); }
@media (min-width: 700px) { .xgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .xgrid { grid-template-columns: repeat(4, 1fr); } }
.pkgs { margin-top: var(--s5); display: grid; gap: var(--s3); }
.pkg { border: 1px solid rgba(12, 31, 38, .2); border-radius: var(--r); padding: var(--s3); transition: background .4s var(--ease), color .4s var(--ease); }
.pkg:hover { background: var(--ink); color: var(--sand); }
.pkg h3 { font: 500 1.6rem/1.1 var(--serif); margin-bottom: 8px; }
.pkg p { font-size: .98rem; opacity: .8; }
@media (min-width: 800px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
.marq { overflow: hidden; margin-top: var(--s6); border-block: 1px solid rgba(12, 31, 38, .18); padding-block: 22px; white-space: nowrap; }
.marq div { display: inline-flex; gap: 48px; padding-right: 48px; animation: marq 38s linear infinite; font: 300 clamp(2rem, 4.5vw, 4rem)/1 var(--serif); font-style: italic; }
.marq span::after { content: "✦"; font-style: normal; color: var(--gold); margin-left: 48px; font-size: .5em; vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Films */
.films { display: grid; gap: var(--s4); margin-top: var(--s5); }
.host { display: grid; gap: var(--s3); align-items: center; }
.host .tags { display: flex; gap: 8px; margin-top: var(--s2); }
.tag { border: 1px solid rgba(245, 239, 228, .4); border-radius: 999px; padding: 6px 16px; font-size: .8rem; letter-spacing: .1em; }
.play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.play span { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.play svg { width: 26px; height: 26px; fill: var(--deep); margin-left: 4px; }
.soon { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(8, 28, 34, .6); color: var(--sand); border-radius: 999px; padding: 6px 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.reels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.reel h3 { font: 400 1.15rem/1.2 var(--serif); margin-top: 12px; }
@media (min-width: 900px) { .host { grid-template-columns: 1.3fr 1fr; gap: var(--s5); } .reels { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }

/* Reviews */
.quotes { display: grid; gap: var(--s4); margin-top: var(--s5); }
blockquote { margin: 0; background: var(--white); border-radius: var(--r); padding: var(--s4) var(--s3); box-shadow: 0 1px 0 rgba(12, 31, 38, .06); }
blockquote p { font: 400 1.45rem/1.35 var(--serif); }
blockquote footer { margin-top: var(--s3); font-size: .9rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
blockquote footer::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.stars { color: var(--gold); letter-spacing: .15em; margin-bottom: var(--s2); }
.note { margin-top: var(--s3); font-size: .9rem; color: var(--ink-2); font-style: italic; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact { overflow: hidden; }
.contact .bg { position: absolute; inset: 0; border-radius: 0; opacity: .35; }
.contact .bg::before { right: var(--pad); left: auto; }
.contact .wrap { position: relative; z-index: 2; display: grid; gap: var(--s5); }
.chatcta { margin-top: var(--s4); }
form { display: grid; gap: var(--s3); background: rgba(245, 239, 228, .96); color: var(--ink); padding: var(--s4) var(--s3); border-radius: var(--r); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.fld { display: grid; gap: 6px; align-content: start; min-width: 0; }
/* iOS Safari gives date inputs their own intrinsic width; force them to fit the box */
.fld input, .fld select, .fld textarea { display: block; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; font-size: 1rem; }
.fld input[type="date"] { text-align: left; min-height: 48px; }
.fld input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.2em; }
form .fld select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c1f26' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.fld label { font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(12, 31, 38, .3); border-radius: 12px; background: var(--white); }
.fld textarea { min-height: 110px; resize: vertical; }
.fld .err { color: #a3261c; font-size: .88rem; }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: #a3261c; }
.ok { display: none; text-align: center; padding: var(--s4) var(--s3); background: rgba(245, 239, 228, .96); color: var(--ink); border-radius: var(--r); }
.ok h3 { font: 400 2.2rem/1.1 var(--serif); margin-bottom: 12px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .contact .wrap { grid-template-columns: 1fr 1.1fr; align-items: start; gap: var(--s6); } form { padding: var(--s4); } }

footer.site { background: var(--ink); color: rgba(245, 239, 228, .7); padding: var(--s4) var(--pad); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Chat */
.chatbtn { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; background: var(--deep); color: var(--white); font-weight: 600; cursor: pointer; box-shadow: 0 10px 30px rgba(8, 28, 34, .35); transition: transform .3s var(--ease); }
.chatbtn:hover { transform: translateY(-2px); }
.chatbtn.away { opacity: 0; pointer-events: none; transition: opacity .25s; } /* phones: don't cover the enquiry form */
.chatbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.chatpanel { position: fixed; right: 20px; bottom: 90px; z-index: 160; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 110px)); background: var(--white); border-radius: 20px; box-shadow: 0 24px 70px rgba(8, 28, 34, .4); display: none; flex-direction: column; overflow: hidden; }
.chatpanel.open { display: flex; }
.chatpanel header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 18px; background: var(--deep); color: var(--white); }
.chatpanel header strong { font: 500 1.15rem var(--serif); }
.chatpanel header div { display: flex; gap: 6px; align-items: center; }
.chatpanel header a { font-size: .8rem; color: var(--aqua); }
.chatpanel header button { width: 40px; height: 40px; border: 0; background: none; color: inherit; font-size: 1.5rem; cursor: pointer; }
.chatpanel iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 520px) { .chatpanel { inset: 0; width: 100%; height: 100%; border-radius: 0; } .chatbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .chatbtn { padding: 0 17px; } }

@media (prefers-reduced-motion: reduce) { .marq div, .scrollcue::after { animation: none; } * { scroll-behavior: auto !important; } }
@media (pointer: fine) { .cursor { position: fixed; z-index: 400; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(214, 179, 115, .85); pointer-events: none; transition: scale .25s var(--ease); } .cursor.big { scale: 4; } }
@media (pointer: coarse) { .cursor { display: none; } }
