/* GR Colombia — an image-led, single-screen opening chapter. */
:root {
  color-scheme: dark;
  --ink: #080a0b;
  --white: #fff;
  --red: #ed1724;
  --gutter: clamp(24px, 4.6vw, 88px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; min-height: 100%; }
body { background: var(--ink); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid var(--white); outline-offset: 7px; }
::selection { background: var(--red); color: var(--white); }

.cover {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 680px;
  min-height: max(680px, 100svh);
  overflow: clip;
  background: var(--ink);
}

.cover__picture {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
}

.cover__photograph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 53%;
  user-select: none;
  animation: reveal-image 1.7s var(--ease) both;
}

.cover__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 7, 9, .55) 0%, rgba(2, 7, 9, .08) 30%, transparent 50%, rgba(2, 7, 9, .12) 68%, rgba(2, 7, 9, .74) 100%),
    linear-gradient(90deg, rgba(2, 7, 9, .42) 0%, rgba(2, 7, 9, .10) 42%, transparent 72%);
  transition: opacity 500ms ease;
}

.cover__content { transition: opacity 300ms ease, transform 500ms var(--ease); }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: calc(clamp(30px, 4.6vh, 56px) + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  animation: rise-in 1s 80ms var(--ease) backwards;
}
.brand { margin: 0; width: clamp(260px, 34vw, 540px); line-height: 0; }
.brand__wordmark { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .16)); }
.country { display: flex; gap: 11px; align-items: center; }
.country__name { font-size: 10px; font-weight: 600; letter-spacing: .23em; text-transform: uppercase; }
.country__flag { display: flex; flex-direction: column; width: 20px; height: 13px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.country__flag span:nth-child(1) { flex: 2; background: #f7d33f; }
.country__flag span:nth-child(2) { flex: 1; background: #164db3; }
.country__flag span:nth-child(3) { flex: 1; background: #e93437; }

.intro {
  position: relative;
  margin: auto 0 0;
  padding: 48px var(--gutter) 0;
  width: min(680px, 55%);
  animation: rise-in 1.1s 160ms var(--ease) backwards;
}
.intro__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 9px; font-weight: 700; letter-spacing: .22em; line-height: 1.6; text-transform: uppercase; }
.intro__eyebrow span { display: block; height: 2px; width: 25px; background: var(--red); flex-shrink: 0; }
.intro__title {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: .91;
  letter-spacing: -.045em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .16);
}
.intro__title em { font-style: italic; }
.intro__caption { margin: 22px 0 0; color: rgba(255, 255, 255, .77); font-size: 12px; line-height: 1.7; letter-spacing: .035em; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 20px;
  padding: 48px var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px));
}
.launch { display: flex; align-items: center; gap: 13px; min-height: 44px; animation: rise-in 1.1s 240ms var(--ease) backwards; }
.launch__line { height: 6px; width: 6px; background: var(--red); border-radius: 50%; box-shadow: 0 0 14px rgba(237, 23, 36, .25); }
.launch__label { font-size: 9px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.launch__separator { width: 1px; height: 10px; background: rgba(255, 255, 255, .27); }
.launch__domain { color: rgba(255, 255, 255, .5); font-size: 10px; letter-spacing: .05em; }
.photo-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms ease;
  touch-action: manipulation;
}
.photo-toggle::after { content: ""; position: absolute; left: 14px; bottom: 7px; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease); }
.photo-toggle:hover { color: var(--white); }
.photo-toggle:hover::after { transform: scaleX(1); }
.photo-toggle__label { font-size: 10px; font-weight: 500; letter-spacing: .05em; }
.photo-toggle__icon { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.photo-toggle__icon--close { display: none; }
.is-photo-view .cover__content { opacity: 0; pointer-events: none; transform: translateY(5px); }
.is-photo-view .cover__shade { opacity: 0; }
.is-photo-view .cover__photograph { object-fit: contain; object-position: center; animation: none; }
.is-photo-view .photo-toggle { padding: 0 14px; background: rgba(8, 10, 11, .7); color: var(--white); }
.is-photo-view .photo-toggle::after { display: none; }
.is-photo-view .photo-toggle__icon--expand { display: none; }
.is-photo-view .photo-toggle__icon--close { display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes reveal-image { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1700px) {
  .intro { padding-bottom: 30px; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 760px) {
  :root { --gutter: 26px; }
  .cover { min-height: max(640px, 100svh); }
  .cover__photograph { object-position: 50% 50%; }
  .cover__shade { background: linear-gradient(180deg, rgba(2, 7, 9, .62) 0%, rgba(2, 7, 9, .18) 24%, transparent 42%, rgba(2, 7, 9, .1) 60%, rgba(2, 7, 9, .85) 100%); }
  .masthead { padding-top: calc(31px + env(safe-area-inset-top, 0px)); gap: 15px; }
  .brand { width: min(75vw, 410px); }
  .country { align-self: flex-start; margin-top: 5px; }
  .country__name { display: none; }
  .country__flag { width: 18px; height: 12px; }
  .intro { width: 100%; padding-top: 42px; }
  .intro__eyebrow { font-size: 8px; letter-spacing: .16em; gap: 9px; margin-bottom: 15px; }
  .intro__eyebrow span { width: 21px; }
  .intro__title { font-size: clamp(48px, 12.5vw, 72px); letter-spacing: -.045em; }
  .intro__caption { font-size: 10px; margin-top: 17px; }
  .footer { padding-top: 24px; padding-bottom: calc(17px + env(safe-area-inset-bottom, 0px)); gap: 14px; }
  .launch { gap: 8px; }
  .launch__label { font-size: 8px; letter-spacing: .15em; }
  .launch__separator, .launch__domain { display: none; }
  .photo-toggle__label { font-size: 9px; }
  .photo-toggle { gap: 7px; padding-left: 8px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .brand { width: 75vw; }
  .country { display: none; }
  .intro__title { font-size: 44px; }
}

@media (max-height: 640px) and (min-width: 761px) {
  .cover { min-height: 520px; min-height: max(520px, 100svh); }
  .masthead { padding-top: 26px; }
  .brand { width: min(31vw, 360px); }
  .intro { padding-top: 28px; }
  .intro__title { font-size: 54px; }
  .intro__eyebrow { margin-bottom: 12px; }
  .intro__caption { margin-top: 14px; }
  .footer { padding-top: 18px; padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
