@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueRegular.otf");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueRegular.otf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueMedium.otf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueSemiBold.otf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueBold.otf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueBold.otf");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galano Grotesque";
  src: url("./assets/fonts/GalanoGrotesqueBold.otf");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cyan: #08a8d2;
  --logo-cyan: #00bff2;
  --ink: #113144;
  --muted: #647987;
  --paper: #f4f9fc;
  --red: #d1213d;
  --line: rgba(17, 49, 68, 0.16);
  --display: "Galano Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Galano Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  font-family: var(--body);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  font-family: var(--body);
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 1rem;
}

header,
footer {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  padding: 1.25rem 4.55vw;
}

header {
  min-height: 91px;
  background: #fff;
  color: var(--ink);
}

footer {
  justify-content: center;
  background: #fff;
  color: #6f8190;
  min-height: 118px;
}

.logo {
  width: 180px;
  height: auto;
  display: block;
}

.header-line {
  width: 1px;
  height: 30px;
  flex: 0 0 auto;
  margin-left: 0.2rem;
  background: #dde8ee;
}

.motto,
.site-link,
footer a,
footer span {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

footer span {
  margin-right: auto;
  font-weight: 500;
}

.motto {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.site-link {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 0;
  height: 31.25vw;
  display: grid;
  grid-template-columns: 37.85% 62.15%;
  grid-template-rows: 1fr;
  overflow: hidden;
  background: var(--cyan) url("assets/1-milion-web.jpg") center center / cover no-repeat;
}

.hero-art {
  display: none;
}

.hero-art::before {
  content: none;
}

.hero-art::after {
  content: none;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  z-index: 1;
}

.hero-copy {
  grid-column: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6.55rem 4.55vw 10rem;
  background: transparent;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 2.45rem;
  color: var(--ink);
  font: 800 0.76rem var(--body);
  letter-spacing: 0.26em;
}

h1,
h2 {
  margin: 0;
  font: 800 clamp(5.2rem, 7.75vw, 8.8rem) / 0.91 var(--display);
  letter-spacing: -0.07em;
}

.red {
  color: var(--red);
}

.hero-lead {
  margin: 2.55rem 0 2.6rem;
  color: var(--ink);
  font: 300 clamp(1.75rem, 1.9vw, 2.3rem) / 1.24 var(--display);
  letter-spacing: -0.045em;
}

.explore {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.83rem;
  text-decoration: none;
}

.circle {
  display: grid;
  place-items: center;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(17, 49, 68, 0.72);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  background: rgba(17, 49, 68, 0.04);
  box-shadow: 0 0 0 0 rgba(17, 49, 68, 0.3);
  animation: arrow-pulse 1.9s ease-out infinite;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.circle::after {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border: 1px solid rgba(17, 49, 68, 0.22);
  border-radius: 50%;
  opacity: 0;
  animation: arrow-ring 1.9s ease-out infinite;
}

.explore:hover .circle {
  background: var(--ink);
  color: var(--cyan);
  border-color: var(--ink);
  transform: translateY(2px);
  animation-play-state: paused;
}

.explore:hover .circle::after {
  animation-play-state: paused;
}

@keyframes arrow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(17, 49, 68, 0.24);
  }

  50% {
    box-shadow: 0 0 0 0.58rem rgba(17, 49, 68, 0);
  }
}

@keyframes arrow-ring {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  38% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circle,
  .circle::after {
    animation: none;
  }
}

.hero-bottom {
  position: absolute;
  left: 4.6vw;
  right: 4.6vw;
  bottom: 2.35rem;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 0;
  border-top: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 2;
}

.edition {
  letter-spacing: 0.42em;
}

.possibilities {
  padding: 4rem 4.55vw 5.5rem;
  background: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: start;
  gap: 4.2vw;
  margin-bottom: 4.1rem;
}

.section-head .eyebrow {
  align-self: start;
  grid-column: 1;
  margin-bottom: 1.8rem;
  color: rgb(18, 52, 72);
  font-family: var(--display);
  font-size: 68px;
  font-style: normal;
  font-weight: 400;
  line-height: 73px;
  letter-spacing: 0;
}

.section-head h2 {
  grid-column: 1;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.instruction {
  grid-column: 2;
  justify-self: end;
  align-self: end;
  width: 13rem;
  margin: 7.4rem 0 0;
  color: #667b8a;
  font-size: 0.92rem;
  line-height: 1.35;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 4.2vw;
  align-items: start;
}

.choices {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.choices button {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  align-items: center;
  gap: 1.55rem;
  min-height: 6.05rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #6b7e8b;
  cursor: pointer;
  font: 400 clamp(1.7rem, 2vw, 2.25rem) var(--display);
  letter-spacing: -0.055em;
  text-align: left;
  transition: color 0.2s;
}

.choices button:hover,
.choices button[aria-selected="true"] {
  color: var(--ink);
}

.choices button[aria-selected="true"] {
  font-weight: 700;
}

.index {
  font: 700 0.72rem var(--body);
  letter-spacing: 0;
  color: #8ba0ad;
}

.choices button[aria-selected="true"] .index {
  color: var(--red);
}

.choice-arrow {
  color: var(--red);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.choices button:hover .choice-arrow,
.choices button[aria-selected="true"] .choice-arrow {
  opacity: 1;
}

.detail {
  min-height: 530px;
  position: relative;
  background: var(--cyan);
  overflow: hidden;
}

.detail-art {
  height: 100%;
  min-height: 530px;
  position: relative;
  background-image: url("assets/1-web.jpg");
  background-repeat: no-repeat;
  background-size: 255% auto;
  background-position: 45.7% 61.9%;
  transition: background-position 0.55s ease, background-size 0.55s ease;
}

.detail-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(3, 51, 75, 0.82));
  pointer-events: none;
}

.detail-caption {
  position: absolute;
  left: 1.8rem;
  right: 1.65rem;
  bottom: 1.55rem;
  display: flex;
  justify-content: space-between;
  padding-top: 0;
  border-top: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
}

.view-controls {
  display: none;
}

.view-controls button {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
}

.view-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cyan);
}

.mini-map {
  position: absolute;
  left: auto;
  right: 1.15rem;
  top: 1.15rem;
  width: 4.8rem;
  aspect-ratio: 0.78;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.95;
}

.mini-map img {
  width: 2.7rem;
  height: auto;
  object-fit: contain;
}

#map-marker {
  position: absolute;
  left: 40%;
  top: 65%;
  width: 26%;
  height: 12%;
  border: 1px solid var(--red);
  background: rgba(239, 51, 64, 0.2);
  transition: left 0.55s ease, top 0.55s ease, width 0.55s ease, height 0.55s ease;
}

.reveal {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 575px;
  padding: 3rem 5vw;
  background: var(--paper);
  color: #113144;
  font-family: var(--display);
  text-align: center;
}

.reveal .eyebrow {
  margin: 0 0 1.8rem;
  font: 800 65px / 1.12 var(--display);
  letter-spacing: 0px;
}

.reveal-text {
  margin: 1.2rem 0 1.6rem;
  font: 400 clamp(5.2rem, 6.5vw, 7.2rem) / 0.98 var(--display);
  letter-spacing: -0.055em;
}

.amount {
  color: var(--logo-cyan);
}

.reveal-follow {
  margin: 0;
  font: 700 clamp(1.45rem, 2vw, 1.9rem) / 1.16 var(--display);
  letter-spacing: -0.04em;
}

.closing {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 1rem;
  padding: 3.4rem 4.55vw;
  background: var(--cyan);
  color: #103247;
  text-align: center;
}

.closing-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 84px;
  height: 5px;
  margin: 0;
  background: var(--red);
  transform: translateX(-50%);
}

.closing p {
  margin: 0;
  font: 700 clamp(4.5rem, 6vw, 6.4rem) / 1.02 var(--display);
  letter-spacing: -0.065em;
}

.closing p span {
  color: #fff;
}

.closing-signature {
  margin-top: 3.3rem;
  min-width: 16rem;
  font: 700 1.65rem var(--display);
  letter-spacing: -0.04em;
}

.closing-signature span {
  display: block;
  margin-top: 0.65rem;
  font: 400 1rem var(--body);
  letter-spacing: 0;
  color: #103247;
}

p.text-bottom-footer {
    font-size: 30px;
    color: #fff;
}

@media (max-width: 760px) {
  header,
  footer {
    padding: 1rem 5vw;
  }

  .motto {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-art {
    min-height: 53vh;
  }

  .hero-art img {
    right: 4vw;
    top: 6%;
    width: auto;
    height: 92%;
  }

  .hero-copy {
    padding: 2rem 8vw 4rem;
  }

  .hero-bottom {
    padding: 1rem 5vw;
  }

  .possibilities {
    padding: 3rem 5vw 4rem;
  }

  .section-head,
  .story-layout {
    display: block;
  }

  .section-head h2 {
    margin: 2.5rem 0;
  }

  .instruction {
    margin-bottom: 3rem;
  }

  .detail,
  .detail-art {
    min-height: 390px;
  }

  .reveal {
    padding: 7rem 8vw;
  }

  .reveal-text {
    margin: 4rem 0 3rem;
  }

  .reveal-follow {
    margin-left: 10%;
  }

  .closing {
    min-height: 65vh;
    padding: 3rem 5vw;
  }

  footer {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }
}

@media (max-width: 900px) {
  header,
  footer {
    min-height: 68px;
    padding: 1rem 1.35rem;
  }

  .logo {
    width: 118px;
  }

  .header-line {
    height: 24px;
    margin-left: 0;
  }

  .motto {
    display: none;
  }

  .site-link {
    margin-left: auto;
    font-size: 0.76rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    background:
      radial-gradient(circle at 64% 74%, rgba(72, 176, 213, 0.75) 0 24%, rgba(8, 168, 210, 0) 54%),
      linear-gradient(160deg, #18b4d5 0%, #08a8d2 58%, #029ece 100%);
  }

  .hero-copy {
    flex: 0 0 auto;
    min-height: auto;
    padding: 3rem 7vw 0.7rem;
  }

  .hero-copy .eyebrow {
    margin-bottom: 1.4rem;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  h1 {
    max-width: 6.2ch;
    font-size: clamp(4.1rem, 20vw, 6.2rem);
    line-height: 0.91;
    letter-spacing: -0.065em;
  }

  .hero-lead {
    margin: 1.25rem 0 1.25rem;
    font-size: clamp(1.45rem, 6.4vw, 2rem);
    line-height: 1.16;
  }

  .explore {
    font-size: 0;
  }

  .circle {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.25rem;
  }

  .hero-art {
    display: flex;
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0 0;
  }

  .hero-art img {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    object-fit: contain;
    transform: none;
  }

  .hero-bottom,
  .hero-bottom:empty {
    display: none;
  }

  .possibilities {
    padding: 2.4rem 1.35rem 3.4rem;
  }

  .section-head,
  .story-layout {
    display: block;
  }

  .section-head {
    margin-bottom: 2.2rem;
  }

  .section-head .eyebrow {
    font-size: clamp(2.15rem, 10vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .section-head h2 {
    max-width: 11ch;
    margin: 0 0 1.35rem;
    font-size: clamp(2.65rem, 13vw, 4.25rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
  }

  .instruction {
    width: min(18rem, 100%);
    margin: 0 0 2.2rem;
    font-size: 0.95rem;
  }

  .choices {
    margin-bottom: 2rem;
  }

  .choices button {
    grid-template-columns: 1.35rem 1fr auto;
    gap: 1rem;
    min-height: 4.45rem;
    font-size: clamp(1.35rem, 6.2vw, 1.9rem);
    letter-spacing: -0.045em;
  }

  .index {
    font-size: 0.68rem;
  }

  .detail,
  .detail-art {
    min-height: 320px;
  }

  .detail-caption {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1rem;
    font-size: 0.92rem;
  }

  .mini-map {
    right: 0.85rem;
    top: 0.85rem;
    width: 4rem;
  }

  .mini-map img {
    width: 2.25rem;
  }

  .reveal {
    min-height: 260px;
    padding: 2.2rem 1.35rem;
  }

  .reveal .eyebrow {
    max-width: 20rem;
    margin: 0 auto 1.45rem;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .reveal-text {
    margin: 0 0 1.9rem;
    font-size: clamp(2.8rem, 11vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .reveal-follow {
    max-width: 17rem;
    margin: 0 auto;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    text-align: center;
  }

  .closing {
    display: block;
    min-height: auto;
    padding: 2.8rem 1.35rem;
  }

  .closing-line {
    left: 50%;
    width: 72px;
  }

  .closing p {
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .closing-signature {
    min-width: 0;
    margin-top: 2.4rem;
    font-size: 1.3rem;
  }

  .closing-signature span {
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  header {
    gap: 0.9rem;
  }

  .logo {
    width: 104px;
  }

  .header-line {
    height: 22px;
  }

  .hero-copy {
    padding: 2.7rem 7vw 0.5rem;
  }

  .hero-art {
    min-height: 0;
    padding: 10px 0 0;
  }

  .hero-art img {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .detail,
  .detail-art {
    min-height: 280px;
  }

  .detail-art {
    background-size: 300% auto;
  }

  footer {
    min-height: 82px;
  }
}
