:root {
  --ivory: rgba(255, 252, 244, 0.78);
  --ivory-solid: #fffaf0;
  --ink: #173c49;
  --blue: #2f91aa;
  --deep-blue: #0e5368;
  --champagne: #d9c6a2;
  --shadow: rgba(7, 42, 52, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory-solid);
}

.page-shell {
  min-height: 100svh;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 58px);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.34), rgba(255, 250, 240, 0.08) 46%, rgba(13, 75, 96, 0.14)),
    linear-gradient(180deg, rgba(10, 57, 70, 0.10), rgba(255, 250, 240, 0.14));
}

.identity-card {
  position: relative;
  z-index: 2;
  width: min(92vw, 760px);
  padding: clamp(26px, 4.8vw, 56px) clamp(22px, 5.4vw, 70px);
  text-align: center;
  background: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.72);
  outline: 1px solid rgba(14, 83, 104, 0.16);
  outline-offset: -10px;
  box-shadow: 0 28px 80px var(--shadow);
  backdrop-filter: blur(7px) saturate(112%);
  -webkit-backdrop-filter: blur(7px) saturate(112%);
}

.identity-card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.15rem, 8.2vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: clamp(0.02em, 0.55vw, 0.08em);
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: normal;
  text-wrap: balance;
  color: var(--deep-blue);
}

.identity-card p {
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  font-size: clamp(0.78rem, 1.35vw, 1.05rem);
  line-height: 1.35;
  letter-spacing: clamp(0.16em, 0.42vw, 0.3em);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}

.identity-card a {
  display: inline-block;
  margin-top: clamp(18px, 2.2vw, 26px);
  color: var(--blue);
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}

.identity-card a:hover,
.identity-card a:focus-visible {
  color: var(--deep-blue);
}

@media (min-aspect-ratio: 16/9) {
  .hero-image {
    object-position: center 45%;
  }

  .identity-card {
    width: min(48vw, 720px);
    margin-left: auto;
    margin-right: clamp(24px, 6vw, 96px);
  }

  .identity-card h1 {
    font-size: clamp(3.7rem, 5.6vw, 6.5rem);
    letter-spacing: 0.055em;
  }
}

@media (max-width: 640px) {
  .hero {
    place-items: end center;
    padding: 18px;
  }

  .hero-image {
    object-position: 52% center;
  }

  .identity-card {
    width: 100%;
    padding: 26px 20px 28px;
    margin-bottom: 8px;
    outline-offset: -8px;
  }

  .identity-card h1 {
    font-size: clamp(2.55rem, 15vw, 4.1rem);
    letter-spacing: 0.035em;
  }

  .identity-card p {
    letter-spacing: 0.14em;
  }
}
