@font-face { font-family: Archivo; src: url("/assets/fonts/Archivo-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Archivo; src: url("/assets/fonts/Archivo-300.ttf") format("truetype"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: Archivo; src: url("/assets/fonts/Archivo-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Archivo; src: url("/assets/fonts/Archivo-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Archivo; src: url("/assets/fonts/Archivo-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

@font-face {
  font-family: Guton;
  src: url("assets/fonts/Guton-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Shared header: Figma 44107:6747. The logo keeps its native SVG ratio. */
.header.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: 84px;
  border: 0;
  background: transparent;
  transition: none;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  height: 84px;
  margin: 0 auto;
  padding: 0 4.03vw 0 4.31vw;
  box-sizing: border-box;
}
.site-header .brand { display: block; flex: none; line-height: 0; }
.site-header .brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(12.76vw, 183.75px);
  mix-blend-mode: normal;
}
.site-header .header-actions { display: flex; align-items: center; }
.site-header .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(6.31vw, 90.8px);
  min-width: 0;
  height: 42px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fe5e00;
  color: #fff;
  cursor: pointer;
  font-family: Guton, Arial, sans-serif;
  font-size: 21.449px;
  font-weight: 500;
  line-height: 37.75px;
  letter-spacing: -1.3727px;
  text-transform: uppercase;
}
.site-header .menu-toggle:focus-visible,
.menu-panel :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Shared full-screen menu: Figma 44123:7046, 1440 × 802.
   Positions and type scale together; compact layouts use normal document flow. */
.menu-panel {
  --menu-unit: 0.0694444444vw;
  z-index: 110;
  background: #ff5e00;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
}
.menu-panel .menu-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 616fr) minmax(0, 497fr);
  column-gap: calc(246 * var(--menu-unit));
  align-content: start;
  align-items: start;
  width: 100%;
  height: auto;
  min-height: max(100svh, calc(802 * var(--menu-unit)));
  padding: calc(185 * var(--menu-unit)) calc(18 * var(--menu-unit)) calc(164 * var(--menu-unit)) calc(63 * var(--menu-unit));
}
.menu-brand {
  position: absolute;
  z-index: 1;
  top: calc(29 * var(--menu-unit));
  left: calc(62 * var(--menu-unit));
  display: block;
  width: calc(183.75 * var(--menu-unit));
  max-width: none;
  opacity: 1;
  line-height: 0;
}
.menu-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}
.menu-close {
  position: absolute;
  z-index: 2;
  top: calc(22 * var(--menu-unit));
  right: calc(66 * var(--menu-unit));
  display: grid;
  place-items: center;
  width: calc(66 * var(--menu-unit));
  height: calc(42 * var(--menu-unit));
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #000;
  color: #ff5e00;
  cursor: pointer;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(27.577 * var(--menu-unit));
  font-weight: 300;
  line-height: 1;
  letter-spacing: calc(-1.7649 * var(--menu-unit));
  text-align: center;
}
.menu-language {
  position: absolute;
  top: calc(33.617 * var(--menu-unit));
  right: calc(151.206 * var(--menu-unit));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--menu-unit));
  width: calc(126.794 * var(--menu-unit));
  color: #000;
  font-family: Archivo, Arial, sans-serif;
  font-size: max(14px, calc(16.747 * var(--menu-unit)));
  font-weight: 600;
  line-height: 1;
  letter-spacing: calc(-.6699 * var(--menu-unit));
  text-transform: uppercase;
}
.menu-language a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.menu-links {
  position: static;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  padding: 0;
}
.menu-panel .menu-links a {
  padding: 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(85 * var(--menu-unit));
  font-weight: 600;
  line-height: calc(87 * var(--menu-unit));
  letter-spacing: calc(-3 * var(--menu-unit));
  text-transform: uppercase;
  white-space: nowrap;
}
.menu-panel .menu-links a:hover { color: #000; }
.menu-aside {
  position: static;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: auto;
  padding: 0;
  opacity: 0;
}
body.menu-open .menu-aside { opacity: 1; transition: opacity .35s .15s; }
.menu-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  color: #000;
  text-transform: uppercase;
}
.menu-aside .menu-contact a {
  color: inherit;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(50 * var(--menu-unit));
  font-weight: 700;
  line-height: calc(60 * var(--menu-unit));
  letter-spacing: calc(-1 * var(--menu-unit));
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: normal;
}
.menu-aside .menu-contact a:first-child {
  font-size: calc(41.112 * var(--menu-unit));
  letter-spacing: 0;
}
.menu-contact a:hover { text-decoration: underline; text-underline-offset: .12em; }
.menu-address {
  position: static;
  margin: calc(125 * var(--menu-unit)) 0 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(23.473 * var(--menu-unit));
  font-style: normal;
  font-weight: 400;
  line-height: calc(32 * var(--menu-unit));
  letter-spacing: 0;
  text-transform: uppercase;
}
.menu-aside .menu-booking {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(308 * var(--menu-unit));
  height: calc(63 * var(--menu-unit));
  min-width: 0;
  min-height: 0;
  margin-top: calc(49 * var(--menu-unit));
  padding: 0 8px;
  border-radius: 5px;
  background: #000;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(19 * var(--menu-unit));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  text-decoration: none;
}
.menu-aside .menu-booking:hover { background: #fff; color: #000; }

/* Home intro: match the hierarchy and line breaks of Figma 44106:3949. */
@media (min-width: 1101px) {
  .home-reference-studio {
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  .home-reference-studio::after { display: none; }
  .home-reference-studio-lede {
    position: relative;
    width: auto;
    height: auto;
    padding: 10.9958vw 0 9.1vw 3.59565vw;
  }
  .home-reference-studio-headline {
    position: relative;
    top: auto;
    left: auto;
    width: 68.4vw;
    height: auto;
    margin: 0;
    color: #000;
    font-family: Archivo, Arial, sans-serif;
    font-size: clamp(52px, 4.689vw, 67.537px);
    font-weight: 600;
    line-height: clamp(54px, 4.861vw, 70px);
    letter-spacing: -.06944vw;
    text-transform: uppercase;
  }
  .studio-highlight { color: #ff5e00; }
  .studio-underlined { text-decoration: none; }
  .home-reference-studio-explore {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: .9123vw;
    width: max-content;
    margin: 3.67vw 0 0 .28vw;
    color: #000;
    font-family: Archivo, Arial, sans-serif;
    font-size: clamp(24px, 2.34503vw, 33.769px);
    font-weight: 600;
    line-height: 3.43939vw;
    letter-spacing: -1px;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .home-reference-studio-explore > span:first-child {
    position: relative;
    text-decoration: none;
  }
  .home-reference-studio-explore > span:first-child::after {
    position: absolute;
    right: 0;
    bottom: .02em;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .48s cubic-bezier(.2,.7,.2,1);
  }
  .home-reference-studio-explore:hover > span:first-child::after,
  .home-reference-studio-explore:focus-visible > span:first-child::after { transform: scaleX(1); }
  .home-reference-studio-explore-mark {
    display: inline-flex !important;
    flex: 0 0 1.18vw;
    width: 1.18vw !important;
    height: 1.18vw !important;
    border: 0 !important;
    background: transparent !important;
  }
  .home-reference-studio-explore-mark img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    transition: transform .68s cubic-bezier(.2,.7,.2,1);
    transform-origin: center;
  }
  .home-reference-studio-explore:hover .home-reference-studio-explore-mark img,
  .home-reference-studio-explore:focus-visible .home-reference-studio-explore-mark img { transform: rotate(180deg); }
  .home-reference-studio-meta {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: 31.53vw minmax(0, 1fr);
    gap: 0;
    width: 90.76vw;
    height: auto;
    margin: 0 auto;
    padding: 3.4vw 0 19.65vw;
    border-top: 1px solid #bdbdbd;
  }
  .home-reference-studio-label {
    position: static;
    align-self: start;
    margin: 0;
    color: #000;
    font-size: 1.25vw;
    font-style: normal;
    font-weight: 500;
    line-height: 2.014vw;
    letter-spacing: -.02083vw;
  }
  .home-reference-studio-details {
    position: relative;
    top: auto;
    left: auto;
    width: 49.4vw;
  }
  .home-reference-studio-description {
    width: 49.4vw;
    height: auto;
    margin: 0;
    font-family: Archivo, Arial, sans-serif;
    font-size: 2.0844vw;
    font-weight: 500;
    line-height: 2.7083vw;
    letter-spacing: -.02083vw;
    text-transform: uppercase;
  }
  .home-page .home-reference-studio-stats,
  .home-page .home-reference-stats { display: none; }
  .home-reference-vision {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: 31.53vw minmax(0, 1fr);
    gap: 0;
    width: 90.76vw;
    height: auto;
    margin: 0 auto;
    padding: 3.4vw 0 7.78vw;
    border-top: 1px solid #bdbdbd;
  }
  .home-reference-vision .home-reference-studio-label { color: #000; }
  .home-reference-vision-details {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }
  .home-reference-vision-details h2 {
    width: 55.76vw;
    height: 14.5833vw;
    margin: 0;
    font-size: 4.6875vw;
    font-weight: 600;
    line-height: 4.8611vw;
    letter-spacing: -.06944vw;
  }
  .home-reference-vision-copy {
    width: 45.76vw;
    margin-top: .35vw;
    font-size: 1.40625vw;
    font-weight: 400;
    line-height: 1.97917vw;
    letter-spacing: -.02778vw;
  }
  .home-reference-services { margin-top: 0; }
}

/* About page: preserve image proportions and align the people section to the
   updated Figma composition. */
@media (min-width: 761px) {
  .about-page .about-people { height: 134.79vw; }
  .about-person--rafael { top: 1.67vw; left: 3.82vw; width: 45.28vw; height: 45.97vw; }
  .about-rafael-copy { top: 1.67vw; left: 52.22vw; width: 44.03vw; }
  .about-person-caption--rafael { top: 48.61vw; left: 3.82vw; width: 45.28vw; }
  .about-person--rita { top: 54.58vw; left: 50.21vw; width: 46.04vw; height: 45.97vw; }
  .about-rita-background { object-fit: cover; object-position: center; }
  .about-rita-portrait img { object-fit: cover; object-position: center top; }
  .about-person-caption--rita { top: 101.53vw; left: 50.69vw; width: 46.04vw; }
  .about-rita-copy { top: 107.92vw; left: 50.21vw; width: 44.65vw; }
  .about-page .opus-footer,
  .about-page .opus-footer .shell { min-height: 0; }
  .about-page .footer-copyright { background: #fff; }
}

/* About / Rafael copy: Figma composition for the desktop team block. */
@media (min-width: 761px) {
  .about-page .about-rafael-copy {
    font-family: Archivo, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(30px, 2.9180556vw, 42.02px);
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }
}

/* Cases page: exact heading and card proportions from Figma 44107:4940. */
.projects-page { background: #fff; }
.projects-page main { margin: 0; }
.projects-page .projects-page-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: 39.03vw;
  margin: 0 auto;
  padding: 0;
}
.projects-page .projects-page-hero h1 {
  position: absolute;
  top: 22.29vw;
  left: 3.54vw;
  width: 49.65vw;
  max-width: none;
  margin: 0;
  color: #000;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(64px, 8.7234vw, 125.617px);
  font-weight: 700;
  line-height: 6.8464vw;
  letter-spacing: -.5431vw;
  text-transform: uppercase;
  white-space: normal;
}
.projects-page .projects-page-hero p {
  position: absolute;
  top: 27.99vw;
  left: 60.9vw;
  width: 34.3vw;
  max-width: 494px;
  margin: 0;
  color: #000;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(18px, 2.0844vw, 30.016px);
  font-weight: 500;
  line-height: 2.7083vw;
  letter-spacing: 0;
  text-transform: uppercase;
}
.projects-page .projects-page-grid-section {
  position: relative;
  width: 100%;
  max-width: none;
  height: 254.72vw;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}
.projects-page .projects-grid--featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  column-gap: 12px;
  row-gap: 12px;
  width: calc(100% - var(--site-gutter) - var(--site-gutter));
  margin: 0 auto;
}
.projects-page .projects-grid--featured .project-card { display: block; min-width: 0; }
.projects-page .projects-grid--featured .work-image {
  width: 100%;
  aspect-ratio: 1024 / 727;
  overflow: hidden;
  border-radius: 5px;
  background: #eee;
}
.projects-page .projects-grid--featured .work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.projects-page .projects-grid--featured .project-card:hover .work-image img { transform: scale(1.025); }
.projects-page .projects-grid--featured .project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 39px;
  padding-top: 7px;
}
.projects-page .projects-grid--featured .project-meta h2 {
  margin: 0;
  color: #000;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(18px, 1.7361vw, 25px);
  font-weight: 500;
  line-height: 39px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.projects-page .projects-grid--featured .project-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}
.projects-page .projects-grid--featured .project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: .75px solid rgba(0,0,0,.6);
  border-radius: 8px;
  color: rgba(0,0,0,.6);
  font-family: Archivo, Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 14.708px;
  letter-spacing: -.2101px;
  text-transform: uppercase;
  white-space: nowrap;
}
.projects-admin-link {
  position: absolute;
  top: -42px;
  right: max(4.25vw, calc((100% - 1317px)/2));
  color: #fff;
  font: 600 12px/1 Archivo, Arial, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
}

/* Keep the Home project cards typographically consistent with the Cases page. */
.home-reference-project-caption {
  align-items: center;
  gap: 10px;
  min-height: 39px;
  padding-top: 7px;
}
.home-reference-project-caption h3 {
  font-size: clamp(18px, 1.7361vw, 25px);
  font-weight: 500;
  line-height: 39px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-reference-project-tags {
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}
.home-reference-project-tags span {
  min-height: 22px;
  padding: 3px 7px;
  border: .75px solid rgba(0,0,0,.6);
  border-radius: 8px;
  color: rgba(0,0,0,.6);
  font-size: 10px;
  font-weight: 500;
  line-height: 14.708px;
  letter-spacing: -.2101px;
  text-transform: uppercase;
}

/* Shared contact footer: Figma component 44106:4892 (1440 × 1346).
   Repeating the root class isolates the component from legacy page selectors. */
.site-footer.site-footer#contact,
#services { scroll-margin-top: var(--site-header-height, 72px); }
.site-footer.site-footer {
  --footer-unit: min(.0694444444vw, 1px);
  --footer-trim: calc(134.913 * var(--footer-unit) - var(--section-block-gap));
  position: relative;
  width: 100%;
  max-width: 100%;
  height: calc(1346 * var(--footer-unit) - var(--footer-trim));
  margin: 0;
  overflow: hidden;
  background: #fff;
}
.site-footer.site-footer .opus-footer {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: calc(1107 * var(--footer-unit) - var(--footer-trim));
  overflow: hidden;
  border-radius: 0;
  background: #000;
  color: #fff;
}
.site-footer.site-footer .opus-footer .shell {
  position: relative;
  display: block;
  width: min(100%, 1440px);
  max-width: 1440px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.site-footer.site-footer .footer-cta {
  position: absolute;
  top: var(--section-block-gap);
  left: calc(45 * var(--footer-unit));
  display: block;
  width: calc(617 * var(--footer-unit));
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.site-footer.site-footer .footer-cta h2 {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(67.537 * var(--footer-unit));
  font-weight: 600;
  line-height: calc(61.534 * var(--footer-unit));
  letter-spacing: calc(-3 * var(--footer-unit));
  text-transform: uppercase;
}
.site-footer.site-footer .footer-cta p {
  position: absolute;
  top: calc(268 * var(--footer-unit));
  left: calc(-2 * var(--footer-unit));
  width: calc(462 * var(--footer-unit));
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: max(16px, calc(22.512 * var(--footer-unit)));
  font-weight: 400;
  line-height: calc(27.765 * var(--footer-unit));
  letter-spacing: calc(-.3002 * var(--footer-unit));
  text-transform: uppercase;
}
.site-footer.site-footer .footer-contact {
  position: absolute;
  top: calc(296 * var(--footer-unit) - var(--footer-trim));
  left: calc(828 * var(--footer-unit));
  width: calc(568 * var(--footer-unit));
  margin: 0;
}
.site-footer.site-footer .footer-contact .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(304 * var(--footer-unit));
  height: calc(63 * var(--footer-unit));
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #fe5e00;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: max(14px, calc(19 * var(--footer-unit)));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-footer.site-footer .footer-contact .button:hover { background: #fff; color: #000; }
.site-footer.site-footer .footer-contact p {
  margin: calc(32 * var(--footer-unit)) 0 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: max(16px, calc(22.512 * var(--footer-unit)));
  font-weight: 400;
  line-height: calc(44 * var(--footer-unit));
  letter-spacing: 0;
  text-transform: uppercase;
}
.site-footer.site-footer .footer-email {
  display: block;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: calc(40 * var(--footer-unit));
  font-weight: 600;
  line-height: calc(44 * var(--footer-unit));
  letter-spacing: calc(-1.6 * var(--footer-unit));
  text-transform: uppercase;
  white-space: nowrap;
}
.site-footer.site-footer .footer-information {
  position: absolute;
  inset: calc(588 * var(--footer-unit) - var(--footer-trim)) 0 auto;
  display: block;
  height: calc(116 * var(--footer-unit));
  margin: 0;
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: max(14px, calc(18 * var(--footer-unit)));
  font-weight: 400;
  line-height: calc(29 * var(--footer-unit));
  letter-spacing: calc(-.3002 * var(--footer-unit));
  text-transform: uppercase;
}
.site-footer.site-footer .footer-information nav,
.site-footer.site-footer .footer-information address {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  color: #fff;
  font-style: normal;
  white-space: nowrap;
}
.site-footer.site-footer .footer-information nav:first-child { left: calc(46 * var(--footer-unit)); }
.site-footer.site-footer .footer-information address { left: calc(816 * var(--footer-unit)); }
.site-footer.site-footer .footer-information nav:last-child { left: calc(1290 * var(--footer-unit)); }
.site-footer.site-footer .footer-information a { color: inherit; text-decoration: none; }
.site-footer.site-footer .footer-information a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer.site-footer .footer-studio {
  position: absolute;
  top: calc(920.278 * var(--footer-unit) - var(--footer-trim));
  left: calc(33 * var(--footer-unit));
  right: auto;
  bottom: auto;
  width: calc(1363 * var(--footer-unit));
  height: auto;
  overflow: visible;
}
.site-footer.site-footer .footer-studio a { display: block; line-height: 0; }
.site-footer.site-footer .footer-studio img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  filter: none;
  mix-blend-mode: normal;
}
.site-footer.site-footer .footer-copyright {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: calc(239 * var(--footer-unit));
  margin: 0;
  padding: calc(24 * var(--footer-unit)) 12px 0;
  background: #fff;
  color: #000;
  font-family: Archivo, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}
.site-footer.site-footer :is(a, button):focus-visible { outline: 2px solid #fe5e00; outline-offset: 4px; }

/* Only the card transition changes in the four-part mission section. */
.home-mission-cards {
  transition: grid-template-columns .72s cubic-bezier(.2,.7,.2,1);
}
.home-mission-card {
  transition: color .35s ease, border-color .35s ease;
}

/* Shared 5px corner standard across site imagery and controls. */
:root {
  --visual-radius: 5px;
  --button-radius: 5px;
  --opus-radius: 5px;
}

:is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], .button, a.button) {
  border-radius: var(--button-radius) !important;
}

:is(.home-reference-feature, .home-reference-feature-slide, .work-image, .home-reference-project-image, .about-hero-image, .about-person) {
  border-radius: var(--visual-radius) !important;
  overflow: hidden;
}

:is(.home-mission-card, .home-projects-kicker, .home-reference-projects-kicker, .project-tags span, .home-reference-project-tags span, .projects-page .projects-grid--featured .project-tags span, .capabilities-section .capability) {
  border-radius: 5px !important;
}

/* The About portraits match their Figma crops without stretching either photo. */
@media (min-width: 761px) {
  .about-person--rafael {
    height: 40.43vw;
  }
  .about-person-caption--rafael {
    top: 46.5vw;
  }
  .about-rita-portrait {
    width: 62%;
    height: 100%;
  }
  .about-rita-portrait img {
    object-fit: contain;
  }
}

.home-mission-card p {
  text-transform: none;
}
.home-mission-card-subtitle {
  max-width: 18vw;
  margin-top: .7vw;
  color: inherit;
  font-family: Archivo, Arial, sans-serif;
  font-size: 1.05vw;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025vw;
  text-transform: none;
}
.home-mission-card-icon {
  position: absolute;
  left: 1.6vw;
  bottom: 1.6vw;
  display: block;
  width: clamp(8px, .715vw, 10px);
  height: clamp(8px, .715vw, 10px);
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .28;
}
.home-mission-card.is-active .home-mission-card-icon {
  opacity: 1;
  filter: none;
}
.home-mission-card:hover .home-mission-card-icon { opacity: 1; filter: none; }

@media (max-width: 760px) {
  .home-mission-card-subtitle {
    max-width: 260px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.15;
  }
  .home-mission-card-icon {
    left: 20px;
    bottom: 20px;
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 1100px) {
  .site-footer.site-footer .footer-email { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  .header.site-header { height: 72px; }
  .site-header .header-inner { height: 72px; padding: 0 20px; }
  .site-header .brand img { max-width: 142px; }
  .site-header .menu-toggle { width: 82px; height: 40px; font-size: 16px; line-height: 1; letter-spacing: -.04em; }

  .projects-page .projects-page-hero { height: 370px; max-width: none; }
  .projects-page .projects-page-hero h1 { top: 142px; left: var(--site-gutter); width: calc(100% - var(--site-gutter) - var(--site-gutter)); font-size: clamp(58px, 17vw, 78px); line-height: .83; letter-spacing: -.075em; }
  .projects-page .projects-page-hero p { top: 280px; left: var(--site-gutter); width: calc(100% - var(--site-gutter) - var(--site-gutter)); max-width: 480px; font-size: 18px; line-height: 1.3; }
  .projects-page .projects-page-grid-section { height: auto; min-height: 0; padding: 0 var(--site-gutter) 100px; }
  .projects-page .projects-grid--featured { grid-template-columns: 1fr; column-gap: 12px; row-gap: 12px; width: 100%; }
  .projects-page .projects-grid--featured .project-meta { align-items: flex-start; flex-direction: column; gap: 4px; min-height: 0; padding-top: 8px; }
  .projects-page .projects-grid--featured .project-meta h2 { font-size: 20px; line-height: 1.25; }
  .projects-page .projects-grid--featured .project-tags { justify-content: flex-start; flex-wrap: wrap; }
  .projects-admin-link { top: -28px; right: 20px; }
  .home-reference-project-caption { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; min-height: 0; padding-top: 8px; }
  .home-reference-project-caption h3 { font-size: 20px; line-height: 1.25; white-space: normal; }
  .home-reference-project-tags { justify-content: flex-start; gap: 6px; flex-wrap: wrap; }

  .home-mission-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-mission-card { min-height: 300px; padding: 24px; border-radius: 8px; }
  .home-mission-card span { margin-bottom: 18px; font-size: 14px; }
  .home-mission-card h3 { max-width: 260px; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -.06em; }
  .home-mission-card p { left: 24px; right: 24px; bottom: 56px; font-size: 14px; line-height: 1.25; }
  .home-mission-card i { left: 24px; bottom: 24px; border-top-width: 7px; border-bottom-width: 7px; border-left-width: 10px; }
}

@media (max-width: 480px) {
  .projects-page .projects-page-hero { height: 350px; }
  .projects-page .projects-page-hero h1 { top: 130px; font-size: 58px; }
  .projects-page .projects-page-hero p { top: 252px; }
  .projects-page .projects-page-grid-section { padding-bottom: 72px; }
  .home-mission-cards { grid-template-columns: 1fr; }
  .home-mission-card { min-height: 250px; padding: 20px; }
  .home-mission-card h3 { font-size: 29px; }
  .home-mission-card p { left: 20px; right: 20px; bottom: 48px; font-size: 13px; }
  .home-mission-card i { left: 20px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-reference-studio-explore > span:first-child::after,
  .home-reference-studio-explore-mark img,
  .home-mission-cards,
  .home-mission-card { transition: none !important; }
}

/* Keep the updated Figma header button consistent on Home, Cases and About. */
.header.site-header .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(6.31vw, 90.8px);
  min-width: 0;
  height: 42px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fe5e00;
  color: #fff;
  font-family: Guton, Arial, sans-serif;
  font-size: 21.449px;
  font-weight: 500;
  line-height: 37.75px;
  letter-spacing: -1.3727px;
  text-transform: uppercase;
}

/* The menu's own close control sits above the fixed page header. */
body.menu-open .header.site-header .menu-toggle { visibility: hidden; }

@media (max-width: 760px) {
  .header.site-header .menu-toggle {
    width: 82px;
    height: 40px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -.04em;
  }
}

/* Bring the shared footer CTA closer to the Home mission divider on desktop. */
@media (min-width: 1101px) {
  .home-page .home-mission {
    padding-bottom: 3vw;
  }
}

/* Keep all menu content reachable on touch screens and short viewports. */
@media (max-width: 900px) {
  .menu-panel .menu-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 100svh;
    height: auto;
    overflow: visible;
    padding: 116px 20px 36px;
  }
  .menu-brand { top: 24px; left: 20px; width: 142px; }
  .menu-close { top: 16px; right: 20px; width: 44px; height: 40px; font-size: 26px; }
  .menu-language { top: 29px; right: 80px; width: auto; gap: 7px; font-size: 14px; letter-spacing: -.03em; }
  .menu-links { position: static; width: 100%; }
  .menu-panel .menu-links a { font-size: clamp(44px, 11.5vw, 76px); line-height: 1.03; letter-spacing: -.035em; }
  .menu-aside { position: static; width: 100%; height: auto; gap: 0; }
  .menu-aside .menu-contact a { font-size: clamp(24px, 5vw, 36px); line-height: 1.3; letter-spacing: -.02em; }
  .menu-aside .menu-contact a:first-child { font-size: clamp(18px, 4.7vw, 32px); letter-spacing: 0; }
  .menu-contact { margin: 0; }
  .menu-address { position: static; margin-top: 28px; font-size: 16px; line-height: 1.4; letter-spacing: 0; }
  .menu-aside .menu-booking { width: min(100%, 308px); height: 56px; margin-top: 28px; font-size: 16px; letter-spacing: 0; }
}

@media (max-width: 380px) { .menu-brand { width: 120px; top: 26px; } }

/* Home hero: Figma 44106:3939–3942, measured on the 1440px frame. */
.home-page .home-reference-title {
  font-family: Archivo, Arial, sans-serif;
  font-size: 17.7657639vw;
  font-weight: 700;
  line-height: 13.9430556vw;
  letter-spacing: -1.8433056vw;
}
.home-page .home-reference-title span {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 13.9583333vw;
  white-space: nowrap;
}
.home-page .home-reference-title span:first-child {
  left: 1.6666667vw;
  top: 13.8124593vw;
  width: 61.4190165vw;
}
.home-page .home-reference-title span:last-child {
  left: auto;
  right: 1.9444444vw;
  top: 26.6418796vw;
  width: 69.4026905vw;
  text-align: right;
}
.home-page .home-reference-hero-shape {
  left: 75.3990343vw;
  top: 14.4760301vw;
  width: 8.3317513vw;
  height: 8.2580190vw;
  background: transparent;
  clip-path: none;
}
.home-reference-hero-shape img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}
.home-page .home-reference-signature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 66.9197591vw;
  right: auto;
  top: 20.5958218vw;
  width: 13.7879435vw;
  height: 6.7096403vw;
  margin: 0;
  font-family: Archivo, Arial, sans-serif;
  font-size: 2.3425vw;
  font-weight: 500;
  line-height: 1.9907639vw;
  letter-spacing: -.1659861vw;
  text-align: left;
}
@media (max-width: 640px) {
  .home-page .home-reference-intro { height: max(355px, 64vw); }
  .home-page .home-reference-title { font-size: clamp(64px, 19vw, 121px); line-height: .785; letter-spacing: -.10376em; }
  .home-page .home-reference-title span { width: auto; height: auto; }
  .home-page .home-reference-title span:first-child { left: 12px; top: 116px; }
  .home-page .home-reference-title span:last-child { left: auto; right: 14px; top: calc(116px + 15vw); }
  .home-page .home-reference-hero-shape { left: auto; right: 24px; top: 90px; width: 44px; height: 44px; }
  .home-page .home-reference-signature { left: 20px; right: auto; top: max(272px, 51vw); width: 120px; height: auto; font-size: 16px; line-height: .9; letter-spacing: -.071em; }
}

@media (max-width: 900px) {
  .site-footer.site-footer { height: auto; overflow: hidden; }
  .site-footer.site-footer .opus-footer { position: relative; height: auto; min-height: 0; padding: var(--section-block-gap) var(--site-gutter) 0; }
  .site-footer.site-footer .opus-footer .shell { display: flex; flex-direction: column; width: 100%; max-width: none; height: auto; min-height: 0; padding: 0; gap: 0; }
  .site-footer.site-footer .footer-cta,
  .site-footer.site-footer .footer-contact,
  .site-footer.site-footer .footer-information,
  .site-footer.site-footer .footer-studio { position: relative; inset: auto; width: 100%; max-width: none; height: auto; margin: 0; }
  .site-footer.site-footer .footer-cta h2 { font-size: clamp(42px, 8.7vw, 67.537px); line-height: .911; letter-spacing: -.04442em; }
  .site-footer.site-footer .footer-cta p { position: static; width: min(100%, 462px); max-width: none; margin-top: 26px; font-size: 18px; line-height: 1.3; letter-spacing: -.0133em; }
  .site-footer.site-footer .footer-contact { margin-top: 42px; }
  .site-footer.site-footer .footer-contact .button { width: min(100%, 304px); height: 56px; margin: 0; padding: 0 12px; font-size: 16px; }
  .site-footer.site-footer .footer-contact p { margin-top: 28px; font-size: 16px; line-height: 1.4; }
  .site-footer.site-footer .footer-email { margin-top: 6px; font-size: clamp(20px, 5.6vw, 36px); line-height: 1.2; letter-spacing: -.04em; white-space: normal; overflow-wrap: anywhere; }
  .site-footer.site-footer .footer-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; margin-top: 48px; font-size: 14px; line-height: 1.6; letter-spacing: -.0167em; }
  .site-footer.site-footer .footer-information nav,
  .site-footer.site-footer .footer-information address { position: static; white-space: normal; }
  .site-footer.site-footer .footer-information nav:last-child { grid-column: 2; }
  .site-footer.site-footer .footer-studio { margin-top: 64px; margin-bottom: -2px; line-height: 0; }
  .site-footer.site-footer .footer-studio img { width: auto; max-width: 100%; height: auto; }
  .site-footer.site-footer .footer-copyright { position: relative; inset: auto; height: 104px; padding: 24px 14px 0; font-size: 12px; line-height: 1.4; letter-spacing: 0; }
}

/* The same email interaction is shared by every footer instance. */
.site-footer.site-footer .footer-email {
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer.site-footer .footer-email:is(:hover, :focus-visible) {
  color: #fe5e00;
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer.site-footer .footer-email { transition: none; }
}

/* Match the 3.4vw inset used after the other section dividers. Keep a single
   gap before Contact; the preceding page must not add an empty tail. */
:root { --section-block-gap: clamp(32px, 3.4vw, 49px); }
.home-page .home-mission { padding-bottom: 0; }
.home-page main { padding-bottom: 0; }
.projects-page .projects-page-grid-section { height: auto; min-height: 0; padding-bottom: 0; }
main > .section:last-child { padding-bottom: 0; }
.about-page .about-people { padding-bottom: 0; }
@media (min-width: 761px) {
  .about-page .about-people { height: auto; min-height: 0; padding-top: 107.92vw; padding-bottom: 0; }
  .about-page .about-rita-copy { position: relative; top: auto; margin: 0; }
}

/* Desktop Home rhythm: bounded spacing follows the Figma composition without
   multiplying the empty areas on wide displays. */
@media (min-width: 1101px) {
  .home-page {
    --home-section-space: clamp(64px, 6.6666667vw, 96px);
    --home-block-space: clamp(40px, 4.4444444vw, 64px);
  }
  .home-page .home-reference-studio-lede {
    padding-top: var(--home-section-space);
    padding-bottom: var(--home-section-space);
  }
  .home-page .home-reference-studio-meta {
    padding-top: var(--section-block-gap);
    padding-bottom: var(--home-section-space);
  }
  .home-page .home-reference-vision {
    padding-top: var(--section-block-gap);
    padding-bottom: var(--home-section-space);
  }
  .home-page .home-reference-vision-details h2 { height: auto; }
  .home-page .home-reference-vision-copy { margin-top: 24px; }
  .home-page .home-reference-services {
    min-height: 0;
    padding-top: var(--section-block-gap);
    padding-bottom: var(--home-section-space);
  }
  .home-page .home-reference-clients {
    height: calc(63.35vw + var(--home-section-space));
  }
  .home-page .home-reference-projects {
    padding-top: var(--home-section-space);
    padding-bottom: var(--home-section-space);
  }
  .home-page .home-mission { padding-top: var(--home-section-space); }
  .home-page .home-mission-intro { margin-bottom: var(--home-block-space); }
  .home-page .home-mission-rule { margin-top: var(--home-block-space); }
}

.site-footer.site-footer, .site-footer.site-footer .opus-footer { overflow: clip; }

/* Shared button hover: underline the label while retaining its colors. */
:is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], .button, .menu-booking) {
  text-decoration: none;
  text-underline-offset: .15em;
  text-decoration-thickness: 1px;
}
:is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], .button, .menu-booking):is(:hover, :focus-visible) {
  text-decoration-line: underline;
}
.menu-panel .menu-aside .menu-booking,
.menu-panel .menu-aside .menu-booking:is(:hover, :focus-visible) {
  background: #000;
  color: #fff;
}
.site-footer.site-footer .footer-contact .button,
.site-footer.site-footer .footer-contact .button:is(:hover, :focus-visible),
.header.site-header .menu-toggle,
.header.site-header .menu-toggle:is(:hover, :focus-visible) {
  background: #fe5e00;
  color: #fff;
}
.menu-panel .menu-close,
.menu-panel .menu-close:is(:hover, :focus-visible) {
  background: #000;
  color: #fe5e00;
}
.menu-panel .menu-aside .menu-booking,
.site-footer.site-footer .footer-contact .button,
.header.site-header .menu-toggle,
.menu-panel .menu-close {
  transform: none;
  box-shadow: none;
  transition: none;
}
.menu-panel .menu-aside .menu-booking:is(:hover, :focus-visible),
.site-footer.site-footer .footer-contact .button:is(:hover, :focus-visible) { text-decoration-line: underline; }

/* Approved global rails and vertical rhythm. Desktop margins are exactly 44px. */
:root {
  --site-gutter: 44px;
  --space-section: clamp(64px, 6.6666667vw, 96px);
  --space-block: clamp(40px, 4.4444444vw, 64px);
  --space-copy: clamp(16px, 1.6666667vw, 24px);
  --section-block-gap: clamp(32px, 3.4vw, 49px);
}
@media (max-width: 1100px) { :root { --site-gutter: 32px; } }
@media (max-width: 640px) {
  :root { --site-gutter: 20px; --space-section: 56px; --space-block: 32px; --space-copy: 20px; }
}
.shell, .home-page .shell, .projects-page .shell,
.site-header .header-inner {
  width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--site-gutter);
}
.section, .site-section { padding-block: var(--space-section); }
.section-top { margin-bottom: var(--space-block); }
.site-section--divided { padding-top: var(--section-block-gap); border-top: 1px solid var(--line); }
.site-stack { display: flex; flex-direction: column; gap: var(--space-block); }
.home-page { --home-section-space: var(--space-section); --home-block-space: var(--space-block); }
.home-page .home-reference-studio-lede { padding-left: 0; }
.home-page .home-reference-studio-meta,
.home-page .home-reference-vision { width: 100%; }
.home-page .home-reference-projects-header { margin-left: 0; }
.home-page .home-reference-services,
.home-page .home-reference-projects,
.home-page .home-mission { padding-inline: var(--site-gutter); }
.projects-page .projects-page-hero h1 { left: var(--site-gutter); }
.projects-page .projects-page-hero p { right: var(--site-gutter); left: auto; }
.projects-page .projects-grid--featured { width: calc(100% - var(--site-gutter) - var(--site-gutter)); column-gap: 12px; row-gap: 12px; }
.menu-brand { left: var(--site-gutter); }
.menu-close { right: var(--site-gutter); }
.menu-language { right: calc(var(--site-gutter) + 85 * var(--menu-unit)); }
.menu-panel .menu-layout { padding-left: var(--site-gutter); padding-right: var(--site-gutter); }
.site-footer.site-footer { --footer-unit: .0694444444vw; }
.site-footer.site-footer .opus-footer .shell { width: 100%; max-width: none; padding-inline: 0; }
.site-footer.site-footer .footer-cta { left: var(--site-gutter); }
.site-footer.site-footer .footer-cta p { left: 0; }
.site-footer.site-footer .footer-contact { left: 57.5%; width: calc(42.5% - var(--site-gutter)); }
.site-footer.site-footer .footer-information nav:first-child { left: var(--site-gutter); }
.site-footer.site-footer .footer-information nav:last-child { right: var(--site-gutter); left: auto; }
.site-footer.site-footer .footer-studio { left: var(--site-gutter); width: calc(100% - var(--site-gutter) - var(--site-gutter)); }
.site-footer.site-footer .footer-studio img { width: 100%; height: auto; max-width: none; }
.about-page .about-hero-title { left: var(--site-gutter); }
.about-page .about-hero-image { left: var(--site-gutter); width: calc(100% - var(--site-gutter) - var(--site-gutter)); }
.about-page .about-person--rafael { height: auto; aspect-ratio: 652 / 662; }
.about-page .about-person--rafael img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.about-page .about-person--rita { height: auto; aspect-ratio: 663 / 662; }
.about-page .about-rita-background { width: 100%; height: 100%; object-fit: cover; }
.about-page .about-rita-portrait { left: 18.7028658%; top: 1.3595166%; bottom: auto; width: 69.0799397%; height: auto; aspect-ratio: 458 / 649; }
.about-page .about-rita-portrait img { width: 100%; height: auto; object-fit: contain; }
.about-page .about-image-fade { display: none; }
.about-page .about-manifesto { height: auto; min-height: 0; padding: var(--space-section) var(--site-gutter); }
.about-page .about-manifesto h2 { position: relative; top: auto; left: auto; }
.about-page .about-manifesto-secondary { margin-top: var(--space-block); }
.about-page .about-people { padding-inline: var(--site-gutter); }
@media (min-width: 1101px) {
  .home-page .home-reference-studio { padding-inline: var(--site-gutter); }
  .home-page .home-reference-title span:first-child { left: calc(var(--site-gutter) - 1.15vw); }
  .home-page .home-reference-title span:last-child { right: calc(var(--site-gutter) + 1.15vw); }
  .home-reference-client-logo--attilio, .home-reference-client-logo--novamerica,
  .home-reference-client-logo--gelcrembr, .home-reference-client-logo--belinotte { left: var(--site-gutter); }
  .home-reference-client-logo--takt, .home-reference-client-logo--nuvve,
  .home-reference-client-logo--tecyart, .home-reference-client-logo--have { left: auto; right: var(--site-gutter); }
}
@media (min-width: 761px) {
  .about-page .about-hero { height: calc(99.683185vw - 1.214497 * var(--site-gutter)); }
  .about-page .about-hero-image { top: 38.9583333vw; height: auto; aspect-ratio: 1352 / 821; }
  .about-page .about-hero-intro { left: 61.44%; right: var(--site-gutter); width: auto; }
  .about-page .about-people {
    display: grid;
    grid-template-columns: minmax(0, 652fr) minmax(0, 663fr);
    gap: 16px;
    height: auto; min-height: 0; padding-top: 0; padding-bottom: 0;
    overflow: visible;
  }
  .about-page .about-people > * { position: relative; inset: auto; width: 100%; margin: 0; }
  .about-page .about-person--rafael { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .about-page .about-rafael-copy { grid-column: 2; grid-row: 1; width: calc(100% - 2.014vw); margin-left: 2.014vw; }
  .about-page .about-stats { grid-column: 2; grid-row: 2; width: calc(100% - 2.014vw); margin-left: 2.014vw; align-self: start; }
  .about-page .about-person-caption--rafael { grid-column: 1; grid-row: 3; }
  .about-page .about-person--rita { grid-column: 2; grid-row: 4; margin-top: calc(var(--space-section) - 16px); }
  .about-page .about-person-caption--rita { grid-column: 2; grid-row: 5; }
  .about-page .about-rita-copy { grid-column: 2; grid-row: 6; margin-top: calc(var(--space-copy) - 16px); }
}
@media (max-width: 900px) {
  .menu-panel .menu-layout { padding-inline: var(--site-gutter); }
  .menu-links { width: 100%; }
  .site-footer.site-footer .footer-cta, .site-footer.site-footer .footer-contact,
  .site-footer.site-footer .footer-information, .site-footer.site-footer .footer-studio { left: auto; right: auto; width: 100%; }
  .site-footer.site-footer .footer-studio { margin-top: var(--space-section); }
  .site-footer.site-footer .footer-information { gap: var(--space-block) 16px; }
  .menu-language { right: calc(var(--site-gutter) + 60px); }
}
@media (max-width: 760px) {
  .about-page .about-hero-title, .about-page .about-hero-image { left: auto; }
  .about-page .about-hero { padding-inline: var(--site-gutter); }
  .about-page .about-hero-image { width: 100%; }
  .about-page .about-manifesto h2 { width: 100%; }
}

/* Match the menu contact typography updated in Figma 44123:7048. */
@media (min-width: 901px) {
  .menu-aside .menu-contact a { font-size: calc(52.9914513 * var(--menu-unit)); line-height: calc(63.5897408 * var(--menu-unit)); letter-spacing: calc(-2.119658 * var(--menu-unit)); }
  .menu-aside .menu-contact a:first-child { font-size: calc(43.5712929 * var(--menu-unit)); letter-spacing: calc(-2.119658 * var(--menu-unit)); }
  .menu-address { margin-top: calc(117.8205184 * var(--menu-unit)); }
}
@media (max-width: 900px) {
  .menu-aside .menu-contact a { letter-spacing: -.04em; }
  .menu-aside .menu-contact a:first-child { letter-spacing: -.04865em; }
}

@media (max-width: 760px) {
  .about-page .about-manifesto h2 { font-size: clamp(28px, 9.4vw, 52px); }
  .about-page .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .about-page .about-stats strong { font-size: clamp(30px, 9vw, 60px); }
  .about-page .about-stats div { min-width: 0; }
  .about-page .about-stats span { overflow-wrap: anywhere; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .header.site-header .menu-toggle { width: 82px; height: 40px; font-size: 16px; }
}

/* Persistent shared header — Figma HEADER 44136:7290, 1440 × 72. */
:root { --site-header-height: 72px; }
html { scroll-padding-top: calc(var(--site-header-height) + 16px); }
.header.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--site-header-height);
  z-index: 100;
  background: transparent;
  border-bottom: 0;
  box-sizing: border-box;
  transition: none;
}
.header.site-header .header-inner {
  position: relative;
  width: 100%; max-width: none;
  height: var(--site-header-height);
  padding: 0 var(--site-gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.header.site-header .brand {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 153px;
  height: 24px;
  margin-left: -4.4336px;
  padding: 0 4.4336px;
  box-sizing: border-box;
  border-radius: 1px;
  background: #fff;
}
.header.site-header .brand img {
  width: 144.5654px; height: auto; max-width: none;
  filter: none; mix-blend-mode: normal;
}
.header.site-header .desktop-navigation {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 11px;
  width: 261px; height: 14px;
}
.header.site-header .desktop-navigation .nav-entry {
  display: inline-flex; align-items: center; justify-content: center;
  height: 14px; min-width: 0;
  border-radius: 1px;
  background: #fff;
  white-space: nowrap;
}
.header.site-header .desktop-navigation .nav-entry:nth-child(1) { width: 61px; }
.header.site-header .desktop-navigation .nav-entry:nth-child(2) { width: 92px; margin-right: 2px; }
.header.site-header .desktop-navigation .nav-entry:nth-child(3) { width: 84px; }
.header.site-header .desktop-navigation .nav-entry > * {
  line-height: 14px;
}
.header.site-header .desktop-navigation .nav-slash {
  color: #000;
  font: 500 14px/14px Archivo, Arial, sans-serif;
  letter-spacing: 0;
}
.header.site-header .desktop-navigation a {
  display: inline-block;
  color: #000;
  font: 500 14px/14px Archivo, Arial, sans-serif;
  letter-spacing: 0; white-space: nowrap;
  text-decoration: none; text-underline-offset: .15em;
  text-decoration-thickness: 1px;
}
.header.site-header .desktop-navigation a:is(:hover, :focus-visible) {
  color: #000; text-decoration-line: underline;
}
.header.site-header .header-contact,
.header.site-header .header-contact:is(:hover, :focus-visible) {
  display: flex; align-items: center; justify-content: center;
  width: 100px; height: 29px; min-height: 29px;
  margin: 0; padding: 0; border: 0; border-radius: 5px;
  color: #fff; background: #fe5e00;
  font: 500 15px/37.75px Archivo, Arial, sans-serif;
  letter-spacing: 0; text-transform: uppercase;
  transform: none; box-shadow: none; transition: none;
}
.header.site-header .header-actions { gap: 18px; }
.header.site-header .language-selector {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 14px;
  color: #000;
  font: 500 14px/14px Archivo, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.header.site-header .language-selector a,
.header.site-header .language-selector button {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.header.site-header .language-selector a {
  color: #000;
  cursor: pointer;
}
.header.site-header .language-selector a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .15em;
  text-decoration-thickness: 1px;
}
.header.site-header .language-selector a:is(:hover, :focus-visible) {
  color: #000;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.header.site-header .language-selector button:disabled { color: #000; cursor: default; }
.header.site-header .language-selector > span { color: #000; }
.header.site-header :is(a, button):focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.header.site-header .menu-toggle { display: none; }
.header.site-header .mobile-navigation { display: none; }
@media (max-width: 900px) {
  .header.site-header .brand { width: 145px; height: 24px; margin-left: -4px; padding-inline: 4px; }
  .header.site-header .brand img { width: 137px; }
  .header.site-header .desktop-navigation,
  .header.site-header .header-contact,
  .header.site-header .language-selector { display: none; }
  .header.site-header .menu-toggle,
  .header.site-header .menu-toggle:is(:hover, :focus-visible) {
    display: flex; align-items: center; justify-content: center;
    width: 82px; height: 44px; min-width: 82px; min-height: 44px;
    margin: 0; padding: 0; border: 0; border-radius: 5px;
    background: #fe5e00; color: #fff;
    font: 500 16px/1 Archivo, Arial, sans-serif; letter-spacing: -.04em;
    transform: none; box-shadow: none; transition: none;
  }
  .header.site-header .mobile-navigation {
    position: absolute; inset: var(--site-header-height) 0 auto;
    display: flex; flex-direction: column;
    max-height: calc(100dvh - var(--site-header-height)); overflow-y: auto;
    padding: 12px var(--site-gutter) 20px;
    background: #fff; border-bottom: 1px solid #000;
  }
  .header.site-header .mobile-navigation[hidden] { display: none; }
  .header.site-header .mobile-navigation a {
    display: block; padding: 12px 0; min-height: 48px;
    color: #000; font: 500 22px/1.4 Archivo, Arial, sans-serif;
    letter-spacing: -.02em; text-decoration: none; text-underline-offset: .15em;
  }
  .header.site-header .mobile-navigation a:is(:hover, :focus-visible) {
    color: #000; text-decoration-line: underline;
  }

}

/* Final shared rhythm overrides: all pages use the same contact/footer component. */
:root {
  --footer-top-gap: 140px;
  --footer-before-gap: 128px;
}
.about-page main,
.projects-page main { padding-bottom: 0; }
.home-page main { padding-bottom: 0; }
.site-footer.site-footer .footer-cta { top: var(--footer-top-gap); }
@media (max-width: 900px) {
  .site-footer.site-footer .opus-footer { padding-top: var(--footer-top-gap); }
  .site-footer.site-footer .footer-cta { top: 0; }
}

/* Keep the mission-card copy readable while preserving the Figma hierarchy. */
.home-mission-card p { font-size: calc(1.04vw + 2px); }
.home-mission-card > span:first-child {
  font-size: calc(1.04vw + 2px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02vw;
}
@media (max-width: 1100px) {
  .home-mission-card p,
  .home-mission-card > span:first-child { font-size: 16px; }
}
@media (max-width: 480px) {
  .home-mission-card p,
  .home-mission-card > span:first-child { font-size: 15px; }
}

/* Latest visual refinements: lighter case metadata, a static top-aligned mark,
   and the Figma emphasis on the word “MARCAS”. */
.home-reference-feature-meta { font-weight: 400; }
.home-reference-studio-explore { align-items: flex-start; }
.home-reference-studio-explore-mark { align-self: flex-start; }
.home-reference-studio-explore-mark img,
.home-reference-studio-explore:hover .home-reference-studio-explore-mark img,
.home-reference-studio-explore:focus-visible .home-reference-studio-explore-mark img {
  transition: none !important;
  transform: none !important;
}
.home-reference-studio-headline .studio-underlined--marcas {
  text-decoration-line: underline !important;
  text-decoration-thickness: calc(.36vw + 1px) !important;
  text-underline-offset: .12em;
}
.home-reference-studio-headline .studio-underlined:not(.studio-underlined--marcas) {
  text-decoration-line: underline !important;
  text-decoration-thickness: calc(.36vw + 1px) !important;
  text-underline-offset: .12em;
}

/* Service accordion copy: give the supporting lines one extra point of air
   and keep the delivery labels visibly uppercase. */
.home-reference-service .service-summary,
.home-reference-service .service-details {
  font-size: clamp(15px, calc(1.12vw + 1px), 18px);
}
.home-reference-service .service-details dt { text-transform: uppercase; }
@media (max-width: 640px) {
  .home-reference-service .service-summary,
  .home-reference-service .service-details { font-size: 15px; }
}

/* Service rows invert on hover/focus, keeping the accordion legible against
   the orange section and making the interactive state unmistakable. */
.home-reference-service {
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.home-reference-service:is(:hover, :focus-within, .is-expanded) {
  background: #000;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 5px;
}
.home-reference-service:has(+ .home-reference-service:is(:hover, :focus-within, .is-expanded)) {
  border-bottom-color: transparent;
}
.home-reference-service:is(:hover, :focus-within, .is-expanded) :is(
  .home-reference-service-number,
  h3,
  .service-summary,
  .service-details,
  .service-details dt,
  .service-details dd
) {
  color: #fff;
}
.home-reference-service:is(:hover, :focus-within, .is-expanded) .service-summary { opacity: 1; }

/* Services open by click and stay open until their close control is used. */
.home-reference-service.is-expanded { border-top-color: #000; border-bottom-color: #000; border-radius: 5px; }
.home-reference-service:has(+ .home-reference-service.is-expanded) { border-bottom-color: #000; }
.home-reference-service.is-expanded .service-details dt {
  color: #fff;
  opacity: 1;
  font-weight: 800;
}
.home-reference-service.is-expanded .home-reference-service-toggle span,
.home-reference-service.is-expanded .home-reference-service-toggle span::after { background: #fe5e00; }

/* Home CTA mark: use the restrained Figma corner triangle instead of the full
   logo mark, with no hover movement. */
.home-reference-studio-explore-mark {
  display: block !important;
  flex: 0 0 12px !important;
  width: 12px !important;
  height: 12px !important;
  background: #fe5e00 !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.home-reference-studio-explore-mark img { display: none !important; }
@media (max-width: 640px) {
  .home-reference-studio-explore-mark {
    flex-basis: 10px !important;
    width: 10px !important;
    height: 10px !important;
  }
}

/* Final interaction and footer adjustments requested for the shared site. */
.home-reference-service:is(:hover, :focus-within, .is-expanded) .home-reference-service-toggle span,
.home-reference-service:is(:hover, :focus-within, .is-expanded) .home-reference-service-toggle span::after {
  background: #fe5e00;
}
.home-mission-card:is(:hover, :focus-visible, .is-active) .home-mission-card-icon {
  opacity: 1;
  filter: none;
}
.site-footer.site-footer .footer-contact .button { font-weight: 600; }
@media (min-width: 901px) {
  .site-footer.site-footer .footer-information { transform: translateY(80px); }
}

/* Shared portfolio rails. The caption sits within the transition below the last image. */
.projects-page .projects-page-grid-section { padding: 0 var(--site-gutter); }
.projects-page .projects-grid--featured { width: 100%; margin-inline: 0; gap: 12px; }
.projects-page .projects-page-grid-section { padding-bottom: max(0px, calc(var(--portfolio-transition, 140px) - var(--last-caption, 0px))); }
.about-page main + .site-footer { margin-top: 0; }
@media (min-width: 761px) {
  .about-page .about-people { padding-bottom: 125px; }
}
@media (max-width: 1100px) {
  .home-page .home-reference-clients { display: grid; height: auto; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-page .home-reference-client-logo img { width: min(80%,110px); height: auto; max-height: 64px; }
}
@media (max-width: 760px) {
  .about-page .about-people { display: flex; flex-direction: column; height: auto; padding: 0 var(--site-gutter) 56px; gap: 20px; }
  .about-page .about-people > * { display: block; position: static; width: 100%; margin: 0; }
  .about-page .about-people .about-stats { display: flex; flex-wrap: wrap; }
  .about-page .about-people .about-person img { position: static; width: 100%; height: auto; object-fit: contain; }
  .about-page .about-people .about-person { height: auto; aspect-ratio: auto; }
  .about-page .about-person--rafael { order: 0; }
  .about-page .about-person-caption--rafael { order: 1; }
  .about-page .about-rafael-copy { order: 2; }
  .about-page .about-stats { order: 3; }
  .about-page .about-person--rita { order: 4; }
  .about-page .about-person-caption--rita { order: 5; }
  .about-page .about-rita-copy { order: 6; }
  .projects-page { --portfolio-transition: 56px; }
}
@media (max-width: 640px) {
  .home-page .home-reference-clients { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 12px; }
  .home-page .home-reference-client-logo { height: 72px; }
  .home-page .home-reference-client-logo img { max-height: 48px; }
  .home-reference-service h3 { min-width: 0; overflow-wrap: anywhere; }
}
.mobile-language { display: flex; align-items: center; gap: .6em; }
.mobile-language a[aria-current="page"] { text-decoration: underline; }
.service-page-content { padding: clamp(110px,12vw,180px) var(--site-gutter) var(--space-section); }
.service-page-content h1 { font-size: clamp(38px,7vw,104px); line-height: 1; }
.service-page-content h2 { margin: 2em 0 .4em; font-size: clamp(22px,3vw,42px); }
.service-page-content p { max-width: 62ch; font-size: clamp(18px,2vw,26px); }
.service-page-content a, .service-description a { text-decoration: underline; }
@media (min-width: 1101px) {
  .home-page .home-reference-clients { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(32px,4vw,60px); height: auto; padding: var(--space-section) var(--site-gutter); align-items: center; }
  .home-page .home-reference-clients-copy { grid-column: 1/-1; position: static; justify-self: end; width: min(50%,720px); }
  .home-page .home-reference-client-logo { position: static; width: auto; height: clamp(72px,6vw,92px); aspect-ratio:auto; }
  .home-page .home-reference-client-logo img { width: 100%; height: 100%; max-width: 155px; object-fit: contain; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .about-page .about-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding-bottom:125px; }
  .about-page .about-person--rafael { grid-area: 1/1/3/2; }
  .about-page .about-rafael-copy { grid-area: 1/2; }
  .about-page .about-stats { grid-area: 2/2; }
  .about-page .about-person-caption--rafael { grid-area: 3/1; }
  .about-page .about-person--rita { grid-area: 4/2; }
  .about-page .about-person-caption--rita { grid-area: 5/2; }
  .about-page .about-rita-copy { grid-area: 6/2; }
}
@media (max-width:640px) {
  :root { --footer-top-gap:56px; }
  .about-page .about-people .about-stats { display: grid; }
}
