/* ASTOR WORLDWIDE - FZCO — styles
   Palette: Gulf night / Dubai sandstone / engraved gold / Gulf teal
   Type:    Bodoni Moda (display, engraved-certificate register) · Instrument Sans (text) · JetBrains Mono (data) */

:root {
  --night: #0B1826;
  --night-2: #122238;
  --night-deep: #071020;
  --sand: #EDE5D3;
  --sand-2: #F6F1E7;
  --sand-3: #DCCFB4;
  --sand-4: #C4B48E;
  --gold: #C9A45A;
  --gold-2: #E8CF8C;
  --gold-3: #9E7D36;
  --gulf: #1B6B78;
  --ink: #131B27;
  --ink-2: #4F5866;
  --ink-3: #7A8290;
  --on-night: #EDE5D3;
  --on-night-2: #A9B2BF;
  --font-display: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
body.theme-sand :focus-visible { outline-color: var(--gold-3); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--night); padding: .6em 1em; font-size: .9rem; text-decoration: none;
}
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.eyebrow--dark { color: var(--gold-3); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--hdr-fg, var(--on-night));
  transition: background .35s var(--ease-out), color .35s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled {
  background: var(--hdr-bg, rgba(11, 24, 38, .86));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled::after { opacity: .35; }
body.theme-sand { --hdr-fg: var(--ink); --hdr-bg: rgba(237, 229, 211, .88); }

.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; transition: transform .7s var(--ease-out); color: var(--gold); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__name {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.brand__suffix {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .22em;
  color: var(--gold); margin-left: .9em; vertical-align: .14em;
}
body.theme-sand .brand__suffix { color: var(--gold-3); }

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav a {
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: .3em 0;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav a:not(.nav__cta):hover::after, .nav a:not(.nav__cta):focus-visible::after { transform: scaleX(1); }
.nav__cta {
  border: 1px solid var(--gold); padding: .55em 1.1em !important; color: var(--gold-2);
  transition: background .25s, color .25s;
}
body.theme-sand .nav__cta { color: var(--gold-3); border-color: var(--gold-3); }
.nav__cta:hover, .nav__cta[aria-current="page"] { background: var(--gold); color: var(--night); border-color: var(--gold); }

.nav-toggle {
  display: none; font: inherit; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  background: none; border: 1px solid currentColor; color: inherit; padding: .5em 1em; cursor: pointer; border-radius: 2px;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.6em;
  font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold); border-radius: 2px; cursor: pointer; background: none; color: inherit;
  transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .15s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { color: var(--sand-2); border-color: rgba(201, 164, 90, .55); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(201, 164, 90, .1); }
.btn--ink { color: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--sand-2); }
.btn .arrow { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-mail {
  font-family: var(--font-mono); font-size: .9rem; letter-spacing: .04em; color: var(--gold-2);
  text-decoration: none; border-bottom: 1px solid rgba(232, 207, 140, .35); padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
.link-mail:hover { border-color: var(--gold-2); }

/* ---------- reveal / intro states (JS-gated so no-JS shows everything) ---------- */

html.js [data-intro] { opacity: 0; }
html.io [data-intro] { opacity: 1; transition: opacity .9s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.io .reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- section primitives ---------- */

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.section-title--light { color: var(--sand-2); }
.lede {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.35; color: var(--ink);
  margin-top: 1.4rem; max-width: 30ch; font-variation-settings: "opsz" 24;
}
.lede--large {
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; font-style: italic; margin-top: 0; max-width: 26ch;
  font-variation-settings: "opsz" 72;
}
.body-text { color: var(--ink-2); margin-top: 1.2rem; max-width: 52ch; }

.ornament {
  display: flex; align-items: center; gap: 18px;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; color: var(--gold-3);
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.ornament svg { width: 16px; height: 16px; }
.ornament--night { color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  background: var(--night); color: var(--on-night);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 65% at 74% 48%, rgba(201, 164, 90, .11), transparent 70%),
    radial-gradient(45% 45% at 6% 100%, rgba(27, 107, 120, .2), transparent 70%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 6.1vw, 5.2rem); line-height: .94; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sand-2);
  font-variation-settings: "opsz" 96;
}
.hline { display: block; clip-path: inset(-.35em -60% -.02em -60%); }
.hline__inner { display: block; }
html.js .hline__inner { transform: translateY(110%); }
html.io .hline__inner { transform: none; transition: transform 1s var(--ease-out); }
.hline--suffix .hline__inner {
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(.8rem, 1.3vw, 1rem);
  letter-spacing: .42em; color: var(--gold); margin-top: 1.1rem; line-height: 1.6;
}
.hero__tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; color: var(--gold-2);
  margin: 2rem 0 0;
}
.hero__tagline em { color: var(--sand-2); display: block; }
.hero__lead { color: var(--on-night-2); font-size: 1.02rem; line-height: 1.65; max-width: 50ch; margin: 1.4rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.2rem; }
.hero__globe { position: relative; justify-self: center; width: min(100%, 560px); }
.globe { width: 100%; aspect-ratio: 1 / 1; height: auto; }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 26px;
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-night-2);
}
.scroll-cue i {
  display: block; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent);
  animation: cue 2.6s var(--ease-inout) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- about ---------- */

.about { background: var(--sand); color: var(--ink); padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 120px); }
.about__grid {
  display: grid; grid-template-columns: minmax(240px, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 5vw, 72px);
}
.seal { width: min(100%, 360px); justify-self: center; }
.seal-svg { width: 100%; height: auto; }

/* ---------- activities ---------- */

.activities { background: var(--night); color: var(--on-night); padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.activities::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, rgba(201, 164, 90, .08), transparent 70%);
}
.act-grid {
  list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.act-card {
  position: relative; border: 1px solid rgba(201, 164, 90, .3); background: rgba(255, 255, 255, .02);
  padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 22px;
  transition: border-color .3s, background .3s, transform .45s var(--ease-out);
}
.act-card::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(201, 164, 90, .12); pointer-events: none; transition: border-color .3s; }
.act-card:hover { border-color: rgba(201, 164, 90, .7); background: rgba(201, 164, 90, .05); transform: translateY(-3px); }
.act-card:hover::after { border-color: rgba(201, 164, 90, .3); }
.act-card--featured { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 48px); background: rgba(201, 164, 90, .06); }
.act-icon { width: 46px; height: 46px; flex: none; color: var(--gold-2); overflow: visible; }
.act-icon .draw { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.act-icon .act-fill { fill: currentColor; }
.act-icon .act-dash { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-dasharray: 2 4; }
.act-card--featured .act-icon { width: 76px; height: 76px; }
.act-card__title {
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; color: var(--sand-2);
  margin: 0 0 .6rem; font-variation-settings: "opsz" 48;
}
.act-card--featured .act-card__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.act-card__text { color: var(--on-night-2); font-size: .98rem; max-width: 46ch; }

/* ---------- approach ---------- */

.approach { background: var(--sand-2); padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--sand-3); }
.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach__head { display: flex; flex-direction: column; gap: 22px; }
.approach__mark { width: 28px; height: 28px; color: var(--gold-3); }

/* ---------- discuss an opportunity (engraved Dubai + registered office) ---------- */

.discuss { background: var(--night); color: var(--on-night); padding: 0 0 clamp(72px, 9vw, 120px); overflow: hidden; position: relative; }
.discuss .ornament { padding-top: clamp(40px, 5vw, 64px); }
.discuss__art { width: min(100% - 2 * var(--gutter), 1400px); margin: clamp(32px, 5vw, 72px) auto 0; }
.discuss__art .sk { width: 100%; height: auto; }
.discuss__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(40px, 5vw, 72px);
}
.discuss__text { color: var(--on-night-2); font-size: 1.1rem; margin: 1.4rem 0 2rem; max-width: 46ch; }
.discuss__aside .eyebrow { margin-bottom: .8rem; }
.discuss__address {
  font-style: normal; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.3;
  color: var(--sand-2); margin-bottom: 1.2rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--night-deep); color: var(--on-night-2);
  padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid rgba(201, 164, 90, .22); font-size: .92rem;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sand-2); text-decoration: none; }
.footer__brand svg { width: 26px; height: 26px; }
.footer__brand span { font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; font-size: .88rem; }
.footer__objects { margin-top: .9rem; font-family: var(--font-display); font-style: italic; color: var(--on-night-2); }
.site-footer h4 {
  font-family: var(--font-mono); font-weight: 500; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .8rem;
}
.site-footer address { font-style: normal; line-height: 1.7; }
.footer__nav { margin-top: 1.4rem; }
.footer__nav a { display: block; text-decoration: none; padding: .12em 0; transition: color .2s; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__legal {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .76rem; color: #7f8896;
  font-family: var(--font-mono); letter-spacing: .04em;
}

/* ---------- page veil (8-point star) ---------- */

.veil { position: fixed; inset: 0; z-index: 100; background: var(--night-deep); pointer-events: none; display: none; }
.veil.is-on { display: block; pointer-events: auto; }

/* ---------- contact page ---------- */

.contact-hero { background: var(--sand); padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.contact-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; margin: 0 0 1.4rem; color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.page-title__suffix {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(.85rem, 1.3vw, 1rem);
  letter-spacing: .42em; color: var(--gold-3); margin-top: .9rem; line-height: 1.6;
}
.contact-lead { color: var(--ink-2); max-width: 44ch; margin-bottom: 1.6rem; font-size: 1.08rem; }
.contact-mail {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--gulf); text-decoration: none;
  border-bottom: 1px solid rgba(27, 107, 120, .35); transition: border-color .25s;
}
.contact-mail:hover { border-color: var(--gulf); }
.contact-address {
  font-style: normal; margin-top: 2.2rem; font-family: var(--font-mono); font-size: .86rem; line-height: 1.75; color: var(--ink-2);
  padding-left: 1.1rem; border-left: 1px solid var(--gold-3);
}
.contact-address .eyebrow { display: block; margin-bottom: .5rem; }
.contact-globe {
  position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1 / 1;
  background: var(--night); border-radius: 50%; padding: 5%;
  box-shadow: 0 40px 90px -40px rgba(11, 24, 38, .6), inset 0 0 0 1px rgba(201, 164, 90, .25);
}

.enquiry-section { background: var(--sand-2); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--sand-3); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.enquiry-intro h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.enquiry-intro p { color: var(--ink-2); max-width: 36ch; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--sand-4);
  padding: .6em 0; border-radius: 0; transition: border-color .25s; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-3); }
.field textarea { min-height: 140px; resize: vertical; }
.enquiry__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.form-hint { font-size: .82rem; color: var(--ink-3); max-width: 42ch; transition: color .3s; }
.enquiry[data-sent-live] .form-hint { color: var(--gulf); }

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: var(--night); color: var(--on-night); padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
}
.notfound svg { width: 64px; height: 64px; margin: 0 auto 28px; color: var(--gold); }
.notfound h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); margin: 0 0 1rem; color: var(--sand-2); }
.notfound p { color: var(--on-night-2); max-width: 40ch; margin: 0 auto 2rem; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; }
  .seal { width: min(100%, 300px); justify-self: start; }
  .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach__grid { grid-template-columns: 1fr; gap: 28px; }
  .approach__head { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 820px) {
  .hero { min-height: 0; padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__globe { width: min(100%, 380px); }
  .discuss__grid, .footer__grid, .contact-hero__grid, .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; }
  .contact-globe { width: min(100%, 340px); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 20px var(--gutter) 28px; background: var(--night); color: var(--on-night);
    border-bottom: 1px solid rgba(201, 164, 90, .3); display: none;
  }
  body.menu-open .nav { display: flex; }
  body.menu-open .site-header { background: var(--night); color: var(--on-night); }
  body.theme-sand .nav .nav__cta { color: var(--gold-2); border-color: var(--gold); }
}

@media (max-width: 640px) {
  .act-grid { grid-template-columns: 1fr; gap: 14px; }
  .act-card--featured { flex-direction: column; align-items: flex-start; gap: 22px; }
  .act-card--featured .act-icon { width: 56px; height: 56px; }
}

@media (max-width: 560px) {
  .brand__suffix { display: none; }
  .hero__title { font-size: clamp(2.3rem, 11.5vw, 3.2rem); }
  .seal { width: min(100%, 260px); }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html.js [data-intro], html.js .reveal, html.js .hline__inner { opacity: 1; transform: none; }
}
