@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url("/assets/cinzel.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: light-dark(#f5f0e7, #101010);
  --panel: light-dark(#fffaf2, #1b1916);
  --ink: light-dark(#171717, #f5f0e7);
  --muted: light-dark(#655e54, #c2b9aa);
  --gold: light-dark(#765b2d, #c4a66a);
  --line: light-dark(#d4c8b6, #4e4436);
  --card-dark: #1d1a16;
  --card-text: #f5f0e7;
  --card-muted: #d5c8b4;
  --card-gold: #d9b775;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.actions a span, .work-links a span, .feature-list a span[aria-hidden="true"], .site-footer > a span {
  font-family: system-ui, "DejaVu Sans", Arial, sans-serif;
}
button, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
img { max-width: 100%; display: block; }
p, h1, h2 { margin: 0; }
.frame { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-120%);
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  z-index: 2;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  min-height: 68px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--panel);
}
.brand, .site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { gap: clamp(14px, 2.1vw, 31px); }
.site-header nav a {
  text-decoration: none;
  font-size: .86rem;
  font-weight: 550;
}
.site-header nav a:hover { color: var(--gold); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 19px;
  border: 1px solid transparent;
  border-radius: 28px;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.button-ink { background: var(--ink); color: var(--paper); }
.button-ink:hover { background: var(--gold); }
.button-outline { border-color: var(--line); background: var(--panel); }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.sign-in { min-height: 42px; white-space: nowrap; }

.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(330px, 1fr);
  gap: 16px;
  padding-block: 48px 30px;
}
.identity,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  position: relative;
}
.identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4.3vw, 64px);
  background: var(--panel);
}
.identity::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9% -8% -12% 20%;
  background: url("/assets/acacia.webp") right bottom / contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
.identity-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.initials {
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold);
  font: 550 1.35rem Cinzel, Georgia, serif;
  flex: 0 0 auto;
}
.eyebrow {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .115em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow span { margin-inline: 2px; }
h1 {
  font-size: clamp(2.65rem, 5.3vw, 5.4rem);
  font-weight: 710;
  line-height: .99;
  letter-spacing: -.072em;
}
h1 span { color: var(--gold); }
.role {
  max-width: 460px;
  margin-top: 21px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 620;
  line-height: 1.45;
}
.bio {
  max-width: 480px;
  margin-top: 13px;
  color: var(--muted);
  font-size: .95rem;
}
.location {
  margin-top: 17px;
  font-weight: 600;
  color: var(--gold);
  font-size: .82rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.call {
  margin-top: 15px;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 620;
  text-decoration-color: var(--line);
  text-underline-offset: .2em;
}
.call span { color: var(--muted); font-weight: 450; }

.contact-card {
  isolation: isolate;
  overflow: hidden;
  background: var(--card-dark);
  color: var(--card-text);
  padding: 28px clamp(22px, 3vw, 38px) 16px;
}
.contact-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2% -31% -13% 28%;
  background: url("/assets/namibia.webp") right center / contain no-repeat;
  opacity: .19;
  filter: invert(1);
  pointer-events: none;
}
.contact-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.contact-heading h2,
.work h2,
.platform h2 {
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 670;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.contact-heading > span {
  color: var(--card-gold);
  font-size: .77rem;
  font-weight: 650;
  letter-spacing: .08em;
}
.contact-card > p:first-of-type {
  max-width: 320px;
  color: var(--card-muted);
  font-size: .84rem;
  margin-block: 8px 18px;
}
.qr {
  width: min(248px, 100%);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  padding: 0;
  margin-inline: auto;
  border-radius: 11px;
  box-shadow: 0 0 0 5px #f5f0e71d;
  image-rendering: pixelated;
}
.qr-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-top: 14px;
}
.qr-actions a, .qr-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--card-text);
  font-size: .79rem;
  font-weight: 620;
  text-decoration: underline;
  text-decoration-color: #aa9779;
  text-underline-offset: .23em;
}
.contact-card :focus-visible { outline-color: var(--card-gold); }
.qr-actions a:hover, .qr-actions button:hover { color: var(--card-gold); }
.copy-status {
  min-height: 1.45em;
  color: var(--card-gold);
  text-align: center;
  font-size: .76rem;
}

.work {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
.work-copy { padding: 28px clamp(21px, 3.6vw, 45px); }
.work-copy p, .platform > p {
  color: var(--muted);
  font-size: .9rem;
  max-width: 560px;
  margin-top: 9px;
}
.work > img {
  width: 100%;
  height: 100%;
  min-height: 208px;
  max-height: 265px;
  object-fit: cover;
}
.work-links { display: flex; flex-wrap: wrap; gap: 9px 17px; margin-top: 13px; }
.work-links a {
  font-size: .82rem;
  font-weight: 650;
  color: var(--gold);
  text-decoration-color: var(--line);
  text-underline-offset: .25em;
}

.platform { padding-block: 45px 42px; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  column-gap: 18px;
}
.feature-list li { border-top: 1px solid var(--line); }
.feature-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 5px;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 600;
}
.feature-list a span + span, .feature-list a:hover { color: var(--gold); }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-block: 16px 27px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.site-footer > a { color: var(--ink); text-underline-offset: 3px; }
.appearance { display: inline-flex; align-items: center; gap: 8px; }
.appearance select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 7px;
  background: var(--panel);
  color: var(--ink);
}

@media (max-width: 970px) {
  .site-header nav { gap: 15px; }
  .brand span { display: none; }
  .card-grid { padding-top: 28px; }
}
@media (max-width: 740px) {
  .frame { width: calc(100% - 30px); }
  .site-header { padding: 6px 7px 6px 12px; min-height: 54px; margin-top: 10px; }
  .site-header nav { display: none; }
  .brand span { display: inline; }
  .brand img { width: 37px; height: 37px; }
  .card-grid { grid-template-columns: 1fr; padding-block: 19px 18px; gap: 12px; }
  .identity, .contact-card, .work { border-radius: 20px; }
  .identity { padding: 25px 21px; }
  h1 { font-size: clamp(2.6rem, 10.4vw, 4.2rem); }
  .identity-meta { margin-bottom: 17px; }
  .initials { width: 46px; height: 46px; font-size: 1.15rem; }
  .eyebrow { font-size: .67rem; }
  .role { margin-top: 16px; }
  .bio { margin-top: 10px; }
  .work { grid-template-columns: 1fr; gap: 0; }
  .work > img { max-height: 190px; min-height: 0; }
  .platform { padding-block: 27px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
  .feature-list a { font-size: .8rem; }
  .site-footer { justify-content: flex-start; }
}

@media print {
  :root { color-scheme: light; }
  .site-header, .work, .platform, .site-footer, .copy-status, .qr-actions, .actions, .skip-link {
    display: none !important;
  }
  .frame { width: 100%; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 10pt; padding: 0; }
  .identity, .contact-card { border-color: #aaa; color: #000; background: #fff; padding: 12pt; }
  .contact-card p, .contact-heading > span { color: #000 !important; }
  .identity::after, .contact-card::after { display: none; }
}
