:root {
  --gray: #d6d6d6;
  --cream: #eee8d8;
  --card: #e6deca;
  --ink: #303030;
  --olive: #686842;
  --gold: #827530;
  --nav: #696969;
  --footer: #d6d6d6;
  --column: 980px;
  --shadow:
    #c8c8c8 1px 1px 0,
    #b4b4b4 0 2px 0,
    #a0a0a0 0 3px 0,
    rgba(140, 140, 140, 0.5) 0 4px 0,
    #787878 0 0 0,
    rgba(0, 0, 0, 0.5) 0 5px 10px;
  --sans: "Jost", "Futura", "Trebuchet MS", sans-serif;
  --italic: "Bodoni Moda", Didot, "Didot LT STD", "Hoefler Text", serif;
  --script: "Lobster", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray);
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.mast {
  background: #fff;
  padding: 22px 16px 0;
  position: relative;
  z-index: 2;
}

.wordmark {
  display: block;
  margin: 0 auto 8px;
  max-width: 16em;
  text-align: center;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: var(--shadow);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  width: min(682px, calc(100% - 24px));
  min-height: 49px;
  margin: 0 auto -25px;
  padding: 0 28px;
  background: var(--cream);
  border-radius: 80px;
  position: relative;
  z-index: 3;
}

.nav a {
  color: var(--nav);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 49px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  color: #000;
}

.hero {
  position: relative;
  height: 286px;
  background: #cfc6b4;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: min(var(--column), 100%);
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: 0 8px;
}

.hero-logo {
  width: min(530px, 86%);
  height: auto;
  margin-top: -8px;
}

.sheet {
  width: min(var(--column), 100%);
  margin: 0 auto;
  background: var(--cream);
  position: relative;
}

.home-copy {
  padding: 42px 28px 28px;
  color: var(--olive);
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.45;
  text-align: justify;
}

.home-copy::after,
.card::after {
  content: "";
  display: block;
  clear: both;
}

.home-copy p {
  margin: 0 0 1.15em;
}

.home-copy .name {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
}

.portrait {
  width: 325px;
  height: 326px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  float: right;
  shape-outside: circle(50%);
  shape-margin: 16px;
  margin: 8px 8px 12px 28px;
}

.card .portrait {
  width: 280px;
  height: 280px;
  margin: 6px 0 16px 28px;
}

.card {
  width: min(860px, calc(100% - 32px));
  margin: 36px auto 28px;
  padding: 34px 42px 42px;
  background: var(--card);
  border-radius: 22px 0 0 0;
  position: relative;
  color: var(--gold);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
}

.card p {
  margin: 0 0 0.85em;
}

.card .label,
.card h2.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  text-align: left;
  text-shadow: none;
  margin: 1.35em 0 0.45em;
}

.card h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  text-align: center;
  color: var(--gold);
  text-shadow: var(--shadow);
  margin: 1.5em 0 0.55em;
}

.card h2.script,
.card .script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 40px;
  text-shadow: none;
  line-height: 1.15;
}

.card h2.script.mid {
  font-size: 28px;
}

.card h2.script.notice {
  font-size: 35px;
}

.card .quote {
  font-family: var(--script);
  font-size: 22px;
  text-align: center;
  text-shadow: none;
  margin: 0.4em 0 1em;
}

.card .lede,
.card .body {
  font-size: 18px;
}

.card .fine {
  font-size: 16px;
}

.card ul {
  margin: 0.2em 0 1em 1.25em;
  padding: 0;
}

.card li {
  margin: 0.28em 0;
}

.card li p {
  margin: 0;
}

.card a {
  color: var(--gold);
}

.site-footer {
  background: var(--footer);
  color: var(--gold);
  padding: 48px 16px 24px;
  scroll-margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-grid {
  width: min(var(--column), 100%);
  margin: 0 auto;
}

.footer-contact {
  text-align: center;
}

.footer-logo {
  width: min(250px, 78%);
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

.footer-contact p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--gold);
}

.footer-contact a {
  color: var(--gold);
  font-weight: 400;
  text-decoration: none;
}

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

.copyright {
  margin: 36px 0 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold);
}

@media (max-width: 800px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    gap: 4px 18px;
    padding: 8px 16px;
    margin-bottom: 0;
    border-radius: 28px;
  }

  .nav a {
    line-height: 36px;
  }

  .hero {
    height: 200px;
  }

  .home-copy {
    font-size: 18px;
    padding: 28px 18px 12px;
    text-align: left;
  }

  .portrait {
    float: none;
    display: block;
    width: min(240px, 68vw);
    height: auto;
    aspect-ratio: 1;
    margin: 8px auto 18px;
    shape-outside: none;
  }

  .card {
    width: min(100% - 20px, 860px);
    margin-top: 20px;
    padding: 24px 18px 28px;
    font-size: 18px;
  }

  .card h2.script {
    font-size: 32px;
  }

}
