@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("assets/fonts/lora-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #f2f0eb;
  --surface: #e8e5df;
  --surface-raised: #f8f6f1;
  --text: #17171d;
  --muted: #55545b;
  --accent: #875020;
  --accent-text: #fffaf2;
  --line: rgba(23, 23, 29, 0.16);
  --shadow: rgba(61, 44, 30, 0.17);
  --radius: 14px;
  --shell: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0b0f;
    --surface: #101116;
    --surface-raised: #17181e;
    --text: #f2f1ec;
    --muted: #b5b3ab;
    --accent: #e2a762;
    --accent-text: #2b1707;
    --line: rgba(242, 241, 236, 0.14);
    --shadow: rgba(2, 3, 7, 0.55);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nameplate {
  font-weight: 700;
  text-decoration: none;
}

.header-context {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  min-height: calc(100dvh - 68px);
  display: grid;
  align-items: center;
  padding: clamp(40px, 6vw, 76px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.6rem, 7.4vw, 7.1rem);
}

.hero-summary {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.primary-button {
  background: var(--accent);
  color: var(--accent-text);
}

.intro-media {
  width: min(100%, 370px);
  justify-self: end;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 0 28px 80px var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--surface);
}

.proof-section,
.experience-section,
.resume-section {
  padding: clamp(84px, 11vw, 148px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
}

.section-heading > p,
.resume-heading > p,
.experience-intro > p {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  margin-top: 64px;
}

.proof-grid article {
  border-radius: var(--radius);
}

.proof-lead {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 64px);
  background: var(--accent);
  color: var(--accent-text);
}

.proof-lead strong {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(4.8rem, 10vw, 9.5rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.proof-lead p {
  max-width: 330px;
  margin-top: 28px;
  font-size: 1.15rem;
  font-weight: 600;
}

.proof-pair {
  display: grid;
  gap: 20px;
}

.proof-item {
  min-height: 185px;
  display: grid;
  align-content: center;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.proof-item strong {
  color: var(--accent);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.proof-item p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted);
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: start;
  gap: clamp(52px, 9vw, 124px);
}

.experience-intro {
  position: sticky;
  top: 36px;
}

.experience-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) 1.28fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.experience-list article:first-child {
  padding-top: 8px;
}

.experience-list h3 {
  font-size: 1rem;
}

.experience-list div p,
.experience-list article > p {
  margin-top: 4px;
  color: var(--muted);
}

.experience-list article > p {
  margin-top: 0;
}

.resume-section {
  background: var(--surface);
}

.resume-heading {
  max-width: 700px;
}

.resume-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 8px 0 40px;
}

.text-link,
.contact-link {
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.resume-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 0 24px 68px var(--shadow);
}

.resume-viewer {
  display: block;
  width: 100%;
  min-height: 930px;
  border: 0;
  background: var(--surface-raised);
}

.site-footer {
  padding: clamp(70px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: end;
  gap: 48px;
}

.site-footer h2 {
  font-size: clamp(2.7rem, 5.5vw, 5rem);
}

.site-footer p {
  max-width: 480px;
  margin-top: 16px;
  color: var(--muted);
}

.contact-links {
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.contact-link {
  font-size: clamp(1rem, 2.1vw, 1.55rem);
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-context {
    display: none;
  }

  .site-header,
  .header-inner {
    min-height: 56px;
  }

  .hero {
    min-height: calc(100dvh - 56px);
    padding: 24px 0;
  }

  .hero-grid,
  .proof-grid,
  .experience-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 3rem;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero-summary {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .hero .button {
    min-height: 48px;
    margin-top: 18px;
  }

  .intro-media {
    width: 210px;
    justify-self: center;
  }

  .proof-section,
  .experience-section,
  .resume-section {
    padding: 80px 0;
  }

  .proof-grid {
    margin-top: 44px;
  }

  .proof-lead {
    min-height: 310px;
  }

  .experience-intro {
    position: static;
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .resume-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .resume-viewer {
    min-height: 620px;
  }

  .footer-inner {
    align-items: start;
  }

  .contact-links {
    justify-self: start;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body::after {
    display: none;
  }
}

@media print {
  .site-header,
  .intro-media,
  .resume-document,
  .site-footer {
    display: none;
  }
}
