:root {
  --ink: #0c0c0b;
  --paper: #f0efe9;
  --lime: #ffffff;
  --orange: #0c0c0b;
  --line: rgba(12, 12, 11, 0.24);
}

body {
  background: var(--ink);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.grain { opacity: 0.14; mix-blend-mode: soft-light; }

.section-shell {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 2.2vw, 42px);
  padding-right: clamp(20px, 2.2vw, 42px);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  width: 100%;
  height: 112px;
  padding: 20px clamp(20px, 2.2vw, 42px);
  align-items: flex-start;
  color: #fff;
}

.brand { color: #fff; align-items: flex-start; }
.brand-wordmark {
  font: 800 clamp(17px, 1.45vw, 23px)/0.96 var(--sans);
  letter-spacing: -0.065em;
}
.brand-mark { display: none; }

.nav { padding-top: 3px; gap: clamp(16px, 2vw, 34px); }
.nav a {
  color: #fff;
  font: 500 11px var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav a::after { height: 1px; background: #fff; }

.hero {
  width: 100%;
  max-width: none;
  min-height: max(660px, 88vh);
  padding: 145px clamp(20px, 2.2vw, 42px) 30px;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-rows: 1fr auto;
  gap: 36px 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "AI\A FRAME";
  white-space: pre;
  position: absolute;
  z-index: -1;
  right: 2vw;
  bottom: 58px;
  color: #fff;
  font: 900 clamp(72px, 7.6vw, 126px)/0.74 var(--sans);
  letter-spacing: -0.11em;
  text-align: center;
  transform: rotate(-7deg);
  transform-origin: center;
}

.hero-copy { position: relative; z-index: 2; align-self: start; }
.hero .eyebrow { color: #a8a8a2; }
.hero h1 {
  max-width: 850px;
  margin: 30px 0 24px;
  color: #fff;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}
.hero h1 em {
  display: inline-block;
  margin-left: clamp(58px, 9vw, 145px);
  color: #fff;
}
.hero-lead {
  max-width: 560px;
  color: #b7b7b1;
  font-size: 14px;
  line-height: 1.9;
}
.hero-actions { margin-top: 32px; }
.button-primary { background: #fff; color: var(--ink); }
.text-link { color: #fff; border-color: #fff; }

.hero-art {
  width: 195px;
  height: 258px;
  margin-top: -16px;
  box-shadow: 12px 12px 0 #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.hero-art::after { width: 62px; height: 3px; background: #fff; }
.art-caption { color: var(--ink); font-size: 9px; }
.profile-label span { color: #fff; }
.profile-label strong { font-size: 23px; }

.hero-foot {
  grid-column: 1 / -1;
  padding-top: 12px;
  gap: 18px;
}
.hero-foot div { border-color: #6b6b66; }
.hero-foot span { color: #8e8e89; }
.hero-foot strong { color: #fff; }

.section-kicker > span {
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
}

.intro {
  padding-top: 108px;
  padding-bottom: 104px;
  background: var(--paper);
}
.intro-grid {
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(50px, 9vw, 160px);
  margin: 50px 0 72px;
}
.intro h2 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .96;
  text-transform: uppercase;
}
.intro h2 span { color: var(--ink); }
.intro-text { max-width: 520px; font-size: 14px; line-height: 1.95; align-self: end; text-align: justify; text-justify: inter-ideograph; }
.stat-grid strong { font-size: clamp(38px, 4vw, 62px); }
.stat-grid article { min-height: 142px; }

.projects {
  padding: 108px 0 40px;
  background: var(--ink);
}
.section-head {
  grid-template-columns: .75fr 1.45fr .55fr;
  padding-bottom: 62px;
}
.section-head h2 {
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: .92;
  text-transform: uppercase;
}
.section-head > p { max-width: 280px; font-size: 13px; line-height: 1.85; }
.section-head .section-kicker.light > span { background: #fff; color: var(--ink); }
.project {
  grid-template-columns: 62px minmax(230px, 25vw) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 72px);
  padding: 32px 0;
  border-color: #4d4d49;
  align-items: start;
}
.project-index { color: #fff; }
.project-visual { height: 245px; }
.visual-cover { width: min(100%, 285px); height: auto; aspect-ratio: 400 / 570; }
.project-info { max-width: 790px; padding-top: 4px; }
.project-info h3 {
  margin: 12px 0 20px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}
.project-info > p:not(.project-type) { max-width: 610px; font-size: 13px; line-height: 1.95; text-align: justify; text-justify: inter-ideograph; }
.project-type, .project-link { color: #fff; }
.project-link { border-color: rgba(255,255,255,.55); }
.chips span { border-color: #72726d; }

.workflow {
  padding-top: 108px;
  padding-bottom: 108px;
  background: #fff;
}
.workflow-head { margin: 50px 0 64px; }
.workflow h2 {
  max-width: 1000px;
  font-size: clamp(46px, 5.3vw, 80px);
  line-height: .95;
  text-transform: uppercase;
}
.steps li {
  grid-template-columns: 20% 1fr;
  padding: 22px 0 25px;
}
.steps li > span { color: var(--ink); font-size: 14px; }
.steps h3 { font-size: clamp(24px, 2.1vw, 33px); }
.steps p { max-width: 760px; font-size: 13px; line-height: 1.9; }

.experience {
  padding: 106px 0 96px;
  background: var(--ink);
  color: #fff;
}
.experience .section-kicker > span { background: #fff; color: var(--ink); }
.experience-row { padding: 26px 0; border-color: #555550; }
.experience-row:last-child { border-color: #555550; }
.company, .experience .date, .description { color: #a9a9a3; }
.experience-row h3 { color: #fff; font-size: clamp(23px, 2.1vw, 32px); }
.description { max-width: 720px; font-size: 13px; line-height: 1.9; text-align: justify; text-justify: inter-ideograph; }
.role-tag { border-color: #fff; color: #fff; }
.current .role-tag { background: #fff; color: var(--ink); border-color: #fff; }

.skills {
  padding-top: 108px;
  padding-bottom: 104px;
  background: var(--paper);
}
.skills-layout { margin-top: 54px; gap: clamp(50px, 8vw, 130px); }
.skills h2 {
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: .94;
  text-transform: uppercase;
}
.skills h2 span { color: var(--ink); }
.skill-groups p { color: var(--ink); }
.skill-groups article { padding: 25px 0 27px; }
.skill-groups li::before { color: var(--ink); }
.skill-groups li { font-size: 14px; }

.education {
  margin: 0;
  padding-top: 58px;
  padding-bottom: 82px;
  background: var(--paper);
}
.education h3 { font-size: clamp(28px, 2.8vw, 42px); }
.education p { font-size: 14px; }

.closing {
  padding: 108px 0 86px;
  background: #fff;
}
.closing h2 {
  font-size: clamp(48px, 5.7vw, 88px);
  line-height: .92;
  text-transform: uppercase;
}
.closing h2 em { color: var(--ink); }
.contact-grid { margin-top: 48px; }
.contact-grid strong { font-size: 15px; }
.button-light { background: var(--ink); color: #fff; }

footer { min-height: 92px; padding-left: 42px; padding-right: 42px; }

.resume-line-sidebar .line-sidebar {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  mix-blend-mode: difference;
}

.resume-line-sidebar { pointer-events: none; }
.resume-line-sidebar .line-sidebar__list { pointer-events: auto; }

@media (max-width: 1180px) {
  .site-header { position: absolute; }
  .hero { grid-template-columns: minmax(0,1fr) 210px; gap: 30px; }
  .hero::before { font-size: 96px; }
  .hero-art { width: 185px; height: 245px; }
  .project { grid-template-columns: 50px minmax(240px, 32vw) 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .site-header { height: 112px; }
  .brand-wordmark { font-size: 17px; }
  .menu-toggle span { background: #fff; }
  .nav { top: 74px; }
  .hero {
    min-height: auto;
    padding: 138px 20px 34px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 50px;
  }
  .hero::before { display: none; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); line-height: 1; margin-top: 26px; }
  .hero h1 em { margin-left: clamp(24px, 10vw, 44px); }
  .hero-art { width: 155px; height: 205px; margin: 0 12px 0 0; box-shadow: 9px 9px 0 #fff; }
  .hero-foot { padding-top: 4px; }
  .intro, .projects, .workflow, .experience, .skills { padding-top: 90px; padding-bottom: 84px; }
  .intro-grid { grid-template-columns: 1fr; gap: 34px; margin: 45px 0 58px; }
  .intro h2, .section-head h2, .workflow h2, .skills h2, .closing h2 { font-size: clamp(40px, 11.8vw, 56px); line-height: .96; }
  .section-head { display: block; padding-bottom: 48px; }
  .project { grid-template-columns: 28px 1fr; gap: 14px; padding: 30px 0 42px; }
  .project-visual { grid-column: 2; }
  .project-visual.visual-cover { width: min(100%, 340px); height: auto; }
  .project-info { grid-column: 2; }
  .project-info h3 { font-size: 27px; }
  .workflow-head { margin: 42px 0 58px; }
  .steps li { grid-template-columns: 42px 1fr; }
  .experience-row h3 { font-size: 24px; }
  .skills-layout { margin-top: 48px; gap: 42px; }
  .education { padding-top: 55px; padding-bottom: 82px; }
  .closing { padding: 90px 0 76px; }
  .contact-grid { margin-top: 45px; }
  footer { padding: 0 20px; }
}
