:root {
  --ink: #15110f;
  --ink-soft: #2a211c;
  --paper: #e8e0d6;
  --paper-2: #d9cdc0;
  --copper: #b7744c;
  --copper-light: #d99b70;
  --line: rgba(36, 27, 22, 0.2);
  --white-line: rgba(255, 246, 235, 0.17);
  --sans: "Manrope", sans-serif;
  --serif: "Playfair Display", serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
main, section { min-width: 0; max-width: 100vw; }
html { scrollbar-width: thin; scrollbar-color: var(--copper) var(--ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--copper); border: 3px solid var(--ink); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--copper-light); }
::-webkit-scrollbar-corner { background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--copper); color: white; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .045; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { width: 100%; max-width: 100vw; height: 92px; padding: 0 clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: absolute; inset: 0 0 auto; z-index: 10; color: #f0e9e2; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--serif); font-style: italic; }
nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 13px; }
nav a { transition: color .25s; }
nav a:hover { color: var(--copper-light); }
.nav-cta { border-bottom: 1px solid currentColor; padding: 6px 0; }
.language-switch { display: flex; align-items: center; gap: 6px; margin-left: -18px; font: 500 10px var(--mono); color: #716760; }
.language-switch button { padding: 5px 2px; color: inherit; background: transparent; border: 0; cursor: pointer; transition: color .2s; }
.language-switch button:hover, .language-switch button.active { color: var(--copper-light); }
.language-switch button.active { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta span, .button span, .text-link span, .contact-mail span { display: inline-block; margin-left: 6px; transition: transform .25s; }
.nav-cta:hover span, .button:hover span, .text-link:hover span, .contact-mail:hover span { transform: translate(3px, -3px); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 1px; background: currentColor; margin: 6px; }

.hero { width: 100%; min-height: 760px; height: 100vh; max-height: 960px; display: grid; grid-template-columns: 57% 43%; color: #f4ede6; background: var(--ink); }
.eyebrow.hero-mobile-kicker { display: none; }
.hero-copy { min-width: 0; padding: 150px clamp(28px, 6vw, 100px) 70px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; font: 500 11px/1.3 var(--mono); letter-spacing: .16em; color: var(--copper-light); }
.eyebrow span { width: 38px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--copper-light); justify-content: center; }
.hero h1 { font-size: clamp(51px, 6.3vw, 104px); line-height: .96; letter-spacing: -.057em; font-weight: 500; max-width: 900px; margin: 30px 0; }
.english-only-break { display: none; }
html[lang="en"] .english-only-break { display: inline; }
em { font-family: var(--serif); font-weight: 600; color: var(--copper-light); }
.hero-lead { max-width: 570px; color: #bdb2aa; font-size: clamp(16px, 1.2vw, 19px); margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 22px; font-size: 13px; font-weight: 600; transition: background .25s, color .25s; }
.button-primary { background: var(--copper); color: #fff; }
.button-primary:hover { background: var(--copper-light); color: var(--ink); }
.button-ghost { border: 1px solid var(--white-line); color: #e4dcd5; }
.button-ghost:hover { border-color: var(--copper-light); color: var(--copper-light); }
.availability { margin-top: 48px; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #978d86; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; background: #7c9b6a; border-radius: 50%; box-shadow: 0 0 0 5px rgba(124,155,106,.12); }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 23%), linear-gradient(0deg, rgba(13,11,10,.35), transparent 45%); }
.portrait-wrap, .portrait-wrap img { width: 100%; height: 100%; }
.portrait-wrap img { object-fit: cover; object-position: center 28%; filter: saturate(.8) contrast(1.04); }
.portrait-caption { position: absolute; bottom: 34px; right: 40px; z-index: 2; text-transform: uppercase; font: 10px var(--mono); letter-spacing: .15em; color: #d4c8bf; writing-mode: vertical-rl; }
.hero-note { position: absolute; z-index: 3; left: 26px; bottom: 54px; width: 145px; height: 145px; border-radius: 50%; background: var(--copper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.hero-note span { font: 600 40px/1 var(--serif); color: #fff5ed; letter-spacing: -.03em; }
.hero-note p { font-size: 12px; line-height: 1.45; margin: 8px 0 0; }

.section { padding: 110px clamp(24px, 6vw, 100px); }
.section-label { text-transform: uppercase; letter-spacing: .14em; font: 500 10px var(--mono); border-top: 1px solid var(--line); padding-top: 15px; display: flex; gap: 18px; }
.section-label span { color: var(--copper); }
.section-label.light { border-color: var(--white-line); color: #c5bab2; }
.intro-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10vw; margin: 75px 0 90px; align-items: start; }
.intro-large { margin: 0; font-size: clamp(31px, 4vw, 62px); line-height: 1.12; letter-spacing: -.04em; }
.intro-details { color: #5d5149; max-width: 560px; }
.intro-details p:first-child { margin-top: 0; }
.ai-note { border-left: 2px solid var(--copper); padding: 4px 0 4px 18px; margin-top: 26px; }
.ai-note span { display: block; margin-bottom: 6px; color: var(--copper); font: 500 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 36px 28px; border-right: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
.stats strong { font: 600 clamp(46px, 6vw, 82px)/1 var(--serif); }
.stats strong span { color: var(--copper); font-size: .6em; }
.stats p { margin: 10px 0 0; color: #75685f; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.services, .projects, .contact { background: var(--ink); color: #f0e8e0; }
.services-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin: 70px 0 60px; }
.services-heading h2, .experience h2, .project-head h2, .stack h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.services-heading p, .project-head p { max-width: 420px; color: #9e928a; margin: 0; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--white-line); }
.service-card { padding: 34px; min-height: 440px; display: flex; flex-direction: column; border-right: 1px solid var(--white-line); transition: background .3s, transform .3s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--ink-soft); transform: translateY(-6px); }
.service-number { font: 10px var(--mono); color: #766d67; }
.service-icon { color: var(--copper-light); font: 52px/1 var(--serif); margin: 45px 0 35px; }
.service-card h3 { font: 600 28px var(--serif); margin: 0 0 14px; }
.service-card p { color: #9f948c; font-size: 14px; margin: 0 0 28px; }
.service-card ul { list-style: none; padding: 0; margin: auto 0 0; color: #cfc4bc; font: 11px/2 var(--mono); }
.service-card li::before { content: "—"; color: var(--copper); margin-right: 9px; }

.experience-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; margin-top: 75px; }
.experience-intro { position: sticky; top: 40px; align-self: start; }
.experience-intro h2 { font-size: clamp(38px, 4.4vw, 65px); }
.text-link { display: inline-block; margin-top: 38px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; padding-bottom: 5px; }
.timeline-item { display: grid; grid-template-columns: 135px 1fr; gap: 30px; padding: 0 0 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.timeline-date { font: 10px var(--mono); color: #85766c; text-transform: uppercase; padding-top: 8px; }
.timeline-item h3 { margin: 0 0 5px; font-size: 21px; line-height: 1.3; }
.timeline-item .company { color: var(--copper); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 18px; }
.timeline-item p:not(.company) { color: #65584f; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tags span { border: 1px solid var(--line); border-radius: 40px; padding: 6px 11px; font: 9px var(--mono); text-transform: uppercase; }

.project-head { display: flex; justify-content: space-between; align-items: end; margin: 70px 0 55px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--white-line); }
.project-card { min-width: 0; background: #1c1714; border-right: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); }
.project-card:nth-child(even) { border-right: 0; }
.project-showcase { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); min-height: 330px; }
.project-media { position: relative; align-self: center; width: calc(100% - 56px); aspect-ratio: 16 / 9; margin: 28px; padding: 0; overflow: hidden; cursor: zoom-in; color: inherit; background: #251e1a; border: 1px solid var(--white-line); box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.project-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; position: relative; z-index: 2; transition: transform .45s ease; background: #eef1f5; }
.project-media:hover img, .project-media:focus-visible img { transform: scale(1.025); }
.project-media:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }
.media-expand { position: absolute; z-index: 3; right: 10px; bottom: 10px; padding: 7px 10px; background: rgba(16,13,12,.82); color: white; font: 8px var(--mono); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.media-expand b { color: var(--copper-light); margin-left: 5px; }
.media-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 600 clamp(42px, 5vw, 72px)/.9 var(--serif); color: #f1ded1; background: radial-gradient(circle at 75% 20%, rgba(183,116,76,.4), transparent 35%), linear-gradient(145deg, #422b20, #181310); }
.media-placeholder small { font: 9px var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--copper-light); }
.nq2-media .media-placeholder { color: #e9e6ff; background: radial-gradient(circle at 30% 20%, rgba(75,62,161,.6), transparent 38%), linear-gradient(145deg, #19162f, #121114); }
.project-body { min-height: 330px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--white-line); }
.project-compact { min-height: 390px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; }
.project-top { display: flex; justify-content: space-between; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #aaa099; }
.project-card h3 { font: 600 clamp(35px, 4vw, 60px)/1 var(--serif); margin: 30px 0 15px; }
.project-card p { color: #aaa099; max-width: 480px; }
.project-tech { font: 10px var(--mono); color: var(--copper-light); text-transform: uppercase; }

.image-lightbox { width: min(94vw, 1500px); max-width: none; height: min(92vh, 980px); max-height: none; margin: auto; padding: 48px; color: #f2ebe5; background: #100e0d; border: 1px solid var(--white-line); overflow: hidden; }
.image-lightbox::backdrop { background: rgba(7,5,4,.9); backdrop-filter: blur(8px); }
.image-lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.image-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.image-lightbox figcaption { color: #aaa099; font: 9px var(--mono); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 16px; width: 36px; height: 36px; padding: 0; color: white; background: transparent; border: 1px solid var(--white-line); cursor: pointer; font-size: 24px; line-height: 1; }
.lightbox-close:hover { color: var(--copper-light); border-color: var(--copper-light); }

.stack-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10vw; margin-top: 75px; }
.stack-groups { border-top: 1px solid var(--line); }
.stack-groups > div { display: grid; grid-template-columns: 145px 1fr; gap: 25px; border-bottom: 1px solid var(--line); padding: 28px 0; }
.stack-groups h3 { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--copper); margin: 3px 0; }
.stack-groups p { margin: 0; color: #584d46; }

.contact { text-align: center; position: relative; overflow: hidden; padding-top: 140px; }
.contact h2 { font-size: clamp(65px, 10vw, 145px); line-height: .82; letter-spacing: -.065em; font-weight: 500; margin: 50px 0; position: relative; }
.contact-lead { color: #9d928a; max-width: 520px; margin: 0 auto 38px; }
.contact-mail { font: 500 clamp(17px, 2vw, 28px) var(--mono); border-bottom: 1px solid var(--copper); padding-bottom: 8px; color: var(--copper-light); }
.contact-mail-slot { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.email-reveal { padding: 0 0 8px; color: var(--copper-light); background: transparent; border: 0; border-bottom: 1px solid var(--copper); cursor: pointer; font: 500 clamp(15px, 1.6vw, 21px) var(--mono); letter-spacing: .06em; }
.email-reveal:hover, .email-reveal:focus-visible { color: #fff; }
.email-value[hidden] { display: none; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 100px auto 0; padding-top: 28px; border-top: 1px solid var(--white-line); text-align: left; }
.contact-details > * { margin: 0; font-size: 13px; }
.contact-details small { display: block; color: #766d67; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.phone-reveal { padding: 4px 0; color: var(--copper-light); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font: 500 10px var(--mono); letter-spacing: .1em; }
.phone-reveal:hover, .phone-reveal:focus-visible { color: #fff; }
.phone-value { display: inline-block; }
.phone-value[hidden] { display: none; }
.contact-orbit { position: absolute; width: 280px; height: 280px; border: 1px solid var(--white-line); border-radius: 50%; top: 20px; right: -100px; color: rgba(217,155,112,.5); font: 10px var(--mono); animation: spin 18s linear infinite; }
.contact-orbit span { position: absolute; top: 20px; left: 65px; letter-spacing: .12em; }
@keyframes spin { to { transform: rotate(360deg); } }

footer { background: var(--ink); color: #aaa099; border-top: 1px solid var(--white-line); padding: 30px clamp(24px, 6vw, 100px); display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
footer .brand { color: #e7ded7; }
.back-top { font: 10px var(--mono); text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { position: absolute; height: 76px; }
  .menu-toggle { display: block; color: white; position: relative; z-index: 2; }
  nav { position: fixed; inset: 0; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 32px; transform: translateX(100%); transition: transform .35s; font-size: 20px; }
  nav.open { transform: none; }
  .language-switch { margin: 8px 0 0; font-size: 13px; }
  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { height: auto; max-height: none; grid-template-columns: 1fr; }
  .eyebrow.hero-mobile-kicker { display: flex; order: 1; margin: 0; padding: 118px 24px 16px; }
  .hero-copy { order: 3; min-height: auto; padding-top: 38px; padding-bottom: 80px; }
  .hero-copy > .eyebrow { display: none; }
  .hero h1 { max-width: 730px; }
  .hero-visual { order: 2; height: 620px; }
  .hero-visual .portrait-wrap img { object-position: center 36%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--ink), transparent 20%), linear-gradient(0deg, rgba(13,11,10,.35), transparent 45%); }
  .hero-note { left: 24px; right: auto; top: auto; bottom: 24px; }
  .intro-content, .experience-grid, .stack-wrap { grid-template-columns: 1fr; }
  .intro-content { gap: 40px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .service-card:last-child { border-bottom: 0; }
  .experience-intro { position: static; margin-bottom: 30px; }
  .project-showcase { grid-template-columns: 1fr; }
  .project-media { width: min(calc(100% - 56px), 520px); aspect-ratio: 16 / 9; justify-self: center; }
  .project-body { min-height: 320px; border-left: 0; }
}

@media (max-width: 620px) {
  .site-header .brand > span:last-child { display: none; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero-copy { min-height: auto; padding: 30px 24px 74px; }
  .hero-mobile-kicker { padding-top: 100px; padding-bottom: 10px; }
  .hero h1 { font-size: clamp(40px, 11vw, 54px); line-height: 1; }
  .hero-visual { height: 470px; }
  .hero-note { width: 124px; height: 124px; left: 18px; bottom: 18px; }
  .hero-note span { font-size: 23px; }
  .hero-note p { font-size: 10px; margin-top: 6px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .intro-content { margin: 55px 0 60px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div, .stats > div:first-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; }
  .services-heading, .project-head { align-items: start; flex-direction: column; margin-top: 50px; }
  .service-card { padding: 28px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 360px; border-right: 0; }
  .project-showcase { grid-template-columns: 1fr; }
  .project-media { width: calc(100% - 40px); margin: 20px; aspect-ratio: 16 / 9; }
  .project-body { min-height: 330px; padding: 28px; }
  .image-lightbox { width: 96vw; height: auto; max-height: 92vh; padding: 46px 12px 16px; }
  .image-lightbox figure { min-height: 220px; }
  .stack-groups > div { grid-template-columns: 1fr; gap: 8px; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .contact h2 { font-size: clamp(62px, 20vw, 96px); }
  .contact-mail { font-size: 15px; }
  .contact-mail { overflow-wrap: anywhere; }
  .contact-details { grid-template-columns: 1fr; gap: 25px; }
  footer { flex-wrap: wrap; gap: 22px; }
  footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
