/* VILORA
   Brand palette only: black #000000, white #fcfcfc, teal #0ab1ba.
   Every other value below is one of those three at an opacity.
   One typeface (Montserrat): thin at display sizes, spaced wide at label sizes. */

:root {
  --black: #000000;
  --white: #fcfcfc;
  --teal: #0ab1ba;

  --w88: rgba(252, 252, 252, 0.88);
  --w64: rgba(252, 252, 252, 0.64);
  --w40: rgba(252, 252, 252, 0.4);
  --w16: rgba(252, 252, 252, 0.16);
  --w08: rgba(252, 252, 252, 0.08);
  --b72: rgba(0, 0, 0, 0.72);
  --t24: rgba(10, 177, 186, 0.24);
  --t40: rgba(10, 177, 186, 0.4);
  --t12: rgba(10, 177, 186, 0.12);
  --t08: rgba(10, 177, 186, 0.08);

  --font: 'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --arabic: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --gutter: clamp(20px, 5.5vw, 88px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 300 1rem/1.75 var(--font);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--teal); color: var(--black); }
:focus-visible { outline: 1px solid var(--teal); outline-offset: 4px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; width: auto; height: auto; clip: auto; left: 16px; top: 16px; z-index: 100; padding: 10px 16px; background: var(--teal); color: var(--black); }
.top-sentinel { position: absolute; top: 0; height: 80px; width: 1px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 200; letter-spacing: -0.035em; line-height: 0.98; }
p { margin: 0; }
em { font-style: normal; color: var(--teal); }
.label {
  display: flex; align-items: center; gap: 14px;
  font: 500 0.6875rem/1.4 var(--font); letter-spacing: 0.34em; text-transform: uppercase; color: var(--teal);
  text-wrap: balance;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--teal); flex: none; }
.display { font-size: clamp(3.1rem, 9.4vw, 9.8rem); }
.title { font-size: clamp(2.4rem, 6vw, 5.6rem); }
.lede { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--w64); max-width: 32em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  min-height: 56px; padding: 0 8px 0 28px;
  border: 1px solid var(--teal); border-radius: 999px;
  font: 500 0.72rem/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white); background: transparent; cursor: pointer;
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.3s var(--ease);
}
.btn i {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 1rem; letter-spacing: 0;
  background: var(--t24); transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}
.btn:hover i { transform: translateX(3px); background: var(--teal); color: var(--black); }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--teal); color: var(--black); border-color: var(--teal); box-shadow: 0 18px 50px -18px rgba(10, 177, 186, 0.7); }
.btn-solid i { background: var(--black); color: var(--teal); }
.btn-solid:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-solid:hover i { background: var(--black); color: var(--white); }
.link {
  display: inline-flex; gap: 12px; align-items: center;
  font: 500 0.72rem/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--teal); transition: border-color 0.5s var(--ease), gap 0.5s var(--ease);
}
.link:hover { color: var(--teal); gap: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* ---------- header & menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) 22px;
  transition: background-color 0.6s var(--ease), padding 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}
.menu-open .site-header, .menu-open .site-header.scrolled { background: var(--black); } /* menu links scroll under the header on short phones */
.site-header.scrolled { background: var(--b72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; }
.brand { display: block; flex: none; padding: 12px 0; margin: -12px 0; }
.brand img { height: 20px; width: auto; }
.header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.header-wa { font: 500 0.6875rem/1 var(--font); letter-spacing: 0.26em; text-transform: uppercase; color: var(--black); background: var(--teal); padding: 13px 20px; border: 1px solid var(--teal); border-radius: 999px; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.header-wa:hover { background: var(--white); border-color: var(--white); }
.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--teal); border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
.menu-toggle i { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--white); transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.menu-toggle i:first-of-type { top: 18px; }
.menu-toggle i:last-of-type { top: 25px; }
.menu-open .menu-toggle i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 30; background: var(--black);
  display: grid; align-content: space-between; gap: 32px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; /* short phones: the 8 links + contact must scroll */
  padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px));
}
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; overflow: hidden; }
.menu li a {
  display: flex; align-items: baseline; gap: 22px;
  font-size: clamp(2.4rem, 7vw, 5.4rem); font-weight: 200; letter-spacing: -0.035em; line-height: 1.12;
  transform: translateY(105%); transition: transform 0.9s var(--ease-slow), color 0.4s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.menu li a::before { content: counter(m, decimal-leading-zero); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; color: var(--teal); }
.menu li a:hover, .menu li a[aria-current="page"] { color: var(--teal); }
.menu.open li a { transform: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 0.82rem; color: var(--w64); border-top: 1px solid var(--w16); padding-top: 24px; }
.menu-foot a:hover { color: var(--teal); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2;
  transform: scale(1.08); animation: settle 3.2s var(--ease-slow) forwards;
}
/* a darker band on the left keeps teal type crisp on the colourful photo */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 42%, rgba(0,0,0,0.25) 68%, rgba(0,0,0,0) 86%), linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.2) 62%, #000 100%); }
.hero-inner { padding: 0 var(--gutter) clamp(40px, 7vh, 88px); display: grid; gap: clamp(26px, 4vh, 44px); max-width: var(--max); }
.hero .display { font-size: clamp(2.7rem, 7vw, 7.4rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1.4s var(--ease-slow) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero .fade-late { opacity: 0; animation: fade 1.2s var(--ease) 0.9s forwards; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 0; font: 500 0.6875rem/1.4 var(--font); letter-spacing: 0.3em; text-transform: uppercase; color: var(--w64); }
.hero-meta span + span::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--teal); margin: 0 16px; vertical-align: middle; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 88px); width: 1px; height: 72px; background: var(--w16); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal); animation: cue 2.4s var(--ease) infinite; }
@keyframes settle { to { transform: scale(1); } }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes cue { to { top: 100%; } }
.hero h1, .closing h2, .page-hero h1, .chapter-bleed .word { text-shadow: 0 2px 40px rgba(0,0,0,0.55); }

/* ---------- sections ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 16vw, 200px); }
.section-tight { padding-block: clamp(64px, 10vw, 120px); }
.rule { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--t40), transparent); margin: 0; }
.frame { overflow: hidden; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- chapters ---------- */
.chapter { position: relative; min-height: 100dvh; display: grid; overflow: hidden; isolation: isolate; }
.chapter-bleed > .frame { position: absolute; inset: 0; z-index: -2; }
.chapter-bleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.1) 22%, rgba(0,0,0,0.35) 58%, rgba(0,0,0,0.92) 100%); }
.chapter-copy { align-self: end; padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(56px, 9vw, 120px); display: grid; gap: 22px; width: min(100%, 980px); min-width: 0; }
.chapter-bleed.right .chapter-copy { justify-self: end; text-align: right; justify-items: end; }
.chapter-bleed.right .chapter-copy p.line { margin-left: auto; }
.chapter-bleed p.line { text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 18px rgba(0,0,0,0.85); }
.chapter-bleed .numeral { width: max-content; padding: 9px 14px; border-radius: 999px; background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.numeral { font: 500 0.72rem/1 var(--font); letter-spacing: 0.3em; color: var(--teal); }
.word { font-size: clamp(3.6rem, 12.5vw, 12rem); font-weight: 200; letter-spacing: -0.05em; line-height: 0.86; }
.chapter p.line { font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--w88); max-width: 26em; }
.chapter-split { grid-template-columns: 1fr; min-height: auto; }
.chapter-split .frame { min-height: 70vh; }
.chapter-split .chapter-copy { align-self: center; }
/* split chapters have half the width: keep the big word inside its column */
.chapter-split .word { font-size: clamp(3rem, 7.2vw, 8.4rem); }
@media (min-width: 900px) {
  .chapter-split { grid-template-columns: 1fr 1fr; min-height: 100dvh; }
  .chapter-split .frame { min-height: 100%; }
  .chapter-split.mirror .frame { order: 2; }
}

/* ---------- founder ---------- */
.founder { display: grid; gap: clamp(40px, 6vw, 96px); align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .founder { grid-template-columns: 0.9fr 1.1fr; } }
.founder .frame { aspect-ratio: 4 / 5; max-width: 560px; background: var(--black); }
.founder-copy { display: grid; gap: 30px; padding-bottom: 8px; }
.ledger { display: grid; border-top: 1px solid var(--t24); }
.ledger div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--t24); }
.ledger dt, .ledger b { font-weight: 400; color: var(--teal); }
.ledger dd, .ledger span { margin: 0; color: var(--w64); }

/* ---------- guide ---------- */
.guide { display: grid; gap: clamp(48px, 7vw, 110px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .guide { grid-template-columns: 0.8fr 1.2fr; } }
.book { display: block; aspect-ratio: 210 / 297; max-width: 360px; width: 100%; justify-self: center; overflow: hidden; border: 1px solid var(--w16); box-shadow: 0 40px 80px -40px rgba(10, 177, 186, 0.35); transition: transform 0.6s var(--ease); }
.book:hover { transform: translateY(-4px); }
.book img { width: 100%; height: 100%; object-fit: cover; }
.guide-copy { display: grid; gap: 28px; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 92dvh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.closing > .frame { position: absolute; inset: 0; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at center, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.7) 100%); }
.closing-inner { display: grid; gap: 30px; justify-items: center; padding: 120px var(--gutter); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 72dvh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.page-hero > .frame { position: absolute; inset: 0; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0) 80%), linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.4) 70%, #000 100%); }
.page-hero .wrap { width: 100%; padding-bottom: clamp(40px, 7vw, 80px); display: grid; gap: 24px; }
.page-plain { padding-top: calc(140px + env(safe-area-inset-top, 0px)); }
.two { display: grid; gap: clamp(48px, 7vw, 110px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.stack { display: grid; gap: 26px; align-content: start; }
.prose { display: grid; gap: 20px; max-width: 38em; color: var(--w88); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 24px; color: var(--white); }
.prose a:not(.btn) { color: var(--teal); }
.prose .title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.prose .byline { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--w64); margin-top: -8px; }
.prose .answer { font-size: 1.15rem; color: var(--white); }
.prose .sources { font-size: 0.85rem; color: var(--w64); }
.prose ul.sources { margin: -12px 0 0; padding-left: 1.1em; display: grid; gap: 6px; }
.faq { border-top: 1px solid var(--t24); }
.faq > div { border-bottom: 1px solid var(--t24); padding: 18px 0; }
.faq h3 { color: var(--white); font-weight: 500; font-size: 1.05rem; }
.faq p { margin-top: 10px; color: var(--w88); }

/* index list: numbered rows with hairlines */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--t24); counter-reset: ix; }
.index li { counter-increment: ix; display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--t24); transition: padding-left 0.6s var(--ease); }
.index li:hover h3 { color: var(--teal); }
.index h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; transition: color 0.4s var(--ease); }
.index li::before { content: counter(ix, decimal-leading-zero); font: 500 0.7rem/2.4 var(--font); letter-spacing: 0.2em; color: var(--teal); }
.index li:hover { padding-left: 10px; }
.index p { grid-column: 2; color: var(--w64); max-width: 36em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; color: var(--w88); }
.ticks li::before { content: ""; width: 10px; height: 1px; margin-top: 0.9em; background: var(--teal); }

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; border-top: 1px solid var(--w16); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; } .steps li { border-top: 1px solid var(--w16); } }
.steps li { counter-increment: st; padding: 28px 24px 28px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--w16); }
@media (min-width: 900px) { .steps li { border-bottom: 0; } }
.steps li::before { content: "0" counter(st); font: 500 0.7rem/1 var(--font); letter-spacing: 0.2em; color: var(--teal); }
.steps h3 { font-size: 1.3rem; font-weight: 300; letter-spacing: -0.01em; line-height: 1.3; }
.steps p { color: var(--w64); font-size: 0.95rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 30px; }
.form .row { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .choice legend { font: 500 0.72rem/1 var(--font); letter-spacing: 0.3em; text-transform: uppercase; color: var(--w64); }
.field .opt { letter-spacing: 0.1em; text-transform: none; color: var(--w40); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid var(--w40); border-radius: 0;
  font: 300 1.05rem var(--font);
  transition: border-color 0.4s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--w64) 50%), linear-gradient(135deg, var(--w64) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--black); color: var(--white); }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.choice legend { width: 100%; margin-bottom: 14px; }
.choice label { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border: 1px solid var(--w16); border-radius: 999px; cursor: pointer; transition: border-color 0.4s var(--ease); }
.choice label[lang="ar"] { font: 500 1.02rem var(--arabic); }
.choice input { accent-color: var(--teal); margin: 0; width: 16px; height: 16px; }
.choice label:has(input:checked) { border-color: var(--teal); background: var(--t12); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { font-size: 0.8rem; color: var(--w40); }
.form-note a { color: var(--w64); border-bottom: 1px solid var(--w16); }
.form-error { color: var(--teal); font-size: 0.9rem; min-height: 0; }
.form-error:empty { display: none; }
.form-error a { border-bottom: 1px solid var(--teal); }
.form-done { display: grid; gap: 22px; }
.form-done h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.form-done p { color: var(--w64); }

/* ---------- footer ---------- */
.site-footer { padding: clamp(80px, 10vw, 140px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--t24); max-width: var(--max); margin-inline: auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: clamp(48px, 7vw, 80px); }
.footer-top img { height: 24px; width: auto; }
.footer-top p { color: var(--w64); text-align: right; font-size: 0.95rem; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-cols .label { margin-bottom: 16px; }
.footer-cols a, .footer-cols p:not(.label) { display: block; color: var(--w88); font-size: 0.92rem; padding: 3px 0; }
.footer-cols a:hover { color: var(--teal); }
.legal-id span + span::before { content: " · "; }
.legal { margin-top: clamp(56px, 8vw, 96px); padding-top: 22px; border-top: 1px solid var(--w16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font: 500 0.6875rem/1.8 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--w40); }

/* ---------- teal light ---------- */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 88% 0%, rgba(10, 177, 186, 0.16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(10, 177, 186, 0.1), transparent 70%); }

/* ---------- brokerage intro ---------- */
.intro { display: grid; gap: clamp(56px, 8vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--t24); border-bottom: 1px solid var(--t24); }
.stat { padding: clamp(26px, 3vw, 40px) 24px clamp(26px, 3vw, 40px) 0; display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--t24); }
.stat b { font-weight: 200; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--teal); }
.stat span { font: 500 0.6875rem/1.5 var(--font); letter-spacing: 0.28em; text-transform: uppercase; color: var(--w64); }

/* brokerage cards: a number, a word, a three-word caption, an arrow */
.services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.service {
  position: relative; display: grid; gap: 12px; grid-template-rows: auto 1fr auto auto; align-content: stretch; min-height: 230px;
  padding: 30px 28px; border: 1px solid var(--t24); border-radius: 22px;
  background: linear-gradient(160deg, var(--t12), transparent 62%);
  transition: border-color 0.6s var(--ease), background-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.service:hover { border-color: var(--teal); background-color: var(--t08); transform: translateY(-4px); }
.service .num { font: 500 0.7rem/1 var(--font); letter-spacing: 0.3em; color: var(--teal); }
/* card titles always on one line */
.service h3 { grid-row: 3; font-size: clamp(1.6rem, 2.2vw, 2.5rem); font-weight: 200; letter-spacing: -0.03em; white-space: nowrap; }
.service p { grid-row: 4; font: 500 0.6875rem/1.5 var(--font); letter-spacing: 0.26em; text-transform: uppercase; color: var(--w64); }
.service > i { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 1px solid var(--t40); color: var(--teal); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease); }
.service:hover > i { background: var(--teal); color: var(--black); transform: translateX(3px); }

.areas { overflow: hidden; border-top: 1px solid var(--t24); border-bottom: 1px solid var(--t24); padding-block: clamp(22px, 3vw, 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.areas-track { display: flex; width: max-content; animation: drift 70s linear infinite; }
.areas span { font-size: clamp(1.6rem, 3.2vw, 2.8rem); font-weight: 200; letter-spacing: -0.02em; white-space: nowrap; padding-inline: clamp(18px, 2.4vw, 34px); display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.areas span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow); }
.js .rv.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(10% 10% 10% 10%); transition: clip-path 1.6s var(--ease-slow); }
.js .reveal-img img { transform: scale(1.18); transition: transform 2.2s var(--ease-slow); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }
.js .reveal-img.in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero > img, .hero h1 .line > span, .hero .fade-late { animation: none; transform: none; opacity: 1; }
  .scroll-cue::after { animation: none; }
  .js .rv, .js .reveal-img, .js .reveal-img img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .menu li a { transition: none; }
  .areas-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.3) 26%, rgba(0,0,0,0.82) 46%, #000 100%); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--t24); }
}
@media (max-width: 640px) {
  .header-wa { letter-spacing: 0.2em; font-size: 0.6875rem; }
  .hero-meta { display: grid; gap: 6px; }
  .hero-meta span + span::before { display: none; }
  .scroll-cue { display: none; }
  .ledger div { grid-template-columns: 1fr; gap: 4px; }
  .index li { grid-template-columns: 40px 1fr; }
  .footer-top p { text-align: left; }
  .service { min-height: 168px; }
  .legal-id span { display: block; }
  .legal-id span + span::before { content: none; }
}
@media (max-width: 480px) {
  .label { letter-spacing: 0.26em; }
  .hero .label { font-size: 0.6875rem; letter-spacing: 0.2em; }
  .hero .label::before { display: none; }
}
/* iPhone SE-size screens: keep the logo clear of the WhatsApp button and button text on one line */
@media (max-width: 360px) {
  .brand img { height: 18px; }
  .header-actions { gap: 12px; }
  .header-wa { letter-spacing: 0.12em; padding: 12px 14px; }
  .btn { letter-spacing: 0.1em; padding-left: 22px; gap: 12px; }
  .hero .label { letter-spacing: 0.14em; }
}
