/* ==========================================================================
   Dasma Design Lab — design system
   Adapted from the Altitude Beverages editorial system (monochrome canvas,
   pill geometry, 200-vs-800 type tension), pushed yellow-forward on the
   Dasma logo palette.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400..800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=JetBrains+Mono:wght@400..600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* Colour */
  --canvas:        #fafafa;
  --ash:           #ececea;
  --hairline:      #cdcdce;
  --ink:           #07060b;
  --pure-black:    #000000;
  --yellow:        #ffd230;
  --yellow-deep:   #e9bb18;
  --yellow-wash:   #fff6d6;
  --dark:          #07060b;
  --dark-2:        #14131a;
  --body-ink:      #23212c;
  --body-ink-soft: #46434f;

  /* Type */
  --font-display: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-editorial: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-caption: 12px;
  --text-body: 17px;
  --text-subheading: 18px;
  --text-heading-sm: clamp(26px, 3.6vw, 40px);
  --text-heading: clamp(34px, 5.2vw, 60px);
  --text-display: clamp(52px, 11.2vw, 160px);

  /* Spacing */
  --s4: 4px;  --s8: 8px;  --s12: 12px; --s16: 16px; --s20: 20px;
  --s24: 24px; --s28: 28px; --s36: 36px; --s48: 48px; --s56: 56px; --s64: 64px;

  /* Layout */
  --page-max: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-gap: clamp(56px, 9vw, 112px);

  /* Radius */
  --r-card: 44px;
  --r-full: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; top: 12px; inset-inline-start: 12px;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  background: var(--ink); color: var(--yellow);
  padding: 12px 18px; z-index: 200;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
}
.skip:focus { width: auto; height: auto; clip: auto; clip-path: none; }

/* --------------------------------------------------------------- type ---- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-display);
  line-height: 0.90;
  letter-spacing: -0.05em;
  margin: 0;
  text-transform: uppercase;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }

.h-lg { font-size: var(--text-heading); text-transform: uppercase; letter-spacing: -0.045em; }
.h-md { font-size: var(--text-heading-sm); text-transform: uppercase; letter-spacing: -0.04em; }
.h-sm { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.03em; }

.editorial {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.editorial em { font-style: italic; }

.lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--body-ink);
  margin: 0;
  max-width: 62ch;
}
.lede-serif {
  font-family: var(--font-editorial);
  font-weight: 500;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-block;
}

.tag-pill {
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--r-full);
  padding: 8px 15px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--body-ink-soft); }

/* ------------------------------------------------------------- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-full);
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--yellow); transform: translateY(-1px); }

.btn-solid { background: var(--yellow); }
.btn-solid:hover { background: var(--ink); color: var(--yellow); }

.btn-ink { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.btn-ink:hover { background: var(--yellow); color: var(--ink); }

.btn-ghost-light { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost-light:hover { background: var(--yellow); color: var(--ink); }

.btn-sm { padding: 11px 18px; font-size: 11px; }

/* ----------------------------------------------------------------- nav ---- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  background: var(--canvas);
  border: 2px solid var(--ink);
  border-radius: var(--r-full);
  padding: 12px 24px;
  transition: background .18s ease, transform .18s ease;
}
.nav-logo:hover { background: var(--yellow); transform: translateY(-1px); }
.nav-logo img { height: 40px; width: auto; }
@media (max-width: 720px) {
  .nav-logo { padding: 9px 16px; }
  .nav-logo img { height: 30px; }
}

.nav-pill {
  margin-inline: auto;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-full);
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-pill a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--r-full);
  transition: background .18s ease, color .18s ease;
}
.nav-pill a:hover, .nav-pill a[aria-current="page"] { background: var(--ink); color: var(--yellow); }

.nav-cta {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}
.nav-cta:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after  { top: 5px; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink);
  color: var(--canvas);
  padding: 84px var(--gutter) var(--gutter);
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav-drawer[data-open="true"] { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 8vw, 44px);
  text-transform: uppercase;
  letter-spacing: -0.045em;
  text-decoration: none;
  color: var(--canvas);
  padding: 6px 0;
  border-bottom: 1px solid #2a2932;
}
.nav-drawer a:last-of-type { border-bottom: 0; }
.nav-drawer a:hover { color: var(--yellow); }
.nav-drawer .drawer-close {
  position: absolute; top: 18px; right: var(--gutter);
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--yellow); color: var(--ink); border: 0;
  font-family: var(--font-mono); font-size: 14px; cursor: pointer;
}
.nav-drawer .drawer-meta {
  margin-top: auto; padding-top: 28px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  color: #8b8996; letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .nav { justify-content: space-between; }
  .nav-logo { margin-right: auto; }
}

/* -------------------------------------------------------------- layout ---- */

section { position: relative; }
section[id] { scroll-margin-top: 96px; }

.section {
  padding-block: var(--section-gap);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head .lede { max-width: 46ch; }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

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

.hero {
  padding-top: clamp(120px, 16vw, 190px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero .eyebrow {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.hero .display { max-width: 15ch; }
.display .hl {
  background: var(--yellow);
  padding: 0 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-foot {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: flex-end; justify-content: space-between;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------- marquee ---- */

.marquee {
  background: var(--yellow);
  border-block: 1.5px solid var(--ink);
  overflow: hidden;
  padding-block: 14px;
}
.marquee-track {
  display: flex; width: max-content;
  animation: slide 38s linear infinite;
}
.marquee span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding-inline: 22px;
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --------------------------------------------------------------- cards ---- */

.card {
  background: var(--ash);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
a.card:hover { background: var(--yellow); border-color: var(--ink); transform: translateY(-2px); }

.card .idx {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.card p { font-size: 16px; font-weight: 450; line-height: 1.5; color: var(--body-ink); }
a.card:hover p { color: var(--ink); }
.card .go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: inline-flex; gap: 8px; align-items: center;
}

.card-yellow { background: var(--yellow); }
.card-ink {
  background: var(--ink);
  color: var(--canvas);
  border-radius: 28px;
  border-color: #2a2932;
}
.card-ink p { color: #a5a3ae; }
.card-outline { background: transparent; border-color: var(--hairline); }

/* -------------------------------------------------------------- yellow ---- */

.band-yellow {
  background: var(--yellow);
  border-block: 1.5px solid var(--ink);
}

.band-dark {
  background: linear-gradient(180deg, #06050a 0%, #14131a 55%, #06050a 100%);
  color: var(--canvas);
  overflow: hidden;
}
.band-dark .lede, .band-dark p { color: #cfced6; }
.band-dark .rule { background: #2a2932; }

.watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 22vw, 300px);
  letter-spacing: -0.06em;
  text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 210, 48, 0.22);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

/* --------------------------------------------------------------- steps ---- */

.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step .n {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.step .body { display: grid; gap: 8px; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------------------------------------------------------------- list ---- */

.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ticklist li {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: baseline;
}
.ticklist li:last-child { border-bottom: 1px solid var(--hairline); }
.ticklist .k {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink);
}
.ticklist .v { font-size: 17px; font-weight: 450; line-height: 1.5; color: var(--body-ink); }
@media (max-width: 640px) { .ticklist li { grid-template-columns: 1fr; gap: 6px; } }

/* ----------------------------------------------------------------- faq ---- */

.faq details {
  border-top: 1px solid var(--hairline);
  padding: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 44px 26px 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 20px; font-weight: 400;
}
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 60px 26px 0; color: var(--body-ink); font-weight: 450; font-size: 17px; line-height: 1.55; max-width: 78ch; }

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

.footer {
  background: var(--ink);
  color: var(--canvas);
  padding-block: clamp(48px, 7vw, 88px) 32px;
}
.footer a { color: #cfced6; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.06em; color: #6f6d7a;
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 16px; font-weight: 450; }
.footer .brandcol img { height: 40px; width: auto; margin-bottom: 18px; }
.footer .brandcol p { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.5; color: #cfced6; max-width: 30ch; }
.footer .base {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid #2a2932;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  color: #6f6d7a; letter-spacing: 0.02em;
}

/* ------------------------------------------------------------ floating ---- */

.float-cta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-full);
  padding: 15px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.float-cta:hover { background: var(--ink); color: var(--yellow); }

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

.page-hero {
  padding-top: clamp(112px, 13vw, 160px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.page-hero .display {
  font-size: clamp(42px, 8.2vw, 112px);
  max-width: 13ch;
}
.crumb {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap;
}
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.stat { display: grid; gap: 6px; }
.stat .big {
  font-weight: 800; font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.05em; line-height: 1;
}

/* ---------------------------------------------------------------- form ---- */

.form-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}
.form-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.form-top img { height: 28px; width: auto; }
.progress { height: 3px; background: var(--hairline); }
.progress-bar { height: 100%; background: var(--yellow); width: 0%; transition: width .35s ease; }

.form-body {
  flex: 1;
  display: flex; align-items: center;
  padding: clamp(28px, 7vw, 72px) var(--gutter);
}
.step-panel { display: none; width: 100%; max-width: 900px; margin-inline: auto; }
.step-panel[data-active="true"] { display: block; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.step-panel .qnum { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; display: block; }
.step-panel .q { font-size: clamp(28px, 5vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 12px; }
.step-panel .hint { font-family: var(--font-editorial); font-size: clamp(17px, 1.6vw, 20px); color: #55535e; margin-bottom: 32px; }

.field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--hairline);
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.field::placeholder { color: #b6b4bd; }
.field:focus { outline: none; border-bottom-color: var(--ink); }
textarea.field { resize: vertical; min-height: 120px; font-size: clamp(17px, 2vw, 22px); }

.choices { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 16px 22px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; }
.choice span { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: -0.03em; }
.choice:has(input:checked) { background: var(--yellow); border-color: var(--ink); }

.choices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .choices-grid { grid-template-columns: 1fr; } }

.form-nav {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-top: 36px;
}
.form-note { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: #7a7885; letter-spacing: 0.02em; }
.error { color: #b3261e; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; margin-top: 12px; display: none; }
.error[data-show="true"] { display: block; }

.summary-box {
  background: var(--ash);
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 26px;
}
.summary-box dl { margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; }
.summary-box dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: #55535e; letter-spacing: 0.03em; }
.summary-box dd { margin: 0; font-size: 16px; }
@media (max-width: 560px) { .summary-box dl { grid-template-columns: 1fr; gap: 2px 0; } .summary-box dd { margin-bottom: 12px; } }

/* --------------------------------------------------------------- misc ----- */

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.logo-strip img { height: 34px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Motion — reveals, hero sequence, nav state, floating action rail
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.22,.68,.24,1),
              transform .75s cubic-bezier(.22,.68,.24,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].in { opacity: 1; transform: none; }

.js [data-reveal="mask"] { transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }

/* hero display, line by line */
.display .line { display: block; }
.display .line > span { display: inline-block; }
.js .display .line > span {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,.68,.24,1),
              transform .8s cubic-bezier(.22,.68,.24,1);
  transition-delay: var(--d, 0ms);
}
.js .display.in .line > span { opacity: 1; transform: none; }

/* nav condenses once you leave the hero */
.nav { transition: padding .3s ease; }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav.scrolled .nav-pill { padding: 4px; }
.nav.scrolled .nav-pill a { padding-block: 8px; }

/* card arrow */
.card .go svg { transition: transform .22s ease; }
a.card:hover .go svg { transform: translateX(5px); }

/* marquee doubles speed on hover for a bit of life */
.marquee:hover .marquee-track { animation-duration: 22s; }

/* ------------------------------------------------- floating action rail --- */

.rail {
  position: fixed;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.rail[data-show="true"] { opacity: 1; transform: none; pointer-events: auto; }

.rail-btn {
  width: 54px; height: 54px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--yellow);
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background .25s ease, color .25s ease,
              border-color .25s ease, transform .2s ease;
}
.rail-btn svg { width: 25px; height: 25px; display: block; }
.rail-btn:hover { transform: translateY(-2px) scale(1.04); }

.rail-btn.is-invert {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 640px) {
  .rail-btn { width: 48px; height: 48px; }
  .rail-btn svg { width: 22px; height: 22px; }
}

/* the old text CTA is replaced by the rail */
.float-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .display .line > span { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------- tag variants --- */

.tag-outline { background: transparent; border: 1.5px solid var(--ink); }
a.tag-outline { text-decoration: none; transition: background .18s ease, transform .18s ease; }
a.tag-outline:hover { background: var(--yellow); transform: translateY(-1px); }
.tag-ink { background: var(--ink); color: var(--yellow); }

.ticklist-onyellow li { border-top-color: rgba(7, 6, 11, .25); }
.ticklist-onyellow li:last-child { border-bottom-color: rgba(7, 6, 11, .25); }
.ticklist-onyellow .v { color: var(--ink); }

.ticklist .v a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.ticklist .v a:hover { border-bottom-color: var(--ink); }

.mono.muted a { color: inherit; }

/* the enquiry form's alternative-contact block */
.alt-contact {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 12px;
}
.alt-contact .alt-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.03em; color: #55535e;
}
.alt-contact .alt-links { display: flex; flex-wrap: wrap; gap: 10px; }
.alt-contact .alt-links a {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--hairline); border-radius: var(--r-full);
  padding: 11px 18px; text-decoration: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.03em;
  transition: background .18s ease, border-color .18s ease;
}
.alt-contact .alt-links a:hover { background: var(--yellow); border-color: var(--ink); }
.alt-contact .alt-links svg { width: 16px; height: 16px; }

/* ------------------------------------------------- enquiry form extras --- */

.intro-body {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  margin-bottom: 36px;
}
.intro-body p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 450;
  line-height: 1.6;
  color: var(--body-ink);
}
.intro-body .intro-note {
  border-left: 3px solid var(--yellow);
  padding-left: 16px;
  color: var(--body-ink-soft);
}
.intro-body strong { font-weight: 700; color: var(--ink); }

.step-panel .hint {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--body-ink-soft);
  margin-bottom: 30px;
  max-width: 60ch;
}

.choice-note {
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--body-ink-soft);
}
.choice:has(input:checked) .choice-note { color: var(--ink); }

.reveal-field { margin-top: 18px; }

/* ==========================================================================
   Motion, round two — loader curtain, big-to-small wordmark, blur reveals,
   sticky footer reveal, rotating badge, magnetic buttons, live clock
   ========================================================================== */

/* ------------------------------------------------------- blur reveals ---- */
.js [data-reveal] {
  filter: blur(10px);
  transition: opacity .8s cubic-bezier(.22,.68,.24,1),
              transform .8s cubic-bezier(.22,.68,.24,1),
              filter .8s cubic-bezier(.22,.68,.24,1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { filter: blur(0); }

.js .display .line > span {
  filter: blur(12px);
  transition: opacity .9s cubic-bezier(.22,.68,.24,1),
              transform .9s cubic-bezier(.22,.68,.24,1),
              filter .9s cubic-bezier(.22,.68,.24,1);
  transition-delay: var(--d, 0ms);
}
.js .display.in .line > span { filter: blur(0); }

/* ------------------------------------------------------ loader curtain --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--yellow);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  transform: translateY(0);
  transition: transform .85s cubic-bezier(.76,0,.24,1);
}
.loader img {
  width: min(78vw, 900px);
  height: auto;
  opacity: 0;
  transform: translateY(24px) scale(.96);
  transition: opacity .55s ease, transform .7s cubic-bezier(.22,.68,.24,1);
}
.loader .loader-tag {
  position: absolute;
  left: var(--gutter); bottom: var(--gutter);
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink);
  opacity: 0; transition: opacity .5s ease .25s;
}
.loader[data-state="in"] img, .loader[data-state="in"] .loader-tag { opacity: 1; transform: none; }
.loader[data-state="out"] { transform: translateY(-101%); }
.loader[data-state="done"], .no-loader .loader { display: none; }
body.is-loading { overflow: hidden; }

/* ----------------------------------------- hero wordmark, big to small --- */
/* The wordmark starts big in the top-left of the bar and eases down into the
   logo pill as you scroll. Same anchor point, only the scale changes. */
.hero-mark-img {
  --mark-w: clamp(200px, 30vw, 400px);
  position: absolute;
  left: 0; top: 0;
  width: var(--mark-w);
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
  z-index: 2;
}
.hero-mark-img.is-landed { visibility: hidden; }

.nav-logo[data-hold] { opacity: 0; transition: opacity .25s ease; }
.nav-logo[data-hold] img { visibility: hidden; }
.nav-logo[data-hold="false"] { opacity: 1; }
.nav-logo[data-hold="false"] img { visibility: visible; }

.hero.has-mark { padding-top: clamp(150px, 15vw, 200px); }

/* ------------------------------------------------- sticky footer reveal --- */
.page-body {
  position: relative;
  z-index: 2;
  background: var(--canvas);
  box-shadow: 0 18px 40px -20px rgba(7, 6, 11, .35);
}
.footer.is-sticky {
  position: sticky;
  bottom: 0;
  z-index: 1;
}
.footer.is-sticky .wrap { transform: translateY(var(--footer-shift, 0)); }

/* ------------------------------------------------------ rotating badge --- */
.badge {
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  top: clamp(20px, 5vw, 56px);
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge svg text {
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
  letter-spacing: 0.22em; text-transform: uppercase; fill: var(--yellow);
}
.badge .badge-core {
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px);
  color: var(--ink); letter-spacing: -0.06em; line-height: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .badge { display: none; } }

/* ------------------------------------------------------ magnetic hover --- */
@media (hover: hover) and (pointer: fine) {
  .btn, .rail-btn, .nav-logo, .nav-burger { will-change: transform; }
  .btn.is-magnet, .rail-btn.is-magnet, .nav-logo.is-magnet {
    transition: transform .12s ease-out, background .18s ease, color .18s ease;
  }
}

/* ---------------------------------------------------------- live clock --- */
[data-clock] { font-variant-numeric: tabular-nums; }
[data-clock] .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); margin-right: 8px; vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .display .line > span { filter: none !important; }
  .loader { display: none !important; }
  .badge svg { animation: none; }
  [data-clock] .dot { animation: none; }
  .hero-mark-img.is-flying { position: static; transform: none !important; }
}


/* ==========================================================================
   About on black, services that pop
   ========================================================================== */

.about .editorial { color: var(--canvas); }
.about .hl-y { color: var(--yellow); }
.about .tag { color: #8b8996; }
.band-dark .lede { color: #d6d5dc; }
.band-dark .lede em { color: var(--yellow); font-style: italic; }

.card-on-dark {
  background: transparent;
  border: 1.5px solid #2e2d37;
  color: var(--canvas);
}
.card-on-dark .idx { color: var(--yellow); }
.card-on-dark p { color: #cfced6; }

/* service cards: white, hard black border, yellow index, big title */
.services-grid { gap: clamp(14px, 1.6vw, 20px); }
.card-service {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 32px;
  padding: clamp(24px, 2.6vw, 34px);
  gap: 16px;
  min-height: 300px;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.card-service .idx {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--r-full);
  padding: 6px 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.card-service .h-md {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--ink);
}
.card-service p { color: var(--body-ink); font-weight: 450; font-size: 16px; }
.card-service .go {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1.5px solid var(--ink);
  font-weight: 500;
  font-size: 12px;
}
a.card-service:hover {
  background: var(--yellow);
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 0 0 0 transparent;
}
a.card-service:hover p { color: var(--ink); }

/* the full-service card is the anchor: black with yellow type */
.card-anchor { background: var(--ink); color: var(--canvas); }
.card-anchor .h-md { color: var(--yellow); }
.card-anchor p { color: #d6d5dc; }
.card-anchor .go { border-top-color: var(--yellow); color: var(--yellow); }
a.card-anchor:hover { background: var(--yellow); }
a.card-anchor:hover .h-md { color: var(--ink); }
a.card-anchor:hover .go { border-top-color: var(--ink); color: var(--ink); }

@media (max-width: 640px) { .card-service { min-height: 0; } }


/* ----------------------------------------------------------- world clocks --- */
.clocks {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
  display: grid;
  gap: 16px;
}
.clocks-label {
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--body-ink-soft);
}
.clocks-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.clock {
  display: grid; gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid var(--hairline);
  border-radius: 18px;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  position: relative;
}
.clock-city {
  font-family: var(--font-mono); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--body-ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clock-time {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.04em; line-height: 1; color: var(--ink);
}
.clock-dn {
  position: absolute; top: 12px; right: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent;
}
.clock[data-day="true"] .clock-dn { background: var(--yellow); }
.clock-home { background: var(--yellow); border-color: var(--ink); }
.clock-home .clock-city { color: var(--ink); }
.clock-home .clock-dn { border-color: var(--ink); }
.clock-home[data-day="true"] .clock-dn { background: var(--ink); }

@media (max-width: 1080px) { .clocks-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .clocks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ==========================================================================
   Language toggle + Arabic edition (RTL)
   ========================================================================== */

.lang-toggle {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 40px; padding: 0 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--ink);
  background: var(--canvas);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.lang-toggle[lang="ar"] { font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; font-weight: 700; }
.lang-toggle:hover { background: var(--ink); color: var(--yellow); transform: translateY(-1px); }
.drawer-lang { padding: 18px 0 0; }
.drawer-lang .lang-toggle { background: var(--yellow); }
.form-top-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1080px) { .nav .lang-toggle { display: none; } }

/* ---- Arabic typography ---- */
html[lang="ar"] {
  --font-display: 'Cairo', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-editorial: 'IBM Plex Sans Arabic', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Sans Arabic', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}
html[lang="ar"] body { letter-spacing: 0; }
html[lang="ar"] .display,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .h-lg, html[lang="ar"] .h-md, html[lang="ar"] .h-sm,
html[lang="ar"] .lede, html[lang="ar"] .mono, html[lang="ar"] .tag, html[lang="ar"] .tag-pill,
html[lang="ar"] .btn, html[lang="ar"] .nav-pill a, html[lang="ar"] .card .idx,
html[lang="ar"] .step .n, html[lang="ar"] .ticklist .k, html[lang="ar"] .clock-time,
html[lang="ar"] .stat .big, html[lang="ar"] .marquee span, html[lang="ar"] .faq summary,
html[lang="ar"] .step-panel .q, html[lang="ar"] .field, html[lang="ar"] .choice span {
  letter-spacing: 0;
}
html[lang="ar"] .display { line-height: 1.12; font-weight: 900; }
html[lang="ar"] .h-lg, html[lang="ar"] .h-md { line-height: 1.15; font-weight: 800; }
html[lang="ar"] .editorial { font-weight: 500; line-height: 1.4; }
html[lang="ar"] .step-panel .q { line-height: 1.2; }
html[lang="ar"] .card-service .h-md { line-height: 1.15; }
html[lang="ar"] .mono, html[lang="ar"] .tag, html[lang="ar"] .tag-pill,
html[lang="ar"] .btn, html[lang="ar"] .nav-pill a, html[lang="ar"] .clocks-label,
html[lang="ar"] .clock-city, html[lang="ar"] .qnum, html[lang="ar"] .form-note,
html[lang="ar"] .alt-label, html[lang="ar"] .footer h4, html[lang="ar"] .crumb,
html[lang="ar"] .marquee span, html[lang="ar"] .loader-tag, html[lang="ar"] .choice span {
  font-size: 1.06em;
}
html[lang="ar"] .hero.has-mark .display { font-size: clamp(38px, 8.5vw, 124px); }
html[lang="ar"] .hero-mark-img { --mark-w: clamp(170px, 20vw, 290px); }
html[lang="ar"] .nav-pill a { font-size: 12.5px; padding: 9px 13px; }
html[lang="ar"] .display .hl, html[lang="ar"] .display .line > span { display: inline-block; }
html[lang="ar"] .watermark, html[lang="ar"] .badge-core { font-family: 'Inter Tight', sans-serif; }

/* ---- mirrored chrome ---- */
html[dir="rtl"] .rail { right: auto; left: clamp(14px, 2.4vw, 26px); }
html[dir="rtl"] .badge { right: auto; left: clamp(20px, 5vw, 56px); }
html[dir="rtl"] .clock-dn { right: auto; left: 12px; }
html[dir="rtl"] .faq summary { padding: 26px 0 26px 44px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
html[dir="rtl"] .faq .answer { padding: 0 0 26px 60px; }
html[dir="rtl"] .nav-drawer .drawer-close { right: auto; left: var(--gutter); }
html[dir="rtl"] .loader .loader-tag { left: auto; right: var(--gutter); }
html[dir="rtl"] .intro-body .intro-note { border-left: 0; border-right: 3px solid var(--yellow); padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .card .go svg, html[dir="rtl"] .card .go { }
html[dir="rtl"] a.card:hover .go svg { transform: translateX(-5px) scaleX(-1); }
html[dir="rtl"] .card .go svg { transform: scaleX(-1); }
html[dir="rtl"] .hero-mark-img { left: auto; right: 0; transform-origin: 100% 0; }
html[dir="rtl"] .marquee-track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }
