:root {
  --navy: #211c50;
  --gold: #d39228;
  --ink: #25213f;
  --muted: #625f68;
  --paper: #f5f3ef;
  --max-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1 {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: white;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.refresh-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.visual,
.veil {
  position: absolute;
  inset: 0;
}

.visual {
  z-index: -2;
  background-image: url("../images/soul2urfeet-hero.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.veil {
  z-index: -1;
  background: linear-gradient(90deg, rgba(245, 243, 239, 0.99) 0%, rgba(245, 243, 239, 0.96) 36%, rgba(245, 243, 239, 0.58) 56%, rgba(245, 243, 239, 0.04) 78%);
}

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.page-content {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto auto;
  align-content: center;
  padding: clamp(28px, 5vh, 64px) 0 clamp(52px, 8vh, 96px);
}

.brand-mark {
  width: clamp(112px, 12vw, 158px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero {
  min-width: 0;
  width: min(620px, 52%);
  padding: clamp(22px, 3.5vh, 38px) 0 0;
}

.hero > * {
  max-width: 100%;
  overflow-wrap: break-word;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6.5vw, 6.45rem);
  font-weight: 700;
  line-height: 0.98;
}

.intro {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.sign-off {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social-link:hover {
  color: var(--navy);
  background: var(--gold);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .refresh-page,
  .page-content {
    min-height: max(100svh, 860px);
  }

  .visual {
    top: auto;
    height: 41%;
    background-position: 68% center;
  }

  .veil {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 51%, rgba(245, 243, 239, 0.9) 62%, rgba(245, 243, 239, 0.06) 81%);
  }

  .page-content {
    align-content: start;
    padding-top: 24px;
    padding-bottom: 190px;
  }

  .hero {
    width: 100%;
    padding-top: 24px;
  }

  h1 {
    max-width: 650px;
    font-size: clamp(3.2rem, 13vw, 5.3rem);
  }

  .intro {
    max-width: 620px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: calc(100% - 32px);
  }

  .refresh-page,
  .page-content {
    min-height: max(100svh, 820px);
  }

  .page-content {
    padding-bottom: 160px;
  }

  .visual {
    height: 22%;
  }

  .veil {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 68%, rgba(245, 243, 239, 0.9) 79%, rgba(245, 243, 239, 0.06) 92%);
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(2.75rem, 13.5vw, 4rem);
  }

  .intro {
    font-size: 1rem;
  }

  .sign-off {
    max-width: 22rem;
    line-height: 1.45;
  }
}
