@font-face {
  font-family: "Archivo Variable";
  src: url("./assets/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter Variable";
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 64px);
  color: var(--brand-pads-color-midnight);
  background-color: var(--brand-pads-color-mist);
  background-image: radial-gradient(circle, rgb(12 40 51 / 13%) 0.8px, transparent 1px);
  background-size: 12px 12px;
  font: 400 1rem/1.5 var(--brand-pads-font-text);
}

h1, h2, h3, p, figure { margin: 0; }

.card {
  width: min(100%, 62rem);
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  border-radius: 22px;
  background: var(--brand-pads-color-mineral);
  box-shadow: 0 24px 64px -28px rgb(7 29 38 / 44%);
}

.cover {
  display: grid;
  grid-template-rows: 1.35fr 1fr;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px 0 0 22px;
  color: var(--brand-pads-color-mineral);
  background: var(--brand-pads-color-midnight);
}

.cover-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.75rem;
  padding: clamp(24px, 3.6vw, 48px);
}

.wordmark { width: 4.6rem; height: auto; }
.eyes { position: absolute; right: 7%; top: 8%; z-index: -1; width: 26%; max-width: 112px; height: auto; }

h1, h2, .link-copy strong { font-family: var(--brand-pads-font-display); }
h1 {
  font-size: clamp(3rem, 5.1vw, 4.75rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.057em;
}
h1 span { color: var(--brand-pads-color-action); }

.cover-photo { position: relative; min-height: 155px; }
.cover-photo > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 43%;
}

figcaption {
  position: absolute;
  bottom: .85rem;
  left: clamp(16px, 2vw, 26px);
  padding: .28rem .65rem;
  border-radius: 4px;
  color: var(--brand-pads-color-mineral);
  background: var(--brand-pads-color-midnight-deep);
  font-size: .75rem;
  font-weight: 600;
}
figcaption span { margin-inline: .16rem; color: var(--brand-pads-color-aqua); }

.directory { align-self: center; min-width: 0; padding: clamp(26px, 4.2vw, 60px); }
h2 {
  margin-bottom: 1.6rem;
  max-width: 14ch;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.045em;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--brand-pads-color-action-accessible); outline-offset: 3px; }
.destinations { display: grid; gap: .75rem; }
.destination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1.5px solid var(--brand-pads-color-muted);
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 0 rgb(12 40 51 / 18%);
}
.link-copy { display: grid; gap: .3rem; }
.contact-title { display: flex; align-items: center; gap: .45rem; }
.contact-title img { flex: none; }
.link-copy strong { font-size: 1.4rem; line-height: 1.12; letter-spacing: -.035em; }
.link-copy > span { color: var(--brand-pads-color-muted); line-height: 1.45; }
.arrow {
  flex: none;
  display: grid;
  place-content: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--brand-pads-color-midnight);
  background: var(--brand-pads-color-action);
  font: 500 1.5rem/1 system-ui, sans-serif;
}

footer { margin-top: 1.9rem; }
h3 { font: 600 .875rem/1.4 var(--brand-pads-font-text); }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: var(--brand-pads-accessibility-touch-target-min);
  padding: .4rem .7rem;
  border: 1px solid var(--brand-pads-color-muted);
  border-radius: 2rem;
  font-weight: 600;
}
@media (hover: hover) {
  .destination:hover, .social-links a:hover {
    background: var(--brand-pads-color-mist);
    border-color: var(--brand-pads-color-midnight);
  }
  .destination:hover strong, .social-links a:hover {
    text-decoration: underline;
    text-underline-offset: .16em;
  }
  .destination:hover .arrow { color: var(--brand-pads-color-mineral); background: var(--brand-pads-color-midnight); }
}
.destination:active { box-shadow: none; }

@media (max-width: 46rem) {
  body { padding: 18px; }
  .card { max-width: 30rem; grid-template-columns: 1fr; }
  .cover { grid-template-rows: auto 126px; border-radius: 22px 22px 0 0; }
  .cover-copy { gap: 1.25rem; padding: 22px 24px; }
  .wordmark { width: 3.2rem; }
  .eyes { top: 14px; width: 60px; right: 24px; }
  h1 { font-size: clamp(2.75rem, 10vw, 3.55rem); }
  .cover-photo { min-height: 0; }
  .directory { padding: 24px; }
  h2 { max-width: none; font-size: 1.5rem; margin-bottom: 1rem; }
  .destination { gap: .65rem; padding: .85rem; }
  .link-copy strong { font-size: 1.25rem; }
  .arrow { width: 2.25rem; font-size: 1.3rem; }
  footer { margin-top: 1.15rem; }
}

@media (max-width: 23rem) {
  body { padding: 8px; }
  .directory, .cover-copy { padding-inline: 18px; }
  .cover { grid-template-rows: auto 88px; }
  .cover-copy { padding-block: 16px; gap: .9rem; }
  .eyes { width: 48px; right: 18px; }
  h1 { font-size: 2.45rem; }
}
