/* Custom design system — ported from the index.html prototype.
   This file is the COMMITTED baseline so the site works without running Tailwind.
   Run `npm install && npm run build:css` to regenerate this with Tailwind utilities added. */

:root {
  --bg-0: #0B0B0C;
  --bg-1: #131315;
  --bg-2: #1A1A1C;
  --grid-dim: #26262A;
  --line: rgba(232, 228, 220, 0.07);
  --line-strong: rgba(232, 228, 220, 0.14);
  --accent: #C8A982;
  --accent-soft: rgba(200, 169, 130, 0.5);
  --text: #E8E4DC;
  --text-dim: #9A958C;
  --text-faint: #5F5B55;
  --glint-warm: #F5EFE4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg-0); color: var(--text); -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  height: 100vh;
  overflow: hidden;
  position: relative;
  font-feature-settings: "ss01" on, "ss02" on, "cv11" on;
}

#hex-bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, #181819 0%, #0B0B0C 72%);
}

.vignette {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 65% at 50% 50%, transparent 35%, rgba(11,11,12,0.6) 96%),
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, transparent 16%, transparent 78%, rgba(11,11,12,0.9) 100%);
}
.noise { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.04; }

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, rgba(11,11,12,0.75) 0%, rgba(11,11,12,0) 100%);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; }
.brand-text {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}

.nav-links { display: flex; gap: 44px; list-style: none; justify-self: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a .chev { width: 9px; height: 9px; opacity: 0.55; transition: transform .25s ease; }
.nav-links a:hover .chev { transform: translateY(1px); opacity: 1; }

.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 400;
  font-family: inherit;
  letter-spacing: 0.015em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn:hover {
  border-color: rgba(232, 228, 220, 0.35);
  background: rgba(232, 228, 220, 0.04);
}
.btn .arrow { width: 13px; height: 13px; transition: transform .25s ease; opacity: 0.75; }
.btn:hover .arrow { transform: translateX(3px); opacity: 1; }
.btn-lg { padding: 15px 26px; font-size: 13.5px; }
.btn-secondary { border-color: var(--line-strong); background: transparent; }
.btn-secondary:hover {
  border-color: rgba(232, 228, 220, 0.35);
  background: rgba(232, 228, 220, 0.04);
}

main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px max(160px, 18vh);
  text-align: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(232, 228, 220, 0.025);
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.pill svg { color: var(--accent); opacity: 0.9; }

.headline {
  position: relative;
  margin-top: 38px;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(46px, min(8vw, 15vh), 108px);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.028em;
  line-height: 0.92;
  text-wrap: balance;
  max-width: 100%;
}
.headline .word {
  display: block;
  color: var(--text);
  font-style: italic;
  position: relative;
}
.headline .word::after {
  content: ".";
  color: var(--accent);
  font-style: normal;
  margin-left: 0.02em;
}

.sub {
  max-width: 460px;
  margin: 34px auto 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.ctas { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; justify-content: center; }
.btn-whatsapp { border-color: var(--text); background: var(--text); color: #0B0B0C; }
.btn-whatsapp:hover { border-color: var(--glint-warm); background: var(--glint-warm); color: #0B0B0C; }
.btn-whatsapp .arrow { opacity: 0.85; }

.ticker-wrap {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 28px 0 34px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(11,11,12,0.6) 35%, rgba(11,11,12,0.94) 100%);
}
.ticker-label {
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  margin-bottom: 26px;
  text-transform: uppercase;
  font-weight: 400;
}
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker-track {
  display: flex; gap: 72px;
  width: max-content;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.partner {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(232, 228, 220, 0.36);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: color .3s ease;
}
.partner svg { color: currentColor; flex-shrink: 0; }

.nav-links li { position: relative; }
.nav-trigger { cursor: pointer; }
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: -8px; right: -8px;
  height: 16px;
  pointer-events: none;
}
.has-dropdown.open::after { pointer-events: auto; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 260px;
  padding: 8px;
  background: rgba(19, 19, 21, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(232, 228, 220, 0.03);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  display: grid; gap: 2px;
}
.nav-links li.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-links li.open .chev { transform: rotate(180deg); opacity: 1; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 2px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 400;
  transition: background .2s ease, color .2s ease;
}
.dropdown-menu a:hover {
  background: rgba(232, 228, 220, 0.04);
  color: var(--text);
}
.dropdown-menu .dm-icon { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; opacity: 0.75; }
.dropdown-menu a:hover .dm-icon { color: var(--accent); opacity: 1; }
.dropdown-menu .dm-meta { display: flex; flex-direction: column; gap: 2px; }
.dropdown-menu .dm-meta b { font-weight: 500; color: var(--text); font-size: 13.5px; }
.dropdown-menu .dm-meta span {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,12,0.6);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: white;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-sheet {
  position: fixed; inset: 0;
  z-index: 60;
  background: rgba(5, 4, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 90px 28px 40px;
  display: flex; flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.7,0,.2,1);
  overflow-y: auto;
}
.mobile-sheet.open { transform: translateY(0); }
.mobile-sheet a {
  color: var(--text);
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-sheet a .arrow-s { width: 16px; height: 16px; color: var(--text-faint); }
.mobile-sheet .ms-cta {
  margin-top: 28px;
  font-family: 'Geist', sans-serif;
  font-style: normal;
  font-size: 14px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #0B0B0C;
  border-radius: 2px;
  justify-content: center;
  padding: 16px;
  letter-spacing: 0.02em;
}

.drawer-backdrop {
  position: fixed; inset: 0;
  z-index: 70;
  background: rgba(2, 1, 6, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 460px;
  max-width: 100vw;
  z-index: 75;
  background: rgba(15, 15, 17, 0.88);
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.7), inset 1px 0 0 rgba(232, 228, 220, 0.03);
  padding: 36px 36px 30px;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.7, 0, .2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.drawer-title {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}
.drawer-sub { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.drawer-close {
  width: 34px; height: 34px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.drawer-close:hover {
  background: rgba(232, 228, 220, 0.04);
  color: var(--text);
  border-color: rgba(232, 228, 220, 0.3);
}

.drawer-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 400;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
  resize: none;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: rgba(200, 169, 130, 0.025);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.drawer-submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  padding: 15px 22px;
  font-size: 14px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #0B0B0C;
}
.drawer-submit:hover {
  border-color: var(--glint-warm);
  background: var(--glint-warm);
  color: #0B0B0C;
}

.drawer-alt {
  display: flex; gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.drawer-alt a {
  flex: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.drawer-alt a:hover {
  background: rgba(232, 228, 220, 0.04);
  color: var(--text);
  border-color: rgba(232, 228, 220, 0.3);
}
.drawer-alt a svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.75; }

.drawer-success { display: none; text-align: center; padding: 40px 8px; }
.drawer-success.show { display: block; }
.drawer-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--accent-soft);
  margin: 0 auto 20px;
  display: grid; place-items: center;
  color: var(--accent);
}
.drawer-success h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 8px;
}
.drawer-success p { color: var(--text-dim); font-size: 14px; }

/* Offices modal — vertical office cards inside the drawer */
.offices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.office-card {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(232, 228, 220, 0.015);
}
.office-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.office-country {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.office-badge {
  font-family: 'Geist Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px 2px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: rgba(200, 169, 130, 0.06);
  white-space: nowrap;
}
.office-card.main {
  border-color: rgba(200, 169, 130, 0.32);
  background: linear-gradient(180deg, rgba(200, 169, 130, 0.045), rgba(232, 228, 220, 0.015));
}
.office-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.4;
}
.office-row svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--text-faint);
}
.office-row a {
  color: var(--text-dim);
  text-decoration: none;
  font-feature-settings: "tnum" on;
  transition: color .2s ease;
}
.office-row a:hover { color: var(--text); }
.office-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 2px;
  border: 1px solid var(--accent-soft);
  background: rgba(200, 169, 130, 0.06);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.office-whatsapp:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0B0B0C;
}
.office-whatsapp svg { width: 15px; height: 15px; }

@media (max-width: 1080px) {
  .nav { padding: 16px 20px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  main { padding: 100px 18px max(180px, 20vh); }
  .pill { font-size: 12px; padding: 6px 14px 6px 12px; }
  .sub { font-size: 15px; max-width: 440px; }
  .btn-lg { padding: 13px 20px; font-size: 14px; }
  .ticker-wrap { padding: 18px 0 22px; }
  .ticker-label { font-size: 10px; margin-bottom: 14px; }
  .partner { font-size: 17px; }
  .ticker-track { gap: 48px; }
}
@media (max-width: 520px) {
  .drawer { padding: 24px 22px 24px; gap: 14px; }
  .drawer-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .brand-text { font-size: 13px; letter-spacing: 0.16em; }
  .brand-mark svg { width: 28px; height: 28px; }
  .ctas { gap: 10px; width: 100%; }
  .ctas .btn { flex: 1; min-width: 0; justify-content: center; }
}
