@font-face {
  font-family: Archivo;
  src: url("/assets/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #fff;
  --surface: #f5f5f7;
  --ink: #18181c;
  --muted: #53535b;
  --line: #dcdce2;
  --accent: #3428c7;
  --accent-hover: #2b22a4;
  --night: #151421;
  --night-text: #e1deec;
  --font: Archivo, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.55 var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3 {
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(3.2rem, 7.2vw, 7.25rem); line-height: .98; letter-spacing: -.057em; }
h2 { font-size: clamp(2.45rem, 5vw, 5rem); line-height: 1.03; letter-spacing: -.052em; }
h3 { font-size: clamp(1.38rem, 2.1vw, 2rem); line-height: 1.13; letter-spacing: -.037em; }

.shell { width: min(100% - clamp(2rem, 6vw, 8rem), 76rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.75rem); scroll-margin-top: 1rem; }
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus { position: absolute; inset: 1rem auto auto 1rem; z-index: 2; padding: .6rem 1rem; background: var(--white); }
.eyebrow {
  color: var(--accent);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  font-weight: 620;
  line-height: 1.22;
}
.button {
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 100vw;
  padding: .75rem 1.14rem;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-hover); }
.button-primary:focus-visible { outline-color: var(--accent); }
.button-outline { border-color: var(--accent); color: var(--accent); }
.button-outline:hover { background: #eeecff; }
.button-light { background: #e2dcff; color: #231655; }
.button-light:hover { background: var(--white); }
.button-light:focus-visible { outline-color: #e2dcff; }
.text-link { border: 0; padding: .25rem 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover { text-decoration-thickness: 2px; }
.button span, .text-link span { flex-shrink: 0; }

.site-header { border-bottom: 1px solid #eeeeef; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .4rem clamp(1rem, 3vw, 3rem);
  min-height: 3.75rem;
}
.brand {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: .27rem;
  font-size: 1.2rem;
  font-weight: 730;
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand img { flex: none; width: 1.7rem; height: 1.7rem; object-fit: contain; filter: grayscale(1) brightness(.3); }
.main-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(1.2rem, 4vw, 3.1rem); }
.main-nav a, .site-footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .88rem; font-weight: 560; text-decoration: none; }
.main-nav a:hover, .site-footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: .24em; }
.nav-cta { justify-self: end; min-height: 2.75rem; padding: .48rem .82rem; font-size: .84rem; }

.hero { padding-block: clamp(3rem, 5.75vw, 5.55rem) clamp(1.35rem, 2.3vw, 2.25rem); }
.hero-copy { width: min(100% - 2rem, 64rem); margin-inline: auto; text-align: center; }
.hero .eyebrow { font-size: clamp(.88rem, 1.3vw, 1.1rem); }
.hero h1 { margin-top: .8rem; }
.hero h1 span { display: block; color: #4930bd; }
@supports ((background-clip: text) and (color: transparent)) {
  .hero h1 span {
    background: linear-gradient(100deg, #29299b 15%, #5534c4 52%, #782875 87%);
    background-clip: text;
    color: transparent;
  }
}
.hero-description { max-width: 47ch; margin: 1.2rem auto 0; color: var(--muted); font-size: clamp(1.12rem, 1.75vw, 1.48rem); line-height: 1.42; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.5rem; }
.hero-image {
  position: relative;
  width: min(100% - clamp(1.5rem, 4.5vw, 6rem), 83rem);
  overflow: hidden;
  margin-block: clamp(2rem, 4vw, 3.6rem) 0;
  border-radius: clamp(1rem, 2vw, 2rem);
  background: #d9b09a;
}
.hero-image img { width: 100%; height: auto; aspect-ratio: 3.05; object-fit: cover; object-position: center 55%; }
.hero-image figcaption {
  position: absolute;
  left: clamp(.7rem, 2vw, 1.6rem);
  bottom: clamp(.7rem, 2vw, 1.6rem);
  padding: .5rem .8rem;
  border-radius: 100vw;
  background: #18181c;
  color: var(--white);
  font-size: .76rem;
  font-weight: 580;
}

.launch { background: var(--surface); }
.launch-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.7rem; }
.launch-date { margin-top: .42rem; font-size: clamp(1.35rem, 2.6vw, 2.15rem); font-weight: 680; letter-spacing: -.045em; line-height: 1.15; }
.launch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 22rem);
  padding-block: .72rem;
  border-radius: .8rem;
  background: var(--white);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
}
.launch-countdown > span { display: grid; align-content: start; gap: .3rem; overflow-wrap: anywhere; }
.launch-countdown > span + span { border-inline-start: 1px solid var(--line); }
.launch-countdown strong { color: var(--accent); font-size: clamp(1.3rem, 4.8vw, 2.3rem); font-variant-numeric: tabular-nums; line-height: 1; }

.section-intro { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); align-items: end; gap: 1rem clamp(2rem, 5vw, 6rem); }
.section-intro h2, .experience h2, .platform h2, .contact h2 { margin-top: .55rem; }
.section-intro > p, .platform-intro > p:not(.eyebrow) { max-width: 43ch; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.23rem); line-height: 1.52; }

.field { display: grid; gap: .26rem; min-width: 0; }
.field label { font-size: .88rem; font-weight: 650; }
.field label span { font-weight: 450; }
.field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #898992;
  border-radius: .65rem;
  padding: .52rem .78rem;
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; }
.phase-selector { width: min(100%, 19rem); margin-top: 1.3rem; }
.destination-map {
  margin-block: 2rem 2.4rem;
  overflow: hidden;
  border: 1px solid #e2e4ef;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: #f6f7fc;
}
.map-header, .map-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem 1.4rem;
  padding: clamp(.85rem, 2.2vw, 1.5rem);
}
.map-header { align-items: start; }
.map-header h3 { margin-top: .2rem; }
.map-filters { flex: 0 1 27rem; min-width: 0; }
.map-fields { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem .65rem; min-width: 0; }
.map-fields .field { flex: 1 1 8rem; }
.map-fields select { min-width: 0; font-size: .92rem; }
.map-filter-results { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .85rem; margin-top: .35rem; color: var(--muted); font-size: .85rem; }
.map-filter-results a { display: inline-flex; align-items: center; min-height: 1.5rem; text-underline-offset: .2em; }
.map-reset { min-height: 2.85rem; padding: .4rem .65rem; border: 1px solid #898992; border-radius: .65rem; background: var(--white); color: var(--accent); font-size: .88rem; font-weight: 620; }
.map-reset:hover { background: #eeecff; }
.map-canvas { height: clamp(19rem, 40vw, 32rem); background: #dfe9fc; }
.map-canvas:focus-within { outline-offset: -3px; }
.map-status { padding: .85rem 1.5rem; color: var(--muted); }
.map-footer { align-items: center; padding-block: .45rem; color: var(--muted); font-size: .85rem; }
.map-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.map-legend p { display: flex; align-items: center; gap: .45rem; }
.map-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .2em; }
.map-card-link { color: var(--accent); font-weight: 650; }
.map-credit { margin-left: auto; }
.map-key, .map-pin {
  --pin-color: var(--accent);
  --pin-shape: 50%;
  --pin-size: 30px;
  --mark-size: 22px;
  display: grid;
  place-items: center;
  color: var(--pin-color);
}
.map-key { --pin-size: 24px; --mark-size: 16px; flex: none; width: 24px; height: 24px; }
.map-pin {
  width: 40px;
  height: 40px;
  z-index: 1;
  border: 0;
  padding: 0;
  border-radius: var(--pin-shape);
  background: transparent;
}
.map-key-next, .map-pin-next {
  --pin-color: #782478;
  --pin-shape: 8px;
}
.map-key-reference, .map-pin-reference { --pin-color: #596475; }
.map-pin-reference { --pin-size: 22px; --mark-size: 15px; pointer-events: none; z-index: 0; }
.map-key::before, .map-pin::before {
  content: "";
  grid-area: 1 / 1;
  width: var(--pin-size);
  height: var(--pin-size);
  box-sizing: border-box;
  border: 2px solid var(--white);
  border-radius: var(--pin-shape);
  background: currentColor;
  box-shadow: 0 1px 4px #31288460;
}
.map-key::after, .map-pin::after {
  content: "";
  grid-area: 1 / 1;
  width: var(--pin-size);
  height: var(--pin-size);
  background: var(--white);
  mask: url("/assets/map/viatelio-pin-mark.png") center / var(--mark-size) no-repeat;
}
button.map-pin:hover::before, .map-pin:focus-visible::before, .map-pin[aria-pressed="true"]::before {
  box-shadow: 0 0 0 2px currentColor, 0 2px 6px #31288460;
}
.map-pin[aria-pressed="true"], button.map-pin:hover { z-index: 2; }
.map-pin:focus-visible { z-index: 3; outline-offset: 0; }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.7vw, 1.5rem); margin-top: 1rem; }
.city-card { scroll-margin-top: 1rem; }
.city-card:target, .city-card-selected { outline: 2px solid var(--accent); outline-offset: 3px; }
.city-card { min-width: 0; overflow: hidden; border-radius: clamp(.85rem, 1.6vw, 1.35rem); background: var(--surface); }
.city-card img { width: 100%; height: auto; aspect-ratio: 1.63; object-fit: cover; }
.city-copy { padding: clamp(.95rem, 1.8vw, 1.55rem); }
.city-country { color: var(--muted); font-size: .74rem; font-weight: 650; }
.city-copy h4 { margin: .25rem 0 .38rem; font-size: clamp(1.38rem, 2.1vw, 2rem); line-height: 1.13; letter-spacing: -.037em; overflow-wrap: anywhere; }
.city-description { color: var(--muted); font-size: .95rem; }
.city-languages { margin: .8rem 0 0; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .88rem; }
.city-languages dt { font-weight: 650; }
.city-languages dd { margin: .15rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.destination-phase { margin-top: clamp(1.6rem, 3.5vw, 3rem); }
.destination-phase h3 { margin-top: .55rem; font-size: clamp(1.9rem, 4.2vw, 3.75rem); line-height: 1.05; letter-spacing: -.05em; }

.experience { background: var(--surface); }
.experience-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 2rem clamp(2rem, 6vw, 6rem); }
.steps { display: grid; gap: 1.1rem; margin: 1.65rem 0 0; padding: 0; list-style: none; }
.steps li { padding-top: .85rem; border-top: 1px solid var(--line); }
.steps h3 { font-size: 1.23rem; }
.steps p { max-width: 46ch; margin-top: .35rem; color: var(--muted); }
.experience-photo { position: relative; overflow: hidden; margin: 0; border-radius: 1.4rem; background: #c3ac98; }
.experience-photo img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; }
.experience-photo figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border-radius: .9rem;
  background: var(--white);
  box-shadow: 0 .5rem 2.2rem #1a16242e;
  line-height: 1.3;
}
.experience-photo small, .experience-photo strong { display: block; }
.experience-photo small { color: var(--muted); font-size: .72rem; }
.experience-photo strong { font-size: 1.03rem; }
.audio-wave { display: flex; flex: 0 0 auto; align-items: center; gap: .19rem; height: 2.1rem; padding: .45rem; border-radius: .5rem; background: #eeebff; color: var(--accent); }
.audio-wave i { width: .135rem; height: 42%; border-radius: 100vw; background: currentColor; }
.audio-wave i:nth-child(2n) { height: 68%; }
.audio-wave i:nth-child(3) { height: 96%; }

.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.language-grid article { padding: clamp(1rem, 2.7vw, 2rem); border-radius: 1.2rem; background: var(--surface); }
.language-grid article + article { background: #f0edff; }
.language-grid p { max-width: 49ch; margin-top: .52rem; color: var(--muted); }
.language-grid .text-link { margin-top: .3rem; }

.platform { background: radial-gradient(ellipse at 15% 5%, #342957, transparent 65%), var(--night); color: var(--white); }
.platform-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: 2.4rem clamp(2rem, 7vw, 7rem); }
.platform .eyebrow { color: #c8bdff; }
.platform-intro > p:not(.eyebrow) { margin-top: 1.05rem; color: var(--night-text); }
.platform-intro .button { margin-top: 1.4rem; }
.platform-features { display: grid; gap: .7rem; margin: 0; }
.platform-features div { padding: 1.05rem 1.2rem; border: 1px solid #5c536d; border-radius: 1rem; background: #ffffff0a; }
.platform-features dt { font-size: clamp(1.04rem, 1.65vw, 1.28rem); font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.platform-features dd { margin: .3rem 0 0; color: var(--night-text); }

.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.partner-grid article { padding: clamp(1.2rem, 3.5vw, 2.7rem); border-radius: 1.25rem; background: var(--surface); }
.partner-grid article + article { background: #f0edff; }
.partner-grid h3 { text-wrap: initial; }
.partner-grid p, .community-copy > p:not(.eyebrow) { max-width: 45ch; margin-top: .55rem; color: var(--muted); }
.partner-grid .text-link { margin-top: .65rem; }
.community-section { padding-top: 0; }
.community { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 1.25rem; background: #f1f2f7; }
.community img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.community-copy { align-self: center; padding: clamp(1.25rem, 4vw, 3.6rem); }
.community h2 { margin-top: .54rem; font-size: clamp(1.85rem, 3.6vw, 3.3rem); }
.community .button { margin-top: 1rem; }

.contact { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; gap: 1.8rem clamp(2rem, 8vw, 8rem); }
.direct-email { margin-top: .5rem; overflow-wrap: anywhere; }
.contact-links { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.contact-links li { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1.2rem; padding-block: .85rem; }
.site-footer p { color: var(--muted); font-size: .86rem; }

@media (max-width: 850px) {
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-image img { aspect-ratio: 2.05; object-position: 72% 55%; }
}
@media (max-width: 640px) {
  .header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; padding-top: .25rem; }
  .main-nav { flex: 1 1 100%; order: 1; justify-content: flex-start; gap: 0 clamp(.65rem, 4vw, 1.4rem); }
  .hero-image img { aspect-ratio: 1.42; object-position: 77% 55%; }
  .section-intro, .experience-inner, .platform-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .community img { min-height: 13rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.5rem, 10.9vw, 3.2rem); }
  .map-fields { width: 100%; }
  .map-pin { --pin-size: 27px; --mark-size: 20px; }
  .map-pin-reference { --pin-size: 21px; --mark-size: 14px; }
  .map-credit { margin-left: 0; }
  .partner-grid, .community, .language-grid { grid-template-columns: minmax(0, 1fr); }
  .community img { height: auto; min-height: 0; aspect-ratio: 1.7; }
}
@media (max-width: 350px) {
  .city-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (forced-colors: active) {
  .hero h1 span { background: none; color: CanvasText; }
}

