@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-var.woff2') format('woff2'); }
*, *::before, *::after { box-sizing: border-box; }
:root { --font-sans: 'Manrope', sans-serif; }
img, video { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
h1, h2, h3 { margin: 0; }
.zoom-close { width: 40px; height: 40px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 28px; line-height: 1; }
.zoom-dialog[hidden] { display: none; }
:root {
  --background: oklch(0.973 0 0);
  --foreground: oklch(0.318 0 0);
  --primary: oklch(0.318 0 0);
  --primary-foreground: oklch(0.973 0 0);
  --secondary: oklch(0.925 0 0);
  --muted-foreground: oklch(0.4 0 0);
  --border: oklch(0.49 0 0);
  --zoom-overlay: oklch(0.973 0 0 / 96%);
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}
  * { border-color: var(--border); }
  body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  button, a { -webkit-tap-highlight-color: transparent; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }
  ::selection { background: var(--foreground); color: var(--background); }
  .portfolio-width { width: min(81%, 1120px); margin-inline: auto; }
  .highlighted-term { font-weight: 600; }
.site-header { height: 80px; display: flex; align-items: flex-start; padding-top: 21px; justify-content: space-between; }
.monogram { display: block; width: 44px; height: 44px; fill: currentColor; }
.header-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.header-link { border: 1.5px solid transparent; border-radius: 999px; padding: 9px 18px; line-height: 1.2; transition: border-color 300ms var(--motion-ease); }
.header-link:hover, .header-link:focus-visible { border-color: var(--foreground); }
.linkedin-link { border: 1.5px solid transparent; border-radius: 999px; padding: 10px 19px; line-height: 1.2; background: var(--primary); color: var(--primary-foreground); transition: background, 300ms var(--motion-ease), color, 300ms var(--motion-ease); }
.linkedin-link:hover, .linkedin-link:focus-visible { color: var(--foreground); background: var(--background); border-color: var(--foreground); }
.page-content { padding-top: 244px; min-height: calc(100vh - 180px); }
.page-heading { font-size: 48px; line-height: 1.02; font-weight: 500; margin: 0 0 62px; }
.about-row { border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); padding-block: 27px 51px; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 2.18fr; gap: 56px; }
.section-link, .work-heading { font-size: 25px; line-height: 1.2; font-weight: 500; margin: 0; }
.about-copy, .project-description { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 400; }
.work-heading { margin-block: 25px 40px; }
.project-list { display: flex; flex-direction: column; gap: 30px; }
.project-title { margin: 0 0 27px; font-size: 31px; line-height: 1.04; font-weight: 500; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; font-size: 17px; }
.project-image-button { display: block; width: 100%; height: auto; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: var(--background); cursor: zoom-in; aspect-ratio: 4 / 3; }
.project-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-caption { font-family: inherit; font-size: 0.875em; font-weight: 400; line-height: 1.4; }
.project-frame { overflow: hidden; background: var(--background); aspect-ratio: 4 / 3; }
.site-footer { border-top: 1.5px solid var(--border); margin-top: 48px; padding-block: 49px 25px; font-size: 13px; }
.reveal { opacity: 0; transform: translateY(15px); transition: opacity 850ms var(--motion-ease), transform 850ms var(--motion-ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 110ms; }
.reveal:nth-child(3) { transition-delay: 180ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.page-stage { opacity: 1; transition: opacity 340ms ease; }
.page-stage.is-leaving { opacity: 0; }
.page-stage.is-leaving .reveal { transition-delay: 0ms; }
.detail-body { border-top: 1px solid var(--border); padding-top: 28px; }
.detail-image { margin-top: 48px; }
.case-study-intro { max-width: 740px; }
.case-study-meta { display: flex; flex-wrap: wrap; gap: 24px 42px; margin-block: 32px 48px; font-size: 14px; line-height: 1.4; }
.case-study-meta dt { font-weight: 600; }
.case-study-meta dd { margin: 0; }
.case-study-cover { margin-bottom: 48px; }
.case-study-section { border-top: 1.5px solid var(--border); color: var(--foreground); padding-block: 28px 40px; }
.case-study-copy { display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.4; }
.case-study-copy p { margin: 0; }
.case-study-copy ul { margin: 0; padding-left: 20px; list-style: disc; }
.case-study-copy h3 { margin: 0; font-size: inherit; font-weight: 600; }
.case-study-copy .project-image-button { aspect-ratio: auto; }
.case-study-copy .project-image { height: auto; }
.case-study-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--secondary); }
.case-study-solution { margin-block: 8px 40px; }
.case-study-solution .project-image-button { aspect-ratio: auto; }
.case-study-solution .project-image { height: auto; }
.case-study-nav { margin-top: 88px; }
.back-link { display: inline-block; margin-top: 40px; font-size: 18px; }
.about-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--secondary); }
.about-sections { display: flex; flex-direction: column; gap: 26px; font-size: 17px; line-height: 1.3; font-weight: 400; }
.about-sections p { margin: 0; }
.about-sections strong { font-weight: 600; }
.about-sections ul { margin: 4px 0 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 2px; }
.about-subheading { font-size: 17px; line-height: 1.3; font-weight: 700; margin: 0; }
.about-nav { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 128px; font-size: 18px; }
.link-underline { position: relative; display: inline-block; }
.link-underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 400ms var(--motion-ease); }
.link-underline:hover::after, .link-underline:focus-visible::after { transform: scaleX(1); }
.zoom-overlay { position: fixed; inset: 0; z-index: 60; background: var(--zoom-overlay); animation: zoom-backdrop 300ms ease both; }
.zoom-content { position: fixed; inset: 0; z-index: 61; display: flex; align-items: center; justify-content: center; padding: 75px 5%; outline: none; }
.zoom-image { display: block; width: min(1100px, 100%); height: 100%; max-height: 100%; object-fit: contain; animation: image-zoom 650ms var(--motion-ease) both; cursor: zoom-out; }
.zoom-close { position: absolute; right: 5%; top: 23px; }
@keyframes zoom-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes image-zoom { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) {
  .portfolio-width { width: min(81%, 1120px); }
  .site-header { height: 58px; padding-top: 13px; }
  .monogram { width: 28px; height: 28px; }
  .header-nav { font-size: 12px; gap: 18px; }
  .header-link { padding: 5px 12px; }
  .about-sections { gap: 20px; }
  .case-study-copy { font-size: 12px; gap: 18px; }
  .case-study-meta { font-size: 12px; margin-block: 24px 32px; }
  .case-study-section { padding-block: 20px 28px; }
  .case-study-cover { margin-bottom: 32px; }
  .linkedin-link { padding: 6px 13px; }
  .page-content { padding-top: 151px; }
  .page-heading { font-size: 32px; margin-bottom: 38px; }
  .portfolio-grid { gap: 35px; }
  .about-row { padding-block: 17px 31px; }
  .section-link, .work-heading { font-size: 17px; }
  .about-copy, .project-description, .project-meta { font-size: 12px; }
  .work-heading { margin-block: 17px 26px; }
  .project-title { font-size: 21px; margin-bottom: 18px; }
  .project-meta { margin-top: 11px; }
  .project-list { gap: 20px; }
  .site-footer { margin-top: 31px; padding-block: 33px 16px; font-size: 10px; }
}
@media (max-width: 560px) {
  .portfolio-width { width: 88%; margin-inline: auto; }
  .page-content { padding-top: 105px; }
  .page-heading { font-size: 30px; line-height: 1.12; margin-bottom: 36px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-row { gap: 22px; padding-bottom: 28px; }
  .about-copy, .project-description, .project-meta { font-size: 14px; line-height: 1.4; }
  .project-title { font-size: 24px; margin-bottom: 15px; }
  .project-list { gap: 39px; }
  .project-meta { margin-top: 12px; }
  .project-image-button { aspect-ratio: 4 / 3; }
  .section-link, .work-heading { font-size: 20px; }
  .work-heading { margin-bottom: 26px; }
  .about-nav { font-size: 14px; margin-top: 64px; }
  .case-study-copy { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}
