:root {
  --ink: #2d251d;
  --muted: rgba(40, 39, 37, .74);
  --line: rgba(105, 98, 88, .62);
  --card: rgba(255, 255, 255, .88);
  --badge: rgba(255, 255, 255, .93);
  --border: rgba(58, 55, 50, .13);
  --shadow: 0 14px 32px rgba(48, 45, 40, .1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfaf7;
}

.page-shell {
  min-height: 100%;
  padding: clamp(0px, 1.6vw, 20px);
  display: grid;
  place-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(100%, 1500px);
  min-height: min(820px, calc(100svh - 24px));
  border-radius: clamp(0px, 1.1vw, 18px);
  background: #faf9f5;
  box-shadow: 0 24px 62px rgba(45, 43, 39, .14);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("./assets/cordillera-bg.jpg");
  background-size: cover;
  background-position: center right;
  filter: saturate(1) contrast(1.04) brightness(1);
  transform: scale(1.006);
  will-change: transform;
  z-index: -3;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .12) 42%, rgba(255, 255, 255, .03) 72%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(252, 251, 248, 0) 48%, rgba(72, 68, 62, .06) 100%);
  z-index: -2;
}

.content {
  position: relative;
  z-index: 2;
  width: min(560px, 50vw);
  padding: clamp(30px, 4.7vw, 58px);
  animation: riseIn .72s ease both;
}

.brand {
  width: fit-content;
  display: grid;
  gap: 6px;
  letter-spacing: .26em;
  text-transform: uppercase;
  user-select: none;
}

.brand__mark {
  width: clamp(96px, 9.4vw, 132px);
  height: auto;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__snow {
  stroke-width: 1.7;
  opacity: .74;
}

.brand__text span,
.brand__text strong {
  display: block;
  font-weight: 400;
}

.brand__text span {
  font-size: clamp(.62rem, .75vw, .76rem);
  color: var(--muted);
}

.brand__text strong {
  margin-top: 3px;
  font-size: clamp(.92rem, 1.25vw, 1.28rem);
  font-weight: 520;
  letter-spacing: .22em;
}

.status {
  margin-top: clamp(72px, 12vh, 116px);
}

h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(2rem, 3.25vw, 3.85rem);
  line-height: 1.04;
  font-weight: 360;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(45, 37, 29, .92);
}

.line {
  display: block;
  width: 42px;
  height: 1px;
  margin: clamp(22px, 3vw, 34px) 0 21px;
  background: var(--line);
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 12px;
  border: 1px solid rgba(58, 55, 50, .12);
  border-radius: 999px;
  background: var(--badge);
  color: rgba(45, 37, 29, .88);
  box-shadow: 0 10px 24px rgba(48, 45, 40, .09);
  backdrop-filter: blur(7px) saturate(1.02);
  text-decoration: none;
  font-size: clamp(.86rem, 1vw, 1rem);
  letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.email:hover {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(58, 55, 50, .2);
  transform: translateY(-1px);
}
.email svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards {
  position: absolute;
  z-index: 3;
  left: clamp(30px, 4.6vw, 70px);
  right: clamp(30px, 4.6vw, 70px);
  bottom: clamp(22px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(5, minmax(96px, 174px));
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
  animation: riseIn .72s .12s ease both;
}

.card {
  min-height: clamp(84px, 7.6vw, 108px);
  padding: 14px 12px 12px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  backdrop-filter: blur(7px) saturate(1.02);
  box-shadow: var(--shadow);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(58, 55, 50, .2);
  transform: translateY(-2px);
}

.card svg {
  width: clamp(28px, 2.5vw, 38px);
  height: clamp(28px, 2.5vw, 38px);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.28;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card span {
  font-size: clamp(.58rem, .66vw, .68rem);
  font-weight: 560;
  letter-spacing: .1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
    border-radius: 0;
  }
  .page-shell { padding: 0; }
  .content {
    width: min(100%, 620px);
    padding: 30px 24px;
  }
  .hero__image {
    background-size: cover;
    background-position: center center;
  }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .1) 48%, rgba(72, 68, 62, .08) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 100%);
  }
  .status { margin-top: clamp(74px, 15vh, 126px); }
  h1 { letter-spacing: .15em; }
  .cards {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: clamp(150px, 30vh, 260px) 20px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card--more { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .content { padding: 26px 20px; }
  .brand__mark { width: 84px; }
  .brand__text strong { letter-spacing: .16em; }
  h1 {
    font-size: clamp(1.65rem, 9vw, 2.15rem);
    letter-spacing: .11em;
  }
  .email {
    max-width: 100%;
    font-size: .88rem;
    word-break: break-word;
  }
  .cards {
    margin-top: 26vh;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card {
    min-height: 88px;
    padding: 14px 10px 12px;
  }
  .card span { font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
