:root {
  color-scheme: light;
  --paper: #f3f5f4;
  --ink: #172b35;
  --muted: #4b6068;
  --accent: #ae4024;
  --rule: #cbd4d5;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.125rem; line-height: 1.6; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 7px; }
.page { width: min(100% - 3rem, 76rem); min-height: 100svh; margin-inline: auto; display: flex; flex-direction: column; }
.site-header { padding-block: 2rem; border-bottom: 1px solid var(--rule); }
.brand { display: inline-block; font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: -.025em; }
.brand span { font-weight: 400; margin-left: .35rem; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: clamp(4rem, 10vh, 8rem); }
h1 { margin: 0; max-width: 15ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.period { color: var(--accent); }
.intro { max-width: 45ch; margin-block: 2rem; color: var(--muted); }
.contact { display: inline-block; padding: .8rem 1.15rem; background: var(--ink); color: white; border-radius: .2rem; font-size: 1rem; text-decoration: none; text-underline-offset: .2em; overflow-wrap: anywhere; transition: background-color 140ms ease; }
.contact:hover { background: var(--accent); text-decoration: underline; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.3rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .875rem; }
@media (max-width: 480px) {
  .page { width: calc(100% - 2.5rem); }
  .site-header { padding-block: 1.4rem; }
  main { padding-block: 4.5rem; }
  h1 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .intro { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .contact { transition: none; } }
