@font-face { font-family: 'Archivo'; src: url('fonts/archivo-var.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
:root {
  --ink: #171817; --ink-2: #222423; --concrete: #c9cac6; --stone: #e4e4e0; --paper: #f4f4f1;
  --muted-d: #b9bbb6; --muted-l: #4a4d4a; --accent: #c43d1c;
  --wrap: 1320px; --pad: clamp(20px, 4vw, 56px); --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: 'Archivo', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* light ring on dark/photo surfaces (accent alone is ~3:1 there) */
:is(.nav, .hero, .phead, .band-ink, .foot, .direct) :focus-visible { outline-color: #f4f4f1; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* nav: transparent over the first (dark/photo) block of every page. It stays in normal flow (relative +
   negative bottom margin) instead of absolute top:0, so anything injected above it, like the sticky
   prototype banner, pushes it down rather than covering it. */
.nav { position: relative; z-index: 20; margin-bottom: calc(-1 * var(--nav-h)); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); color: #f4f4f1; }
.brand { text-decoration: none; }
.wm { display: inline-flex; align-items: flex-end; gap: 11px; white-space: nowrap; line-height: 1; }
.wm-mark { width: 30px; height: 30px; flex: none; }
.wm-txt { display: flex; flex-direction: column; gap: 3px; padding-bottom: 1px; }
.wm-a { font-size: 21px; font-weight: 640; letter-spacing: -0.035em; line-height: .82; }
.wm-b { font-size: 11.5px; font-weight: 450; letter-spacing: .045em; line-height: 1; opacity: .86; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav a { text-decoration: none; }
.nav nav a { font-size: 16px; padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav nav a:hover, .nav nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav:has(nav.open) { background: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; color: inherit; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav nav { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--ink); display: none; padding: 8px var(--pad) 24px; }
  .nav nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav nav a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid #ffffff1f; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: #fff; font: 600 16px/1 'Archivo', sans-serif; text-decoration: none; border: 1px solid var(--accent); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .1s; }
.btn:hover { background: #a93215; border-color: #a93215; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: #f4f4f1; color: #f4f4f1; }
.btn-ghost:hover { background: #f4f4f1; color: var(--ink); border-color: #f4f4f1; }
.btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #f4f4f1; border-color: var(--ink); }
.tlink { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.tlink:hover { color: var(--accent); }
.tlink-light { color: #f4f4f1; margin-top: 40px; }
.tlink-light:hover { color: #fff; border-color: #fff; }

/* hero (phase C): the work as a full-width plate with a caption band under it, like a monograph page.
   No veil over the photo (only a short shade for the nav); plate + caption end inside the first screen so the
   manifesto starts above the fold. */
.hero { position: relative; background: var(--stone); color: var(--ink); }
.hero-cap :focus-visible { outline-color: var(--ink); }
.hero-plate { position: relative; height: clamp(300px, calc(100dvh - 370px), 680px); overflow: hidden; background: var(--ink-2); }
.hero-plate::after { content: ''; position: absolute; inset: 0 0 auto; height: 132px; background: linear-gradient(180deg, #17181799, #17181700); pointer-events: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: plate-in 1.1s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes plate-in { from { transform: scale(1.025); } to { transform: none; } }
}
.hero-cap { max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 3vw, 40px) var(--pad) clamp(28px, 3.2vw, 44px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.hero h1 { font-size: clamp(31px, 3.4vw, 50px); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; max-width: 15em; }
.hero-side p { font-size: clamp(16px, 1.2vw, 18px); font-weight: 300; line-height: 1.5; color: var(--muted-l); margin: 0; max-width: 30em; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 22px; }
.hero-act .tlink { margin-top: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .hero-plate { height: clamp(260px, 48dvh, 460px); }
  .hero-cap { grid-template-columns: 1fr; gap: 16px; }
}

/* section bands */
.band { padding: clamp(72px, 10vw, 140px) 0; }
.band-ink { background: var(--ink); color: #f4f4f1; }
.band-concrete { background: var(--concrete); }
.band-stone { background: var(--stone); }
.h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 40px; }
.h3 { font-size: 22px; margin-bottom: 18px; }
.manifesto { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.lead { font-size: clamp(26px, 3vw, 42px); line-height: 1.18; letter-spacing: -0.02em; font-weight: 400; margin: 0; max-width: 18em; }
.manifesto p:not(.lead) { color: var(--muted-l); max-width: 36em; }

/* selected projects: strict 2-column grid, one ratio, captions on one line (Fala-style rigour) */
.sel-band { padding: clamp(56px, 6vw, 88px) 0 clamp(112px, 10vw, 152px); }
.sel-band .h2 { margin-bottom: 32px; }
.sel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.pj { margin: 0; }
.pj img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink-2); }
.pj figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 15px; }
.pj-t { font-weight: 500; }
.pj-k { color: var(--muted-d); }

.bleed { background: var(--ink); }
.bleed-img { width: 100%; height: clamp(320px, 72vh, 820px); object-fit: cover; }

.how { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps, .servs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.steps h3, .servs h3 { font-size: 20px; margin-bottom: 8px; padding-top: 14px; border-top: 2px solid var(--ink); }
.steps p, .servs p { color: var(--muted-l); font-size: 16px; margin: 0; }
.how-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.how-solo { grid-template-columns: 1fr; gap: 48px; }
.how-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 6vw, 96px); align-items: end; }
.how-head .h2 { margin-bottom: 0; }
.how-head p { color: var(--muted-l); max-width: 36em; margin: 0 0 6px; }
.how-head .tlink { grid-column: 2; justify-self: start; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cta-in > * { max-width: 900px; }
.cta-in .h2 { margin-bottom: 18px; }
.cta-band.band-ink p { color: var(--muted-d); max-width: 40em; }

/* inner page header */
.phead { position: relative; background: var(--ink); color: #f4f4f1; padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.phead h1 { font-size: clamp(40px, 6vw, 76px); }
.phead p { color: var(--muted-d); font-size: 19px; margin: 16px 0 0; max-width: 34em; }
.phead .wrap { position: relative; z-index: 1; }
.phead-photo { min-height: min(78dvh, 760px); display: flex; align-items: flex-end; }
.phead-photo .wrap { width: 100%; }
.phead-photo p { color: #e4e4e0; }
.phead-tall { min-height: 100dvh; }
.phead-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #171817a6 0%, #17181740 35%, #171817d9 100%); }

/* project list */
.plist .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px) clamp(20px, 3vw, 40px); }
.prow { margin: 0; }
.prow-full { grid-column: 1 / -1; display: grid; grid-template-columns: 2.2fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; }
.prow img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prow-half:nth-of-type(3n) { margin-top: clamp(0px, 10vw, 140px); }
.prow-txt { padding-top: 16px; }
.prow-txt h2 { font-size: 24px; }
.prow-txt .pj-k { margin: 6px 0 10px; font-size: 15px; }
.prow-txt p:last-child { color: var(--muted-d); font-size: 16px; max-width: 30em; }
.pnote { grid-column: 1 / -1; margin: 0; color: var(--muted-d); font-size: 15px; }

/* team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.team li { border-top: 1px solid #ffffff33; padding-top: 18px; }
.team h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.team a { color: var(--muted-d); text-decoration: none; }
.team a:hover { color: #fff; text-decoration: underline; }

/* contact */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.form { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 16px; }
.opt { font-weight: 400; color: var(--muted-l); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: 400 17px/1.4 'Archivo', sans-serif; color: var(--ink); background: var(--paper); border: 1px solid #6b6e6a; border-radius: 0; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
[aria-invalid="true"] { border-color: #a32a10; }
.err { color: #9a2a0f; font-size: 15px; margin: 0; font-weight: 600; }
.hint { color: var(--muted-l); font-size: 15px; margin: 0; }
.check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; }
.check .err { grid-column: 2; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; color: #9a2a0f; min-height: 1.6em; }
.direct { background: var(--ink); color: #f4f4f1; padding: clamp(28px, 4vw, 48px); }
.direct p { margin: 0 0 10px; font-size: 20px; }
.direct a { text-decoration: none; border-bottom: 1px solid #ffffff55; }
.direct a:hover { border-color: #fff; }
.team-sm { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.team-sm span { display: block; font-weight: 600; }
.team-sm a { font-size: 15px; }

.confirm .resumo { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0 0 12px; font-size: 17px; }
.resumo dt { font-weight: 600; }
.resumo dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: #8f2c12; }

/* footer */
.foot { background: #101110; color: #e4e4e0; padding: 72px 0 32px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted-d); margin-top: 10px; }
.foot-h { font-size: 15px; font-weight: 600; color: var(--muted-d); margin-bottom: 12px; letter-spacing: 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; line-height: 1.9; }
.foot-links { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
/* touch targets: inline text links get a 24px+ hit area, 44px on touch layouts */
.foot-in a, .team a, .direct a, .resumo-empty a { display: inline-block; padding: 4px 0; }
.foot-in .foot-brand a { padding: 0; }
.foot .foot-small { max-width: var(--wrap); margin: 56px auto 0; padding: 20px var(--pad) 0; border-top: 1px solid #ffffff1f; font-size: 14px; color: #a3a6a1 !important; }

@media (max-width: 900px) {
  .manifesto, .how, .contact { grid-template-columns: 1fr; }
  .sel { grid-template-columns: 1fr; }
  .how-head { grid-template-columns: 1fr; gap: 16px; }
  .how-head .tlink { grid-column: 1; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .plist .wrap { grid-template-columns: 1fr; }
  .prow-full { grid-template-columns: 1fr; }
  .prow-half:nth-of-type(3n) { margin-top: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .foot-in a, .team a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .foot p, .foot-links { line-height: 1.3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .servs, .team, .row2 { grid-template-columns: 1fr; }
  .ctas .btn { flex: 1 1 100%; }
  .confirm .resumo { grid-template-columns: 1fr; gap: 2px; }
  .resumo dd { margin-bottom: 10px; }
}
