@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #102e3b;
  --muted: #39515a;
  --link: #095971;
  --line: #c6d1cc;
  --accent: #498b95;
  --select: #fffdf8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121f26;
  --ink: #f3efe4;
  --muted: #c2d0d2;
  --link: #a3dee7;
  --line: #455c64;
  --accent: #85c3ca;
  --select: #182b34;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #121f26;
    --ink: #f3efe4;
    --muted: #c2d0d2;
    --link: #a3dee7;
    --line: #455c64;
    --accent: #85c3ca;
    --select: #182b34;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

p, h1, h2, h3 { margin: 0; }
a { color: var(--link); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }

.wrap {
  width: min(75rem, 100% - clamp(2.5rem, 9vw, 9rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 4.5rem;
}

.site-name {
  font-size: 1.07rem;
  font-weight: 650;
  letter-spacing: .015em;
}

.theme-control:not([hidden]) {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.theme-control label { font-size: .81rem; color: var(--muted); }
.theme-control select {
  min-height: 2.75rem;
  padding: .35rem .5rem .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  color: var(--ink);
  background: var(--select);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}

.hero {
  background: #153849 url("assets/muskegon-shoreline.webp") center 54% / cover no-repeat;
  color: #fffaf0;
  box-shadow: inset 0 0 0 100vmax rgba(5, 25, 37, .27);
  background-image:
    linear-gradient(90deg, rgba(6, 32, 46, .92), rgba(6, 32, 46, .71) 48%, rgba(6, 32, 46, .10)),
    url("assets/muskegon-shoreline.webp");
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.4rem, 7vw, 6.5rem);
}

.location {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #e4f2ec;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.location::before {
  content: "";
  width: 1.75rem;
  flex: none;
  border-top: 1px solid #a9d0cc;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 {
  margin: .15em 0 .2em;
  font-size: clamp(4.8rem, 9.8vw, 9rem);
  line-height: .9;
  letter-spacing: -.025em;
}

.bio {
  max-width: 29rem;
  font-size: clamp(1.04rem, 1.9vw, 1.25rem);
  line-height: 1.57;
}

.portrait {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  justify-self: center;
  border: .45rem solid #f7f0df;
  border-radius: 49% 49% .3rem .3rem;
  box-shadow: 0 1rem 3rem rgba(7, 22, 31, .34);
}

.interests { padding-block: clamp(3.4rem, 6.5vw, 5.3rem); }
h2 {
  margin-bottom: .6em;
  font-size: clamp(2.8rem, 5.7vw, 4.75rem);
  line-height: 1;
}

.interest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.8rem);
}

.interest-list section { border-top: 2px solid var(--accent); padding-top: 1.05rem; }
h3 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1.08; }
.interest-list p { margin-top: .65rem; max-width: 25ch; color: var(--muted); }
.interest-link { display: inline-block; margin-top: .8rem; font-weight: 650; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: .84rem;
}
.footer-inner p:first-child { color: var(--ink); font-weight: 650; }

@media (max-width: 43rem) {
  .hero {
    background-position: 61% center;
    background-image:
      linear-gradient(180deg, rgba(6, 32, 46, .91), rgba(6, 32, 46, .72) 50%, rgba(6, 32, 46, .27)),
      url("assets/muskegon-shoreline.webp");
  }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: clamp(3.75rem, 14vw, 6rem); }
  .portrait { width: min(72%, 17rem); justify-self: start; }
  .interest-list { grid-template-columns: 1fr; }
  .interest-list p { max-width: 32ch; }
}

@media (max-width: 24rem) {
  .theme-control label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
