@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/InstrumentSans.woff2") format("woff2");
  font-weight: 400 650;
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; background: #e8e6df; color: #252722; font: 400 16px/1.5 "Instrument Sans", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 450; line-height: 1.06; text-wrap: balance; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(36px, 4.8vw, 78px); }
a { color: inherit; text-decoration: none; }
a:hover, summary:hover, .under { text-decoration: underline; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 8; padding: 8px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap, .nav { width: min(91%, 1630px); margin-inline: auto; }
.section { padding-block: clamp(48px, 6.2vw, 92px); }
.home-photo { display: contents; }
.home-photo > source { display: none; }
.opening { position: relative; color: white; background: #292a25; isolation: isolate; }
.opening .fullphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; }
.opening::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #090a0999, transparent 28%, transparent 42%, #080a08cc); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ffffff70; }
.logo { width: 160px; filter: brightness(0) invert(1); }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 48px); font-size: 14px; }
.nav nav a, .categories a { display: inline-flex; align-items: center; min-height: 44px; }
.hero { min-height: clamp(410px, 44vw, 700px); display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 38px; }
.hero h1 { font-size: clamp(54px, 7.5vw, 118px); line-height: .98; letter-spacing: -.06em; margin-top: 8px; }
.hero .under, .cap span { white-space: nowrap; }
.hero .meta, .cap span, .story time { font-size: 14px; }
.hero .under { font-size: 15px; }
.heading, .cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.heading { margin-bottom: 28px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project img, .story img { width: 100%; aspect-ratio: 1.42; height: auto; object-fit: cover; }
.cap { margin-top: 12px; }
.cap strong { font-size: 24px; font-weight: 450; }
.categories { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; margin-top: 28px; border-top: 1px solid #aaa99e; }
.office { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; padding-inline: max(4.5%, calc((100vw - 1630px)/2)); gap: 9vw; background: #292b28; color: #f5f4ec; }
.office img { width: 100%; height: min(400px, 40vw); object-fit: cover; object-position: 50% 36%; order: 2; }
.office p { max-width: 43ch; margin-block: 22px; }
details > summary { cursor: pointer; padding-block: 10px; }
.office details { max-width: 65ch; border-top: 1px solid #ffffff48; }
.office details h3 { margin-top: 18px; font-size: 22px; }
.office details p { margin-block: 6px 16px; }
.stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5vw; }
.story img { aspect-ratio: 4/3; }
.story time { display: block; margin: 12px 0 5px; }
.story h3 { font-size: clamp(19px, 2vw, 30px); line-height: 1.17; }
.questions { padding-bottom: 32px; }
.questions > details { border-block: 1px solid #aaa99e; }
.questions details details { margin-left: 12px; max-width: 74ch; }
.questions p { margin: .6em 0 1em; }
#contato { border-top: 1px solid #aaa99e; }
.contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,5vw,90px); }
.contact h2 { margin-bottom: 20px; }
.contact h3 { margin: 20px 0 4px; }
.contact .social { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact a, .privacy-link { text-decoration: underline; text-underline-offset: .22em; }
.contact form { display: grid; gap: 12px; }
.contact label { display: grid; gap: 4px; }
.contact input, .contact textarea { width: 100%; border: 1px solid #8d8f84; background: #f7f6f1; padding: 10px; color: inherit; font: inherit; }
.contact textarea { resize: vertical; }
.contact button { justify-self: start; padding: 10px 32px; background: #292b28; color: white; border: 0; cursor: pointer; font: inherit; }
.privacy-link { display: inline-block; margin-top: 32px; }
.copyright { margin-top: 8px; font-size: 14px; }
.faixa-codigo5 { background: #000; color: #fff; display: flex; justify-content: center; }
.credito-codigo5 { display: inline-flex; gap: 12px; min-height: 56px; align-items: center; font-size: 13px; }
.credito-codigo5 img { width: 110px; }

/* The inner pages keep the gallery controls and reading widths of their respective layouts. */
.gallery-header { color: #fff; background: #292b28; }
.gallery-header .nav { border-bottom: 0; }
body.F:not(.home) {
  --paper: #e8e6df;
  --ink: #252722;
  --rule: #aaa99e;
  --chapter-paper: var(--paper);
  --commercial-paper: var(--paper);
  --chapter-line: var(--rule);
  --pad: 4.5vw;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
}
.F:not(.home) .wrap { padding-inline: 0; }
.F:not(.home) #principal :is(h1,h2,h3,.lead,.com-lead,.chapter-caption p,.com-head p,.project i),
.F:not(.home) #contato :is(h2,h3,input,textarea,button),
.F .text-page :is(h1,h2) {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-style: normal;
}
.F:not(.home) #principal :is(h1,h2,h3), .F #contato :is(h2,h3) { font-weight: 450; }
.F:not(.home) #principal h1 { font-size: clamp(40px, 6.8vw, 104px); letter-spacing: -.052em; }
.F:not(.home) #principal :is(.text-page,.post) h1 { font-size: clamp(35px, 5.3vw, 80px); }
.F:not(.home) #principal .com-head h1 { margin-bottom: 0; }
.F:not(.home) #principal :is(.gallery-stage,.views,.gallery figure,.portfolio-card figure) { background: #deddd5; }
.F:not(.home) #principal .gallery figcaption { color: #41453d; }
.F:not(.home) #principal .project-index .project:hover { background: #deddd5; }
.F:not(.home) #principal .post-card__image img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.F:not(.home) #principal .post > article { margin-inline: auto; }
.F:not(.home) #principal .post article > footer { background: transparent; }
.F:not(.home) .text-page { overflow-wrap: break-word; }
.F:not(.home) #contato { background: var(--paper); }
.F:not(.home) #contato form { grid-template-columns: 1fr; }
.F:not(.home) #contato form > * { grid-column: 1; }
.F:not(.home) .gallery-header .nav a { white-space: nowrap; }
@media (max-width: 700px) {
  .nav { height: 67px; }
  .logo { width: clamp(86px, 23vw, 114px); }
  .nav nav { gap: clamp(8px, 2.5vw, 14px); font-size: 12px; }
  .hero { min-height: 465px; flex-direction: column; align-items: start; justify-content: end; }
  .hero h1 { font-size: clamp(48px, 13vw, 76px); }
  .opening .fullphoto { object-position: 58% center; }
  .heading { align-items: center; }
  .heading a { font-size: 13px; }
  .pair, .office, .stories, .contact { grid-template-columns: 1fr; gap: 27px; }
  .cap strong { font-size: 21px; }
  .office img { order: 0; width: min(100%,360px); height: auto; aspect-ratio: 4/4.8; }
  .story { display: grid; grid-template-columns: min(28vw,106px) 1fr; column-gap: 16px; align-items: center; }
  .story img { grid-row: span 2; }
  .story time { align-self: end; margin: 0; }
  .story h3 { align-self: start; font-size: 18px; }
}
