/* Legend company profile (legendtrv.biz). Plain CSS, no build step, no outside requests.
   Look: Malaysia at golden hour. Warm near-black, lamp gold, ivory. Bodoni Moda + Red Hat Text. */

/* fonts: self-hosted, latin subset, variable (one file covers weights 400 to 700) */
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:400 700;font-display:swap;src:url("../assets/fonts/bodoni-moda-latin-var.woff2") format("woff2")}
@font-face{font-family:"Bodoni Moda";font-style:italic;font-weight:400 700;font-display:swap;src:url("../assets/fonts/bodoni-moda-latin-var-italic.woff2") format("woff2")}
@font-face{font-family:"Red Hat Text";font-style:normal;font-weight:400 700;font-display:swap;src:url("../assets/fonts/red-hat-text-latin-var.woff2") format("woff2")}
/* stand-in fonts, shown only while the files above are still loading (a slow connection). They are fonts already on the
   visitor's device (nothing is downloaded), scaled so the words take the same room and sit on the same line
   as in the real fonts. That way lines do not re-wrap and push the page down when the real fonts swap in.
   The numbers were measured on this page's own text (size-adjust = width of the real font / width of the
   stand-in; ascent and descent = the real font's, divided by size-adjust).
   Georgia and Segoe UI cover Windows; Georgia and Arial cover Apple devices. */
@font-face{font-family:"Legend Serif Standin";font-style:normal;font-weight:400 500;src:local("Georgia");size-adjust:105.4%;ascent-override:107.2%;descent-override:38%;line-gap-override:0%}
@font-face{font-family:"Legend Serif Standin";font-style:normal;font-weight:600 700;src:local("Georgia Bold"),local("Georgia-Bold");size-adjust:92%;ascent-override:122.8%;descent-override:43.5%;line-gap-override:0%}
@font-face{font-family:"Legend Serif Standin";font-style:italic;font-weight:400 700;src:local("Georgia Italic"),local("Georgia-Italic");size-adjust:95.3%;ascent-override:118.6%;descent-override:42%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin";font-style:normal;font-weight:400;src:local("Segoe UI");size-adjust:100%;ascent-override:102%;descent-override:31%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin";font-style:normal;font-weight:500;src:local("Segoe UI");size-adjust:103.8%;ascent-override:98.3%;descent-override:29.9%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin";font-style:normal;font-weight:600;src:local("Segoe UI Semibold");size-adjust:104.8%;ascent-override:97.3%;descent-override:29.6%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin";font-style:normal;font-weight:700;src:local("Segoe UI Bold");size-adjust:105.8%;ascent-override:96.4%;descent-override:29.3%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin 2";font-style:normal;font-weight:400;src:local("Arial"),local("ArialMT");size-adjust:98.8%;ascent-override:103.2%;descent-override:31.4%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin 2";font-style:normal;font-weight:500;src:local("Arial"),local("ArialMT");size-adjust:101.6%;ascent-override:100.4%;descent-override:30.5%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin 2";font-style:normal;font-weight:600;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:99.1%;ascent-override:102.9%;descent-override:31.3%;line-gap-override:0%}
@font-face{font-family:"Legend Sans Standin 2";font-style:normal;font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:102.9%;ascent-override:99.1%;descent-override:30.1%;line-gap-override:0%}
/* end of stand-in fonts */

:root{
  --ink:#14110D; --ink2:#1C1813; --ink3:#28211A;
  --on-dark:#F3EBDD; --on-dark2:#CFC3AE;
  --gold1:#E9C46A; --gold2:#D4AF37; --gold3:#C9A227;
  --gold-text:#7A5B0E; --gold-accent:#84620D; /* accent: 4.5:1 or more on every light band */
  --ivory:#F8F4EA; --card:#FFFDF8; --sand:#EFE7D6; --sand2:#E4D8BE;
  --text:#241E16; --text2:#5A4F3E;
  --wa:#0F8045; --wa2:#0B6A39;
  --serif:"Bodoni Moda","Legend Serif Standin",Georgia,serif;
  --sans:"Red Hat Text","Legend Sans Standin","Legend Sans Standin 2","Segoe UI",system-ui,sans-serif;
  --r:16px; --gut:clamp(18px,4vw,40px);
  --shadow:0 18px 40px -18px rgba(40,28,8,.35), 0 4px 10px -4px rgba(40,28,8,.18);
  --shadow-dark:0 30px 60px -24px rgba(0,0,0,.7), 0 8px 18px -8px rgba(0,0,0,.5);
  --ease:cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:17px;line-height:1.6;color:var(--text);background:var(--ivory);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
h1,h2,h3,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
/* keyboard focus: a dark ring on the light bands, a gold ring on the dark bands (a gold ring on ivory is too faint to see) */
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px}
.dark :focus-visible,.foot-main :focus-visible,.b-ink :focus-visible,.reach :focus-visible{outline-color:var(--gold1)}
.btn:focus-visible{border-radius:999px}
.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--gut)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* skip link: first tab stop, shown only when focused */
.skip{position:absolute;left:12px;top:-80px;z-index:100;display:inline-flex;align-items:center;min-height:48px;padding:10px 20px;border-radius:999px;background:var(--ink);color:var(--ivory);font-weight:700;font-size:16px;text-decoration:none}
.skip:focus{top:12px}

/* type. Text boxes are capped in em, not ch: ch follows whatever font is showing, so with a stand-in font
   the boxes would be a different width and the lines would re-wrap when the real font arrives. */
h1,h2,h3,.serif{font-family:var(--serif);font-weight:500;letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(2.7rem,5.6vw,4.75rem);line-height:1.04}
h2{font-size:clamp(2.1rem,3.7vw,3.3rem);line-height:1.1}
h3{font-size:1.6rem;line-height:1.18;font-weight:600}
h1 em,h2 em,h3 em{font-style:italic;font-weight:500;color:var(--gold-accent)}
.dark h1 em,.dark h2 em,.dark h3 em{color:var(--gold1)}
.eye{font-size:16px;font-weight:700;letter-spacing:.11em;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;text-transform:uppercase;color:var(--gold-text);margin-bottom:14px}
.dark .eye{color:var(--gold1)}
.lead{font-size:clamp(1.06rem,1.3vw,1.2rem);max-width:39.6em}
.sec{padding-block:clamp(72px,9vw,128px)}
.sec-head{max-width:760px;margin-bottom:clamp(36px,5vw,64px)}
.sec-head p:not(.eye){margin-top:16px;color:var(--text2);max-width:40.92em}
.dark{background:var(--ink);color:var(--on-dark)}
.dark .sec-head p:not(.eye){color:var(--on-dark2)}
main:focus{outline:none}

/* buttons: always filled, 48px tall. The hover shadow sits on ::after so only transform and opacity move. */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 24px;border:0;border-radius:999px;font:700 16px/1.2 var(--sans);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .25s var(--ease)}
.btn::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 12px 22px -12px rgba(0,0,0,.55);opacity:0;transition:opacity .25s var(--ease);pointer-events:none}
.btn svg{width:20px;height:20px;flex:none;fill:currentColor}
.btn:hover{transform:translateY(-2px)}
.btn:hover::after{opacity:1}
.btn:active{transform:translateY(0)}
.btn:active::after{opacity:0}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover,.btn-wa:active{background:var(--wa2)}
.btn-gold{background:linear-gradient(180deg,var(--gold1),var(--gold3));color:var(--ink)}
.btn-ink{background:var(--ink);color:var(--ivory)}
.btn-ivory{background:var(--ivory);color:var(--ink)}
.btns{display:flex;flex-wrap:wrap;gap:12px}

/* photo boxes: fixed ratio, gradient shows while the photo loads */
.ph{position:relative;overflow:hidden;background:linear-gradient(140deg,#3a2f1f 0%,#8a6a2a 55%,#d9b65c 100%)}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kw{letter-spacing:-.085em}
.hero-card .kw{letter-spacing:-.05em}

/* header */
.top{position:sticky;top:0;z-index:50;background:var(--ivory);box-shadow:0 1px 0 rgba(201,162,39,.45),0 10px 24px -18px rgba(40,28,8,.5)}
.top .wrap{max-width:1340px;display:flex;align-items:center;gap:18px;min-height:76px;position:relative}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;min-height:48px;margin-right:auto}
.brand .tile{width:48px;height:48px;border-radius:12px;background:var(--card);border:1px solid var(--gold3);display:grid;place-items:center;flex:none}
.brand .tile img{width:40px;height:40px;object-fit:contain}
.brand b{font-family:var(--serif);font-weight:600;font-size:1.7rem;letter-spacing:-.01em}
.nav{display:none;gap:22px;margin-right:8px}
.nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:16px;text-decoration:none}
.nav a::after{content:"";position:absolute;left:0;right:0;top:calc(85% - 1.7px);height:2px;background:var(--gold3);transform:scaleX(0);transform-origin:0 50%;transition:transform .3s var(--ease)}
.nav a:hover::after,.nav a:focus-visible::after{transform:scaleX(1)}
.top .hub-btn{display:none}
.menu summary{list-style:none;width:48px;height:48px;border-radius:12px;background:var(--ink);color:var(--ivory);display:grid;place-items:center;cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu summary svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
/* the menu is never taller than the screen: on a short screen (a phone held sideways) it scrolls inside itself */
.menu .panel{position:absolute;right:clamp(18px,4vw,40px);top:calc(100% + 8px);width:min(320px,calc(100vw - 36px));max-height:calc(100vh - 92px);max-height:calc(100dvh - 92px);overflow-y:auto;overscroll-behavior:contain;background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:10px}
.menu .panel a:not(.btn){display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:10px;font-weight:600;text-decoration:none}
.menu .panel a:not(.btn):hover{background:var(--sand)}
.menu .panel .btn{width:100%;margin-top:8px}
@media (min-width:760px){.top .hub-btn{display:inline-flex}.menu .panel .btn{display:none}}
@media (min-width:1280px){.nav{display:flex}.menu{display:none}}
/* the full header (name, "WhatsApp us", menu) needs 457 px, so every phone narrower than 460 gets the compact one */
@media (max-width:459px){.top .wrap{gap:10px}.top .btn-wa{padding-inline:16px}.brand b{font-size:1.4rem}.brand{gap:9px}.top .btn-wa .us{display:none}}
@media (max-width:380px){.top .wrap{padding-inline:14px}.top .btn-wa{width:48px;padding:0;gap:0}.top .btn-wa svg{width:24px;height:24px}.top .btn-wa .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(900px 520px at 88% 8%,rgba(201,162,39,.22),transparent 65%),radial-gradient(700px 500px at 0% 100%,rgba(201,162,39,.10),transparent 70%),var(--ink);padding-block:clamp(56px,7vw,104px) clamp(72px,9vw,128px)}
.hero-grid{display:grid;gap:clamp(40px,5vw,72px);align-items:center}
.hero .lead{margin-top:22px;color:var(--on-dark2)}
.hero .btns{margin-top:30px}
.tags{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:34px;padding-top:22px;border-top:1px solid rgba(233,196,106,.28)}
.tags li{display:flex;align-items:center;gap:9px;font-weight:600;font-size:16px;color:var(--on-dark)}
.tags li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold1);flex:none}
.hero-art{position:relative;max-width:520px;width:100%;justify-self:center}
.hero-art::before{content:"";position:absolute;inset:0;border:1px solid rgba(233,196,106,.6);border-radius:var(--r);transform:translate(16px,16px)}
@media (max-width:420px){.hero-art::before{transform:translate(8px,8px)}}
.hero-ph{aspect-ratio:4/5;border-radius:var(--r);box-shadow:var(--shadow-dark)}
.cap{position:absolute;top:16px;right:16px;background:rgba(20,17,13,.92);color:var(--on-dark);font-size:16px;font-weight:600;padding:4px 12px;border-radius:999px}
@media (max-width:959px){.cap{right:auto;left:16px}}
.hero-card{position:relative;margin:-56px 16px 0;background:var(--card);color:var(--text);border-radius:14px;padding:22px 24px 20px;box-shadow:var(--shadow-dark)}
.hero-card p{font-family:var(--serif);font-style:italic;font-size:1.4rem;line-height:1.25}
.hero-card p.by{margin-top:10px;font-family:var(--sans);font-style:normal;font-size:16px;line-height:1.6;font-weight:700;color:var(--gold-text);letter-spacing:.05em;text-transform:uppercase}
@media (min-width:960px){
  .hero-grid{grid-template-columns:1.08fr .92fr}
  .hero-art{justify-self:end}
  .hero-card{position:absolute;left:-64px;bottom:-36px;margin:0;width:310px}
}

/* at a glance */
.glance{background:var(--ink2);color:var(--on-dark);padding-block:clamp(64px,8vw,112px);border-top:1px solid rgba(233,196,106,.22)}
.glance-grid{display:grid;gap:clamp(36px,5vw,72px);align-items:center}
.glance p:not(.eye){color:var(--on-dark2);margin-top:16px;max-width:34.32em}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tile-n{background:linear-gradient(155deg,var(--gold1) 0%,var(--gold2) 55%,var(--gold3) 100%);color:var(--ink);border-radius:var(--r);padding:26px 22px 22px;box-shadow:var(--shadow-dark);min-height:168px;display:flex;flex-direction:column;justify-content:flex-end}
.tile-n b{font-family:var(--serif);font-weight:600;font-size:clamp(2.6rem,5vw,4.2rem);line-height:1;letter-spacing:-.02em;font-variation-settings:"opsz" 11} /* the text cut of Bodoni: at display size the "4" in 2024 is a hairline that vanishes on gold */
.tile-n b.word{font-size:clamp(1.55rem,2.7vw,2.5rem);font-style:italic;line-height:1.15;padding-bottom:.25em}
.tile-n b i{font-family:var(--sans);font-style:normal;font-weight:500;font-size:.58em;vertical-align:.4em;margin-left:3px}
.tile-n > span{margin-top:8px;font-weight:600;font-size:16px;line-height:1.35}
.tile-n small{margin-top:4px;font-size:16px;font-weight:500;line-height:1.35;color:#3A2C06;text-wrap:balance}
.tile-n{min-width:0}
.glance p.story{font-family:var(--serif);font-weight:500;font-size:clamp(1.38rem,1.9vw,1.62rem);line-height:1.36;letter-spacing:-.005em;color:var(--on-dark);margin-top:24px;max-width:21.437em;text-wrap:pretty}
.glance p.story + p{margin-top:20px;padding-top:20px;border-top:1px solid rgba(233,196,106,.28)}
/* phones: one number per row, so the small lines never squeeze */
@media (max-width:559px){.tiles{grid-template-columns:1fr;gap:12px}.tile-n{min-height:0;padding:24px 22px 20px}.tile-n b{font-size:2.9rem}.tile-n b.word{font-size:2rem}}
@media (min-width:960px){
  .glance-grid{grid-template-columns:.85fr 1.15fr}
  .tiles .tile-n:nth-child(even){transform:translateY(28px)}
}

/* what we do: four tall cards, four colours, each ends in a photo */
.cards{display:grid;gap:24px}
.biz{display:flex;flex-direction:column;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);background:var(--card)}
.biz .body{padding:28px 24px 26px;display:flex;flex-direction:column;flex:1}
.biz .kick{font-family:var(--serif);font-style:italic;font-size:1.15rem;color:var(--gold-text);margin-bottom:10px}
.biz p:not(.kick){margin-top:12px;font-size:16.5px;color:var(--text2)}
.biz .btn{margin-top:auto;width:100%;padding-inline:14px}
.biz .body > p:last-of-type{margin-bottom:24px}
.biz .ph{aspect-ratio:4/3}
.biz .ph figcaption{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:4px 12px;border-radius:14px;font-size:16px;font-weight:600;line-height:1.3;color:var(--on-dark);background:rgba(20,17,13,.92);text-wrap:balance}
/* cards without a photo end in a drawing or a printed list of the same size */
.biz .end{aspect-ratio:4/3;display:flex;flex-direction:column;justify-content:center}
.biz .draw{background:var(--ink);color:var(--on-dark);padding:16px 10px}
.draw > div{display:grid;gap:8px}
.draw .r{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:11px 10px;border-radius:12px;background:var(--ink3);font-size:16px;font-weight:600;line-height:1.25;color:var(--on-dark)}
.draw .r i{font-style:normal;font-weight:700;font-size:16px;padding:3px 8px;border-radius:999px;background:rgba(233,196,106,.18);color:var(--gold1);white-space:nowrap}
.biz .paper{background:var(--card);padding:8px 24px}
.paper li{font-family:var(--serif);font-weight:500;font-size:1.22rem;line-height:1.25;color:var(--text);padding:15px 0;border-top:1px solid rgba(122,91,14,.35)}
.paper li:first-child{border-top:0}
@media (max-width:1119px){.biz .end{aspect-ratio:auto}.biz .draw{padding:24px 16px}.biz .paper{padding:14px 24px 18px}}
/* two columns: the drawing and the printed list sit side by side, so give them one height */
@media (min-width:680px) and (max-width:1119px){.biz .end{min-height:228px}}
.biz.b-ink{background:var(--ink);color:var(--on-dark)}
.biz.b-ink .kick{color:var(--gold1)}
.biz.b-ink p:not(.kick){color:var(--on-dark2)}
.biz.b-gold{background:linear-gradient(165deg,var(--gold1),var(--gold3));color:var(--ink)}
.biz.b-gold .kick{color:#3d2e05}
.biz.b-gold p:not(.kick){color:#2f2508}
.biz.b-sand{background:var(--sand2)}
.biz.b-sand p:not(.kick){color:#4a4032}
.biz.b-sand .kick{color:#5f4709}
@media (min-width:680px){.cards{grid-template-columns:1fr 1fr}}
@media (min-width:1120px){
  .cards{grid-template-columns:repeat(4,1fr);align-items:start}
  .biz{min-height:560px}
  .biz:nth-child(even){margin-top:48px}
}

/* where we take you: photo strip. Grid on wide screens, sideways scroll on phones (the strip scrolls, the page does not) */
.dest{background:var(--sand)}
.strip{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.place{position:relative;min-width:0;aspect-ratio:5/4;border-radius:var(--r);overflow:hidden;background:var(--ink);color:var(--on-dark);box-shadow:var(--shadow);display:flex;align-items:flex-end}
.place .ph{position:absolute;inset:0 0 84px}
.place .ph img{transition:transform .9s var(--ease)}
.place .p-redang{object-position:58% 50%}
.place .p-cameron{object-position:62% 50%}
/* group photo: the file is a crop of a wider photo, anchored to the bottom of the card.
   These numbers set where it sits in the frame. */
.place .ph img.p-group{--gx:-39.474%;inset:auto auto 0 50%;width:auto;max-width:none;height:100.8%;transform:translateX(var(--gx));transform-origin:50% 100%}
.place .lbl{position:relative;width:100%;padding:56px 22px 22px;background:linear-gradient(180deg,rgba(20,17,13,0) 0,rgba(20,17,13,.88) 52px,var(--ink) 92px)}
.place b{display:block;font-family:var(--serif);font-weight:500;font-size:clamp(1.7rem,2.3vw,2.1rem);line-height:1.1;letter-spacing:-.015em}
.place span{display:block;margin-top:8px;font-size:16px;font-weight:500;line-height:1.4;color:#EDE4D3}
.swipe{display:none}
/* two columns: square cards keep the photo clear; captions hold two lines so the titles line up */
@media (min-width:680px) and (max-width:1119px){.place{aspect-ratio:1/1;max-height:470px}.place span{min-height:2.8em}.place .ph img.p-group{--gx:-50%}}
@media (min-width:1120px){.strip{grid-template-columns:1.4fr 1fr 1fr 1fr}.place{aspect-ratio:auto;height:470px}.place:nth-child(even){margin-top:36px}}
@media (max-width:679px){
  .strip{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);margin-inline:calc(-1*var(--gut));padding:4px var(--gut) 24px}
  .place{flex:0 0 78%;aspect-ratio:4/5;scroll-snap-align:start;box-shadow:0 10px 16px -10px rgba(40,28,8,.45)}
  .swipe{display:block;margin-top:6px;font-size:16px;font-weight:600;color:var(--text2)}
}
/* small phones: taller card and a smaller title, so the label does not cover the photo */
@media (max-width:359px){.place{flex-basis:84%;aspect-ratio:3/4.6}.place .lbl{padding-inline:18px}.place b{font-size:1.5rem}}

/* legend platform */
.plat{background:radial-gradient(760px 520px at 78% 50%,rgba(201,162,39,.20),transparent 68%),var(--ink)}
.plat-grid{display:grid;gap:clamp(48px,6vw,80px);align-items:center}
.points{margin-top:30px;display:grid;gap:0}
.points li{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:18px 0;border-top:1px solid rgba(233,196,106,.25)}
.points li:last-child{border-bottom:1px solid rgba(233,196,106,.25)}
.points .ico{width:44px;height:44px;border-radius:12px;background:var(--ink3);display:grid;place-items:center;color:var(--gold1)}
.points .ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.points b{display:block;font-size:1.08rem}
.points span{color:var(--on-dark2)}
.points li > div{text-wrap:pretty}
.plat .note{margin-top:20px;color:var(--on-dark2)}
.plat .btns{margin-top:28px}
.phone-wrap{position:relative;justify-self:center;text-align:center}
.phone-wrap::before{content:"";position:absolute;left:50%;top:46%;width:min(440px,96vw);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:linear-gradient(160deg,var(--gold1),var(--gold3));opacity:.95}
.phone{position:relative;width:296px;margin-inline:auto;border-radius:44px;background:#0b0907;padding:11px;box-shadow:0 40px 70px -28px rgba(0,0,0,.85),0 10px 24px -10px rgba(0,0,0,.6);text-align:left}
.screen{border-radius:34px;background:var(--ink);color:var(--on-dark);overflow:hidden;font-size:13px;line-height:1.35}
.screen .bar{display:flex;justify-content:center;padding-top:10px}
.screen .bar i{width:84px;height:22px;border-radius:999px;background:#0b0907}
.screen .hd{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px}
.screen .hd b{font-family:var(--serif);font-size:17px;font-weight:600;color:var(--gold1)}
.screen .hd i{width:30px;height:30px;border-radius:50%;background:var(--ink3);border:1px solid rgba(233,196,106,.5)}
.screen .hello{margin:4px 14px 0;padding:16px;border-radius:18px;background:linear-gradient(160deg,var(--gold1),var(--gold3));color:var(--ink)}
.screen .hello small{font-size:12px;font-weight:600;opacity:.8}
.screen .hello b{display:block;font-family:var(--serif);font-size:20px;font-weight:600;line-height:1.15;margin-top:2px}
.screen .cats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:16px 14px 6px}
.screen .cats div{text-align:center;font-size:10.5px;color:var(--on-dark2)}
.screen .cats i{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 5px;border-radius:13px;background:var(--ink3);color:var(--gold1)}
.screen .cats svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.screen .row{margin:10px 14px 0;padding:13px 14px;border-radius:16px;background:var(--ink2);display:flex;align-items:center;justify-content:space-between;gap:10px}
.screen .row b{display:block;font-size:13.5px}
.screen .row small{color:var(--on-dark2);font-size:12px}
.screen .pill{font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:999px;background:rgba(233,196,106,.18);color:var(--gold1);white-space:nowrap}
.screen .tabs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:16px;padding:10px 6px 16px;border-top:1px solid rgba(233,196,106,.2);text-align:center;font-size:11px;color:var(--on-dark2)}
.screen .tabs span:first-child{color:var(--gold1);font-weight:700}
.screen .tabs span::before{content:"";display:block;width:18px;height:18px;margin:0 auto 4px;border-radius:6px;background:currentColor;opacity:.85}
.phone-cap{position:relative;display:inline-block;margin-top:22px;font-size:16px;color:var(--ink);background:var(--ivory);padding:4px 14px;border-radius:999px;font-weight:600}
@media (min-width:960px){.plat-grid{grid-template-columns:1.05fr .95fr}}

/* how we work: gold centre line */
.steps{position:relative;display:grid;gap:28px}
.steps::before{content:"";position:absolute;left:27px;top:8px;bottom:8px;width:2px;background:linear-gradient(var(--gold1),var(--gold3))}
.step{position:relative;display:grid;grid-template-columns:56px 1fr;gap:18px;align-items:start}
.coin{width:56px;height:56px;border-radius:50%;background:linear-gradient(160deg,var(--gold1),var(--gold3));color:var(--ink);display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:1.5rem;font-variation-settings:"opsz" 6;font-variant-numeric:lining-nums;box-shadow:0 0 0 6px var(--ivory),0 10px 18px -8px rgba(40,28,8,.5);position:relative;z-index:1}
.step .txt{background:var(--card);border-radius:var(--r);padding:22px 24px;box-shadow:var(--shadow)}
.step .txt p{margin-top:8px;color:var(--text2)}
.step .word{display:none}
@media (min-width:960px){
  .steps{gap:36px}
  .steps::before{left:50%;margin-left:-1px}
  .step{grid-template-columns:1fr 56px 1fr;gap:36px;align-items:center}
  .step .coin{grid-column:2;grid-row:1}
  .step .txt{grid-column:1;grid-row:1}
  .step .word{display:block;grid-column:3;grid-row:1;font-family:var(--serif);font-style:italic;font-size:clamp(3rem,5vw,4.6rem);line-height:1;color:var(--sand2);padding-bottom:.1em}
  .step:nth-child(even) .txt{grid-column:3}
  .step:nth-child(even) .word{grid-column:1;text-align:right}
}

/* partners: every partner name, in seven groups. Each group is a wall of names under a gold label.
   Phones: one name per line, so no name breaks into short pieces. Then two, three and four columns.
   A last name that does not fill its row stretches to the end, so every hairline runs the full width. */
.partners{background:var(--sand)}
.groups{display:grid;gap:clamp(30px,4vw,44px)}
.grp h3{font-family:var(--sans);font-size:16px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--gold-text);line-height:1.35;margin-bottom:10px}
.wall{display:grid;grid-template-columns:1fr;border-top:1px solid rgba(122,91,14,.4)}
.wall li{font-family:var(--serif);font-weight:500;font-size:1.18rem;line-height:1.2;padding:12px 0;border-bottom:1px solid rgba(122,91,14,.4);display:flex;align-items:center;min-height:48px;text-wrap:balance;min-width:0;overflow-wrap:break-word}
.wall-more{margin-top:14px;font-size:18px;line-height:1.55;color:var(--text2);max-width:44em}
@media (min-width:560px){
  .wall{grid-template-columns:1fr 1fr}
  .wall li{font-size:clamp(1.3rem,2.1vw,1.7rem);padding:20px 12px 20px 0;min-height:86px}
  .wall li:nth-child(even){padding-left:22px;border-left:1px solid rgba(122,91,14,.4)}
}
@media (min-width:560px) and (max-width:699px){.wall li:last-child:nth-child(odd){grid-column:1/-1}}
@media (min-width:700px) and (max-width:1023px){
  .wall{grid-template-columns:repeat(3,1fr)}
  .wall li{min-height:74px;padding-top:16px;padding-bottom:16px}
  .wall li:nth-child(n){padding-left:20px;border-left:1px solid rgba(122,91,14,.4)}
  .wall li:nth-child(3n+1){padding-left:0;border-left:0}
  .wall li:last-child:nth-child(3n+1){grid-column:1/-1}
  .wall li:last-child:nth-child(3n+2){grid-column:span 2}
}
@media (min-width:1024px){
  .grp h3{margin-bottom:12px}
  .wall{grid-template-columns:repeat(4,1fr)}
  .wall li{font-size:clamp(1.3rem,1.55vw,1.5rem);min-height:78px}
  .wall li:nth-child(n){padding-left:22px;border-left:1px solid rgba(122,91,14,.4)}
  .wall li:nth-child(4n+1){padding-left:0;border-left:0}
  .wall li:last-child:nth-child(4n+1){grid-column:1/-1}
  .wall li:last-child:nth-child(4n+2){grid-column:span 3}
  .wall li:last-child:nth-child(4n+3){grid-column:span 2}
}

/* join us: a dark band, two columns under gold hairlines. Wide screens add one real partner photo (Redang at night) in the top right corner, beside the heading, where no text sits. Phones keep the plain band. */
.join{position:relative;overflow:hidden}
.join-bg{position:absolute;inset:0;background:var(--ink)}
.join-ph,.join-cap{display:none}
.join .wrap{position:relative}
.join-grid{display:grid;gap:48px}
.panel-j{padding-top:28px;border-top:1px solid rgba(233,196,106,.6);color:var(--on-dark)}
.panel-j .for{display:inline-block;font-size:16px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold1);margin-bottom:10px}
.panel-j h3{font-size:clamp(1.6rem,2.4vw,2rem)}
.panel-j p{margin-top:14px;color:#E4DAC8;max-width:30.36em}
.panel-j .btn{margin-top:24px}
@media (min-width:860px){
  .join-grid{grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,88px)}
  /* shown smaller than the file (1200 px wide), so it stays sharp; it fades into the band on the left and below, before the gold hairlines */
  .join-ph{display:block;position:absolute;top:0;right:0;width:clamp(400px,52%,780px)}
  .join-ph img{width:100%;height:auto;filter:brightness(.82)}
  .join-ph::after{content:"";position:absolute;inset:-1px;background:linear-gradient(90deg,var(--ink) 0,rgba(20,17,13,0) 46%),linear-gradient(180deg,rgba(20,17,13,0) 46%,var(--ink) 84%)}
  .join-cap{display:block;position:absolute;top:16px;right:var(--gut);background:rgba(20,17,13,.92);color:var(--on-dark);font-size:16px;font-weight:600;padding:4px 12px;border-radius:999px}
  .join .sec-head{max-width:520px}
}

/* faq */
.faq-grid{display:grid;gap:clamp(28px,5vw,72px)}
.qa{border-top:1px solid rgba(122,91,14,.4)}
.qa div{padding:26px 0;border-bottom:1px solid rgba(122,91,14,.4)}
.qa dt{font-family:var(--serif);font-weight:600;font-size:1.5rem;line-height:1.2}
.qa dd{margin-top:10px;color:var(--text2);max-width:40.92em}
.qa dd a{text-decoration-color:var(--gold3);text-underline-offset:4px}
@media (min-width:960px){.faq-grid{grid-template-columns:.8fr 1.2fr}.faq-grid .sec-head{position:sticky;top:120px;align-self:start;margin-bottom:0}}

/* enquiry */
.contact{background:var(--sand)}
.enq-grid{display:grid;gap:24px;align-items:start}
.form{background:var(--card);border-radius:var(--r);padding:clamp(24px,3.4vw,40px);box-shadow:var(--shadow)}
.form label{display:block;font-weight:700;font-size:16px;margin:18px 0 6px}
.form label:first-of-type{margin-top:0}
.form label small{font-weight:500;font-size:16px;color:var(--text2)}
.form input,.form select,.form textarea{width:100%;min-height:52px;padding:12px 14px;font:400 17px/1.4 var(--sans);color:var(--text);background:#fff;border:1.5px solid #B9A77F;border-radius:12px}
.form textarea{min-height:120px;resize:vertical}
.form input::placeholder,.form textarea::placeholder{color:#6B5F4C;opacity:1}
.form input:focus,.form select:focus,.form textarea:focus{outline:3px solid var(--gold-text);outline-offset:1px;border-color:var(--gold-text)}
.form input[aria-invalid="true"]{border-color:#8A1C1C}
.form .btn{width:100%;margin-top:24px;min-height:54px;font-size:17px}
.form .hint{margin-top:12px;font-size:16px;color:var(--text2)}
/* the message sits right under the name box, so a phone user sees it without scrolling */
.form .err{margin-top:8px;font-weight:700;color:#8A1C1C;font-size:16px}
.side{display:grid;gap:24px}
.reach{background:var(--ink);color:var(--on-dark);border-radius:var(--r);padding:30px 28px;box-shadow:var(--shadow)}
.reach h3{margin-bottom:8px}
.reach h3 em{color:var(--gold1)}
.reach dl{display:grid;gap:0}
.reach dl div{padding:16px 0;border-top:1px solid rgba(233,196,106,.25)}
.reach dl div:first-child{border-top:0}
.reach dt{font-size:16px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold1)}
.reach dd{font-size:1.1rem}
.reach dd a{display:inline-flex;align-items:center;min-height:44px;text-decoration-color:var(--gold3);text-underline-offset:4px}
.map{background:var(--card);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.map svg{display:block;width:100%;height:auto}
.map .foot{padding:18px 22px 22px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.map .foot span{font-size:16px;color:var(--text2)}
@media (min-width:960px){.enq-grid{grid-template-columns:1.1fr .9fr}}

/* closing band */
.cta{background:linear-gradient(135deg,var(--gold1) 0%,var(--gold2) 50%,var(--gold3) 100%);color:var(--ink);padding-block:clamp(64px,8vw,104px);position:relative;overflow:hidden}
.cta::before{content:"";position:absolute;right:-120px;top:-160px;width:520px;height:520px;border-radius:50%;border:1px solid rgba(20,17,13,.25);box-shadow:0 0 0 60px rgba(255,253,248,.12),0 0 0 140px rgba(255,253,248,.08)}
.cta .wrap{position:relative;display:grid;gap:28px;align-items:center}
.cta h2 em{color:var(--ink);font-weight:400}
.cta p{margin-top:12px;font-size:1.12rem;font-weight:500;max-width:34.684em;color:#2a2108}
@media (min-width:960px){.cta .wrap{grid-template-columns:1fr auto}}

/* footer */
.foot-main{background:#0E0C09;color:var(--on-dark2);padding-block:64px 110px}
.foot-grid{display:grid;gap:36px}
.foot-main .fh{font-family:var(--sans);font-size:16px;line-height:1.18;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--gold1);margin-bottom:8px;text-wrap:balance}
.foot-main li a,.foot-main .line a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--on-dark)}
.foot-main li a:hover,.foot-main .line a:hover{color:var(--gold1)}
.foot-brand p{margin-top:16px;max-width:22.44em}
.foot-brand .brand b{color:var(--on-dark)}
.foot-main address{font-style:normal;margin-top:6px;color:var(--on-dark2)}
.legal{margin-top:44px;padding-top:22px;border-top:1px solid rgba(233,196,106,.25);font-size:16px;display:grid;gap:10px}
.legal summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;color:var(--on-dark)}
.legal details p{margin-top:8px;max-width:59.4em;font-size:16px}
.legal details a{color:var(--on-dark)}
@media (min-width:860px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr 1.2fr}}

/* floating WhatsApp. It sits under the header (z-index 50), so the open phone menu covers it on a short screen
   instead of the button covering the menu's last link. */
.fab{position:fixed;right:18px;bottom:18px;z-index:40;width:60px;height:60px;border-radius:50%;background:var(--wa);color:#fff;display:grid;place-items:center;box-shadow:0 14px 26px -10px rgba(0,0,0,.6),0 0 0 4px rgba(255,253,248,.9);transition:transform .25s var(--ease)}
.fab:hover{transform:scale(1.06)}
.foot-main .fab:focus-visible{outline-color:var(--ink);border-radius:50%} /* the ivory halo keeps a dark ring visible on every band */
.fab svg{width:30px;height:30px;fill:currentColor}

/* page not found (404.html) */
.lost{min-height:min(70vh,640px);display:grid;align-items:center}
.lost .lead{margin-top:22px;color:var(--on-dark2)}
.lost .btns{margin-top:30px}
/* short page: the dark band fills the screen, so no pale strip shows under the footer */
body.page-lost{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body.page-lost main{flex:1;display:flex;flex-direction:column}
body.page-lost .lost{flex:1}
.foot-main.short{padding-block:36px 110px}
.foot-main.short .legal{margin-top:0;padding-top:0;border-top:0}

/* ------------------------------------------------------------------
   Motion. Rules:
   - everything is visible without it. The hidden starting states below exist
     only on elements that JavaScript has marked (html.js, .rv);
   - transform (and its sister "translate") and opacity only;
   - each thing moves once, nothing loops;
   - people who ask their device for less motion get none of it.
   ------------------------------------------------------------------ */
@media (hover:hover){
  .biz{transition:transform .45s var(--ease)}
  .biz:hover{transform:translateY(-6px)}
  .step .txt{transition:transform .45s var(--ease)}
  .step .txt:hover{transform:translateY(-4px)}
  .place:hover .ph img{transform:scale(1.04)}
  .place:hover .ph img.p-group{transform:translateX(var(--gx)) scale(1.04)}
}
@media (prefers-reduced-motion:no-preference){
  /* hero: the photo fades in and settles slowly, the card rises */
  html.js .hero-ph{animation:hero-fade .9s ease-out both}
  html.js .hero-ph img{animation:hero-settle 2.6s cubic-bezier(.22,1,.36,1) both}
  html.js .hero-card{animation:hero-rise 1s .35s var(--ease) both}
  @keyframes hero-fade{from{opacity:.01}to{opacity:1}}
  @keyframes hero-settle{from{transform:scale(1.1)}to{transform:none}}
  @keyframes hero-rise{from{transform:translateY(26px);opacity:.01}to{transform:none;opacity:1}}
  /* the phone menu opens softly */
  html.js .menu[open] .panel{animation:menu-in .22s ease-out both}
  @keyframes menu-in{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
  /* sections ease in once, when site.js sees them enter the screen */
  .rv{opacity:0;translate:0 24px;transition:opacity .8s var(--ease) var(--d,0ms),translate .9s var(--ease) var(--d,0ms),transform .45s var(--ease)}
  .rv.rv-l{translate:-12px 0;transition-duration:1.2s,1.3s,.45s}
  .rv.rv-r{translate:12px 0;transition-duration:1.2s,1.3s,.45s}
  .place.rv{translate:0 16px}
  .rv.in{opacity:1;translate:none}
}
@media print{.rv{opacity:1!important;translate:none!important}.fab,.skip{display:none}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.btn::after,.nav a::after,.fab,.biz,.step .txt,.place .ph img{transition:none}
  .btn:hover,.btn:active,.fab:hover,.biz:hover,.step .txt:hover{transform:none}
  .place:hover .ph img{transform:none}
  .place:hover .ph img.p-group{transform:translateX(var(--gx))}
}
