:root {
  --page-width: min(88.4%, 1272px);
  --line: #b0d8c72e;
  --white: #f4f7f2;
  --ease-slide: cubic-bezier(.22,.8,.2,1);
}
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.backdrop .map-layer, .backdrop .map-veil { position: absolute; height: 100%; }
.topline, .foot-wrap { position: relative; z-index: 4; width: var(--page-width); margin-inline: auto; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 0; }
.topline .brand { flex: none; }
.menu {
  width: min(61%, 770px);
  display: grid;
  grid-template-columns: 123fr 202fr 172fr 239fr;
  align-items: center;
}
.menu a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  text-align: center; min-height: 45px; padding: 6px 8px;
  border: 1px solid transparent; border-radius: 999px;
  color: #fff; letter-spacing: -.045em;
  transition: color .18s, background-color .18s;
}
.menu a svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) {
  .menu a:not([aria-current]):hover { color: #baff67; }
}
.menu a:not([aria-current="page"]) {
  font-family: "Grift Menu Regular", Grift, sans-serif; font-weight: 400;
}
.menu a[aria-current="page"] {
  font-family: "Grift Menu ExtraBold", Grift, sans-serif; font-weight: 800;
  color: #071c18; border-color: #edffc7;
  background: linear-gradient(112deg,#b5fa5c,#a4f553 58%,#b4fb69);
  box-shadow: inset 0 1px 1px #ffffe68c, 0 3px 12px #00171440;
}
.menu a:focus-visible, .case :is(button,[role="tabpanel"]):focus-visible, .secondary-copy a:focus-visible {
  outline: 2px solid white; outline-offset: -3px;
}
.stage { position: relative; z-index: 3; overflow: clip; margin-top: clamp(40px,4vw,58px); }
.slide {
  width: 100%; position: absolute; top: 0; left: 0;
  transform: translateX(calc(var(--offset) * 100%)); transition: transform .65s var(--ease-slide);
}
.slide[data-current] { position: relative; }
.slide[inert] { pointer-events: none; }
.landing-inner { padding-block: 0; grid-template-areas: "intro divider purpose"; }
.intro { padding: 0; }
.hero-title { margin-top: 0; }
.pin-tools { top: -4px; }
.pin-classes { top: 115px; }
.pin-garden { top: 374px; }
.divider { height: auto; }
.foot-wrap { padding: 0 0 44px; }
.foot-wrap .contact { margin: 0; }
.landing[data-view="inicio"] .foot-wrap { pointer-events: none; }
.foot-wrap .contact a { pointer-events: auto; }
.landing:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .foot-wrap .contact {
  width: 100%; justify-content: center;
}
.landing:not([data-view="inicio"]) .foot-wrap .contact-button { display: none; }

/* These views share a footer row. Longer content scrolls in the row above. */
.landing:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) {
  display: flex; flex-direction: column; height: 100svh; height: 100dvh; min-height: 0;
}
.landing:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .topline { flex: none; }
.landing:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .stage { flex: 1 1 0; min-height: 0; }
.landing:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .slide[data-current] { height: 100%; overflow-y: auto; }
#periferia-launch:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .foot-wrap {
  flex: none; margin-top: 10px; padding-bottom: max(12px, env(safe-area-inset-bottom));
}
@media (max-width:560px) {
  #periferia-launch:is([data-view="como-funciona"], [data-view="preguntas-frecuentes"]) .foot-wrap { padding-bottom: max(68px, env(safe-area-inset-bottom)); }
}


#pf-registro { border-radius: 17px; padding: 21px 32px 14px; background: linear-gradient(125deg,#2b4c4e72,#06212bb8 60%,#33544266); backdrop-filter: blur(10px); }
#pf-registro h2 { font-size: clamp(27px,2.65vw,38px); line-height: .96; }
#pf-registro .pf-copy { max-width: 31ch; margin: 18px 0; color: var(--lime); line-height: 1.15; }
#pf-registro .pf-copy strong { color: inherit; }
#pf-registro .pf-note { margin-top: 7px; }
#pf-registro .pf-row { min-height: 50px; }
#pf-registro button { cursor: pointer; }
.profiles-caption { color: #b9ceca; font-size: 12px; }
.case { margin: 0 auto; width: min(84%,1164px); line-height: 1.5; }
.case svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.case img { display: block; }
.case button { cursor: pointer; }
.case [hidden] { display: none !important; }
.case .story-tabs { margin-bottom: 27px; background: linear-gradient(100deg,#13343769,#0a272c8a); backdrop-filter: blur(8px); }
.case .scene-panel, .case .scene-art { min-height: 435px; }
.case .scene-copy { background: #08242cc9; }
.case .scene-role { color: #d0ff78; }
.case .scene-copy h3 { font-size: clamp(35px,3.1vw,46px); }
.case .search-example { width: 100%; text-align: left; font-family: inherit; }
.case .search-example:hover { border-color: var(--lime); }
.case .scene-takeaway { line-height: 1.5; }
.case .connection-receipt { min-height: 122px; }
.case .story-controls button:disabled { cursor: default; opacity: .5; }
.secondary-copy { width: min(88%,740px); margin: 0 auto; padding: 1em 0; line-height: 1.55; }
.secondary-copy h1 { font-size: clamp(36px,4vw,56px); letter-spacing: -.05em; }
.secondary-copy :is(p,summary) { font-size: 18px; }
.secondary-copy details { border-block-end: 1px solid var(--line); padding: 12px 0; }
.secondary-copy summary { cursor: pointer; }
.secondary-copy a { color: var(--lime); text-decoration: underline; }
.secondary-copy .pf-actions { display: flex; flex-wrap: wrap; gap: 20px; }
#periferia-launch:not([data-view="inicio"]) .foot-wrap { margin-top: clamp(32px,4.4vw,64px); }
@media (min-width:901px) {
  .landing-inner { min-height: min(714px,51vw); }
  .intro { padding-bottom: 78px; }
  .landing[data-view="inicio"] .foot-wrap { margin-top: -50px; }
  .purpose-title { font-size: clamp(42px,4.2vw,61px); }
  .news-card { height: clamp(185px,14.9vw,215px); }
  .purpose-copy { margin-block: 36px 42px; }
  #pf-registro { margin-top: 40px; }
}
@media (max-width:1020px) {
  .menu { width: 68%; }
  .topline .brand-word { width: 155px; }
  .topline .brand-symbol { width: 36px; height: 36px; }
}
@media (max-width:900px) {
  .topline { flex-direction: column; align-items: center; gap: 17px; padding-top: 22px; }
  .menu { width: 100%; }
  .stage { margin-top: 35px; }
  .landing-inner { padding-bottom: 0; }
  .foot-wrap { margin-top: 35px; }
  .foot-wrap .contact { margin-inline: auto; }
  .case { width: 92%; }
  .case .scene-panel { min-height: 0; }
  #pf-registro { padding-inline: clamp(18px,4vw,32px); }
}
@media (max-width:740px) {
  .case .scene-art { min-height: 375px; }
  .case .scene-copy { min-height: auto; padding: 25px 20px 15px; }
  .case .scene-copy h3 { margin-bottom: 14px; }
  .case .story-tabs button { font-size: 14px; }
  .case .story-controls { flex-wrap: wrap; }
  .case .business-profile { max-width: 92%; top: 9px; }
  .case .scene-pin { width: 54px; }
  .case .connected-people { left: 14px; right: 14px; }
  .case .story-bottom { padding: 16px; }
}
@media (max-width:560px) {
  .topline { width: calc(100% - 24px); }
  .menu { grid-template-columns: .82fr 1.04fr 1fr 1.21fr; }
  .menu a { font-size: 14px; gap: 4px; line-height: 1.05; padding-inline: 3px; }
  .menu a svg { width: 14px; height: 14px; }
  .stage { margin-top: 28px; }
  .foot-wrap { padding-bottom: 78px; }
}
@media (prefers-reduced-motion:reduce) {
  .slide,.menu a,.case * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
.backdrop {
  background: #06232c;
}
.backdrop::before {
  content: ""; position: absolute; inset: -14%;
  background: radial-gradient(ellipse at 28% 78%,#1c505b,transparent 52%),radial-gradient(ellipse at 73% 18%,#154346,transparent 48%);
  animation: drift-mist 20s ease-in-out alternate infinite;
}
.landing.paused .backdrop::before { animation-play-state: paused; }
@keyframes drift-mist { from { transform: translate(-2%,-2%) scale(1.02); } to { transform: translate(5%,3%) scale(1.12); } }
@media (prefers-reduced-motion:reduce) { .backdrop::before { animation: none; } }
@media (min-width:981px) {
  .case .mini-search { top: 102px; padding: 21px 22px; }
  .case .mini-brand { margin-bottom: 15px; }
  .case .client-token { bottom: 53px; }
}
/* The same four Grift cuts are embedded in the downloadable proof. */
body, .menu, .case, #pf-registro { font-family: Grift, sans-serif; font-synthesis: none; }
.menu a, .case :is(button, p, h3, span, strong), #pf-registro :is(button, input, p, h2) { font-family: inherit; }
.menu a { font-size: clamp(16px, 1.32vw, 19px); }
.case .scene-copy h3 { font-size: clamp(35px, 3vw, 44px); }
.case .scene-copy > p { font-weight: 400; }

/* Keep the profile and its caption in separate rows. */
.case .art-trade, .case .art-connect {
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-content: center; justify-items: center;
  gap: 26px; padding: 28px clamp(16px, 3vw, 48px) 14px;
  height: auto;
}
.case .art-trade .business-profile {
  position: relative; inset: auto; width: min(100%, 310px);
  transform: none; margin: 0; padding: 26px 24px 20px;
}
.case .art-trade .art-caption, .case .art-connect .art-caption {
  position: static; width: 100%; margin: 0; padding: 0;
}
.case .art-connect { gap: 24px; padding-top: 36px; }
.case .connected-people {
  position: relative; inset: auto; align-self: end; width: 100%; margin: 0 0 24px;
}
.case .connection-receipt {
  position: relative; inset: auto; width: min(100%, 540px); min-height: 0;
  padding: 20px 24px; align-self: center;
}
.case .connection-receipt .receipt-chat { font-weight: 500; }

/* A translucent track and an inset glass pill for the current scene. */
.case .story-tabs {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px;
  padding: 4px; border: 1px solid #a8cc9766; border-radius: 999px;
  background: linear-gradient(140deg,#50838b38,#03212abb 46%,#173b3c80);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: inset 0 1px 1px #e8fff31f, 0 6px 20px #00151a40;
}
.case .story-tabs button {
  min-width: 0; min-height: 48px; margin: 0; padding: 8px 10px; border-radius: 999px;
  font-size: 16px; font-weight: 500; color: #d0e1dc;
  border: 1px solid transparent; background: transparent;
}
.case .story-tabs button:hover { color: #e3ffaf; background: #b3eaae12; }
.case .story-tabs button[aria-selected="true"] {
  color: #d7ff92; border-color: #b6ec916e;
  background: linear-gradient(155deg,#a4e98c39,#42837550 53%,#234c503b);
  box-shadow: inset 0 1px 1px #f5ffdf4d, inset 0 -1px 3px #032c38a3;
}
.case .story-tabs .tab-icon { flex: none; }

/* Mask the composited card so the glass can still sample the map behind it. */
.profile-card[data-edge-fade] {
  --edge-mask: linear-gradient(to right, black var(--fade-start), transparent var(--fade-end));
  -webkit-mask-image: var(--edge-mask);
  mask-image: var(--edge-mask);
}
@media(min-width:561px) {
  .profile-next svg { width: 29px; height: 48px; }
}

/* Registration layout follows the 563 x 239 desktop artboard. */
#pf-registro {
  position: relative; isolation: isolate; container-type: inline-size;
  padding: 20px clamp(18px,2.25vw,32px) 18px; overflow: hidden;
  border-radius: 17px;
  border: 1px solid rgba(211,233,228,.26);
  background: linear-gradient(125deg,rgba(138,184,173,.13),rgba(1,20,28,.24) 60%,rgba(112,167,145,.13));
  box-shadow: inset 0 1px #fff1;
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  backdrop-filter: blur(5px) saturate(120%);
}
@media (max-width: 900px) {
  #pf-registro {
    background: linear-gradient(125deg,rgba(138,184,173,.1),rgba(1,20,28,.13) 60%,rgba(112,167,145,.1));
    -webkit-backdrop-filter: blur(3px) brightness(1.35) saturate(120%);
    backdrop-filter: blur(3px) brightness(1.35) saturate(120%);
  }
}
#pf-registro h2 { font: 700 clamp(26px,8.05cqi,40px)/.80 Grift,sans-serif; letter-spacing: -.058em; }
#pf-registro .pf-copy {
  color: #baff59; margin: 22px 0 21px 2px; max-width: none;
  font: 400 clamp(16px,4cqi,20px)/1.02 Grift,sans-serif; letter-spacing: -.035em;
}
#pf-registro .pf-copy strong { font-weight: 700; color: inherit; }
#pf-registro .pf-row {
  min-height: 50px; padding: 3px; align-items: center;
  background: linear-gradient(100deg,#23383f9c,#142329c4 62%,#142e35b8);
  border-color: #c7dad55c; box-shadow: inset 0 1px 2px #ffffff18,0 2px 6px #0005;
}
#pf-registro .pf-row button { min-height: 40px; gap: 9px; padding: 3px 5px 3px 18px; font-size: 14px; }
#pf-registro .pf-arrow { width: 30px; height: 30px; }
#pf-registro input[type=email] { font-size: 14px; }
#pf-registro:not(:focus-within) .pf-note { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media(max-width:500px) {
  #pf-registro .pf-row { align-items: stretch; padding: 0; box-shadow: none; }
  #pf-registro .pf-row button { min-height: 44px; padding-inline: 42px; }
}
@media(max-width:560px) {
  .menu a { font-size: 14px; }
  .case .story-tabs { gap: 2px; border-radius: 22px; }
  .case .story-tabs button { flex-direction: column; border-radius: 18px; padding: 8px 3px; gap: 5px; font-size: 14px; line-height: 1.1; }
  .case .art-trade, .case .art-connect { padding-inline: 21px; }
  .case .art-connect .connected-people { gap: 4px; }
  .case .story-controls { row-gap: 6px; }
}
@media(max-width:500px) {
  #pf-registro .pf-row { background: transparent; }
  #pf-registro .pf-email { background: #0a2c3380; }

}

@media(min-width:1201px){.hero-title{font-size:clamp(50px,4.17vw,60px)}.profile-details h3{font-size:32px}.menu a{font-size:clamp(17px,1.39vw,20px)}}

.hero-title, .purpose-title, .profile-details, .purpose-copy, .secondary-copy, .contact, .menu a, .case .scene-copy { font-family: Grift, sans-serif; }

/* Founder story · desktop reference 1440 × 900 */
.about-page {
  width: min(87.64%, 1262px); margin-inline: auto; color: #fff;
  font-family: Grift, sans-serif;
}
#about-heading {
  font: 700 clamp(42px,4.17vw,60px)/.94 Grift,sans-serif;
  letter-spacing: -.055em; margin: 0 0 36px -3px;
}
#about-heading span, .about-copy span { color: #b4f65c; }
.about-story {
  display: grid; grid-template-columns: minmax(0,33.92%) minmax(0,1fr);
  align-items: start; column-gap: 2.3%;
}
.about-photo { display: block; width: 100%; height: auto; }
.about-copy {
  border-left: 2px solid #bbf56a; padding-left: clamp(24px,3.4vw,49px);
  min-height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  gap: 16px; font-size: 13.4px; line-height: 18.2px; font-weight: 400; letter-spacing: -.037em;
}
.about-copy p { margin: 0; }
.about-copy strong { font-weight: 700; }
.about-bottom {
  margin-top: 48px; display: grid; grid-template-columns: 50.6% minmax(0,1fr);
  gap: 2%; align-items: center;
}
.about-wordmark { height: auto; aspect-ratio: 638 / 103; overflow: hidden; }
.about-wordmark canvas { width: 100%; height: 100%; display: block; }
.about-bottom .contact { grid-area: auto; margin: 0; width: min(100%,554px); }
#periferia-launch[data-view="quienes-somos"] .foot-wrap { display: none; }
@media (min-width:901px) {
  .about-page { width: min(87.64vw,1262px); margin-left: max(6.18vw,calc((100% - 1262px)/2)); }
  .about-bottom .contact { padding-left: min(4.45vw,64px); transform: translateY(3px); }
  #periferia-launch[data-view="quienes-somos"] .stage { margin-top: clamp(40px,3.85vw,55px); }
}
@media (max-width:1150px) {
  .about-break { display: none; }
  .about-bottom .contact { justify-content: flex-start; gap: 12px; }
}
@media (max-width:760px) {
  .about-page { width: min(89%,560px); }
  #about-heading { margin: 0 0 24px; }
  .about-story { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 428px; }
  .about-copy { padding-left: 18px; gap: 18px; font-size: 16px; line-height: 1.45; letter-spacing: -.025em; }
  .about-bottom .contact { width: 100%; justify-content: center; }
  .about-bottom { grid-template-columns: 1fr; gap: 25px; margin: 30px 0 50px; }
}
