/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-37facb2a.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-c9a5f13c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-f00fa027.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-bd6e7fdc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-76dcfc73.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-81401990.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-71101758.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-f690fa55.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-a9bc00d9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-ef5ca8ac.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --font-sans: 'Manrope'; --font-display: 'Playfair Display'; }
:root {
  --ink: #1c1512;
  --ink-soft: #2b201a;
  --paper: #f6f1e9;
  --paper-deep: #e2d6ca;
  --copper: #b66a3d;
  --copper-light: #dc9a6e;
  --copper-dark: #8e4929;
  --line: rgba(66, 40, 27, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans), sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.nav-logo { width: 156px; filter: drop-shadow(0 5px 18px rgba(0, 0, 0, .22)); }
.nav-links { display: flex; gap: 34px; font-size: 12px; }
.nav-links a { opacity: .72; transition: color .25s ease, opacity .25s ease; }
.nav-links a:hover { color: var(--copper-light); opacity: 1; }
.nav-cta { border-bottom: 1px solid rgba(220, 154, 110, .78); padding: 10px 0; font-size: 12px; font-weight: 700; }
.nav-cta span, .button span { margin-left: 18px; }

.hero {
  min-height: 760px;
  height: 96vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-visual {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  transform: scale(1.035);
}
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(35, 22, 15, .24), rgba(35, 22, 15, .04)); }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 12, 9, .91) 0%, rgba(18, 12, 9, .6) 43%, rgba(18, 12, 9, .12) 75%), linear-gradient(0deg, rgba(23, 13, 8, .4), transparent 45%); }
.hero-content { position: relative; padding-top: 78px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .26em; font-size: 10px; font-weight: 800; }
.eyebrow { color: var(--copper-light); }
h1 { margin: 28px 0 22px; font-size: clamp(62px, 8vw, 112px); line-height: .88; letter-spacing: -.055em; max-width: 930px; font-weight: 500; }
h1 em { font-family: var(--font-display); font-weight: 400; color: var(--copper-light); }
.hero-content > p { max-width: 565px; color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border: none; cursor: pointer; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px) scale(1.01); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--copper-light); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--copper-dark); }
.button-accent { background: var(--copper); color: #fff; width: 100%; }
.button-accent:hover { background: var(--copper-light); color: var(--ink); }
.text-link { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; border-bottom: 1px solid rgba(220, 154, 110, .56); padding: 16px 0; }
.text-link span { margin-left: 16px; }
.hero-index { position: absolute; bottom: 28px; right: 38px; font-size: 9px; letter-spacing: .25em; color: var(--copper-light); opacity: .72; writing-mode: vertical-rl; }

.manifesto { padding: 130px 0 120px; }
.section-kicker { color: var(--copper-dark); margin: 0 0 32px; }
.manifesto > h2 { max-width: 1050px; margin: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -.045em; font-weight: 520; }
.manifesto > h2 span, .about-copy h2 span { color: var(--copper-dark); font-family: var(--font-display); font-style: italic; font-weight: 400; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 76px; border-top: 1px solid var(--line); }
.proof-grid article { padding: 30px 36px 0 0; border-right: 1px solid var(--line); transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .28s ease, box-shadow .28s ease; }
.proof-grid article + article { padding-left: 36px; }
.proof-grid article:last-child { border: 0; }
.proof-grid article:hover { transform: translateY(-4px); }
.proof-grid strong { font-size: 15px; }
.proof-grid p, .section-head > p, .method-copy > p, .about-copy > p { color: #70665f; font-size: 13px; line-height: 1.8; }

.services { background: var(--ink); color: #f9f3ed; padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }
.section-head h2, .method h2, .about h2, .contact h2 { font-size: clamp(43px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.045em; font-weight: 520; margin: 0; }
.section-head > p { color: #b1a59e; max-width: 380px; }
.services .section-kicker { color: var(--copper-light); }
.service-list { margin-top: 75px; border-top: 1px solid rgba(220, 154, 110, .28); }
.service-row { display: grid; grid-template-columns: 70px 1fr 1.2fr 30px; gap: 34px; align-items: center; min-height: 125px; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .28s ease; }
.service-row:hover { transform: translateX(4px); background: rgba(182, 106, 61, .09); }
.service-row > span { color: var(--copper-light); font-size: 10px; }
.service-row h3 { font-size: 24px; font-weight: 550; }
.service-row p { color: #afa6a0; font-size: 12px; line-height: 1.75; max-width: 450px; }
.service-row b { color: var(--copper-light); font-size: 22px; font-weight: 300; }

.method { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; padding: 125px 0; }
.method-copy > p { max-width: 480px; margin: 28px 0 35px; }
.timeline { border-top: 1px solid var(--line); }
.time-row { display: grid; grid-template-columns: 55px 1fr; border-bottom: 1px solid var(--line); padding: 25px 0; transition: transform .28s cubic-bezier(.22, 1, .36, 1); }
.time-row:hover { transform: translateX(4px); }
.time-row > span { color: var(--copper); font-size: 10px; font-weight: 800; }
.time-row h3 { margin: 0 0 8px; font-size: 18px; }
.time-row p { margin: 0; color: #746961; font-size: 12px; line-height: 1.65; }

.portfolio { background: var(--paper-deep); padding: 120px 0 105px; }
.portfolio-head > p { color: #6d635d; }
.portfolio-group { margin-top: 88px; }
.portfolio-group + .portfolio-group { margin-top: 112px; }
.portfolio-group-head { display: grid; grid-template-columns: 46px 1fr; gap: 22px; align-items: start; padding-top: 22px; margin-bottom: 34px; border-top: 1px solid rgba(66, 40, 27, .24); }
.portfolio-group-head > span { color: var(--copper-dark); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.portfolio-group-head p { margin: 0 0 8px; color: var(--copper-dark); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.portfolio-group-head h3 { margin: 0; font-size: clamp(29px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -.035em; font-weight: 520; }
.completed-grid { display: grid; grid-template-columns: minmax(0, 1040px); justify-content: center; gap: 18px; }
.completed-project-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); overflow: hidden; background: var(--paper); border: 1px solid rgba(66, 40, 27, .12); box-shadow: 0 16px 38px rgba(58, 34, 22, .08); transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease; }
.completed-project-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(58, 34, 22, .14); }
.project-carousel { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #211814; color: #fff; touch-action: pan-y; user-select: none; }
.project-carousel.is-landscape { aspect-ratio: 4 / 3; }
.project-carousel.is-wide { aspect-ratio: 16 / 9; }
.carousel-stage, .carousel-slide { position: absolute; inset: 0; }
.carousel-slide { margin: 0; opacity: 0; transform: scale(1.012); pointer-events: none; transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.carousel-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.carousel-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 40px 1fr 40px; gap: 12px; align-items: center; }
.carousel-arrow { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .38); border-radius: 50%; background: rgba(28, 21, 18, .68); color: #fff; cursor: pointer; backdrop-filter: blur(5px); transition: transform .24s ease, background-color .24s ease, border-color .24s ease; }
.carousel-arrow:hover { transform: scale(1.06); background: rgba(182, 106, 61, .9); border-color: rgba(255, 255, 255, .7); }
.carousel-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 7px; }
.carousel-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s ease, border-radius .25s ease, background-color .25s ease; }
.carousel-dots button.is-active { width: 20px; border-radius: 999px; background: var(--copper-light); }
.carousel-count { position: absolute; z-index: 3; top: 17px; right: 18px; padding: 8px 10px; background: rgba(28, 21, 18, .62); color: rgba(255, 255, 255, .88); font-size: 8px; font-weight: 800; letter-spacing: .16em; backdrop-filter: blur(5px); }
.completed-project-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(182, 106, 61, .035)); }
.project-type { margin: 0 0 12px; color: var(--copper-dark); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.completed-project-copy h4 { margin: 0 0 27px; font-size: clamp(31px, 3.5vw, 48px); line-height: 1; letter-spacing: -.04em; font-weight: 520; }
.project-details { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.project-details div { min-width: 0; }
.project-details dt { margin-bottom: 7px; color: var(--copper-dark); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-details dd { margin: 0; color: #665c55; font-size: 11px; line-height: 1.65; }
.ongoing-feature-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); margin-bottom: 14px; overflow: hidden; background: var(--ink-soft); color: #fff; border: 1px solid rgba(66, 40, 27, .16); box-shadow: 0 16px 38px rgba(58, 34, 22, .1); transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease; }
.ongoing-feature-card:hover { transform: translateY(-4px); box-shadow: 0 23px 48px rgba(58, 34, 22, .17); }
.ongoing-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 38px 34px; position: relative; background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(182, 106, 61, .09)); }
.ongoing-feature-top { position: absolute; top: 28px; left: 34px; right: 30px; display: flex; align-items: center; justify-content: space-between; }
.ongoing-feature-card .status-badge { border-color: rgba(220, 154, 110, .52); color: var(--copper-light); }
.ongoing-feature-card .ongoing-number { color: rgba(255, 255, 255, .42); }
.ongoing-feature-copy .project-type { margin-top: 52px; color: var(--copper-light); }
.ongoing-feature-copy h4 { margin: 0 0 24px; font-size: clamp(34px, 4vw, 54px); line-height: .98; letter-spacing: -.045em; font-weight: 520; }
.ongoing-feature-location { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .68); font-size: 11px; line-height: 1.7; }
.ongoing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ongoing-grid > :only-child { grid-column: 1 / -1; }
.ongoing-card { min-height: 238px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: rgba(246, 241, 233, .72); border: 1px solid rgba(66, 40, 27, .13); position: relative; overflow: hidden; transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background-color .28s ease; }
.ongoing-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--copper); transform: scaleY(.34); transform-origin: top; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.ongoing-card:hover { transform: translateY(-4px); background: var(--paper); box-shadow: 0 18px 36px rgba(58, 34, 22, .09); }
.ongoing-card:hover::before { transform: scaleY(1); }
.ongoing-card-top { position: absolute; top: 24px; left: 26px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.status-badge { padding: 7px 10px; border: 1px solid rgba(142, 73, 41, .3); color: var(--copper-dark); font-size: 7px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ongoing-number { color: rgba(66, 40, 27, .42); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.ongoing-card h4 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 35px); line-height: 1.02; letter-spacing: -.035em; font-weight: 520; }
.ongoing-card > p { max-width: 390px; margin: 0; color: #6c625b; font-size: 11px; line-height: 1.65; }

.about { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; padding: 130px 0; }
.about-mark { display: block; width: 132px; height: auto; margin: 38px 0 0 28px; filter: drop-shadow(0 12px 26px rgba(95, 52, 28, .14)); }
.about-copy h2 { margin-bottom: 36px; }
.about-copy > p { max-width: 650px; font-size: 14px; }

.contact { background: var(--ink-soft); color: #fff; padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 110px; }
.section-kicker.light { color: var(--copper-light); }
.contact h2 em { font-family: var(--font-display); color: var(--copper-light); font-weight: 400; }
.contact-grid > div > p:last-child { color: #b2a8a2; max-width: 590px; font-size: 13px; line-height: 1.8; margin-top: 28px; }
form { display: grid; gap: 22px; padding-top: 6px; }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
form label { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: #c0b4ad; }
input, select { display: block; width: 100%; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); outline: 0; padding: 13px 0; font-size: 13px; text-transform: none; letter-spacing: 0; }
select option { color: #111; }
input:focus, select:focus { border-color: var(--copper-light); }
.whatsapp-note { margin: -8px 0 0; color: rgba(255, 255, 255, .48); font-size: 9px; line-height: 1.6; }

.footer { padding: 72px 0 26px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1.05fr 1fr; gap: 52px; align-items: start; }
.footer-brand { width: 176px; }
.footer-logo { width: 176px; }
.footer-tagline { margin: 20px 0 0; color: #746861; font-size: 12px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column p { margin: 0; color: #746861; font-size: 12px; line-height: 1.7; }
.footer-column p strong { color: var(--ink); font-weight: 750; }
.footer-label { margin-bottom: 7px !important; color: var(--copper-dark) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-phone { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; transition: color .2s ease; }
.footer-social { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 650; transition: color .2s ease; }
.footer-social-icon { width: 19px; height: 19px; color: var(--copper-dark); }
.footer-phone:hover, .footer-social:hover { color: var(--copper-dark); }
.footer-region { margin-top: 5px !important; color: var(--ink) !important; }
.footer-cnpj { color: var(--ink) !important; font-size: 11px !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom small { color: #81756e; font-size: 9px; }
.footer-bottom nav { display: flex; gap: 20px; color: #746861; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom nav a { transition: color .2s ease; }
.footer-bottom nav a:hover { color: var(--copper-dark); }

.reveal-enabled [data-reveal] {
  --reveal-delay: 0ms;
  --reveal-y: 30px;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1),
    background-color .25s ease,
    color .25s ease,
    box-shadow .28s ease;
  transition-delay: var(--reveal-delay), var(--reveal-delay), 0ms, 0ms, 0ms;
  will-change: opacity, transform;
}
.reveal-enabled [data-reveal-delay="1"] { --reveal-delay: 80ms; }
.reveal-enabled [data-reveal-delay="2"] { --reveal-delay: 160ms; }
.reveal-enabled [data-reveal-delay="3"] { --reveal-delay: 240ms; }
.reveal-enabled [data-reveal-delay="4"] { --reveal-delay: 320ms; }
.reveal-enabled [data-reveal="fade"] { transform: none; }
.reveal-enabled [data-reveal="scale"] { transform: scale(.985); }
.reveal-enabled [data-reveal="up-scale"] { transform: translate3d(0, 24px, 0) scale(.985); }
.reveal-enabled [data-reveal="hero-scale"] { transform: scale(1.065); }
.reveal-enabled .hero-visual[data-reveal="hero-scale"] { opacity: 1; }
.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.reveal-enabled [data-reveal="fade"].is-visible { transform: none; }
.reveal-enabled [data-reveal="hero-scale"].is-visible { transform: scale(1.035); }
.reveal-enabled [data-reveal].is-visible.reveal-complete {
  transition-duration: .28s, .28s, .25s, .25s, .28s;
  transition-delay: 0ms;
  will-change: auto;
}
.reveal-enabled .completed-project-card[data-reveal].is-visible:hover,
.reveal-enabled .ongoing-feature-card[data-reveal].is-visible:hover,
.reveal-enabled .ongoing-card[data-reveal].is-visible:hover { transform: translate3d(0, -4px, 0); }
.reveal-enabled .proof-grid article[data-reveal].is-visible:hover { transform: translate3d(0, -4px, 0); }
.reveal-enabled .service-row[data-reveal].is-visible:hover,
.reveal-enabled .time-row[data-reveal].is-visible:hover { transform: translate3d(4px, 0, 0); }
.reveal-enabled .button[data-reveal].is-visible:hover { transform: translate3d(0, -2px, 0) scale(1.01); }

@media (max-width: 850px) {
  .shell { width: min(100% - 32px, 680px); }
  .nav { height: 84px; }
  .nav-logo { width: 118px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 9px; }
  .hero { min-height: 700px; }
  h1 { font-size: 60px; }
  .manifesto, .services, .method, .portfolio, .about, .contact { padding-block: 84px; }
  .proof-grid, .section-head, .method, .about, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid article, .proof-grid article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; }
  .service-row p { grid-column: 2 / 3; margin: 0; }
  .nav-cta span, .button span, .service-row b { display: none; }
  .portfolio-group { margin-top: 66px; }
  .portfolio-group + .portfolio-group { margin-top: 82px; }
  .completed-grid, .ongoing-grid { grid-template-columns: 1fr; }
  .completed-project-card { display: block; }
  .project-carousel { aspect-ratio: 3 / 4; }
  .project-carousel.is-landscape { aspect-ratio: 4 / 3; }
  .project-carousel.is-wide { aspect-ratio: 16 / 9; }
  .project-details { grid-template-columns: 1fr; gap: 18px; }
  .ongoing-feature-card { display: block; }
  .ongoing-feature-copy { min-height: 310px; }
  .ongoing-card { min-height: 215px; }
  .about-label { display: none; }
  .footer { padding-top: 58px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 52px; }
  .footer-bottom { margin-top: 44px; }
  .reveal-enabled [data-reveal] { --reveal-y: 18px; }
  .reveal-enabled [data-reveal-delay="1"] { --reveal-delay: 45ms; }
  .reveal-enabled [data-reveal-delay="2"] { --reveal-delay: 90ms; }
  .reveal-enabled [data-reveal-delay="3"] { --reveal-delay: 135ms; }
  .reveal-enabled [data-reveal-delay="4"] { --reveal-delay: 180ms; }
  .reveal-enabled [data-reveal="up-scale"] { transform: translate3d(0, 16px, 0) scale(.99); }
  .reveal-enabled [data-reveal="hero-scale"] { transform: scale(1.05); }
  .reveal-enabled [data-reveal="hero-scale"].is-visible { transform: scale(1.025); }
}

@media (max-width: 520px) {
  .nav-logo { width: 104px; }
  .nav-cta { max-width: 105px; }
  h1 { font-size: 49px; }
  .hero-content > p { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-head h2, .method h2, .about h2, .contact h2 { font-size: 41px; }
  .portfolio-group-head { grid-template-columns: 30px 1fr; gap: 12px; }
  .completed-project-copy { padding: 24px 22px 26px; }
  .ongoing-feature-copy { min-height: 280px; padding: 34px 22px 28px; }
  .ongoing-feature-top { top: 24px; left: 22px; right: 22px; }
  .carousel-controls { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 36px 1fr 36px; gap: 8px; }
  .carousel-arrow { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
  .reveal-enabled [data-reveal="hero-scale"],
  .reveal-enabled [data-reveal="hero-scale"].is-visible { opacity: 1; transform: scale(1.035); }
}
