:root {
  --blue: #1f3a5f;
  --blue-deep: #172f4f;
  --blue-card: #274a78;
  --cream: #f3eee8;
  --warm-white: #fff8ef;
  --orange: #e37722;
  --orange-light: #ffb85c;
  --muted-light: #d5deea;
  --radius: 16px;
  --focus: #ffb85c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--blue-deep);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  color: var(--warm-white);
  background: var(--blue-deep);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(23, 47, 79, 0.08), rgba(23, 47, 79, 0.36)),
    url("assets/form-bg-jeancmpocket.png") left top / auto 192px repeat;
  filter: contrast(1.15) saturate(1.08);
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.link-page {
  width: min(100%, 34rem);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(1.75rem, env(safe-area-inset-top)) 1rem
    max(1.5rem, env(safe-area-inset-bottom));
}

.brand-intro {
  display: grid;
  justify-items: center;
  text-align: center;
}

.brand-logo {
  width: clamp(6.75rem, 29vw, 8.5rem);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 14px 24px rgba(10, 30, 55, 0.24));
}

.brand-intro p {
  max-width: 25rem;
  margin: 0.75rem auto 0;
  color: var(--warm-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 6.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(10, 30, 55, 0.4);
}

.destinations {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

.destination-card,
.person-card {
  position: relative;
  display: grid;
  align-items: center;
  border-radius: var(--radius);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.destination-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 248, 239, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 34px rgba(10, 30, 55, 0.18);
  overflow: hidden;
}

.destination-card--primary {
  min-height: 7.75rem;
  border-top: 3px dotted var(--orange);
  color: var(--blue-deep);
  background: rgba(255, 248, 239, 0.9);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}

.destination-card--primary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  content: "";
  background: var(--orange);
}

.destination-card--secondary {
  color: var(--warm-white);
  background: rgba(23, 47, 79, 0.79);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.destination-card--appointment {
  min-height: 5.5rem;
  border-style: dashed;
  border-color: rgba(255, 184, 92, 0.78);
  color: var(--warm-white);
  background: rgba(39, 74, 120, 0.66);
  backdrop-filter: blur(9px) saturate(115%);
  -webkit-backdrop-filter: blur(9px) saturate(115%);
}

.destination-card--appointment .destination-arrow {
  color: var(--blue-deep);
  background: var(--orange-light);
}

.destination-copy,
.person-copy {
  display: grid;
  min-width: 0;
}

.destination-copy {
  gap: 0.35rem;
}

.destination-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 5.6vw, 1.65rem);
  line-height: 1.08;
}

.destination-copy > span {
  color: currentColor;
  font-size: 0.92rem;
  line-height: 1.4;
  opacity: 0.82;
}

.destination-arrow,
.person-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.destination-arrow {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--warm-white);
  background: var(--orange);
  font-size: 1.2rem;
}

.people {
  margin-top: 2.25rem;
}

.people h2 {
  max-width: 22rem;
  margin: 0 auto 1rem;
  color: var(--warm-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 5vw, 1.35rem);
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(10, 30, 55, 0.36);
}

.people-list {
  display: grid;
  gap: 0.75rem;
}

.person-card {
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  min-height: 6rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 248, 239, 0.34);
  color: var(--warm-white);
  background: rgba(31, 58, 95, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px rgba(10, 30, 55, 0.16);
  backdrop-filter: blur(9px) saturate(115%);
  -webkit-backdrop-filter: blur(9px) saturate(115%);
}

.person-card img {
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid var(--warm-white);
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
}

.person-copy {
  gap: 0.05rem;
}

.person-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.person-copy > span:not(.person-handle) {
  color: var(--muted-light);
  font-size: 0.82rem;
  line-height: 1.32;
}

.person-handle {
  margin-top: 0.15rem;
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 800;
}

.person-arrow {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 248, 239, 0.35);
  font-size: 0.94rem;
}

footer {
  margin-top: 1.75rem;
  color: rgba(255, 248, 239, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.destination-card:hover,
.person-card:hover {
  transform: translateY(-2px);
}

.destination-card:active,
.person-card:active {
  transform: scale(0.985);
}

.destination-card:focus-visible,
.person-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (min-width: 48rem) {
  .link-page {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 22rem) {
  .link-page {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .destination-card {
    gap: 0.7rem;
    padding: 1rem;
  }

  .destination-arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .person-card {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
    gap: 0.7rem;
  }

  .person-card img {
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .destination-card--primary {
    background: var(--warm-white);
  }

  .destination-card--secondary,
  .destination-card--appointment,
  .person-card {
    background: var(--blue-deep);
  }
}

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