:root {
  color-scheme: light;
  --surround: #e8f1f6;
  --paper: #f7f9f8;
  --ink: #17212a;
  --ink-soft: #4b5b68;
  --accent: #5fa9dd;
  --accent-ink: #245f88;
  --line: #c6e0f2;
  --focus: #174f78;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--surround);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--surround);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  justify-content: center;
}

.site-panel {
  position: relative;
  display: grid;
  width: 66.667vw;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.8%, rgb(95 169 221 / 0.035) 50%),
    repeating-linear-gradient(
      0deg,
      rgb(255 255 255 / 0.08) 0,
      rgb(255 255 255 / 0.08) 1px,
      transparent 2px,
      transparent 5px
    ),
    var(--paper);
  isolation: isolate;
}

.site-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.25rem;
  background: var(--accent);
  content: "";
  pointer-events: none;
}

.site-panel::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgb(95 169 221 / 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.25rem var(--paper),
    0 0 0 1.3rem rgb(95 169 221 / 0.2),
    0 0 0 2.5rem var(--paper),
    0 0 0 2.55rem rgb(95 169 221 / 0.14);
  content: "";
  pointer-events: none;
}

.site-mark {
  position: absolute;
  top: clamp(1.5rem, 5vw, 4rem);
  right: clamp(1.5rem, 5vw, 4rem);
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.site-mark::after {
  position: absolute;
  inset: 0.25rem;
  border: 1px solid rgb(95 169 221 / 0.62);
  content: "";
}

.identity {
  --name-size: clamp(2.8rem, 10vw, 6.7rem);

  align-self: end;
  padding-top: 6rem;
}

.identity__feature {
  display: grid;
  gap: 2rem;
}

.identity__portrait {
  width: calc(var(--name-size) * 1.5);
  height: calc(var(--name-size) * 1.5);
  object-fit: cover;
  object-position: center 38%;
  border: 1px solid var(--accent);
  border-radius: 50%;
  filter: saturate(0.82) contrast(1.04);
}

.identity__eyebrow,
.identity__role,
.site-footer {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.identity__eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent-ink);
  font-size: 0.65rem;
  font-weight: 700;
}

h1 {
  position: relative;
  width: fit-content;
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--name-size);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.065em;
  isolation: isolate;
}

h1::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(95 169 221 / 0.24);
  content: "";
  transform: translate(-0.2em, 0.27em);
  pointer-events: none;
}

.identity__role {
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-rule {
  height: 1px;
  margin: clamp(2rem, 6vw, 4rem) 0 clamp(1.75rem, 5vw, 3rem);
  background:
    linear-gradient(
      90deg,
      var(--accent) 0 4.5rem,
      transparent 4.5rem 4.85rem,
      var(--line) 4.85rem 100%
    );
}

.site-details {
  display: grid;
  align-items: start;
  gap: 2rem;
}

.bio {
  max-width: 34rem;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.55;
}

.bio p {
  margin: 0;
}

.bio p + p {
  margin-top: 1.1em;
}

.contact {
  display: grid;
  gap: 0;
}

.contact a {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.contact a:first-child {
  padding-top: 0;
}

.contact span {
  color: var(--accent-ink);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact strong {
  overflow-wrap: anywhere;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  font-weight: 400;
}

.contact a:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
}

.contact a:focus-visible {
  outline: 3px double var(--focus);
  outline-offset: 0.3rem;
}

.site-footer {
  z-index: 1;
  display: flex;
  align-self: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(5rem, 10vh, 8rem);
  color: var(--ink-soft);
  font-size: 0.52rem;
  line-height: 1.5;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 0.2rem;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0.25rem;
}

@media (min-width: 48rem) {
  .identity__feature {
    grid-template-columns:
      minmax(0, 1fr)
      calc(var(--name-size) * 1.5);
    align-items: end;
    gap: clamp(2rem, 6.25vw, 6rem);
  }
}

@media (min-width: 80rem) {
  .site-details {
    grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.85fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

@media (max-width: 47.99rem) {
  .site-panel {
    width: 100vw;
    border-right: 0;
    border-left: 0;
  }
}

@media (max-width: 27rem) {
  .site-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .page-shell {
    padding: 0;
  }

  .site-panel {
    width: 100%;
    min-height: 100vh;
  }
}
