@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/HankenGrotesk-normal-300_700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-normal-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/Newsreader-italic-300_600.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Newsreader-normal-300_700.woff2') format('woff2');
}:root {
  --ground: #f2f4f0;
  --ground-2: #e7ece6;
  --ink: #14201d;
  --ink-soft: #4a5753;
  --line: #c9d3cc;
  --deep: #123f4a;
  --on-deep: #eaf2ef;
  --accent: #3446c0;
  --accent-ink: #2434a0;
  --gold: #e3cf9c;
  --focus: #3446c0;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 62ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1614;
    --ground-2: #15201d;
    --ink: #e8efeb;
    --ink-soft: #a5b4ae;
    --line: #2a3834;
    --deep: #0b2f38;
    --on-deep: #e8f1ee;
    --accent: #8d9bff;
    --accent-ink: #b3bcff;
    --focus: #8d9bff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: 20;
  background: var(--ink); color: var(--ground); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* capa */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter)));
}
.mark {
  white-space: nowrap;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; color: #f2f6f4;
}
.top nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.top nav a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: #d3e3dd; padding: 6px 0; border-bottom: 1px solid transparent;
}
.top nav a:hover { color: #fff; border-bottom-color: var(--gold); }
.top :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--on-deep);
  min-height: min(100vh, 880px);
  display: flex; align-items: center;
  padding: clamp(120px, 14vw, 180px) 0 clamp(64px, 8vw, 110px);
}
.hero-in {
  position: relative; z-index: 2; width: 100%;
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
}
.hero-txt { max-width: 620px; }
.retrato {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; margin: 0;
  width: min(54vw, 820px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
          mask-image: linear-gradient(to right, transparent 0, #000 16%);
}
.retrato img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 14%; }
.retrato::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,34,42,.78) 0, rgba(8,34,42,0) 26%, rgba(8,34,42,0) 74%, var(--deep) 100%);
}
.hero .label { display: block; max-width: 44ch; line-height: 1.7; margin-bottom: clamp(18px, 3vw, 30px); color: #a9c7bf; }
h1 {
  font-family: var(--serif); font-weight: 400; font-style: normal;
  font-size: clamp(3.3rem, 8.4vw, 7.6rem); line-height: 0.94; letter-spacing: -0.035em;
  margin: 0 0 clamp(18px, 2.6vw, 32px); text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 300; color: var(--gold); }
.lede {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.24; font-weight: 300;
  margin: 0 0 18px; max-width: 24ch; text-wrap: balance;
}
.sub { max-width: 50ch; color: #c5dad4; margin: 0 0 clamp(24px, 4vw, 38px); }
.cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #0a2a33; text-decoration: none;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  padding: 15px 24px; border: 1px solid var(--gold); transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.link-quiet {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding: 4px 0; color: #eef4f1;
}
.link-quiet:hover { color: var(--gold); }

/* seções */
section { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gutter); border-top: 1px solid var(--line); }
.sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 72px); }
.sec > .label { padding-top: 10px; }
h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 clamp(20px, 3vw, 34px); max-width: 20ch; text-wrap: balance;
}
.prose p { max-width: var(--measure); margin: 0 0 1.15em; }
.prose p.destaque {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 300;
  border-left: 2px solid var(--accent); padding-left: 20px; max-width: 46ch; margin-top: 1.6em;
}

/* atuação */
.areas { list-style: none; margin: 0; padding: 0; }
.areas li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(16px, 4vw, 48px);
  padding: 26px 0; border-top: 1px solid var(--line);
}
.areas li:last-child { border-bottom: 1px solid var(--line); }
.areas h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.areas p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* projetos */
.projetos { background: var(--deep); color: var(--on-deep); border-top: 0; max-width: none; padding: 0; }
.projetos .in { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gutter); }
.projetos .label { color: #9fc0b8; }
.projetos h2 { color: var(--on-deep); }
.intro-proj { max-width: 54ch; color: #c5dad4; margin: 0 0 clamp(26px, 4vw, 48px); }
.lista { list-style: none; margin: 0; padding: 0; }
.lista a {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px clamp(16px, 4vw, 40px); align-items: baseline;
  padding: 28px 0; border-top: 1px solid rgba(234,242,239,.22); text-decoration: none; color: inherit;
  transition: padding-left .25s ease, background .25s ease;
}
.lista li:last-child a { border-bottom: 1px solid rgba(234,242,239,.22); }
.lista a:hover { padding-left: 14px; background: rgba(255,255,255,.04); }
.lista .nome { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
.lista .desc { color: #c5dad4; max-width: 50ch; }
.lista .dom { font-family: var(--mono); font-size: 0.78rem; letter-spacing: .06em; color: #9fc0b8; white-space: nowrap; }
.lista a:focus-visible { outline-color: #cfe0ff; }

/* contato */
.contato .big { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; font-weight: 300; max-width: 24ch; margin: 0 0 28px; letter-spacing: -0.01em; }
.mail { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.9rem); border-bottom: 1px solid var(--accent); text-decoration: none; padding-bottom: 2px; word-break: break-word; }
.mail:hover { color: var(--accent-ink); }

footer { max-width: 1280px; margin: 0 auto; padding: 32px var(--gutter) 56px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
footer p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 78ch; }

@media (max-width: 900px) {
  .sec { grid-template-columns: 1fr; gap: 6px; }
  .areas li { grid-template-columns: 1fr; }
  .lista a { grid-template-columns: 1fr; gap: 6px; }
  .lista .dom { white-space: normal; }
  .top nav a { padding: 14px 2px; }
  .link-quiet { padding: 14px 0; }
  .hero { display: block; min-height: 0; padding: 0 0 56px; }
  .retrato {
    position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 640px; margin: 0 auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  }
  .retrato img { object-position: 30% 20%; }
  .hero-in { margin-top: -16vw; }
  .mark { font-size: 1.15rem; }
  h1 { font-size: clamp(3.2rem, 15vw, 5.6rem); }
}
@media (max-width: 560px) {
  .top { padding: 18px var(--gutter); gap: 12px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 0.68rem; letter-spacing: 0.05em; }
  .top nav a:nth-child(2) { display: none; }
  .btn { width: 100%; justify-content: center; }
}
@media print { .retrato, .top nav { display: none; } .hero { background: #fff; color: #000; display: block; min-height: 0; padding: 24px 0; } .hero *, .mark { color: #000 !important; } body { background: #fff; color: #000; } .projetos { background: #fff; color: #000; } .projetos *, .lista .desc, .lista .dom, .intro-proj { color: #000 !important; } .lista a { border-color: #999; } }
