:root {
  --paper: #f1efe9;
  --surface: #fbfaf7;
  --ink: #111113;
  --muted: #676760;
  --line: #d6d3ca;
  --orange: #f37616;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.shell {
  width: min(1120px, calc(100% - 64px));
}

header {
  background: var(--paper);
}

.nav {
  min-height: 64px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0;
}

.nav p,
.nav-cta,
.eyebrow,
.status,
.logos-label,
.project-no,
.metric span,
.internal-project small,
.footer-grid p {
  letter-spacing: .02em;
  text-transform: none;
}

.nav p {
  justify-self: start;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 600;
}

.nav-cta {
  position: relative;
  padding: 5px 0;
  border-bottom: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.nav-cta::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(.55);
  transform-origin: left;
  transition: transform .2s ease-out, background-color .2s ease-out;
}

.nav-cta span,
.button b {
  display: inline-block;
  transition: transform .2s ease-out;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--orange);
}

.nav-cta:hover::after,
.nav-cta:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta:hover span,
.nav-cta:focus-visible span,
.button:hover b,
.button:focus-visible b {
  transform: translateX(3px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
}

.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 28px clamp(52px, 6vw, 78px);
  align-items: start;
}

.hero-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.profile-summary {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(.82rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: .04em;
}

.hero .eyebrow {
  gap: 12px;
}

.hero .eyebrow::before {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
  content: "";
  transform-origin: left;
}

.hero .eyebrow i {
  display: none;
}

h1 {
  max-width: none;
  font-size: clamp(5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .94;
  text-wrap: balance;
}

h1 br {
  display: none;
}

h1 em {
  display: inline-block;
  margin-left: .14em;
  color: inherit;
}

.accent-dot {
  color: var(--orange);
}

.hero-side {
  width: auto;
  max-width: 680px;
  margin-left: 0;
  grid-column: 1;
  grid-row: 2;
}

.hero-side .lead {
  margin-bottom: 20px;
  font-size: clamp(1.16rem, 1.65vw, 1.36rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.42;
}

.hero-side > p:not(.lead) {
  max-width: 460px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

.hero .button {
  position: relative;
  min-width: 0;
  margin-top: 18px;
  padding: 0 0 5px;
  border-bottom: 0;
  background: transparent;
  color: var(--ink);
  font: 600 .84rem Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.hero .button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(.32);
  transform-origin: left;
  transition: transform .2s ease-out;
}

.hero .button:hover::after,
.hero .button:focus-visible::after {
  transform: scaleX(1);
}

.hero .button b {
  color: var(--ink);
  font-size: .95rem;
}

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}

.status i {
  display: none;
}

.status strong {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.hero-portrait {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  background: var(--orange);
  isolation: isolate;
}

.hero-portrait::before {
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 1px solid rgba(17, 17, 19, .2);
  content: "";
}

.hero-portrait img {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 148%;
  max-width: none;
  height: auto;
  filter: saturate(.92) contrast(1.02);
  transform: translateX(-51%);
  transform-origin: bottom center;
  z-index: 1;
}

.logos {
  display: block;
  min-height: 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: var(--surface);
}

.logos-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.logos-label {
  gap: 5px;
  padding: 18px 0;
  border: 0;
}

.logos-label strong {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.logos-label small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.logos-view {
  overflow: hidden;
  scrollbar-width: none;
}

.logos-view::-webkit-scrollbar {
  display: none;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.logos-set {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 11px;
}

.logos-set img {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 28px;
  opacity: .58;
  transition: opacity .18s ease-out, filter .18s ease-out, transform .18s ease-out;
}

.logos-set img:hover {
  filter: grayscale(.15);
  opacity: .88;
  transform: translateY(-1px);
}

.duplicate {
  display: flex;
}

.experience {
  padding: clamp(74px, 7vw, 92px) 0;
  background: var(--surface);
}

.experience-grid,
.internal-project {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(72px, 9vw, 120px);
}

.experience-title h2,
.projects h2,
.contact-copy h2 {
  max-width: 510px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 3.8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
}

.experience-lead {
  max-width: 650px;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.experience-copy > p:not(.experience-lead) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.72;
}

.experience-skills {
  margin: 28px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #3e3e39 !important;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.internal-project {
  align-items: start;
  margin-top: 52px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.internal-project h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(1.65rem, 2.15vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.internal-project p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.internal-project small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
}

.profile-map {
  padding: clamp(74px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.profile-map-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(72px, 9vw, 120px);
  align-items: start;
}

.profile-map-head {
  position: sticky;
  top: 96px;
}

.profile-map-head h2 {
  max-width: 430px;
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 3.8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.profile-map-head > p:last-child {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.profile-map-list {
  border-top: 1px solid var(--ink);
}

.profile-row {
  display: grid;
  grid-template-columns: 42px minmax(210px, .9fr) 1.1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.profile-index,
.profile-label {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.profile-index {
  color: var(--orange);
}

.profile-row h3 {
  max-width: 330px;
  margin: 8px 0 0;
  font-size: clamp(1.22rem, 1.6vw, 1.48rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.profile-row > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-no {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
}

.projects {
  padding: 0 0 clamp(74px, 7vw, 92px);
  background: var(--paper);
  color: var(--ink);
}

.projects .eyebrow {
  color: var(--muted);
}

.projects-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(72px, 9vw, 120px);
  align-items: end;
  margin-bottom: 0;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.projects-head > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.72;
}

.project-list,
.project-columns {
  display: block;
}

.project {
  padding: 48px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.project-main,
.project-columns .project {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: clamp(72px, 9vw, 120px);
}

.project-copy {
  padding: 0;
}

.project h3,
.project-columns .project h3 {
  max-width: 470px;
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 2.35vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.project-copy > p:not(.project-no) {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.project-copy > p.project-role {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #45453f;
  font-size: .82rem;
  line-height: 1.55;
}

.project-role strong {
  color: var(--ink);
  font-weight: 700;
}

.project-visual,
.project-columns .project .project-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #c9c6bd;
  background: #e4e1d9;
  transition: border-color .5s cubic-bezier(.2, .7, .2, 1);
}

.project-visual > img,
.project-visual figure,
.project-visual figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual > img,
.project-visual figure img {
  filter: saturate(.82) contrast(.98);
  transform: scale(1);
  transition: filter .35s ease, transform .52s cubic-bezier(.2, .7, .2, 1);
}

.project:hover .project-visual > img,
.project:hover .project-visual figure img {
  filter: saturate(1) contrast(1);
  transform: scale(1.012);
}

.project:hover .project-visual {
  border-color: #9f9c93;
}

.project-visual figure {
  position: relative;
  margin: 0;
  min-height: 0;
}

.project-visual figcaption {
  left: 12px;
  bottom: 12px;
  padding: 6px 8px;
  background: rgba(17, 17, 19, .82);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.metric {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.metric strong {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
}

.metric span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}

.project-columns .project:nth-child(odd) {
  grid-template-columns: 1.28fr .72fr;
}

.project-columns .project:nth-child(odd) .project-visual {
  grid-column: 1;
  grid-row: 1;
}

.project-columns .project:nth-child(odd) .project-copy {
  grid-column: 2;
  grid-row: 1;
}

.project-columns .project:nth-child(even) .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.project-columns .project:nth-child(even) .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.contact {
  padding: clamp(74px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.contact-grid {
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(72px, 9vw, 120px);
  align-items: start;
}

.contact-copy .eyebrow {
  color: var(--muted);
}

.contact-copy h2 {
  margin-bottom: 28px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-copy .availability-note {
  margin: 26px 0 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted) !important;
  font-size: .78rem;
  font-weight: 500;
}

.contact-copy .availability-note + .person {
  margin-top: 30px;
}

.person {
  gap: 16px;
}

.person img {
  width: 120px;
  height: 180px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(1);
}

.person span {
  color: var(--muted);
  font-size: .76rem;
}

.mail {
  margin-top: 26px;
  border-bottom-width: 1px;
  font-size: .95rem;
}

.contact form {
  align-self: start;
}

form {
  padding: 0;
  background: transparent;
  color: var(--ink);
}

form label {
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s ease-out;
}

form label:focus-within {
  color: var(--ink);
}

form label span {
  color: #8a8982;
}

form input,
form textarea {
  padding: 13px 0;
  border-color: #bdbab1;
  color: var(--ink);
  font: 500 1rem Arial, "Helvetica Neue", Helvetica, sans-serif;
  caret-color: var(--orange);
  transition: border-color .22s ease-out;
}

form input:focus,
form textarea:focus {
  border-color: var(--orange);
}

form textarea::placeholder {
  color: #99978f;
}

.form-bottom {
  align-items: center;
  gap: 28px;
}

.form-bottom .button {
  width: auto;
  min-width: 180px;
  margin: 0;
  padding: 15px 18px;
  background: var(--ink);
  color: #fff;
  font: 700 .76rem Arial, "Helvetica Neue", Helvetica, sans-serif;
  transition: background-color .2s ease-out;
}

.form-bottom .button:hover,
.form-bottom .button:focus-visible {
  background: #232326;
}

.form-bottom .button b {
  color: var(--orange);
}

.form-bottom small {
  color: var(--muted);
}

#form-status,
#form-status a {
  color: var(--ink);
}

footer {
  padding: 32px 0;
}

.motion-ready .motion-line {
  position: relative;
  border-color: transparent !important;
}

.motion-ready .motion-line::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.motion-ready .motion-line--top::after {
  top: 0;
}

.motion-ready .motion-line--bottom::after {
  bottom: 0;
}

.motion-ready .motion-line.line-visible::after {
  transform: scaleX(1);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  from {
    clip-path: inset(0 0 24% 0);
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rule-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes portrait-panel-in {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes portrait-person-in {
  from {
    opacity: 0;
    transform: translate(-51%, 28px) scale(1.025);
  }
  to {
    opacity: 1;
    transform: translate(-51%, 0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow {
    animation: hero-copy-in .45s .05s both;
  }

  .hero .eyebrow::before {
    animation: hero-rule-in .45s .08s both;
  }

  .hero-heading h1 {
    animation: hero-title-in .72s .12s cubic-bezier(.2, .7, .2, 1) both;
  }

  .hero-side {
    animation: hero-copy-in .62s .28s cubic-bezier(.2, .7, .2, 1) both;
  }

  .hero-portrait {
    animation: portrait-panel-in .68s .08s cubic-bezier(.2, .7, .2, 1) both;
  }

  .hero-portrait img {
    animation: portrait-person-in .72s .24s cubic-bezier(.2, .7, .2, 1) both;
  }

  .logos-inner {
    animation: hero-copy-in .5s .46s both;
  }
}

@media (max-width: 780px) {
  .hero-grid,
  .experience-grid,
  .internal-project,
  .profile-map-grid,
  .projects-head,
  .project-main,
  .project-columns .project,
  .project-columns .project:nth-child(odd),
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-heading {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-side {
    width: 100%;
    max-width: 620px;
    margin-left: 0;
    grid-column: 1;
    grid-row: 3;
  }

  .hero-portrait {
    grid-column: 1;
    grid-row: 2;
    min-height: 390px;
  }

  .experience-grid,
  .internal-project,
  .profile-map-grid,
  .projects-head,
  .project-main,
  .project-columns .project,
  .contact-grid {
    gap: 38px;
  }

  .projects-head {
    align-items: start;
  }

  .profile-map-head {
    position: static;
  }

  .project-main .project-copy,
  .project-columns .project .project-copy,
  .project-columns .project:nth-child(odd) .project-copy,
  .project-columns .project:nth-child(even) .project-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .project-main .project-visual,
  .project-columns .project .project-visual,
  .project-columns .project:nth-child(odd) .project-visual,
  .project-columns .project:nth-child(even) .project-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-copy {
    max-width: 600px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: 60px;
  }

  .hero {
    padding: 44px 0 38px;
  }

  .hero-grid {
    gap: 26px;
  }

  h1 {
    font-size: clamp(3.45rem, 16vw, 4rem);
    line-height: .92;
  }

  h1 br {
    display: block;
  }

  h1 em {
    margin-left: 0;
  }

  .hero-side .lead {
    font-size: 1.12rem;
  }

  .hero-portrait {
    min-height: 310px;
  }

  .hero-portrait::before {
    inset: 16px;
  }

  .hero-portrait img {
    width: 130%;
    transform: translateX(-51%);
  }

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

  .status {
    gap: 8px 14px;
    margin-top: 28px;
    font-size: .68rem;
  }

  .status strong {
    padding-left: 14px;
  }

  .logos {
    display: block;
  }

  .logos-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .logos-label {
    min-height: 58px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 0;
  }

  .logos-view {
    border-top: 1px solid var(--line);
  }

  .logos-set {
    min-height: 74px;
    gap: 25px;
    padding: 0;
  }

  .logos-set img {
    width: 66px;
    min-width: 66px;
    max-width: 66px;
    height: 27px;
  }

  .experience,
  .profile-map,
  .projects,
  .contact {
    padding: 62px 0;
  }

  .projects {
    padding-top: 0;
  }

  .experience-title h2,
  .profile-map-head h2,
  .projects h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .experience-grid,
  .internal-project,
  .profile-map-grid,
  .projects-head,
  .project-main,
  .project-columns .project,
  .contact-grid {
    gap: 32px;
  }

  .internal-project {
    margin-top: 42px;
    padding-top: 26px;
  }

  .internal-project h3,
  .project h3,
  .project-columns .project h3 {
    font-size: 1.65rem;
  }

  .profile-row {
    grid-template-columns: 30px 1fr;
    gap: 12px 16px;
    padding: 24px 0 26px;
  }

  .profile-row > p {
    grid-column: 2;
  }

  .projects-head {
    padding-bottom: 32px;
  }

  .project {
    padding: 36px 0;
  }

  .project-visual,
  .project-columns .project .project-visual {
    aspect-ratio: 4 / 3;
  }

  .metric {
    display: grid;
    gap: 7px;
  }

  .metric strong {
    font-size: 2.1rem;
  }

  .contact-grid {
    gap: 44px;
  }

  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .form-bottom .button {
    width: 100%;
  }
}

@media (hover: none) {
  .project-visual > img,
  .project-visual figure img {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero .eyebrow::before,
  .hero-heading h1,
  .hero-side,
  .hero-portrait,
  .hero-portrait img,
  .logos-inner {
    animation: none;
  }

  .motion-ready .motion-line::after {
    transition: none;
    transform: scaleX(1);
  }

  .nav-cta::after,
  .nav-cta span,
  .button b,
  .hero .button::after,
  .logos-set img,
  .project-visual,
  form label,
  form input,
  form textarea,
  .form-bottom .button,
  .project-visual > img,
  .project-visual figure img {
    transition: none;
  }
}
