@font-face {
  font-family: Bricolage;
  src: url('./assets/bricolage.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 800;
}

.entry-main {
  --entry-ink: #edf5e2;
  --entry-lime: #cafa77;
  --entry-display: Bricolage, Manrope, sans-serif;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 70px);
  padding: clamp(42px, 7vw, 98px) 0 clamp(48px, 7vw, 94px);
  background: #071d15;
  color: var(--entry-ink);
}

.entry-main::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(100deg, #071d15 18%, #071d15b8 55%, #071d153d),
    linear-gradient(0deg, #071d15 4%, #071d1533 76%),
    url('./assets/agua-deck.webp') right 43% / cover no-repeat;
}

.entry-intro { max-width: 800px; }
.entry-kicker, .entry-back { display: inline-flex; align-items: center; gap: 9px; }
.entry-kicker { color: var(--entry-lime); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.entry-intro h1 {
  margin: 14px 0 20px;
  font: 750 clamp(3.7rem, 9.7vw, 9.1rem)/.86 var(--entry-display);
  letter-spacing: -.075em;
  text-wrap: balance;
}
.entry-intro h1 em { font-style: normal; color: var(--entry-lime); }
.entry-lead { max-width: 38ch; color: #d4e4d5; font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.55; }
.entry-volume { margin-top: 12px; font-size: .84rem; color: var(--entry-lime); }
.entry-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: clamp(27px, 4.3vw, 58px); animation: entry-appear 390ms ease-out both; }
@keyframes entry-appear { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.entry-card {
  --card-color: #e5eee0;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: clamp(17px, 2.5vw, 28px);
  border: 1px solid #ffffff24;
  border-radius: 17px;
  background: var(--card-color);
  color: #14251b;
  text-decoration: none;
  transition: transform 210ms ease, box-shadow 210ms ease;
}
.entry-card[data-entry-role='collector'] { --card-color: #cafa77; }
.entry-card[data-entry-role='admin'] { --card-color: #c1e2d6; }
.entry-card:hover { transform: translateY(-5px); box-shadow: 0 18px 26px #0005; }
.entry-card:focus-visible, .entry-back:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.entry-card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border: 1px solid #14251b30; border-radius: 50%; }
.entry-card-icon svg { width: 22px; height: 22px; }
.entry-card h2, .entry-form-card h2 { font: 720 clamp(1.45rem, 2.6vw, 2.3rem)/.99 var(--entry-display); letter-spacing: -.055em; }
.entry-card p { max-width: 36ch; margin: 9px 0 17px; color: #33493c; font-size: .87rem; line-height: 1.48; }
.entry-card-action { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid #14251b26; font-size: .77rem; font-weight: 800; }

.entry-login { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .86fr); gap: clamp(24px, 7vw, 110px); align-items: center; }
.entry-main-login .entry-intro h1 { font-size: clamp(3.35rem, 7.7vw, 7.4rem); text-wrap: initial; }
.entry-back { width: fit-content; margin: 0 0 28px; color: var(--entry-ink); font-weight: 740; font-size: .85rem; }
.entry-main-login .entry-kicker { display: flex; }
.entry-form-card { padding: clamp(23px, 4vw, 42px); background: #eff5e6; color: #14251b; border-radius: 20px; }
.entry-form-card > p { margin: 12px 0 24px; color: #3d5444; line-height: 1.5; }
.entry-form-card .p-form { width: 100%; padding: 0; }
.entry-form-card .p-form input { width: 100%; }
.entry-form-card .button { width: 100%; }

@media (max-width: 760px) {
  .entry-main::before { background-position: center, center, 62% center; }
  .entry-choices, .entry-login { grid-template-columns: 1fr; }
  .entry-card { min-height: unset; }
  .entry-card-icon { margin-bottom: 12px; }
}
@media (max-width: 380px) {
  .entry-intro h1 { font-size: clamp(2.8rem, 14vw, 3.7rem); }
  .entry-main-login .entry-intro h1 { font-size: clamp(2.65rem, 12vw, 3.35rem); }
}
@media (prefers-reduced-motion: reduce) {
  .entry-choices { animation: none; }
  .entry-card { transition: none; }
  .entry-card:hover { transform: none; }
}
