:root {
  --bg: #f4f4f4;
  --ink: #141414;
  --muted: #3a3a3a;
  --line: #d4d4d4;
  --header: 74px;
  --font-d: "Syne", "Segoe UI", sans-serif;
  --font-b: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
.brand-name,
.area-card-title,
.area-title,
.contact h2,
.col-title {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.04em;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.contact :focus-visible,
.sidebar :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

html[lang="pt"] .lang-en,
html[lang="en"] .lang-pt {
  display: none !important;
}

.material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
  user-select: none;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: var(--header);
  padding: 0 4vw;
  background: rgba(244, 244, 244, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  height: 36px;
  width: auto;
  display: block;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.top-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--ink);
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: none;
  min-width: 42px;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--ink);
}

.lang-btn[aria-pressed="true"],
.lang-btn[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 36px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.drawer {
  display: none;
}

.home {
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px 4vw;
  align-items: center;
  padding: 4vh 4vw 3vh;
}

.hero-copy,
.hero-scene {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: lift 0.9s var(--ease) both;
}

.lockup-title {
  margin: 0;
}

.lockup {
  display: block;
  width: auto;
  height: auto;
  max-width: min(540px, 100%);
  max-height: min(30vh, 250px);
  object-fit: contain;
  object-position: left center;
  animation: lift 1.15s var(--ease) both;
}

.lead {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  animation: lift 1.15s var(--ease) 0.12s both;
}

.scene-svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(52vh, 520px);
  margin-left: auto;
}

.scene-svg .soft { fill: #e2e2e2; }
.scene-svg .soft-2 { fill: #d8d8d8; }
.scene-svg .soft-3 { fill: #cecece; }

.scene-svg .line {
  fill: none;
  stroke: #141414;
  stroke-width: 1.6;
  stroke-linejoin: miter;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}

.scene-svg .guide {
  fill: none;
  stroke: #bdbdbd;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.scene-svg .solid { fill: #141414; }

.scene-svg .draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.7s var(--ease) forwards;
}

.scene-svg .d1 { animation-delay: 0.15s; }
.scene-svg .d2 { animation-delay: 0.55s; }
.scene-svg .d3 { animation-delay: 0.32s; }
.scene-svg .d4 { animation-delay: 0.42s; }
.scene-svg .d5 { animation-delay: 0.58s; }
.scene-svg .d6 { animation-delay: 0.9s; }

.scene-svg .trunk {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: rise 0.95s var(--ease) 0.35s both;
}

.scene-svg .diamond {
  transform-box: fill-box;
  transform-origin: center;
  animation: diamond-in 1.15s var(--ease) 0.55s both;
}

.scene-svg .shard {
  transform-box: fill-box;
  transform-origin: left center;
  animation: shard-in 1s var(--ease) 0.85s both;
}

.scene-svg .drift {
  animation: planes-in 1.1s var(--ease) both, drift 18s ease-in-out 1.4s infinite alternate;
}

.area-band {
  display: grid;
  gap: 1px;
  background: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.area-band.count-1 { grid-template-columns: 1fr; }
.area-band.count-2 { grid-template-columns: 1.12fr 0.88fr; }
.area-band.count-3 { grid-template-columns: 1.2fr 0.86fr 1.06fr; }
.area-band.count-many { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.area-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  padding: 26px 24px 22px;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
}

.area-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.num {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.area-card-top .material-symbols-outlined {
  font-size: 26px;
}

.area-card-title {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 0.95;
}

.area-card-summary {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.45;
}

.go {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.area-card:hover .go .material-symbols-outlined,
.area-card:focus-visible .go .material-symbols-outlined {
  transform: translateX(6px);
}

.go .material-symbols-outlined {
  transition: transform 0.4s var(--ease);
}

@media (hover: hover) {
  .area-card:hover {
    background: var(--ink);
    color: #fff;
  }

  .area-card:hover .area-card-summary {
    color: #d6d6d6;
  }
}

.area-card:active {
  background: var(--ink);
  color: #fff;
}

.area-card:active .area-card-summary {
  color: #d6d6d6;
}

.area-page {
  padding: clamp(28px, 5vh, 64px) 4vw 28px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
}

.area-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.area-kicker .material-symbols-outlined {
  font-size: 28px;
}

.area-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 8vw, 5.2rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.summary {
  margin: 18px 0 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.prose {
  max-width: 42rem;
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.gallery-head {
  margin: 56px 0 18px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 14px;
  align-items: start;
  max-width: 1240px;
}

.frame {
  margin: 0;
}

.frame.w4 { grid-column: span 4; }
.frame.w3 { grid-column: span 3; }
.frame.w2 { grid-column: span 2; }
.frame.w6 { grid-column: span 6; }

.sheet,
.media {
  width: 100%;
  background: #e7e7e7;
  overflow: hidden;
}

.frame.w4 .sheet,
.frame.w4 .media { aspect-ratio: 16 / 10; }
.frame.w3 .sheet,
.frame.w3 .media { aspect-ratio: 4 / 3; }
.frame.w2 .sheet,
.frame.w2 .media { aspect-ratio: 3 / 4; }
.frame.w6 .sheet,
.frame.w6 .media { aspect-ratio: 16 / 7; }

.sheet {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, transparent calc(50% - 0.6px), #c8c8c8 calc(50% - 0.6px), #c8c8c8 calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    #e7e7e7;
}

.sheet .material-symbols-outlined {
  font-size: 32px;
  color: #6f6f6f;
}

.sheet.is-video {
  background: #141414;
}

.sheet.is-video .material-symbols-outlined {
  color: #fff;
}

.frame img,
.frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #dedede;
}

.frame video {
  object-fit: contain;
  background: #111;
}

.frame figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.next-link {
  margin: 36px 0 0;
}

.next-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.next-link a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact {
  background: #0e0e0e;
  color: #f5f5f5;
  padding: 72px 4vw 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 36px 32px;
  scroll-margin-top: var(--header);
}

.contact .brand img {
  filter: invert(1);
  height: 48px;
}

.contact h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact .tagline {
  margin: 0;
  max-width: 22rem;
  color: #d0d0d0;
}

.contact .k {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c6c6c6;
}

.contact a {
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact address,
.contact p {
  margin: 0;
}

address {
  font-style: normal;
}

.legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid #2e2e2e;
  color: #b5b5b5;
  font-size: 0.88rem;
}

.notice {
  padding: 12vh 4vw 16vh;
  max-width: 42rem;
}

.notice h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.preview-bar {
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  margin: 0 0 24px;
  font-size: 0.92rem;
}

.empty-areas {
  margin: 0;
  padding: 28px 4vw 36px;
}

body.is-deck .area-view {
  display: none;
}

body.is-deck .area-view:target {
  display: block;
}

body.is-deck.show-area #view-home,
body.is-deck:has(.area-view:target) #view-home {
  display: none;
}

.area-view {
  scroll-margin-top: var(--header);
}

.field {
  margin-bottom: 16px;
}

.field label,
.label-text {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  padding: 12px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input[type="file"] {
  max-width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}

.check input {
  width: auto;
  accent-color: #141414;
}

.help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.errors {
  margin: 0 0 18px;
  padding: 12px 14px 12px 32px;
  border: 1px solid var(--ink);
}

.flash {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn:hover {
  background: #000;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn.small {
  padding: 8px 10px;
}

@keyframes lift {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes diamond-in {
  from { opacity: 0; transform: rotate(-18deg) scale(0.5); }
  to { opacity: 1; transform: rotate(8deg) scale(1); }
}

@keyframes shard-in {
  from { opacity: 0; transform: translate(-16px, 10px); }
  to { opacity: 1; transform: none; }
}

@keyframes planes-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(14px, -10px, 0); }
}

@media (max-width: 1100px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .top-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .drawer:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 35;
    inset: var(--header) 0 0 0;
    background: var(--bg);
    padding: 8px 6vw 32px;
    overflow: auto;
  }

  .drawer a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
  }

  .hero {
    display: block;
    padding-top: 28px;
    padding-bottom: 12px;
  }

  .hero-scene {
    margin-top: 8px;
  }

  .hero-scene .scene-svg {
    max-height: 200px;
    margin-right: auto;
  }

  .area-band,
  .area-band.count-1,
  .area-band.count-2,
  .area-band.count-3,
  .area-band.count-many {
    grid-template-columns: 1fr;
  }

  .lockup {
    max-height: 148px;
  }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .frame.w4,
  .frame.w3,
  .frame.w6 {
    grid-column: span 2;
  }

  .frame.w2 {
    grid-column: span 1;
  }

  .frame.w2 .sheet,
  .frame.w2 .media {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
    gap: 10px;
  }

  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 48px 20px 28px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .frame.w4,
  .frame.w3,
  .frame.w2,
  .frame.w6 {
    grid-column: span 1;
  }
}

body.is-deck .impact-title {
  margin: 0;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  animation: lift 1.05s var(--ease) both;
}

body.is-deck .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  letter-spacing: 0;
}

body.is-deck .area-card-title,
body.is-deck .brand-name,
body.is-deck .impact-title {
  letter-spacing: 0;
}

body.is-deck .area-card-title {
  font-size: 2rem;
  line-height: 1.25;
}

body.is-deck .area-card-summary {
  font-size: 1.05rem;
  line-height: 1.6;
}

body.is-deck .area-card {
  scroll-margin-top: calc(var(--header) + 12px);
}

body.is-deck .area-card:hover,
body.is-deck .area-card:active {
  background: var(--bg);
  color: inherit;
}

body.is-deck .area-card:hover .area-card-summary,
body.is-deck .area-card:active .area-card-summary {
  color: var(--muted);
}

.soon {
  margin: auto 0 0;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.is-deck .impact-title {
    font-size: 2.75rem;
  }

  body.is-deck .area-card-title {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scene-svg .draw {
    stroke-dashoffset: 0;
  }
}
