:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, .14);
  --gutter: clamp(16px, 2vw, 32px);
  --ease: cubic-bezier(.625, .05, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
body { overflow-x: clip; }
.site-loader { display: none; }
.is-loading body { overflow: hidden; }
.is-loading .site-loader { --loader-fade-duration: 1100ms; position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #090909; opacity: 1; visibility: visible; transition: opacity var(--loader-fade-duration) ease, visibility var(--loader-fade-duration) ease; }
.is-loading .site-loader.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-visual { position: relative; z-index: 1; width: min(1440px, 94vw); height: clamp(160px, 34vw, 480px); opacity: 0; }
.site-loader.is-logo-ready .loader-visual { opacity: 1; animation: loader-fade-in 2s ease-in-out both; }
.loader-ascii { display: block; width: 100%; height: 100%; }
.loader-ascii[hidden], .loader-ascii-fallback[hidden] { display: none; }
.loader-ascii-fallback { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font: 900 italic clamp(56px, 18vw, 260px)/1 "Arial Black", Arial, sans-serif; letter-spacing: -.065em; }
.is-leaving .loader-visual { animation-play-state: paused; }
@keyframes loader-fade-in { from { opacity: 0; } to { opacity: 1; } }
.loader-status { position: relative; z-index: 1; margin: 24px 0 0; color: #8c8c8c; font: 10px/1.5 Consolas, "Courier New", monospace; letter-spacing: .16em; text-transform: uppercase; transition: opacity .4s ease; }
.is-leaving .loader-status, .is-leaving .loader-skip { opacity: 0; }
.loader-skip { position: absolute; z-index: 1; bottom: max(28px, env(safe-area-inset-bottom)); right: max(24px, env(safe-area-inset-right)); display: inline-flex; gap: 14px; padding: 14px 16px; border: 1px solid #ffffff24; border-radius: 100px; background: transparent; color: #c4c4c4; font-size: 11px; }
.loader-skip:hover { background: #ffffff0d; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .loader-visual { animation: none !important; transition: none !important; transform: none !important; }
  .is-leaving .loader-visual { filter: none; }
}
.is-loading .liquid-site-cursor { z-index: 201; transition: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid white; outline-offset: 6px; }
::selection { background: #eee; color: #111; }
/* The moving glass lens stays above content without blocking interaction. */
.liquid-site-cursor { position: fixed; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .28s ease; }
.liquid-site-cursor *, .liquid-site-cursor *::before, .liquid-site-cursor *::after { pointer-events: none; }
.liquid-site-lens, .liquid-site-wake { position: absolute; top: 0; left: 0; border-radius: 46% 54% 51% 49% / 51% 46% 54% 49%; will-change: transform; }
.liquid-site-lens {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: invert(1);
  backdrop-filter: invert(1);
  box-shadow: inset 0 0 1px rgba(255,255,255,.35);
}
.liquid-site-wake { width: 22.4px; height: 22.4px; background: radial-gradient(ellipse at center, rgba(255,255,255,.045), transparent 70%); border: 1px solid rgba(255,255,255,.055); }
@supports not ((backdrop-filter: invert(1)) or (-webkit-backdrop-filter: invert(1))) {
  .liquid-site-cursor { mix-blend-mode: difference; }
  .liquid-site-lens { background: white; border-color: white; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .liquid-site-cursor.is-visible { opacity: 1; }
}
body.modal-open .liquid-site-cursor { opacity: 0; }
@media (prefers-reduced-motion: reduce), (prefers-reduced-transparency: reduce), (pointer: coarse), print {
  .liquid-site-cursor { display: none; }
}
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px; background: white; color: black; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); transition: background .35s; border: 0; background: linear-gradient(180deg, rgba(0,0,0,.48), transparent); }
.site-header.scrolled { background: linear-gradient(180deg, rgba(10,10,10,.9), rgba(10,10,10,.45) 65%, transparent); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 39px; height: 39px; object-fit: contain; }
.brand-name { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.065em; }
.brand-caption { display: block; color: #ccc; font-size: 10px; margin-top: 3px; letter-spacing: .015em; }
.nav-links { display: flex; gap: 6px; }
.nav-links a, .pill { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid transparent; border-radius: 100px; background: rgba(255,255,255,.12); padding: 11px 20px; font-size: 12px; font-weight: 400; line-height: 1.2; text-transform: uppercase; letter-spacing: .025em; backdrop-filter: blur(12px); transition: background .3s, color .3s, transform .3s; }
.nav-links a:hover, .pill:hover { background: #eee; color: #111; }
.nav-links a[aria-current="page"], .pill-light { background: #e5e5e5; color: #171717; }
.pill-light:hover { background: white; }
/* Transparent navigation with a raised neutral rim. */
.nav-links a, .menu-toggle {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    rgba(17, 17, 19, .08);
  color: #fafafa;
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  backdrop-filter: blur(8px) saturate(110%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -1px 1px rgba(0, 0, 0, .24), 0 3px 8px rgba(0, 0, 0, .12);
  text-shadow: 0 1px 5px rgba(0, 0, 0, .6);
}
.nav-links a {
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.nav-links a:hover, .nav-links a[aria-current] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), transparent),
    rgba(255, 255, 255, .10);
  color: #fafafa;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 1px rgba(0, 0, 0, .18), 0 3px 8px rgba(0, 0, 0, .12);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { transform: translateY(-1px); }
}
.nav-links a:active { transform: scale(.97); }
.nav-links a.has-liquid-warp, .pill.has-liquid-warp, .menu-toggle.has-liquid-warp, .dialog-close.has-liquid-warp, .project-hover.has-liquid-warp, .liquid-elastic-content.has-liquid-warp {
  translate: var(--warp-x, 0px) var(--warp-y, 0px);
  rotate: var(--warp-angle, 0deg);
  scale: var(--warp-scale-x, 1) var(--warp-scale-y, 1);
  border-radius: var(--warp-radius);
  will-change: translate, rotate, scale, border-radius;
}
.liquid-elastic-content.has-liquid-warp { border-radius: initial; transform-origin: center; }
/* A soft lens trails the pointer; the narrow second layer lights the rim. */
.nav-links a::before, .nav-links a::after, .menu-toggle::before, .menu-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.nav-links a::before, .menu-toggle::before {
  background:
    radial-gradient(ellipse var(--liquid-width, 54px) 30px at var(--liquid-x, 50%) var(--liquid-y, 50%), rgba(255,255,255,.21), rgba(255,255,255,.06) 42%, transparent 75%),
    radial-gradient(ellipse 24px 16px at var(--liquid-tail-x, 50%) var(--liquid-tail-y, 50%), rgba(255,255,255,.10), transparent 80%);
}
.nav-links a::after, .menu-toggle::after {
  inset: -1px;
  padding: 1px;
  background: radial-gradient(ellipse 48px 32px at var(--liquid-x, 50%) var(--liquid-y, 50%), rgba(255,255,255,.9), transparent 90%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .nav-links a.is-liquid::before, .nav-links a.is-liquid::after,
  .menu-toggle.is-liquid::before, .menu-toggle.is-liquid::after { opacity: 1; }
}
.pill-arrow { font-size: 18px; line-height: .8; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: white; margin: 5px auto; transition: transform .25s; }
.hero { min-height: 680px; height: 100svh; position: relative; isolation: isolate; display: flex; align-items: flex-end; padding: 130px var(--gutter) 110px; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: -2; background: #141414; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { width: min(100%, 1180px); }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .035em; line-height: 1.5; margin: 0 0 25px; }
.hero .eyebrow { color: #dedede; }
h1 { font-size: clamp(40px, 4.65vw, 78px); font-weight: 400; line-height: 1.045; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.hero-copy .pill { margin-top: 0; padding: 14px 22px; }
.play-icon { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 27px; display: flex; justify-content: space-between; align-items: end; gap: 24px; font-size: 11px; color: #c3c3c3; line-height: 1.65; }
.hero-bottom p { margin: 0; }
.scroll-link { display: flex; gap: 18px; align-items: center; padding: 8px 0; }
.work-section { position: relative; padding: 90px clamp(12px, 1vw, 18px) 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 29px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1; font-weight: 400; letter-spacing: -.05em; margin: 0; }
.section-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 12px; }
.project-card { display: block; width: 100%; min-width: 0; text-align: left; border: 0; padding: 0; background: transparent; }
.project-link { display: block; }
.project-media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 3px; background: #191919; isolation: isolate; }
.project-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease), opacity .5s; }
.project-card:hover .project-media > img, .project-card:focus-within .project-media > img { transform: scale(1.035); }
.project-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.project-hover { position: absolute; right: 18px; bottom: 18px; z-index: 4; display: flex; align-items: center; gap: 22px; font-size: 11px; text-transform: uppercase; border-radius: 40px; background: rgba(10,10,10,.55); border: 1px solid rgba(255,255,255,.22); padding: 12px 16px; backdrop-filter: blur(14px); opacity: 0; transform: translateY(7px); transition: opacity .3s, transform .3s; }
.project-card:hover .project-hover, .project-card:focus-within .project-hover { opacity: 1; transform: none; }
.preview-frame { position: absolute; top: 0; left: 50%; width: 111.12%; height: 100%; transform: translateX(-50%); border: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.preview-frame.ready { opacity: 1; }
.project-info { padding: 16px 0 0; }
.project-info h3 { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.3; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.project-info p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.work-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 70px; padding-top: 22px; gap: 24px; }
.work-bottom p { color: var(--muted); font-size: 12px; margin: 0; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 100px var(--gutter); border-top: 1px solid var(--line); }
.about-section h2 { font-size: clamp(42px, 5.4vw, 80px); font-weight: 400; line-height: 1.02; letter-spacing: -.055em; margin: 0; }
.about-intro { display: flex; flex-direction: column; justify-content: space-between; align-items: start; gap: 45px; }
.about-mark { width: clamp(220px, 28vw, 440px); max-width: 100%; height: auto; flex-shrink: 0; object-fit: contain; opacity: .85; }
.about-text { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; margin: 0 0 24px; }
.about-text strong { color: var(--foreground); font-weight: 400; }
.contact-section { position: relative; margin: 35px var(--gutter) 0; padding: 80px 34px 44px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 85% 100%, #242424, #101010 60%); overflow: hidden; }
.contact-section h2 { font-size: clamp(45px, 8.5vw, 132px); font-weight: 400; letter-spacing: -.065em; line-height: .98; margin: 0 0 55px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-email { font-size: clamp(16px, 2.1vw, 28px); letter-spacing: -.035em; border-bottom: 1px solid #777; padding-bottom: 5px; }
.contact-email:hover { border-color: white; }
.site-footer { padding: 65px var(--gutter) 26px; }
.footer-wordmark { width: 100%; margin: 0 0 45px; }
.footer-logo { line-height: 0; mix-blend-mode: screen; }
.footer-logo svg { display: block; width: 100%; height: auto; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 11px; color: var(--muted); }
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 25px; }
.footer-links a:hover { color: white; }
.visual-reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.visual-motion .visual-reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }
.text-token { display: inline-block; }
.shuffle-word { display: inline-block; white-space: nowrap; }
.shuffle-char { display: inline-block; text-align: center; opacity: var(--shuffle-alpha, 1); filter: var(--shuffle-filter, none); transform: var(--shuffle-shift, none); }
.text-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.text-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.text-line-inner { display: block; transform: none; }
.text-motion .text-reveal .text-line-inner { transition: transform 800ms cubic-bezier(.22, 1, .36, 1); transition-delay: var(--line-delay, 0ms); }
.text-motion .text-reveal:not(.is-text-visible) .text-line-inner { transform: translateY(112%); transition: none; }
.media-dialog { border: 1px solid #333; border-radius: 10px; padding: 0; background: #080808; color: white; width: min(1200px, 94vw); max-width: none; max-height: 94svh; overflow: visible; }
.media-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(12px); }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; }
.dialog-title { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.4; }
.dialog-close { border: 1px solid #444; background: #222; border-radius: 50%; flex-shrink: 0; width: 34px; height: 34px; font-size: 22px; }
.dialog-media { aspect-ratio: 16/9; background: black; }
.dialog-media iframe, .dialog-media video { display: block; width: 100%; height: 100%; border: none; }
.dialog-media video { object-fit: contain; }
.dialog-media iframe[hidden], .dialog-media video[hidden] { display: none; }
.dialog-help { padding: 12px 20px; margin: 0; font-size: 11px; color: var(--muted); }
.dialog-help a { text-decoration: underline; }
@media (min-width: 1800px) { .work-section, .about-section { max-width: 1920px; margin-left: auto; margin-right: auto; } }
@media (max-width: 900px) { .about-section { gap: 40px; } .contact-section { padding: 65px 25px 35px; } }
@media (max-width: 600px) {
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 19px; }
  .brand-caption { font-size: 9px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; right: var(--gutter); left: var(--gutter); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), rgba(13,13,15,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 10px; flex-direction: column; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 40px #0006; }
  .nav-links.is-open { display: flex; }
  .nav-links a { justify-content: flex-start; padding: 16px 20px; font-size: 14px; border-radius: 16px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { height: 92svh; min-height: 620px; padding-top: 115px; padding-bottom: 120px; }
  h1 { font-size: clamp(36px, 8.8vw, 52px); letter-spacing: -.05em; }
  .hero .eyebrow { font-size: 11px; }
  .hero-bottom { font-size: 10px; }
  .work-section { padding-top: 55px; padding-bottom: 65px; }
  .section-heading { padding-bottom: 22px; gap: 12px; }
  .section-heading h2 { font-size: 34px; }
  .section-count { font-size: 10px; }
  .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .project-info h3 { font-size: 19px; }
  .project-hover { opacity: 1; transform: none; font-size: 10px; padding: 9px 12px; right: 12px; bottom: 12px; }
  .work-bottom { margin-top: 45px; }
  .work-bottom p { max-width: 170px; line-height: 1.5; }
  .about-section { grid-template-columns: minmax(0, 1fr); padding-top: 65px; padding-bottom: 55px; gap: 35px; }
  .about-intro { flex-direction: row; align-items: center; gap: 20px; }
  .about-mark { width: clamp(90px, 28vw, 120px); height: auto; }
  .about-section h2 { font-size: 47px; }
  .contact-section { margin-top: 10px; padding: 45px 20px 30px; }
  .contact-section h2 { font-size: clamp(42px, 10.2vw, 65px); margin-bottom: 36px; }
  .contact-row { flex-direction: column; align-items: start; }
  .contact-email { font-size: 20px; }
  .site-footer { padding-top: 45px; }
  .footer-wordmark { margin-bottom: 25px; }
  .footer-row { align-items: flex-start; flex-wrap: wrap; gap: 16px; line-height: 1.5; }
  .footer-links { gap: 20px; }
  .dialog-toolbar { padding: 12px; }
  .dialog-title { font-size: 12px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-links a, .menu-toggle { background-color: #151517; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-links a::before, .nav-links a::after, .menu-toggle::before, .menu-toggle::after { display: none; }
  .nav-links a, .menu-toggle { background: #151517; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links a:hover, .nav-links a[aria-current] { background: #29292d; }
  .nav-links.is-open { background: #101012; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .has-liquid-warp { translate: none !important; rotate: none !important; scale: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .visual-motion .visual-reveal:not(.is-visible) { opacity: 1; transform: none; }
  .text-motion .text-reveal:not(.is-text-visible) .text-line-inner { transform: none; }
}
