:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --paper-deep: #eeeadf;
  --ink: #20211e;
  --muted: #74736b;
  --line: #d9d5c9;
  --orange: #f75c36;
  --acid: #d9fa67;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Space Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 86px; display: flex; justify-content: space-between; align-items: center; padding-inline: 56px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: -.035em; }
.wordmark-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-family: var(--display); font-size: 17px; letter-spacing: -.1em; }
.wordmark-subtitle { display: block; margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a, .social-links a { text-decoration: none; font-size: 12px; font-weight: 600; }
.site-nav a:hover, .social-links a:hover, .back-to-top:hover { color: var(--orange); }
.site-nav .nav-contact { padding: 12px 17px; border: 1px solid var(--ink); border-radius: 99px; }
.nav-contact span { margin-left: 9px; color: var(--orange); }
.menu-toggle { display: none; }

.hero { padding-top: 67px; padding-bottom: 22px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.status-dot { width: 8px; height: 8px; background: #6da46e; border-radius: 50%; box-shadow: 0 0 0 3px rgb(109 164 110 / 15%); }
.hero h1 { max-width: 1040px; margin: 30px 0 24px; font-family: var(--display); font-size: clamp(76px, 11.2vw, 156px); font-weight: 600; line-height: .84; letter-spacing: -.105em; }
.highlight-word { color: var(--orange); }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; margin-bottom: 39px; }
.hero-intro { width: min(365px, 70%); margin: 0; color: #55544d; font-size: 16px; line-height: 1.65; }
.round-link { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #aaa69b; border-radius: 50%; text-decoration: none; font-size: 21px; transition: background .2s, transform .2s; }
.round-link:hover { background: var(--acid); transform: translateY(3px); }
.hero-art { position: relative; height: clamp(360px, 46vw, 570px); overflow: hidden; background: #e7e2d8; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.art-sticker { position: absolute; right: 36px; top: 31px; width: 125px; height: 125px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); text-align: center; font-family: var(--mono); font-size: 13px; line-height: 1.55; transform: rotate(10deg); }
.art-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 14px 18px; background: rgb(32 33 30 / 83%); color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.hero-footnote { display: flex; justify-content: space-between; padding-top: 15px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.hero-footnote > span:last-child span { color: var(--orange); }

.ticker { overflow: hidden; margin-top: 45px; padding-block: 18px; background: var(--acid); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 27px; animation: ticker 32s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.ticker-track i { color: var(--orange); font-size: 20px; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.work-section { padding-top: 106px; padding-bottom: 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 14px; color: var(--muted); }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(43px, 5.5vw, 70px); font-weight: 600; line-height: .98; letter-spacing: -.075em; }
.heading-period { color: var(--orange); }
.section-aside { max-width: 280px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 31px; }
.filter-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; cursor: pointer; font-size: 11px; transition: color .2s, background .2s, border-color .2s; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.filter-button span { margin-left: 5px; color: #c2c1bb; font-family: var(--mono); font-size: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 21px; align-items: start; }
.project-card { min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.project-card[hidden] { display: none; }
.project-image { position: relative; display: block; overflow: hidden; background: #e7e2d8; }
.project-image img { width: 100%; height: 410px; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.project-tall .project-image img { height: 530px; }
.project-card:nth-child(3n + 2) { padding-top: 42px; }
.project-card:hover .project-image img { transform: scale(1.035); }
.image-open { position: absolute; top: 14px; right: 14px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.project-card:hover .image-open, .project-card:focus-visible .image-open { opacity: 1; transform: translateY(0); }
.project-info { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.project-info strong, .project-info small { display: block; }
.project-info strong { font-size: 13px; font-weight: 600; }
.project-info small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.project-number { padding-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 9px; }

.about-section { background: #e9e6dc; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-block: 112px; }
.about-title { position: relative; }
.about-title .eyebrow { margin-bottom: 25px; color: var(--muted); }
.about-title h2 { margin: 0; font-family: var(--display); font-size: clamp(43px, 5.7vw, 73px); font-weight: 600; line-height: 1.02; letter-spacing: -.075em; }
.about-title h2 span { color: var(--orange); }
.about-scribble { display: inline-block; margin-top: 35px; color: var(--orange); font-size: 55px; }
.about-copy { padding-top: 17px; }
.about-copy > p { max-width: 510px; margin: 0 0 17px; color: #4f4d47; font-size: 15px; line-height: 1.8; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.skill-list span { padding: 8px 11px; border: 1px solid #cbc7bb; border-radius: 30px; font-size: 10px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 27px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.text-link span { color: var(--orange); font-size: 17px; }

.experience-section { padding-top: 105px; padding-bottom: 100px; }
.experience-heading { margin-bottom: 40px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 1fr 2.4fr 25px; gap: 30px; padding: 26px 0 29px; border-bottom: 1px solid var(--line); }
.timeline-date, .timeline-index, .education-note { font-family: var(--mono); font-size: 9px; letter-spacing: .07em; }
.timeline-date { padding-top: 6px; color: var(--muted); }
.timeline-row h3 { margin: 0 0 5px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.035em; }
.timeline-row h3 span { color: var(--orange); }
.timeline-company { margin: 0 0 13px !important; color: var(--orange) !important; font-size: 12px !important; font-weight: 600; }
.timeline-row p { max-width: 580px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.timeline-index { padding-top: 7px; color: var(--muted); text-align: right; }
.education-note { display: flex; justify-content: space-between; gap: 16px; padding-top: 19px; color: var(--muted); font-size: 9px; }
.education-note span:first-child { color: var(--ink); }

.contact-section { overflow: hidden; background: var(--ink); color: var(--paper); }
.contact-inner { position: relative; padding-top: 97px; padding-bottom: 51px; }
.contact-inner > .eyebrow { color: #c1beb4; }
.contact-inner h2 { margin: 28px 0 29px; font-family: var(--display); font-size: clamp(75px, 11.5vw, 150px); font-weight: 500; line-height: .82; letter-spacing: -.1em; }
.contact-inner h2 span { color: var(--acid); }
.contact-cta { display: inline-flex; align-items: center; gap: 30px; padding: 14px 18px; border-radius: 30px; background: var(--acid); color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.contact-cta span { color: var(--orange); font-size: 18px; }
.contact-details { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 77px; padding-top: 18px; border-top: 1px solid #474740; color: #c3c0b7; font-size: 11px; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--acid); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 15px; min-height: 86px; }
.footer-wordmark .wordmark-icon { width: 31px; height: 31px; }
.footer-wordmark .wordmark-subtitle { color: var(--muted); }
.social-links { display: flex; gap: 20px; }
.social-links a { font-size: 10px; }
.back-to-top, .copyright { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-decoration: none; }
.back-to-top { justify-self: center; }
.copyright { justify-self: end; color: var(--muted); }

.lightbox { position: fixed; width: min(900px, calc(100% - 36px)); max-width: none; max-height: calc(100% - 36px); padding: 17px; border: 1px solid rgb(255 255 255 / 15%); background: #1d1d1b; color: #fff; }
.lightbox::backdrop { background: rgb(17 17 16 / 82%); backdrop-filter: blur(4px); }
.lightbox-image { width: 100%; max-height: calc(100vh - 125px); object-fit: contain; }
.lightbox-close { position: absolute; top: 23px; right: 23px; width: 39px; height: 39px; border: 0; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 26px; cursor: pointer; }
.lightbox-caption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 2px 0; }
.lightbox-caption strong { font-size: 13px; }
.lightbox-caption span { color: #bbb; font-size: 11px; }

@media (min-width: 1500px) {
  .site-header { padding-inline: max(56px, calc((100vw - 1440px) / 2)); }
}
@media (max-width: 900px) {
  .section-shell { width: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .site-nav { gap: 21px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 17px; }
  .project-card:nth-child(3n + 2) { padding-top: 0; }
  .project-card:nth-child(even) { padding-top: 38px; }
  .project-image img { height: 380px; }
  .project-tall .project-image img { height: 475px; }
  .about-inner { gap: 8%; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-block: 20px; }
  .back-to-top { justify-self: start; }
  .copyright { justify-self: end; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .section-shell { width: calc(100% - 38px); }
  .site-header { position: relative; z-index: 3; height: 68px; padding-inline: 19px; }
  .menu-toggle { display: flex; width: 39px; height: 39px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 19px 17px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--ink); text-align: center; }
  .hero { padding-top: 49px; }
  .eyebrow { font-size: 8px; }
  .hero h1 { margin-block: 27px 22px; font-size: clamp(64px, 14vw, 87px); }
  .hero-intro { width: 83%; font-size: 13px; }
  .round-link { width: 39px; height: 39px; flex: 0 0 39px; }
  .hero-bottom { margin-bottom: 26px; }
  .hero-art { height: 390px; }
  .hero-art > img { object-position: 52% center; }
  .art-sticker { top: 15px; right: 14px; width: 91px; height: 91px; font-size: 10px; }
  .art-caption { flex-direction: column; gap: 5px; padding: 11px 12px; font-size: 7px; }
  .hero-footnote { gap: 12px; font-size: 7px; }
  .hero-footnote > span:last-child { text-align: right; }
  .ticker { margin-top: 28px; padding-block: 15px; }
  .ticker-track { gap: 18px; }
  .ticker-track span { font-size: 13px; }
  .work-section { padding-top: 74px; padding-bottom: 79px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 46px; }
  .section-aside { max-width: 330px; font-size: 12px; }
  .filters { gap: 7px; margin-bottom: 23px; }
  .filter-button { padding: 9px 11px; font-size: 10px; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 25px 11px; }
  .project-card:nth-child(even) { padding-top: 27px; }
  .project-image img { height: 270px; }
  .project-tall .project-image img { height: 330px; }
  .project-info { padding-top: 9px; }
  .project-info strong { font-size: 10px; line-height: 1.35; }
  .project-info small { font-size: 8px; line-height: 1.4; }
  .project-number { font-size: 8px; }
  .image-open { top: 8px; right: 8px; width: 27px; height: 27px; opacity: 1; transform: none; font-size: 12px; }
  .about-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 76px; }
  .about-title .eyebrow { margin-bottom: 20px; }
  .about-title h2 { font-size: 51px; }
  .about-scribble { margin-top: 13px; font-size: 37px; }
  .about-copy { padding-top: 0; }
  .about-copy > p { font-size: 13px; }
  .skill-list { margin-top: 20px; }
  .skill-list span { padding: 7px 9px; font-size: 9px; }
  .experience-section { padding-top: 77px; padding-bottom: 70px; }
  .timeline-row { grid-template-columns: 1fr 24px; gap: 8px 14px; padding-block: 21px; }
  .timeline-date { grid-column: 1; grid-row: 1; font-size: 8px; }
  .timeline-index { grid-column: 2; grid-row: 1 / span 3; }
  .timeline-row > div { grid-column: 1; }
  .timeline-row h3 { font-size: 18px; }
  .timeline-row p { font-size: 11px; }
  .education-note { flex-direction: column; gap: 9px; font-size: 8px; }
  .contact-inner { padding-top: 75px; padding-bottom: 35px; }
  .contact-inner h2 { margin-block: 26px; font-size: clamp(72px, 16vw, 96px); }
  .contact-details { gap: 14px 22px; margin-top: 55px; font-size: 10px; }
  .site-footer { gap: 19px 10px; }
  .social-links { flex-direction: column; gap: 8px; }
  .social-links a { font-size: 9px; }
  .back-to-top, .copyright { font-size: 7px; }
  .lightbox { padding: 10px; }
  .lightbox-close { top: 15px; right: 15px; width: 34px; height: 34px; }
  .lightbox-caption { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
