
:root { color-scheme: dark; --ink: #151812; --paper: #f2eddf; --gold: #c9b486; --muted: #a6aa9b; }
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--gold); }

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 48px clamp(28px, 6vw, 100px) 24px;
  background: radial-gradient(ellipse at 12% 32%, #343c27 0, #20251b 28%, var(--ink) 66%);
}
.profile {
  width: min(1160px, 100%);
  flex: 1;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: 32px 0 72px;
}
.portrait {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1.14;
  overflow: hidden;
  border-radius: 48% 48% 12px 12px;
  background: #4c5338;
  box-shadow: 0 26px 70px #070a0740;
  animation: arrive 900ms ease both;
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.introduction { min-width: 0; animation: arrive 900ms 120ms ease both; }
h1 {
  margin: 0;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: 1.04;
}
h1 > span { display: block; }
.period { color: var(--gold); }
.email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  margin-top: 30px;
  padding: 8px 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #c9b48655;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.email:hover { color: var(--paper); text-decoration-color: var(--gold); }
.email:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 3px; color: var(--paper); }
footer {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #f2eddf18;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.monogram { color: var(--gold); font-size: 18px; font-weight: 700; letter-spacing: -.07em; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .site-shell {
    padding: 36px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: radial-gradient(ellipse at 50% 22%, #343c27 0, #20251b 34%, var(--ink) 76%);
  }
  .profile { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 8px 0 48px; text-align: center; align-content: center; }
  .portrait { justify-self: center; width: min(72vw, 330px); aspect-ratio: 1 / 1.06; }
  h1 { font-size: clamp(38px, 11.6vw, 68px); line-height: 1.06; }
  .email { margin-top: 18px; font-size: 16px; }
}
@media (max-width: 360px) {
  .site-shell { padding-left: 18px; padding-right: 18px; }
  .profile { gap: 28px; }
  h1 { font-size: 11.6vw; }
  .email { font-size: 16px; letter-spacing: -.025em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
