* {
  box-sizing: border-box;
}

:root {
  --navy: #08213d;
  --cream: #f6f0e7;
  --gold: #9d6d17;
  --ink: #0a2346;
}

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

body {
  background: var(--navy);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  width: min(1500px, calc(100% - 48px));
  min-height: 760px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 59% 41%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.portrait {
  min-width: 0;
  background: #1b1713;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.information {
  padding: 42px 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-12px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(72px, 6vw, 104px);
  font-weight: 600;
  line-height: 0.9;
}

.rule,
.short-rule {
  height: 2px;
  margin-left: auto;
  margin-right: auto;
  background: var(--gold);
}

.rule {
  width: 150px;
  margin-top: 34px;
  margin-bottom: 30px;
}

.short-rule {
  width: 118px;
  margin-top: 24px;
  margin-bottom: 22px;
}

.license {
  margin: 0;
  font-size: 27px;
  line-height: 1.32;
}

.standing {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.locations {
  margin: 30px 0 0;
  font-size: 22px;
  font-weight: bold;
}

.locations span {
  padding: 0 8px;
  color: var(--gold);
}

.selective {
  margin: 24px 0 0;
  font-size: 21px;
  font-style: italic;
}

.contact {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact a {
  color: var(--ink);
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.email {
  font-size: 31px;
  font-weight: bold;
}

.phone {
  font-size: 27px;
}

footer {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 17px 24px 24px;
  color: white;
  background: var(--navy);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .page {
    width: 100%;
    margin-top: 0;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portrait img {
    height: auto;
  }

  .information {
    padding: 42px 24px 48px;
    transform: none;
  }

  h1 {
    font-size: 68px;
  }

  .license {
    font-size: 23px;
  }

  .standing,
  .locations {
    font-size: 20px;
  }

  .selective {
    font-size: 19px;
  }

  .email {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .phone {
    font-size: 24px;
  }

  footer {
    width: 100%;
    font-size: 13px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
