/* PhiStudio Dubai — design system */
:root{
  --ground:#F7F2EA;
  --surface:#FFFDF9;
  --surface-alt:#F1EADE;
  --ink:#2A2320;
  --ink-soft:#6B5F55;
  --ink-faint:#7A6A52;
  --rule:#E0D5C1;
  --rule-strong:#C6B392;
  --gold:#8A6520;
  --gold-bright:#A67C2E;
  --gold-light:#E8D5AE;
  --deep:#1A1512;
  --maxw:1240px;
  --pad:clamp(1.25rem,5vw,4rem);
  --serif:"Marcellus",Georgia,"Times New Roman",serif;
  --sans:"Jost","Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body{
  margin:0;background:var(--ground);color:var(--ink);
  font-family:var(--sans);font-weight:300;font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,video{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-decoration:none}
a:hover{color:#6E4F17}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;margin:0;text-wrap:balance;line-height:1.12}
p{margin:0 0 1.1rem;max-width:68ch}
.wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.narrow{max-width:820px}
.eyebrow{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);display:block}
.serif{font-family:var(--serif)}
.tnum{font-variant-numeric:tabular-nums}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--deep);color:#fff;padding:.75rem 1rem}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(247,242,234,.94);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
.head-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding-top:.9rem;padding-bottom:.9rem}
.logo{display:flex;flex-direction:column;line-height:1.08;font-family:var(--serif);
  font-size:1rem;letter-spacing:.24em;color:var(--ink)}
.logo:hover{color:var(--ink)}
.nav{display:none;gap:1.6rem;align-items:center}
.nav a{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);font-weight:400}
.nav a:hover,.nav a[aria-current="page"]{color:var(--gold)}
.site-head .head-cta{display:none}
.burger{display:flex;align-items:center;justify-content:center;width:44px;height:44px;
  margin-right:-10px;background:none;border:0;cursor:pointer;color:var(--ink)}
@media (min-width:1080px){
  .nav{display:flex}.site-head .head-cta{display:inline-flex}.burger{display:none}
}
.drawer{display:none;border-top:1px solid var(--rule);background:var(--ground)}
.drawer[data-open="true"]{display:block}
.drawer ul{list-style:none;margin:0;padding:.5rem 0 1rem}
.drawer a{display:block;padding:.85rem 0;font-size:1rem;letter-spacing:.04em;
  color:var(--ink);border-bottom:1px solid var(--rule)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:52px;padding:0 1.6rem;font-size:.82rem;letter-spacing:.1em;
  text-transform:uppercase;font-weight:400;border:0;cursor:pointer;text-align:center}
.btn-gold{background:var(--gold-bright);color:#FFFDF9}
.btn-gold:hover{background:#8E6822;color:#FFFDF9}
.btn-dark{background:var(--ink);color:#FFFDF9}
.btn-dark:hover{background:#3A302B;color:#FFFDF9}
.btn-ghost{border:1px solid var(--rule-strong);color:var(--ink);background:none}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn-sm{min-height:44px;font-size:.75rem;padding:0 1.1rem}
.link-ul{display:inline-flex;align-items:center;gap:.5rem;font-size:.8rem;
  letter-spacing:.1em;text-transform:uppercase;padding:.7rem 0;
  border-bottom:1px solid var(--gold);color:var(--ink)}
.link-ul:hover{color:var(--gold)}

/* ---------- hero ---------- */
.hero{position:relative;display:grid;min-height:78vh;background:var(--surface-alt)}
.hero-media{position:absolute;inset:0}
.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(26,21,18,.08) 0%,rgba(26,21,18,.55) 55%,rgba(26,21,18,.88) 100%)}
.hero-in{position:relative;align-self:end;padding-top:5rem;padding-bottom:2.25rem;
  display:flex;flex-direction:column;gap:1rem;max-width:640px}
.hero h1{font-size:clamp(2.4rem,10vw,4.6rem);color:#FFFDF9;letter-spacing:-.005em}
.hero p{color:#EDE3D3;font-size:clamp(1rem,2.4vw,1.15rem);margin:0}
.hero .eyebrow{color:var(--gold-light)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.4rem}
.hero-note{font-size:.82rem;color:#CFC3AD;margin:0}
@media (min-width:900px){
  .hero{min-height:88vh}
  .hero-scrim{background:linear-gradient(90deg,rgba(26,21,18,.82) 0%,rgba(26,21,18,.5) 45%,rgba(26,21,18,.12) 100%)}
  .hero-in{align-self:center;padding-top:4rem;padding-bottom:4rem}
}

/* page hero (interior pages) */
.phero{background:var(--deep);color:#FFFDF9;padding-top:3.5rem;padding-bottom:3.5rem}
.phero h1{font-size:clamp(2.1rem,6vw,3.6rem);color:#FFFDF9;margin-bottom:.9rem}
.phero p{color:#C9BCA6;font-size:1.05rem;max-width:60ch;margin:0}
.phero .eyebrow{color:var(--gold-light);margin-bottom:.8rem}
.crumb{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#8A7C6C;margin:0 0 1.6rem}
.crumb a{color:#8A7C6C}.crumb a:hover{color:var(--gold-light)}

/* ---------- sections ---------- */
.sec{padding-top:clamp(3rem,7vw,5.5rem);padding-bottom:clamp(3rem,7vw,5.5rem)}
.sec-tight{padding-top:clamp(2rem,4vw,3rem);padding-bottom:clamp(2rem,4vw,3rem)}
.sec-dark{background:var(--deep);color:#D9CEBC}
.sec-dark h2,.sec-dark h3{color:#FFFDF9}
.sec-dark .eyebrow{color:var(--gold-light)}
.sec-alt{background:var(--surface-alt)}
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:1rem 2rem;margin-bottom:2rem}
.sec-head h2{font-size:clamp(1.8rem,4.4vw,2.9rem)}
.sec-head p{margin:0;color:var(--ink-soft);max-width:42ch}
.sec-dark .sec-head p{color:#B5A794}

/* strip */
.strip{background:var(--ink);color:var(--gold-light)}
.strip-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:.6rem 2rem;padding-top:1rem;padding-bottom:1rem;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;text-align:center}
.dot{width:4px;height:4px;border-radius:50%;background:var(--gold-bright);flex:none}
@media (max-width:640px){.strip-in .dot{display:none}}

/* ---------- cards ---------- */
.grid{display:grid;gap:1.25rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.card{background:var(--surface);border:1px solid var(--rule);display:flex;flex-direction:column}
.card-media{aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--rule)}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:1.4rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.card h3{font-size:1.35rem}
.card p{font-size:.95rem;color:var(--ink-soft);margin:0;flex:1}
.card-price{display:flex;align-items:baseline;justify-content:space-between;
  gap:1rem;padding-top:.8rem;border-top:1px solid var(--rule)}
.card-price span:first-child{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.card-price span:last-child{font-family:var(--serif);font-size:1.3rem}

/* ---------- steps ---------- */
.steps{display:flex;flex-direction:column;border-top:1px solid var(--rule)}
.sec-dark .steps,.sec-dark .step{border-color:#3A322A}
.step{display:grid;grid-template-columns:2.6rem 1fr;gap:0 1.1rem;
  padding:1.2rem 0;border-bottom:1px solid var(--rule);align-items:start}
.step-n{font-family:var(--serif);font-size:1.35rem;color:var(--rule-strong)}
.sec-dark .step-n{color:#7E6B4E}
.step h4{font-family:var(--sans);font-weight:500;font-size:1.02rem;margin-bottom:.2rem}
.sec-dark .step h4{color:#FFFDF9}
.step p{font-size:.95rem;color:var(--ink-soft);margin:0}
.sec-dark .step p{color:#B5A794}

/* ---------- ticks ---------- */
.ticks{display:flex;flex-direction:column;gap:1.1rem;list-style:none;padding:0;margin:0}
.ticks li{display:grid;grid-template-columns:1.3rem 1fr;gap:0 .85rem;align-items:start}
.ticks svg{margin-top:.32rem}
.ticks b{font-weight:400;color:#FFFDF9}
.sec:not(.sec-dark) .ticks b{color:var(--ink);font-weight:500}

/* ---------- tables ---------- */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:.95rem}
caption{text-align:left;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-faint);padding-bottom:.6rem}
th{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint);
  font-weight:400;text-align:left;padding:0 1rem .5rem 0;border-bottom:1px solid var(--rule-strong)}
th:last-child,td:last-child{text-align:right;padding-right:0}
td{padding:.9rem 1rem .9rem 0;border-bottom:1px solid var(--rule);color:var(--ink-soft)}
td:first-child{color:var(--ink)}
td.amt{font-family:var(--serif);font-size:1.1rem;color:var(--gold);white-space:nowrap}
tr.best td{background:var(--surface)}
.sub{display:block;font-size:.82rem;color:var(--ink-faint)}

/* price list (stacked rows) */
.plist{display:flex;flex-direction:column;border-top:1px solid var(--rule)}
.prow{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  padding:.9rem 0;border-bottom:1px solid var(--rule)}
.prow .amt{font-family:var(--serif);font-size:1.15rem;color:var(--gold);white-space:nowrap}

/* callout / note */
.note{background:var(--surface);border:1px solid var(--rule);padding:1.3rem 1.5rem;
  display:flex;flex-direction:column;gap:.5rem}
.note .eyebrow{margin-bottom:.1rem}
.note p{margin:0;color:var(--ink)}
.sec-dark .note{background:#241D18;border-color:#3A322A}
.sec-dark .note p{color:#E4DACA}

/* ---------- gallery ---------- */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.chip{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;padding:.55rem .9rem;
  border:1px solid var(--rule-strong);background:none;color:var(--ink-soft);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#FFFDF9}
.ba{background:var(--surface);border:1px solid var(--rule);display:flex;flex-direction:column}
/* an author display rule beats the UA [hidden] rule — the filter needs this */
.ba[hidden],[hidden]{display:none!important}
.ba-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--rule)}
.ba-pair figure{margin:0;position:relative;background:var(--surface-alt)}
.ba-pair img{width:100%;aspect-ratio:7/12;object-fit:cover}
.ba-pair figcaption{position:absolute;left:0;bottom:0;background:rgba(247,242,234,.94);
  font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);padding:.28rem .5rem}
.ba-body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.35rem}
.ba-body h3{font-size:1.1rem}
.ba-body p{font-size:.88rem;color:var(--ink-soft);margin:0}

/* ---------- prose ---------- */
.prose{max-width:70ch}
.prose h2{font-size:clamp(1.6rem,3.6vw,2.2rem);margin:2.6rem 0 .9rem}
.prose h3{font-size:1.25rem;margin:2rem 0 .6rem}
.prose h2:first-child,.prose h3:first-child{margin-top:0}
.prose p,.prose li{color:var(--ink-soft)}
.prose strong{font-weight:500;color:var(--ink)}
.prose ul,.prose ol{padding-left:1.15rem;margin:0 0 1.2rem}
.prose li{margin-bottom:.45rem}
.prose blockquote{margin:1.6rem 0;padding-left:1.2rem;border-left:2px solid var(--gold-bright)}
.prose blockquote p{font-family:var(--serif);font-size:1.2rem;color:var(--ink)}
.prose hr{border:0;border-top:1px solid var(--rule);margin:2.4rem 0}

/* ---------- faq ---------- */
.faq{border-top:1px solid var(--rule)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;list-style:none;padding:1.1rem 2rem 1.1rem 0;position:relative;
  font-size:1.02rem;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:1rem;font-size:1.3rem;color:var(--gold)}
.faq details[open] summary::after{content:"–"}
.faq .ans{padding:0 0 1.2rem}
.faq .ans p{font-size:.95rem;color:var(--ink-soft);margin:0 0 .8rem}
.faq .ans p:last-child{margin:0}

/* ---------- review ---------- */
.stars{display:flex;gap:3px}
.quote{font-family:var(--serif);font-size:clamp(1.2rem,2.6vw,1.6rem);line-height:1.45;
  margin:.9rem 0 .8rem;text-wrap:pretty}
.byline{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint)}
.sec-dark .byline{color:#8A7C6C}

/* ---------- split ---------- */
.split{display:grid;gap:2rem;align-items:center}
@media (min-width:900px){.split{grid-template-columns:1fr 1fr;gap:3.5rem}
  .split-wide{grid-template-columns:1.15fr 1fr}}
.split img{width:100%;object-fit:cover}
.bleed{margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1)}
@media (min-width:900px){.bleed{margin:0}}

/* ---------- contact ---------- */
.contact-list{display:flex;flex-direction:column;gap:.9rem;list-style:none;padding:0;margin:0}
.contact-list li{display:grid;grid-template-columns:1.3rem 1fr;gap:0 .8rem;align-items:start}
.contact-list svg{margin-top:.3rem}
.contact-list span{color:var(--ink-soft)}

/* form */
.field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}
.field label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint)}
.field input,.field select,.field textarea{
  font-family:var(--sans);font-size:1rem;font-weight:300;color:var(--ink);
  background:var(--surface);border:1px solid var(--rule-strong);padding:.8rem .9rem;
  min-height:48px;border-radius:0;width:100%}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:2px solid var(--gold-bright);outline-offset:0;border-color:transparent}
.hp{position:absolute;left:-9999px}

/* ---------- footer ---------- */
.site-foot{background:var(--deep);color:#8A7C6C;padding-top:3.5rem;padding-bottom:2rem}
.foot-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:760px){.foot-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr}}
.site-foot .logo{color:var(--gold-light);font-size:.95rem}
.site-foot h4{font-family:var(--sans);font-size:.66rem;letter-spacing:.18em;
  text-transform:uppercase;color:#6E6255;margin-bottom:.8rem;font-weight:400}
.site-foot ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.55rem}
.site-foot a{color:#B5A794;font-size:.92rem}
.site-foot a:hover{color:var(--gold-light)}
.site-foot p{color:#8A7C6C;font-size:.92rem}
.foot-bottom{margin-top:2.5rem;padding-top:1.2rem;border-top:1px solid #302820;
  display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;justify-content:space-between;font-size:.78rem}

/* ---------- sticky mobile bar ---------- */
.sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:rgba(247,242,234,.96);backdrop-filter:blur(8px);
  border-top:1px solid var(--rule);padding:.6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
  display:grid;grid-template-columns:52px 1fr;gap:.6rem}
.sticky-bar .btn{min-height:48px}
body{padding-bottom:76px}
@media (min-width:1080px){.sticky-bar{display:none}body{padding-bottom:0}}

/* editorial placeholder — must never ship unnoticed */
.todo{background:#F7E9EA;border-left:3px solid #7A2E3C;color:#5E2029;
  padding:.9rem 1.1rem;font-size:.92rem;max-width:none}

/* portrait video blocks */
.vid{width:100%;aspect-ratio:9/16;object-fit:cover;display:block;background:var(--surface-alt)}
.vid-cap{font-size:.82rem;color:var(--ink-faint);margin:.8rem 0 0;padding:0 var(--pad)}
@media (min-width:900px){.vid-cap{padding:0}}
.vid-side{padding:1.4rem var(--pad) 0}
@media (min-width:900px){.vid-side{padding:1.4rem 0 0}}

/* team */
.team{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:1.4rem 0 0}
.member{background:var(--surface);border:1px solid var(--rule);padding:1.2rem 1.1rem;
  display:flex;flex-direction:column;gap:.3rem;align-items:flex-start}
.member .mono-t{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.member h3{font-size:1.15rem;line-height:1.2}
.member .where{font-size:.85rem;color:var(--ink-faint)}
