:root {
  --ink: #0b0b0d;
  --ink-soft: #121216;
  --panel: #17171c;
  --paper: #f4f0e8;
  --paper-soft: #c8c3ba;
  --muted: #8c8990;
  --line: rgba(244, 240, 232, .14);
  --signal: #ff343a;
  --signal-bright: #ff5156;
  --lime: #c8ff3d;
  --shell: min(1360px, calc(100vw - 64px));
  --header: 86px;
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
::selection { background: var(--signal); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 150px 0; position: relative; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 99999;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--signal); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header);
  background: linear-gradient(to bottom, rgba(11, 11, 13, .94), rgba(11, 11, 13, .55), transparent);
  transition: height .35s ease, background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled { height: 72px; background: rgba(11, 11, 13, .88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { width: 178px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); }
.main-nav a { position: relative; color: #b9b5b0; font-size: 12px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--signal); transition: right .3s var(--ease); }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switcher { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.language-switcher button { border: 0; background: transparent; color: var(--muted); font: 500 10px/1 "DM Mono", monospace; padding: 7px 8px; border-radius: 999px; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 0 18px; background: var(--signal); border-radius: 999px; font-size: 11px; font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 1px; background: var(--paper); margin: 4px 0; transition: .3s ease; }
.menu-toggle i { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.hero { min-height: 100svh; padding: calc(var(--header) + 90px) 0 76px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 35%, rgba(255,52,58,.1), transparent 28%); pointer-events: none; }
.hero-glow { position: absolute; width: 28vw; aspect-ratio: 1; border: 1px solid rgba(255,52,58,.18); border-radius: 50%; filter: blur(.2px); }
.hero-glow--one { top: 16%; right: -12%; animation: orbit 16s linear infinite; }
.hero-glow--two { width: 18vw; bottom: -8%; left: 34%; animation: orbit 22s linear reverse infinite; }
@keyframes orbit { to { transform: rotate(360deg) translateX(20px) rotate(-360deg); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .65fr); gap: 6vw; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker, .eyebrow { margin: 0 0 25px; color: var(--paper-soft); font: 500 10px/1.3 "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(200,255,61,.08); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(200,255,61,0); } }
.hero-title { margin: 0; max-width: 850px; font-size: clamp(54px, 7.4vw, 116px); line-height: .89; letter-spacing: -.074em; font-weight: 800; }
.hero-title span { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .accent { color: var(--signal); font-weight: 500; }
.hero-intro { max-width: 680px; margin: 35px 0 0; color: var(--paper-soft); font-size: clamp(16px, 1.35vw, 20px); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 34px; border: 1px solid transparent; font-size: 13px; font-weight: 800; transition: transform .3s var(--ease), background .3s ease, color .3s ease; }
.button i { font-style: normal; font-size: 18px; }
.button:hover { transform: translateY(-3px); }
.button--signal { background: var(--signal); color: #fff; }
.button--signal:hover { background: var(--signal-bright); }
.button--ghost { border-color: var(--line); color: var(--paper); }
.button--ghost:hover { background: var(--paper); color: var(--ink); }
.hero-portrait { position: relative; min-height: 600px; display: grid; place-items: center; }
.portrait-card { position: relative; width: min(410px, 100%); aspect-ratio: .78; overflow: hidden; border-radius: 48% 48% 28px 28px; border: 1px solid rgba(255,255,255,.18); background: #d8d4cd; transform-style: preserve-3d; transition: transform .2s ease-out; }
.portrait-card::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, rgba(11,11,13,.58)); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; filter: saturate(.55) contrast(1.05); }
.portrait-noise { position: absolute; inset: 0; opacity: .11; 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='.7'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.portrait-orbit { position: absolute; width: min(505px, 125%); aspect-ratio: 1; border: 1px solid rgba(255,52,58,.4); border-radius: 50%; animation: spin 25s linear infinite; }
.portrait-orbit::after { content: ""; position: absolute; inset: 38px; border: 1px dashed rgba(255,255,255,.13); border-radius: inherit; }
.portrait-orbit span { position: absolute; color: var(--paper-soft); font: 500 10px "DM Mono", monospace; background: var(--ink); padding: 5px; }
.portrait-orbit span:nth-child(1) { top: 12%; left: 9%; }
.portrait-orbit span:nth-child(2) { right: 1%; top: 50%; }
.portrait-orbit span:nth-child(3) { bottom: 5%; left: 30%; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-label { position: absolute; right: -28px; bottom: 35px; width: 235px; background: var(--paper); color: var(--ink); padding: 18px 20px; border-radius: 12px; transform: rotate(-3deg); box-shadow: 0 22px 70px rgba(0,0,0,.32); }
.portrait-label small { display: block; font: 500 9px "DM Mono", monospace; color: #797575; text-transform: uppercase; letter-spacing: .15em; }
.portrait-label strong { display: block; margin-top: 5px; font-size: 12px; line-height: 1.35; }
.hero-proof { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 24px; }
.hero-proof div { min-height: 86px; padding: 22px 28px 0 0; display: flex; align-items: flex-start; gap: 16px; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border: 0; padding-left: 28px; }
.hero-proof div:nth-child(2) { padding-left: 28px; }
.hero-proof strong { font: 500 27px/1 "DM Mono", monospace; color: var(--signal); }
.hero-proof span { max-width: 160px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-scroll { position: absolute; right: 20px; bottom: 35px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll span { height: 50px; width: 1px; background: linear-gradient(var(--signal) 50%, var(--line) 50%); background-size: 100% 200%; animation: scrollLine 2s infinite; }
.hero-scroll b { writing-mode: vertical-rl; color: var(--muted); font: 500 8px "DM Mono", monospace; letter-spacing: .17em; text-transform: uppercase; }
@keyframes scrollLine { to { background-position: 0 -200%; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--signal); color: #fff; transform: rotate(-1deg) scale(1.02); }
.marquee-track { width: max-content; padding: 15px 0; display: flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; }
.marquee span { font-size: 13px; font-weight: 800; letter-spacing: .11em; }
.marquee i { font-style: normal; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(280px, 370px); gap: 48px; align-items: end; padding-bottom: 76px; border-bottom: 1px solid var(--line); }
.section-index { margin: 0; color: var(--signal); font: 500 11px "DM Mono", monospace; letter-spacing: .08em; }
.section-heading .eyebrow, .work-heading .eyebrow, .about .eyebrow, .contact .eyebrow { color: var(--signal); margin-bottom: 18px; }
.section-heading h2, .work-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(42px, 5.4vw, 78px); line-height: .98; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.expertise-list { border-bottom: 1px solid var(--line); }
.expertise-item { display: grid; grid-template-columns: 120px .8fr 1.3fr 40px; gap: 48px; align-items: center; min-height: 142px; border-top: 1px solid var(--line); transition: background .4s ease, padding .4s var(--ease); }
.expertise-item:first-child { border-top: 0; }
.expertise-item:hover { background: rgba(255,255,255,.025); padding-inline: 18px; }
.expertise-item > span { color: var(--muted); font: 400 11px "DM Mono", monospace; }
.expertise-item h3 { margin: 0; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.04em; }
.expertise-item p { margin: 0; color: var(--muted); font-size: 14px; }
.expertise-item i { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--signal); font-style: normal; transition: .3s ease; }
.expertise-item:hover i { background: var(--signal); color: white; transform: rotate(45deg); }

.work { background: var(--paper); color: var(--ink); }
.work .section-index, .work .eyebrow { color: var(--signal); }
.work-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 9vw; align-items: end; }
.work-heading-copy p { margin: 0; color: #666267; font-size: 15px; }
.gesture-hint { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.gesture-hint i { width: 37px; height: 37px; display: grid; place-items: center; background: var(--signal); color: white; border-radius: 50%; font-style: normal; }
.gesture-hint b { font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.project-filters { margin: 62px 0 38px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-filters button { border: 1px solid rgba(11,11,13,.14); background: transparent; color: #686469; min-height: 38px; padding: 0 17px; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 700; transition: .25s ease; }
.project-filters button:hover, .project-filters button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.projects { display: grid; gap: 110px; }
.project { display: grid; grid-template-columns: minmax(240px, .45fr) minmax(0, 1.1fr); gap: clamp(38px, 7vw, 110px); align-items: center; }
.project:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(240px, .45fr); }
.project:nth-child(even) .project-info { order: 2; }
.project.is-hidden { display: none; }
.project-info { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.project-number { color: var(--signal); font: 500 11px "DM Mono", monospace; }
.project-info > div { margin: auto 0; }
.project-info p { margin: 0 0 7px; color: #777277; font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .11em; }
.project-info h3 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: .95; letter-spacing: -.06em; }
.project-open { border: 0; border-bottom: 1px solid rgba(11,11,13,.25); background: none; padding: 0 0 9px; display: flex; align-items: center; gap: 25px; cursor: pointer; font-size: 12px; font-weight: 800; }
.project-open i { color: var(--signal); font-size: 20px; font-style: normal; transition: transform .3s var(--ease); }
.project-open:hover i { transform: translate(4px, -4px); }
.project-browser { border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #17171b; text-align: left; box-shadow: 0 36px 85px rgba(14,12,14,.18); cursor: pointer; position: relative; transition: transform .5s var(--ease), box-shadow .5s ease; }
.project-browser:hover { transform: translateY(-9px) rotate(.25deg); box-shadow: 0 46px 100px rgba(14,12,14,.26); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: #17171b; color: #8f8b91; position: relative; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #47464b; }
.browser-bar i:first-child { background: var(--signal); }
.browser-bar b { position: absolute; left: 50%; transform: translateX(-50%); font: 400 8px "DM Mono", monospace; letter-spacing: .03em; white-space: nowrap; }
.browser-viewport { display: block; height: clamp(330px, 40vw, 545px); overflow: hidden; background: #dedede; }
.browser-viewport img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.1s var(--ease), filter .5s ease; }
.project-browser:hover .browser-viewport img { transform: translateY(-4%); filter: brightness(.62); }
.browser-overlay { position: absolute; inset: 42px 0 0; display: flex; align-items: center; justify-content: center; gap: 18px; color: white; opacity: 0; transition: opacity .4s ease; background: rgba(255,52,58,.08); }
.browser-overlay b { font-size: 13px; }
.browser-overlay i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--signal); font-style: normal; }
.project-browser:hover .browser-overlay, .project-browser:focus-visible .browser-overlay { opacity: 1; }

.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.1fr); gap: 10vw; align-items: start; }
.about-sticky { position: sticky; top: 110px; }
.about-sticky h2 { margin-bottom: 45px; }
.about-photo { position: relative; height: 480px; max-width: 410px; overflow: hidden; border-radius: 2px 2px 100px 2px; background: #cfcac2; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(11,11,13,.7)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.about-photo span { position: absolute; z-index: 1; left: 18px; bottom: 15px; font: 400 9px "DM Mono", monospace; letter-spacing: .1em; }
.about-content { padding-top: 86px; }
.about-content > p { color: var(--muted); font-size: 16px; }
.about-content .about-lead { color: var(--paper); font-size: clamp(24px, 3vw, 42px); line-height: 1.3; letter-spacing: -.035em; margin: 0 0 42px; }
.process { margin-top: 75px; border-top: 1px solid var(--line); }
.process > div { display: grid; grid-template-columns: 52px 150px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process span { color: var(--signal); font: 500 10px "DM Mono", monospace; }
.process h3 { margin: 0; font-size: 17px; }
.process p { margin: 0; color: var(--muted); font-size: 13px; }
.toolkit { margin-top: 68px; }
.toolkit > p { color: var(--signal); font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .13em; }
.toolkit > div { display: flex; flex-wrap: wrap; gap: 8px; }
.toolkit span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--paper-soft); font-size: 11px; }

.contact { min-height: 830px; display: grid; place-items: center; overflow: hidden; background: var(--signal); color: white; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle, #000, transparent 75%); }
.contact-inner { position: relative; z-index: 2; text-align: center; }
.contact .section-index, .contact .eyebrow { color: white; }
.contact h2 { font-size: clamp(56px, 8vw, 118px); }
.contact-inner > p:not(.section-index):not(.eyebrow) { max-width: 690px; margin: 32px auto 0; color: rgba(255,255,255,.75); font-size: 16px; }
.contact-actions { max-width: 870px; margin: 60px auto 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.contact-actions a { min-height: 68px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 12px; font-weight: 800; transition: .3s var(--ease); }
.contact-actions a:hover { transform: translateY(-4px); background: white; color: var(--ink); }
.contact-actions .contact-primary { background: var(--ink); border-color: var(--ink); }
.contact-actions i { font-style: normal; font-size: 18px; }
.contact-orbit { position: absolute; width: min(78vw, 1000px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: spin 34s linear infinite; }
.contact-orbit span { position: absolute; top: -11px; left: 43%; background: var(--signal); padding: 0 15px; font: 500 9px "DM Mono", monospace; letter-spacing: .15em; white-space: nowrap; }

.site-footer { background: #070708; padding: 80px 0 22px; }
.footer-main { display: grid; grid-template-columns: .6fr 1.2fr .7fr; gap: 8vw; align-items: start; padding-bottom: 72px; }
.footer-brand { width: 190px; }
.footer-main > p { margin: 0; max-width: 520px; font-size: clamp(21px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.footer-links { display: grid; }
.footer-links a { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--paper-soft); font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-links b { font: inherit; }
.footer-links span { color: var(--signal); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }

.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 460;
  min-height: 56px; padding: 0 20px 0 16px; display: flex; align-items: center; gap: 11px;
  background: #22c966; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0,0,0,.3); transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease;
}
.whatsapp-float svg { width: 24px; height: 24px; fill: currentColor; }
.whatsapp-float strong { font-size: 12px; font-weight: 800; white-space: nowrap; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-4px) scale(1.02); background: #18b95a; box-shadow: 0 24px 55px rgba(0,0,0,.4); }

.project-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,12,.98); color: var(--paper); overflow: hidden; }
.project-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(12px); }
.dialog-shell { height: 100%; display: grid; grid-template-rows: 72px auto minmax(0, 1fr); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); }
.dialog-brand { display: flex; align-items: center; gap: 20px; }
.dialog-brand img { width: 124px; }
.dialog-brand span { color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.dialog-controls { display: flex; align-items: center; gap: 6px; }
.dialog-controls button { min-width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; }
.dialog-controls button:hover { background: var(--paper); color: var(--ink); }
.dialog-controls .dialog-close { padding: 0 17px; font-size: 11px; font-weight: 700; }
.dialog-meta { display: grid; grid-template-columns: .7fr 1fr auto; gap: 6vw; align-items: end; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.dialog-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.dialog-meta > div > p { color: var(--signal); font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.dialog-meta h2 { margin: 4px 0 0; font-size: clamp(28px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.dialog-meta > span { display: flex; align-items: center; gap: 10px; color: var(--paper-soft); }
.dialog-meta > span i { color: var(--signal); font-style: normal; }
.dialog-meta > span b { font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.dialog-browser { min-height: 0; margin: 20px 32px 28px; border-radius: 15px; overflow: hidden; background: #1b1b1f; box-shadow: 0 30px 80px rgba(0,0,0,.42); }
.dialog-browser .browser-bar { height: 38px; }
.dialog-browser .browser-bar em { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--signal); transition: width .15s linear; }
.dialog-scroll { height: calc(100% - 38px); overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-color: var(--signal) #222; scrollbar-width: thin; }
.dialog-scroll img { width: 100%; height: auto; }

.generic-content { padding: 150px 0; min-height: 70vh; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 980px); }
  .main-nav { display: none; position: fixed; inset: 72px 0 auto; background: rgba(11,11,13,.98); border-bottom: 1px solid var(--line); padding: 30px 20px; flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 22px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr .7fr; gap: 25px; }
  .hero-portrait { min-height: 500px; }
  .section-heading { grid-template-columns: 70px 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .expertise-item { grid-template-columns: 70px .8fr 1.3fr 40px; gap: 25px; }
  .project { gap: 45px; }
  .footer-main { grid-template-columns: .5fr 1fr; }
  .footer-links { grid-column: 2; }
}

@media (max-width: 780px) {
  :root { --shell: calc(100% - 32px); --header: 72px; }
  .section { padding: 100px 0; }
  .brand { width: 137px; }
  .language-switcher button { padding-inline: 7px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-title { font-size: clamp(50px, 15vw, 76px); }
  .hero-title .accent { font-size: .9em; }
  .hero-intro { font-size: 15px; }
  .hero-portrait { min-height: 480px; order: 2; }
  .portrait-card { width: min(330px, 86vw); }
  .portrait-orbit { width: min(400px, 105vw); }
  .portrait-label { right: 0; width: 210px; }
  .hero-proof { order: 3; grid-template-columns: 1fr; margin-top: 0; }
  .hero-proof div, .hero-proof div:nth-child(2), .hero-proof div:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof div:last-child { border-bottom: 0; }
  .hero-scroll { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; padding-bottom: 50px; }
  .section-heading > p:last-child { grid-column: 1; }
  .section-heading h2, .work-heading h2, .about h2 { font-size: 43px; }
  .expertise-item { grid-template-columns: 42px 1fr 35px; gap: 12px; padding: 28px 0; }
  .expertise-item h3 { font-size: 20px; }
  .expertise-item p { grid-column: 2 / -1; }
  .work-heading { grid-template-columns: 1fr; gap: 34px; }
  .project-filters { margin-top: 42px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }
  .project-filters button { white-space: nowrap; }
  .projects { gap: 76px; }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 25px; }
  .project:nth-child(even) .project-info { order: 0; }
  .project-info { min-height: 170px; }
  .project-info > div { margin: 22px 0; }
  .project-info h3 { font-size: 45px; }
  .browser-viewport { height: 360px; }
  .browser-overlay { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-sticky { position: static; }
  .about-photo { height: 440px; max-width: none; }
  .about-content { padding-top: 0; }
  .about-content .about-lead { font-size: 27px; }
  .process > div { grid-template-columns: 40px 1fr; }
  .process p { grid-column: 2; }
  .contact { min-height: 760px; }
  .contact h2 { font-size: 55px; }
  .contact-actions { grid-template-columns: 1fr; margin-top: 42px; }
  .contact-orbit { width: 140vw; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-column: 1; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; min-height: 54px; padding: 0; justify-content: center; }
  .whatsapp-float strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dialog-shell { grid-template-rows: 66px auto minmax(0, 1fr); }
  .dialog-header { padding: 0 14px; }
  .dialog-brand img { width: 105px; }
  .dialog-brand span, .dialog-controls > button:not(.dialog-close) { display: none; }
  .dialog-meta { padding: 16px; grid-template-columns: 1fr auto; gap: 10px; }
  .dialog-meta > p { grid-column: 1 / -1; order: 3; }
  .dialog-meta > span b { display: none; }
  .dialog-browser { margin: 10px 8px 8px; border-radius: 10px; }
}

@media (max-width: 420px) {
  .language-switcher button { padding-inline: 6px; }
  .hero-title { font-size: 48px; }
  .button { width: 100%; justify-content: space-between; }
  .hero-portrait { min-height: 430px; }
  .portrait-card { width: 285px; }
  .portrait-label { bottom: 5px; }
  .browser-viewport { height: 285px; }
  .contact h2 { font-size: 44px; }
}

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