/* ============================================================
   SPEED COMUNICAÇÃO — design tokens
   Ink:      #141414  (texto principal em fundo claro)
   Void:     #0a0a0a  (fundo escuro / home)
   Cloud:    #f6f6f4  (fundo claro topo)
   Mist:     #eae9e4  (fundo claro / cartões)
   Graphite: #8a8a85  (texto secundário, linhas)
   Line:     #d8d7d0  (divisores em fundo claro)
   ============================================================ */

:root {
  --ink: #141414;
  --void: #0a0a0a;
  --cloud: #f6f6f4;
  --mist: #eae9e4;
  --graphite: #8a8a85;
  --line: #d8d7d0;
  --paper: #ffffff;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --maxw: 1180px;
  --pad: clamp(24px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* -------------------- header -------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
}

.site-header.on-dark {
  color: #fff;
  transition: opacity .3s ease, background .35s ease, padding .35s ease;
}

.site-header.on-dark:not(.scrolled) {
  opacity: 0;
  pointer-events: none;
}

.site-header.on-dark.scrolled {
  opacity: 1;
  pointer-events: auto;
}

.site-header.on-light {
  color: var(--ink);
  background: rgba(246, 246, 244, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header.on-dark.scrolled {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo .cut {
  width: 1px;
  height: 20px;
  background: currentColor;
  opacity: .55;
  transform: rotate(20deg);
}

.logo .sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .68;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 22px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 10px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* -------------------- home hero -------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--void);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--void);
}

.hero-media img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.28) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 70%, rgba(10,10,10,.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.35) 100%);
}

/* animated signature line, drawn on load like the reference site */
.hero-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-line line {
  stroke: #fff;
  stroke-width: .12;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: .85;
  animation: draw-line 1.4s cubic-bezier(.65,0,.35,1) .35s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* floating wordmark, replaces the solid header while the hero is in view */
.hero-mark {
  position: absolute;
  top: 30px;
  left: var(--pad);
  z-index: 5;
  color: #fff;
  opacity: 0;
  transform: translateY(-10px);
  animation: mark-in .7s ease .2s forwards;
}

@keyframes mark-in {
  to { opacity: 1; transform: translateY(0); }
}

/* nav that appears beside the line, mirroring the reference's HIGHLIGHTS / TIMELINE / BIO */
.hero-nav {
  position: absolute;
  z-index: 5;
  top: 52%;
  right: 9%;
  transform: translateY(-50%);
  display: flex;
  gap: 34px;
}

.hero-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateX(16px);
  animation: nav-in .6s ease forwards;
}
.hero-nav a:nth-child(1) { animation-delay: 1.15s; }
.hero-nav a:nth-child(2) { animation-delay: 1.32s; }
.hero-nav a:nth-child(3) { animation-delay: 1.49s; }

@keyframes nav-in {
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line line,
  .hero-mark,
  .hero-nav a,
  .hero-content > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: 640px;
  padding: 0 var(--pad) 84px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(14px);
  animation: content-in .7s ease forwards;
}
.hero-content .hero-eyebrow { animation-delay: .45s; }
.hero-content h1 { animation-delay: .58s; }
.hero-content p.lede { animation-delay: .72s; }
.hero-content .hero-actions { animation-delay: .86s; }

@keyframes content-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .78;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow .rule {
  width: 34px;
  height: 1px;
  background: #fff;
  opacity: .6;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin: 0 0 26px;
}

.hero p.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  max-width: 46ch;
  color: rgba(255,255,255,.82);
  margin: 0 0 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid-light {
  background: #fff;
  color: var(--void);
}
.btn-solid-light:hover { background: var(--mist); }

.btn-outline-light {
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-solid-dark {
  background: var(--ink);
  color: #fff;
}
.btn-solid-dark:hover { background: #000; }

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 40px;
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue .stem {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.5);
}

/* -------------------- light sections (home + internal) -------------------- */

.section {
  padding: 108px var(--pad);
}

.section.tight { padding-top: 88px; padding-bottom: 88px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .rule {
  width: 34px;
  height: 1px;
  background: var(--graphite);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 18ch;
}

.section p.intro {
  font-size: 17px;
  line-height: 1.7;
  color: #45443f;
  max-width: 60ch;
  margin: 0 0 8px;
}

/* pillars grid on home */

.pillars {
  background: var(--cloud);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
  border: 1px solid var(--line);
}

.pillar-card {
  background: var(--cloud);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .25s ease;
}

.pillar-card:hover { background: var(--mist); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: .1em;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #55544e;
  margin: 0;
  flex: 1;
}

.pillar-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pillar-link .arrow { transition: transform .25s ease; }
.pillar-card:hover .pillar-link .arrow { transform: translateX(4px); }

/* -------------------- internal page hero band -------------------- */

.page-hero {
  background: var(--cloud);
  padding: 168px var(--pad) 64px;
  position: relative;
}

.page-hero .divider {
  position: absolute;
  right: 8%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--line);
  transform: rotate(8deg);
  transform-origin: top;
  opacity: .8;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.page-hero p.lede {
  font-size: 17px;
  line-height: 1.7;
  color: #45443f;
  max-width: 58ch;
  margin: 0;
}

/* -------------------- agência page -------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.value-item {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  margin: 0 0 10px;
}
.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #55544e;
  margin: 0;
}

.process {
  background: var(--mist);
}

.process-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.process-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.process-row:last-child { border-bottom: 1px solid var(--line); }

.process-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--graphite);
  letter-spacing: .06em;
}

.process-row h4 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0;
}

.process-row p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #55544e;
  margin: 0;
}

.stat-strip {
  background: var(--void);
  color: #fff;
  padding: 64px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}
.stat-strip .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}
.stat-strip .stat span {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

/* -------------------- OOH page -------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.work-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #fff;
  isolation: isolate;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tone, linear-gradient(155deg, #2b2b2b, #0a0a0a));
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
}

.work-card .wk-cat {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .78;
  margin: 0 0 8px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  max-width: 18ch;
}

.note-card {
  grid-column: span 3;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 2px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.note-card p {
  margin: 0;
  font-size: 14.5px;
  color: #55544e;
  max-width: 60ch;
  line-height: 1.6;
}

/* -------------------- OOH: filtro + carrossel -------------------- */

.work-section {
  padding-top: 14px; /* ~50% mais próximo do texto acima, conforme solicitado */
}

.work-section h2 {
  max-width: none;
  margin: 0 0 14px;
}

.work-section .eyebrow {
  margin-bottom: 10px;
}

.work-section p.intro {
  margin: 0;
}

.work-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--graphite);
}

.select-shell {
  position: relative;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-shell select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 40px 13px 22px;
  cursor: pointer;
  outline-offset: 3px;
}

.work-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  flex: 1;
  scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }

.work-track .work-card {
  flex: 0 0 calc(25% - 16.5px);
  scroll-snap-align: start;
  min-width: 0;
}

.work-track .work-card > div {
  min-width: 0;
}

.work-track .work-card h3 {
  font-size: 17px;
  max-width: none;
  overflow-wrap: break-word;
}

.work-card {
  color: #fff;
  text-decoration: none;
}

.wk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wk-pin {
  font-size: 13px;
  opacity: .8;
  filter: grayscale(1) brightness(1.8);
}

.wk-city {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

.wk-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.wk-arrow:hover { background: var(--ink); color: #fff; }
.wk-arrow:disabled { opacity: .3; cursor: default; }
.wk-arrow:disabled:hover { background: var(--paper); color: var(--ink); }

.work-empty {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--graphite);
}

@media (max-width: 900px) {
  .work-track .work-card { flex-basis: calc(50% - 11px); }
}

@media (max-width: 620px) {
  .work-track .work-card { flex-basis: 78%; }
  .wk-arrow { width: 36px; height: 36px; }
}

/* -------------------- agência: galeria de clientes (4 colunas × 2 linhas) -------------------- */

.client-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.16); }
.portfolio-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tone, linear-gradient(155deg, #2b2b2b, #0a0a0a));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.72) 100%);
}

/* espaço reservado para o logo — some naturalmente assim que uma
   imagem real for aplicada via --tone: url(...) */
.portfolio-add {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .55;
}
.portfolio-add span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-card figcaption {
  position: relative;
  padding: 16px 18px;
}

.portfolio-cat {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin: 0 0 4px;
}

.portfolio-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 900px) {
  .client-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .client-gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .portfolio-card h3 { font-size: 14px; }
}

/* -------------------- lightbox (visualização em tela cheia) -------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(4px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--void);
  border-radius: 8px;
  overflow: hidden;
  transform: scale(.96);
  transition: transform .3s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.lightbox.open .lightbox-panel {
  transform: scale(1);
}

.lightbox-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  min-height: 200px;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity .25s ease;
}

.lightbox-caption {
  padding: 22px 26px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  opacity: .55;
  white-space: nowrap;
}

.lightbox-cat {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin: 0 0 6px;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav:active { transform: translateY(-50%) scale(.92); }
.lightbox-nav:disabled { opacity: .25; pointer-events: none; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 620px) {
  .lightbox { padding: 0; }
  .lightbox-panel { max-height: 100vh; border-radius: 0; }
  .lightbox-img { max-height: 62vh; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-card {
  background: var(--cloud);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background .2s ease;
}
.contact-card:hover { background: var(--mist); }

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-card .label {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 4px;
}

.contact-card .value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--graphite);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--ink); }

.field textarea { resize: vertical; min-height: 96px; }

.map-note {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--graphite);
  font-size: 13.5px;
}

/* -------------------- footer -------------------- */

.site-footer {
  background: var(--void);
  color: rgba(255,255,255,.68);
  padding: 56px var(--pad) 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-logo {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo .cut {
  width: 1px;
  height: 18px;
  background: #fff;
  opacity: .5;
  transform: rotate(20deg);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 13.5px; font-weight: 600; }
.footer-nav a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* -------------------- responsive -------------------- */

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .note-card { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 60px 1fr; }
  .process-row p { grid-column: span 2; }
}

@media (max-width: 680px) {
  .main-nav { 
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--void);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 22px; }
  .nav-toggle { display: block; z-index: 101; }
  .hero-toggle {
    position: absolute;
    top: 26px;
    right: var(--pad);
    color: #fff;
    opacity: 0;
    animation: mark-in .7s ease .2s forwards;
  }
  .hero-mark { top: 26px; }
  .hero-nav { display: none; }
  .site-header.on-dark.nav-open,
  .site-header.on-light.nav-open { color: #fff; background: transparent; }

  .hero-content { padding-bottom: 64px; }
  .scroll-cue { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .note-card { grid-column: span 1; }
  .footer-top { flex-direction: column; }
}
