@font-face {
  font-family: "Ethereal Thin";
  src:
    url("/fonts/ethereal-thin-webfont.woff2") format("woff2"),
    url("/fonts/ethereal-thin-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next";
  src:
    url("/fonts/avenir_next_font-webfont.woff2") format("woff2"),
    url("/fonts/avenir_next_font-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kiona";
  src:
    url("/fonts/kiona-regular-webfont.woff2") format("woff2"),
    url("/fonts/kiona-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kiona";
  src:
    url("/fonts/kiona-itallic-webfont.woff2") format("woff2"),
    url("/fonts/kiona-itallic-webfont.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --op-primary: #15253f;
  --op-secondary: #f8f6f1;
  --op-tertiary: #e6e6e6;
  --op-accent: #b78f6a;
  --op-text-soft: rgba(21, 32, 47, 0.6);
  --op-white-soft: rgba(255, 255, 255, 0.65);
  --op-border-soft: rgba(21, 32, 47, 0.12);
  --op-nav-h: 108px;
  --op-font-serif: "Ethereal Thin", Georgia, serif;
  --op-font-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --op-font-accent: "Kiona", "Avenir Next", sans-serif;

  --bs-primary: var(--op-primary);
  --bs-primary-rgb: 21, 32, 47;
  --bs-secondary: var(--op-secondary);
  --bs-secondary-rgb: 248, 246, 241;
}

html,
body {
  overflow-x: hidden;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.transition-fade {
  opacity: 1;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

html.is-changing .transition-fade {
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html.is-animating .transition-fade {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .transition-fade {
    transition: none !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1400px;
  }
}

body {
  font-family: var(--op-font-sans);
  font-weight: 300;
  color: var(--op-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 300;
}

p {
  margin: 0;
}

main em {
  font-family: var(--op-font-accent);
  font-style: italic;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.site-navbar {
  padding: 1.2rem 0;
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 0.5px solid transparent;
  z-index: 1080;
}

.site-navbar.is-dark {
  background: transparent;
}

.site-navbar.is-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-color: transparent;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  width: clamp(130px, 12vw, 160px);
}

.site-brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.site-navbar.is-light .site-brand img {
  filter: none;
}

.site-navbar.is-dark.is-hero-contrast-light .site-brand img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(21, 32, 47, 0.55));
}

.site-navbar.is-dark.is-hero-contrast-dark .site-brand img {
  filter: drop-shadow(0 2px 10px rgba(248, 246, 241, 0.72));
}

.brand-text {
  font-family: var(--op-font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  transition: color 0.4s ease;
}

.site-navbar.is-light .brand-text {
  color: var(--op-primary);
}

.site-navbar.is-dark.is-hero-contrast-light .brand-text {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(21, 32, 47, 0.5);
}

.site-navbar.is-dark.is-hero-contrast-dark .brand-text {
  color: rgba(21, 32, 47, 0.94);
  text-shadow: 0 1px 6px rgba(248, 246, 241, 0.7);
}

.menu-button {
  font-family: var(--op-font-accent);
  border: 0;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  padding: 0.25rem;
  transition: color 0.35s ease;
}

.site-navbar.is-light .menu-button {
  color: var(--op-primary);
}

.site-navbar.is-dark.is-hero-contrast-light .menu-button {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(21, 32, 47, 0.5);
}

.site-navbar.is-dark.is-hero-contrast-dark .menu-button {
  color: rgba(21, 32, 47, 0.94);
  text-shadow: 0 1px 6px rgba(248, 246, 241, 0.7);
}

.site-navbar.is-dark.is-hero-contrast-fallback .site-brand img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(21, 32, 47, 0.68));
}

.site-navbar.is-dark.is-hero-contrast-fallback .brand-text,
.site-navbar.is-dark.is-hero-contrast-fallback .menu-button {
  text-shadow: 0 2px 14px rgba(21, 32, 47, 0.68);
}

.site-navbar.is-dark .menu-button:hover {
  color: rgba(255, 255, 255, 0.65);
}

.site-navbar.is-light .menu-button:hover {
  color: rgba(21, 32, 47, 0.45);
}

.site-navbar.is-dark.is-hero-contrast-light .menu-button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-navbar.is-dark.is-hero-contrast-dark .menu-button:hover {
  color: rgba(21, 32, 47, 0.78);
}
@media screen and (min-width: 768px) {
  .page-a-oficina .site-navbar:not(.is-menu-open) .menu-button,
  .page-servicos .site-navbar:not(.is-menu-open) .menu-button {
    color: var(--op-primary);
  }
}

.menu-icon {
  display: inline-flex;
  width: 20px;
  height: 14px;
  position: relative;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: currentColor;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    background-color 0.35s ease;
}

.menu-icon span:nth-child(1) {
  top: 1px;
}

.menu-icon span:nth-child(2) {
  top: 6px;
}

.menu-icon span:nth-child(3) {
  top: 11px;
}

.site-navbar.is-menu-open .menu-button {
  color: var(--op-secondary);
}

.site-navbar.is-menu-open .menu-button:hover {
  color: rgba(245, 240, 235, 0.65);
}

.site-navbar.is-menu-open .menu-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-navbar.is-menu-open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.site-navbar.is-menu-open .menu-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.menu-overlay {
  background: var(--op-primary);
  border: 0;
  --bs-offcanvas-height: 100vh;
  height: 100vh;
  max-height: none;
  color: var(--op-secondary);
  z-index: 1070;
}

.menu-overlay .offcanvas-header {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  padding: 0;
  margin: -1px;
  border: 0;
}

.menu-overlay .btn-close {
  font-size: 0.8rem;
  opacity: 0.95;
}

.menu-overlay .offcanvas-body {
  padding: calc(var(--op-nav-h) + 0.75rem) 0 2.2rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-overlay .offcanvas-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.menu-overlay-shell {
  min-height: calc(100vh - var(--op-nav-h) - 0.75rem - 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@supports (height: 100dvh) {
  .menu-overlay {
    --bs-offcanvas-height: 100dvh;
    height: 100dvh;
  }

  .menu-overlay-shell {
    min-height: calc(100dvh - var(--op-nav-h) - 0.75rem - 2.2rem);
  }
}

.menu-nav {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  border-top: 0.5px solid rgba(248, 246, 241, 0.18);
  border-bottom: 0.5px solid rgba(248, 246, 241, 0.18);
}

.menu-link {
  color: var(--op-secondary);
  padding: 0;
  border-top: 0.5px solid rgba(248, 246, 241, 0.14);
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.menu-link:first-child {
  border-top: 0;
}

.menu-link:hover {
  color: var(--op-accent);
  opacity: 1;
}

.menu-link:hover .menu-link-index {
  color: rgba(183, 143, 106, 0.7);
}

.menu-nav:has(.menu-link:hover) .menu-link:not(:hover) {
  opacity: 0.5;
}

.menu-link-index {
  font-family: var(--op-font-accent);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(248, 246, 241, 0.38);
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.menu-link-text {
  font-family: var(--op-font-serif);
  font-size: clamp(3rem, 8.6vw, 5.5rem);
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: right;
  display: block;
  padding: 0.35em 0.65rem;
  transition: color 0.3s ease;
}

.menu-meta {
  font-family: var(--op-font-accent);
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: end;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-meta-left,
.menu-meta-right {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.menu-meta a,
.menu-meta span {
  color: rgba(248, 246, 241, 0.8);
  transition: color 0.3s ease;
}

.menu-meta a:hover {
  color: rgba(248, 246, 241, 0.75);
}

.menu-separator {
  width: 0.5px;
  height: 10px;
  background: rgba(248, 246, 241, 0.18);
  display: inline-block;
}

.site-footer {
  background: var(--op-primary);
  color: var(--op-secondary);
  padding: 3rem 0 1.6rem;
}

.footer-top {
  padding-bottom: 1.4rem;
  border-bottom: 0.5px solid rgba(248, 246, 241, 0.18);
}

.footer-brand {
  width: clamp(120px, 6vw, 140px);
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-family: var(--op-font-serif);
  font-size: 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 0.5px solid rgba(248, 246, 241, 0.18);
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.62);
  line-height: 1.95;
}

.footer-grid p.footer-heading {
  font-family: var(--op-font-accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.58rem;
  margin-bottom: 1rem;
  color: rgba(248, 246, 241, 1);
}

.footer-grid a {
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-address {
  margin-top: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.7rem;
  color: rgba(248, 246, 241, 0.45);
}

.footer-bottom a {
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(248, 246, 241, 0.9);
}

.link-arrow {
  font-family: var(--op-font-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  color: var(--op-primary);
  position: relative;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.link-arrow::after {
  content: "→";
  color: var(--op-accent);
  transition: none;
}

.link-arrow:hover {
  opacity: 0.5;
}

.hero-section {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

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

.hero-swiper .swiper-wrapper {
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  padding: 0.35rem;
  z-index: 3;
  animation: floatHint 2.2s ease-in-out infinite;
}

@keyframes floatHint {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0.4;
  }
}

.hero-counter {
  font-family: var(--op-font-accent);
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 2.4rem;
  z-index: 3;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-indicator {
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  transition:
    width 0.4s ease,
    opacity 0.4s ease;
}

.hero-indicator.is-active {
  width: 22px;
  background: #ffffff;
}

.statement-section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 8vw, 6rem);
  text-align: center;
}

.statement-section h2 {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--op-font-serif);
  font-style: italic;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.about-section {
  background: var(--op-tertiary);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-copy {
  padding: clamp(2rem, 7vw, 6rem);
}

.about-copy h3 {
  font-family: var(--op-font-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.about-copy p {
  max-width: 540px;
  color: var(--op-text-soft);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.2rem;
}

.about-media {
  min-height: 420px;
}

.about-media img {
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.selected-projects {
  background: var(--op-tertiary);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.project-strip {
  overflow: hidden;
  padding: 4rem 0 2.4rem;
}

.project-track {
  display: flex;
  width: max-content;
  gap: 0.8rem;
  animation: projectTicker 55s linear infinite;
}

.strip-item {
  width: min(30vw, 470px);
  min-width: 280px;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
}

.strip-item img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.45s ease;
}

.strip-item:hover img {
  filter: grayscale(0%);
}

@keyframes projectTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.selected-projects-copy {
  text-align: center;
  padding: 0 1rem;
}

.overline {
  font-family: var(--op-font-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.6rem;
  margin-bottom: 1.7rem;
}

.selected-projects-copy h3 {
  max-width: 980px;
  margin: 0 auto 2.1rem;
  font-family: var(--op-font-serif);
  font-style: italic;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.45;
}

.selected-projects-copy h3 a {
  transition: color 0.3s ease;
}

.selected-projects-copy h3 a:hover {
  color: rgba(21, 32, 47, 0.38);
}

.oficina-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.oficina-hero-media {
  position: relative;
  overflow: hidden;
}

.oficina-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%);
}

.oficina-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  pointer-events: none;
}

.oficina-hero-meta {
  position: absolute;
  left: 2.5rem;
  bottom: 4rem;
  z-index: 2;
}

.oficina-hero-meta p {
  font-family: var(--op-font-accent);
  color: rgba(248, 246, 241, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.52rem;
  margin-bottom: 0.15rem;
}

.oficina-hero-meta strong {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 300;
}

.oficina-hero-copy {
  padding: clamp(2rem, 4vw, 4rem) clamp(2.2rem, 5vw, 6rem) clamp(2rem, 4vw, 4rem) clamp(2.4rem, 5vw, 7rem);
  border-left: 0.5px solid var(--op-border-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oficina-hero-copy h1 {
  font-family: var(--op-font-serif);
  font-size: clamp(1.35rem, 1.7vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
}

.oficina-hero-copy p {
  color: rgba(21, 32, 47, 0.58);
  font-size: 0.86rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.oficina-hero-richtext p {
  color: rgba(21, 32, 47, 0.58);
  font-size: 0.86rem;
  line-height: 1.85;
  margin: 0 0 1.2rem;
}

.oficina-hero-richtext p:last-child {
  margin-bottom: 0;
}

.team-section {
  padding: clamp(4.5rem, 9vw, 10rem) 0;
}

.team-section h2 {
  font-family: var(--op-font-serif);
  font-size: clamp(1.65rem, 2.1vw, 1.9rem);
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3rem 2.5rem;
}

.team-card figure {
  aspect-ratio: 3 / 4;
  margin: 0 0 0.75rem;
  overflow: hidden;
}

.team-card img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.team-card strong {
  display: block;
  font-weight: 300;
  font-size: 0.87rem;
}

.team-card span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(21, 32, 47, 0.38);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
}

.oficina-contact {
  border-top: 0.5px solid var(--op-border-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  max-height: 520px;
}

.oficina-contact-media {
  border-right: 0.5px solid var(--op-border-soft);
  max-height: 520px;
}

.oficina-contact-media img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%) brightness(0.8);
}

.oficina-contact-copy {
  padding: 2.5rem clamp(2.5rem, 4vw, 5rem) 2.5rem clamp(3rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.oficina-contact-link {
  margin-top: 1.2rem;
  color: rgba(21, 32, 47, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.oficina-contact-link::after {
  color: var(--op-accent);
}

.oficina-contact-link:hover {
  opacity: 0.5;
}

.oficina-contact-intro p {
  font-family: var(--op-font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}

.contact-item {
  margin-bottom: 0.85rem;
}

.contact-item small {
  font-family: var(--op-font-accent);
  display: block;
  color: var(--op-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.52rem;
  margin-bottom: 0.1rem;
}

.contact-item a,
.contact-item p {
  color: rgba(21, 32, 47, 0.55);
  line-height: 1.8;
  font-size: 0.86rem;
  font-weight: 300;
}

.services-intro {
  margin-top: 0;
  padding-top: 12rem;
  padding-bottom: 12rem;
  text-align: center;
}

.services-intro-copy {
  max-width: 680px;
  margin: 0 auto;
}

.services-intro-copy p {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--op-font-serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.56;
  letter-spacing: 0.01em;
}

.services-intro-copy strong {
  font-weight: 400;
}

.services-images {
  display: flex;
  gap: 8px;
  height: 520px;
  margin-bottom: 8rem;
}

.services-image-small {
  flex: 0 0 28%;
  margin: 0;
}

.services-image-large {
  flex: 1;
  margin: 0;
}

.services-images img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s ease;
}

.services-images figure:hover img {
  filter: grayscale(0%);
}

.services-list {
  padding-bottom: 10rem;
}

.service-item {
  border-top: 0.5px solid #e8e8e8;
  padding: 2rem 0 2.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item:last-of-type {
  border-bottom: 0.5px solid #e8e8e8;
}

.service-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-meta {
  font-family: var(--op-font-accent);
  display: inline-flex;
  gap: 0.5rem;
  color: var(--op-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 300;
}

.service-toggle {
  font-family: var(--op-font-accent);
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  font-weight: 300;
}

.service-toggle.is-open {
  color: #9ca3af;
}

.service-toggle svg {
  transition: transform 0.35s ease;
}

.service-toggle.is-open svg {
  transform: rotate(180deg);
}

.service-summary-text,
.service-details-text {
  max-width: 860px;
}

.service-summary-text p,
.service-details-text p {
  font-family: var(--op-font-serif);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  margin: 0 0 1.6rem;
  font-weight: 300;
}

.service-summary-text p:first-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-item.is-open .service-summary-text p:first-child {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.service-summary-text p:not(:first-child) {
  display: none;
}

.service-item.is-open .service-summary-text p:first-child {
  margin-bottom: 1.6rem;
}

.service-item:not(.is-open) .service-summary-text p:first-child {
  margin-bottom: 0;
}

.service-details-text p:last-child {
  margin-bottom: 0;
}

.service-details {
  padding-top: 0;
}

.services-cta {
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-page {
  padding-top: calc(var(--op-nav-h) + 4.5rem);
  padding-bottom: 5rem;
}

.privacy-page-header h1 {
  font-family: var(--op-font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.privacy-page-content {
  font-family: var(--op-font-sans);
  color: rgba(21, 32, 47, 0.84);
}

.privacy-page-content > * + * {
  margin-top: 1rem;
}

.privacy-page-content h2,
.privacy-page-content h3,
.privacy-page-content h4 {
  font-family: var(--op-font-serif);
  color: var(--op-primary);
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.privacy-page-content p,
.privacy-page-content li {
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-page-content ul,
.privacy-page-content ol {
  padding-left: 1.2rem;
}

.projects-filter {
  margin-top: 0;
  padding-top: 8rem;
  border-bottom: 0.5px solid var(--op-border-soft);
  padding-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.filter-button {
  font-family: var(--op-font-accent);
  border: 0;
  background: transparent;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(21, 32, 47, 0.36);
  padding: 0 0 0.4rem;
  position: relative;
  transition: color 0.25s ease;
}

.filter-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.5px;
  background: var(--op-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--op-primary);
}

.filter-button.is-active::after,
.filter-button:hover::after {
  transform: scaleX(1);
}

.projects-grid-wrap {
  padding: 2.5rem 0 8rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.project-card {
  transition: opacity 0.25s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card figure {
  margin: 0;
  aspect-ratio: 40 / 27;
  overflow: hidden;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 0.5s ease,
    transform 0.7s ease;
}

.project-card a:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.65rem 0;
}

.project-card-meta h2 {
  font-size: 15px;
  font-weight: 500;
}

.project-card-meta span {
  font-family: var(--op-font-accent);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(21, 32, 47, 0.35);
}

.project-hero {
  margin-top: 0;
  position: relative;
  height: 72vh;
  min-height: 420px;
}

.project-hero > img {
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.54));
}

.project-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.2rem;
  color: #ffffff;
}

.project-hero-title p {
  font-family: var(--op-font-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  margin-bottom: 0.7rem;
}

.project-hero-title h1 {
  font-family: var(--op-font-serif);
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.project-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  padding: 3.5rem calc(var(--bs-gutter-x) * 0.5) 2.6rem;
}

.project-concept .lead {
  font-family: var(--op-font-serif);
  font-size: clamp(1.25rem, 2vw, 1.3rem);
  line-height: 1.46;
}

.project-facts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-facts div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.project-facts strong {
  font-family: var(--op-font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: none;
}

.project-facts span {
  font-size: 0.74rem;
  color: var(--op-text-soft);
}

.project-gallery {
  position: relative;
  padding-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.gallery-flow {
  gap: 2rem 2rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-item-big {
  grid-column: 1 / -1;
}

.gallery-item-big img {
  height: auto;
}

.gallery-item-small img {
  height: auto;
}

.project-gallery-inline-text {
  grid-column: 1 / -1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0.2rem 0 0.8rem;
}

.project-gallery-inline-text p {
  font-family: var(--op-font-serif);
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  line-height: 1.46;
}

.gallery-progress {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1025;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  pointer-events: none;
}

.gallery-progress span {
  font-family: var(--op-font-accent);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.gallery-progress-bar {
  width: 1px;
  height: 84px;
  background: rgba(183, 143, 106, 0.22);
  position: relative;
  overflow: hidden;
}

.gallery-progress-bar span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--op-accent);
  transform: none;
  writing-mode: horizontal-tb;
}

.project-secondary-copy {
  padding-bottom: 3rem;
}

.project-secondary-copy p {
  max-width: 820px;
  margin: 0 auto 1.1rem;
  text-align: center;
  font-family: var(--op-font-serif);
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.46;
}

.project-secondary-copy p:last-child {
  margin-bottom: 0;
}

.project-next {
  padding-bottom: 4rem;
  text-align: center;
}

.error-page {
  min-height: 70vh;
  margin-top: var(--op-nav-h);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1rem;
}

.error-page h1 {
  font-family: var(--op-font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
}

.error-page p {
  color: var(--op-text-soft);
}

@media (max-width: 1199.98px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  :root {
    --op-nav-h: 90px;
  }

  .menu-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .oficina-hero,
  .oficina-contact,
  .project-intro {
    grid-template-columns: 1fr;
  }

  .oficina-contact {
    max-height: none;
  }

  .oficina-contact-media {
    max-height: none;
    border-right: 0;
  }

  .about-media,
  .oficina-contact-media {
    min-height: 340px;
  }

  .services-images {
    flex-direction: column;
    height: auto;
  }

  .services-image-small,
  .services-image-large {
    flex: 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-big {
    grid-column: auto;
  }

  .gallery-item-big img {
    height: clamp(280px, 58vw, 480px);
  }

  .gallery-item-small img {
    height: clamp(280px, 58vw, 480px);
  }

  .gallery-progress {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .site-navbar {
    padding: 1rem 0;
  }

  .site-brand {
    width: 132px;
  }

  .menu-overlay .offcanvas-body {
    padding: calc(var(--op-nav-h) + 0.25rem) 0 1rem;
  }

  .menu-overlay-shell {
    min-height: calc(100vh - var(--op-nav-h) - 0.25rem - 1rem);
  }

  .menu-link {
    padding: 0.42rem 0;
  }

  .menu-link-text {
    text-align: right;
    font-size: clamp(2.1rem, 11.2vw, 3.2rem);
    line-height: 0.88;
    padding: 0.26em 0.15rem;
  }

  .menu-link-index {
    font-size: 0.52rem;
  }

  .menu-meta {
    gap: 0.9rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .menu-meta-left,
  .menu-meta-right {
    gap: 0.6rem;
  }

  .footer-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .statement-section {
    padding: 4.5rem 1.1rem;
  }

  .statement-section h2 {
    font-size: clamp(1.5rem, 7.2vw, 1.95rem);
    line-height: 1.42;
  }

  .about-copy {
    padding: 2.4rem 1rem;
  }

  .about-links {
    gap: 1.1rem;
    margin-top: 1.4rem;
  }

  .project-strip {
    padding: 2.2rem 0 1.4rem;
  }

  .strip-item {
    width: min(78vw, 300px);
    min-width: 250px;
  }

  .selected-projects-copy {
    padding: 0 1rem 0.5rem;
  }

  .selected-projects-copy h3 {
    font-size: clamp(1.3rem, 6.1vw, 1.75rem);
    margin-bottom: 1.5rem;
  }

  .oficina-hero {
    min-height: 0;
  }

  .oficina-hero-media {
    min-height: 46vh;
  }

  .oficina-hero-meta {
    left: 1rem;
    bottom: 1.3rem;
  }

  .oficina-hero-copy {
    padding: 2rem 1rem 2.2rem;
    border-left: 0;
  }

  .team-section {
    padding: 3.5rem calc(var(--bs-gutter-x) * 0.5);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .oficina-contact-copy {
    padding: 2rem 1rem 2.2rem;
  }

  .oficina-contact-intro p {
    font-size: clamp(1.2rem, 6.5vw, 1.5rem);
    margin-bottom: 1.1rem;
  }

  .services-intro {
    padding-top: 6.2rem;
    padding-bottom: 4.2rem;
  }

  .services-images {
    height: auto;
    gap: 0.55rem;
    margin-bottom: 3.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-counter {
    right: 1rem;
    bottom: 1.6rem;
  }

  .services-intro-copy p {
    font-size: clamp(1.35rem, 4vw, 1.7rem);
    line-height: 1.45;
  }

  .service-item {
    padding: 1.3rem 0 1.9rem;
  }

  .service-item header {
    margin-bottom: 1.2rem;
  }

  .service-summary-text p,
  .service-details-text p {
    font-size: clamp(1.05rem, 5.2vw, 1.2rem);
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .services-cta {
    margin-top: 2.3rem;
    padding: 0 1rem;
  }

  .privacy-page {
    padding-top: calc(var(--op-nav-h) + 3.6rem);
    padding-bottom: 3.7rem;
  }

  .projects-filter {
    padding-top: 5.9rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .projects-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    white-space: nowrap;
    font-size: 0.58rem;
    padding-bottom: 0.35rem;
  }

  .projects-grid-wrap {
    padding: 1.6rem 1rem 3.2rem;
  }

  .projects-grid {
    gap: 1rem;
  }

  .project-card-meta {
    padding: 0.5rem 0 0.1rem;
  }

  .project-card-meta h2 {
    max-width: 84%;
  }

  .project-card-meta span {
    font-size: 0.56rem;
  }

  .project-hero {
    height: 62vh;
    min-height: 360px;
  }

  .project-hero-title {
    bottom: 1.3rem;
  }

  .project-hero-title h1 {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }

  .project-intro {
    padding: 2rem 1rem 1.8rem;
    gap: 1rem;
  }

  .project-concept .lead {
    font-size: clamp(1.2rem, 5.6vw, 1.2rem);
    line-height: 1.45;
  }

  .project-gallery {
    padding: 0 1rem 2rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .gallery-flow {
    gap: 1.4rem;
  }

  .project-secondary-copy {
    padding: 0 1rem 2rem;
  }

  .project-secondary-copy p {
    font-size: clamp(1.05rem, 4.8vw, 1.2rem);
    line-height: 1.5;
  }

  .project-next {
    padding: 0 1rem 2.8rem;
  }

  .services-list {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer {
    padding: 2.1rem 0 1rem;
  }

  .footer-grid {
    gap: 1.2rem;
    padding: 1.5rem 0;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 0.6rem;
  }
}
