:root {
  --bg: #faf8f5;
  --panel: #f2ede4;
  --ink: #1a1a1a;
  --ink-soft: #333;
  --muted: #7a7166;
  --rule: #e0dacf;
  --accent: #8a6f47;
  --accent-soft: rgba(138, 111, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.side {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.headshot {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats {
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stats div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.stats dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 0;
}

.stats dd {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  text-align: right;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.contact a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
  word-break: break-all;
}

.contact a:hover {
  border-color: var(--accent);
}

.main {
  min-width: 0;
}

.nameblock {
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.nameblock h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0;
  color: var(--ink);
}

.nameblock .sub {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  font-weight: 300;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin: 0 0 1rem;
}

section p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-weight: 300;
}

.training {
  display: flex;
  flex-direction: column;
}

.training-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.training-row:last-child {
  border-bottom: none;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.5rem 0 0;
}

.credits {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.credits thead th {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-align: left;
  padding: 0 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

.credits thead th:last-child {
  text-align: right;
  padding-right: 0;
}

.credits tbody tr {
  border-bottom: 1px solid var(--rule);
}

.credits tbody tr:last-child {
  border-bottom: none;
}

.credits td {
  padding: 0.7rem 0.75rem 0.7rem 0;
  vertical-align: top;
  color: var(--ink-soft);
}

.credits td:first-child {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  width: 48%;
}

.credits td:nth-child(2) {
  color: var(--muted);
  width: 32%;
}

.credits td:last-child {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-right: 0;
}

.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skills li {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: transparent;
}

.skills li.featured {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.section-note {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.reel {
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 9;
}

.reel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.sidenav {
  margin-top: 0.25rem;
}

.sidenav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.sidenav a:hover {
  border-color: var(--accent);
}

.topnav {
  margin-bottom: 2rem;
}

.topnav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topnav a:hover {
  color: var(--accent);
}

.page-narrow {
  grid-template-columns: 1fr;
  max-width: 620px;
}

.main-centered {
  margin: 0 auto;
}

.cta p a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.cta p a:hover {
  border-color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 300;
  transition: border-color 0.15s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.btn {
  align-self: flex-start;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.85rem 2rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.status:not(:empty) {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}

.status.ok:not(:empty) {
  background: rgba(45, 106, 61, 0.08);
  border-left-color: #2d6a3d;
}

.status.err:not(:empty) {
  background: rgba(170, 51, 51, 0.08);
  border-left-color: #a33;
}

.status.ok {
  color: #2d6a3d;
}

.status.err {
  color: #a33;
}

.btn-ghost {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.btn-ghost:hover {
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .page {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem;
  }
  .side {
    position: static;
  }
  .headshot {
    max-width: 320px;
    margin: 0 auto;
  }
  .nameblock {
    margin-bottom: 1.5rem;
  }
  .credits td:first-child {
    width: auto;
  }
}
