:root {
  --bg: #0d0d0d;
  --panel: #151515;
  --panel-2: #1b1b1b;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --orange: #ff3535;
  --line: rgba(242,242,242,.14);
  --font: 'Montserrat',sans-serif;
  --mono: 'Michroma',sans-serif;
  --radius: 34px;
  --ease: cubic-bezier(.22,.75,.25,1);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
::selection {
  background: var(--orange);
  color: #111;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button:focus-visible,a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
.noise {
  position: fixed;
  inset: -50%;
  z-index: 50;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: noise .22s steps(2) infinite;
}
@keyframes noise {
  0% {
    transform: translate(0,0);
  }
  25% {
    transform: translate(2%,-1%);
  }
  50% {
    transform: translate(-1%,2%);
  }
  75% {
    transform: translate(1%,1%);
  }
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  background: var(--orange);
  color: #111;
  padding: 12px 18px;
  border-radius: 30px;
}
.skip-link:focus {
  top: 16px;
}
.section-shell {
  width: min(1320px,calc(100% - 80px));
  margin-inline: auto;
}
.section-space {
  padding-top: 150px;
}
.eyebrow,.hero-topline,.hero-bottom,.work-year,.hero-scroll,.contact-top>span,.contact-bottom>span,.footer-copy,.dialog-counter,.project-next-wrap>span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
}
.orange,.brand-name>span,.footer-brand>span,.dialog-brand>span {
  color: var(--orange);
}
/* loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #0b0b0b;
  display: grid;
  place-items: center;
}
.loader-inner {
  width: min(520px,75vw);
}
.loader-word {
  font-size: clamp(64px,12vw,142px);
  letter-spacing: -.09em;
  font-weight: 300;
  line-height: .92;
}
.loader-word strong {
  font-weight: 800;
}
.loader-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  font: 9px var(--mono);
  letter-spacing: .12em;
  color: var(--muted);
}
.loader-count {
  color: var(--orange);
}
.loader-line {
  height: 2px;
  background: #292929;
  margin-top: 14px;
  overflow: hidden;
}
.loader-line i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}
/* header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  padding: 0 max(40px,calc((100vw - 1320px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s,border .35s,backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(13,13,13,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name,.footer-brand,.dialog-brand {
  font: 12px var(--mono);
  letter-spacing: .04em;
}
.brand-dot,.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  box-shadow: 0 0 15px rgba(255, 31, 31, 0.8);
}
.main-nav {
  display: flex;
  gap: 34px;
  margin-left: 70px;
}
.main-nav a,.header-cta {
  font-size: 11px;
  color: #d0d0d0;
  transition: color .25s;
}
.main-nav a:hover {
  color: var(--orange);
}
.header-cta {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 30px;
  padding: 13px 18px;
  color: var(--text);
}
.header-cta span {
  color: var(--orange);
  margin-left: 12px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 1px;
  background: #fff;
  margin: 6px;
}
/* hero */
.hero {
  padding-top: 112px;
}
.hero-card {
  position: relative;
  min-height: 680px;
  border-radius: 40px;
  overflow: hidden;
  padding: 28px 42px 30px;
  background: radial-gradient(ellipse at 78% 30%,rgba(255, 76, 76, 0.62),transparent 34%),radial-gradient(ellipse at 82% 100%,rgba(255, 31, 31, 0.46),transparent 48%),linear-gradient(125deg,#a51c1c 0%,#e92222 38%,#702614 100%);
}
.hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,rgba(0,0,0,.15),transparent 60%),url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: .7;
}
.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255, 149, 149, 0.24);
  filter: blur(80px);
  pointer-events: none;
  left: 55%;
  top: 24%;
  transform: translate(-50%,-50%);
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.7);
}
.hero-topline .status-dot {
  margin-left: 8px;
  background: #d7ff9b;
}
.hero-main {
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: 62%;
  padding: 35px 0 25px;
}
.hero-eyebrow {
  color: rgba(255,255,255,.67);
  margin: 0 0 28px;
}
.hero h1 {
  font-size: clamp(74px,10.5vw,150px);
  letter-spacing: -.105em;
  line-height: .83;
  margin: 0 0 34px;
  font-weight: 300;
}
.title-line {
  display: block;
  overflow: hidden;
  padding: 0 .08em .1em 0;
}
.title-line>span {
  display: inline-block;
  filter: blur(0);
}
.title-light {
  font-weight: 300;
}
.title-heavy {
  font-weight: 800;
  font-style: italic;
}
.hero-lead {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0 0 34px;
}
.round-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 40px;
  padding: 7px 8px 7px 19px;
  font-size: 11px;
  transition: background .25s,color .25s;
}
.round-link b {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #191919;
  font-size: 16px;
}
.round-link:hover {
  background: #fff;
  color: #111;
}
.hero-portrait-wrap {
  position: absolute;
  right: 5.5%;
  bottom: -3px;
  width: 38%;
  height: 93%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: normal;
  mask-image: linear-gradient(to bottom,#000 86%,transparent 100%);
}
.portrait-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  aspect-ratio: 1;
  right: 0;
  bottom: 9%;
  width: 87%;
}
.orbit-two {
  width: 105%;
  right: -9%;
  bottom: 1%;
  border-style: dashed;
  opacity: .5;
}
.portrait-stamp {
  position: absolute;
  z-index: 2;
  right: -2%;
  top: 27%;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font: 17px var(--mono);
  transform: rotate(12deg);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(5px);
}
.portrait-stamp small {
  font: 6px var(--mono);
  margin-top: 4px;
}
.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255,255,255,.72);
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 800px;
}
.hero-services span {
  white-space: nowrap;
}
.hero-services b {
  color: #fff;
  margin-right: 8px;
}
.hero-scroll {
  white-space: nowrap;
}
.hero-scroll span {
  color: #fff;
  font-size: 15px;
  margin-left: 12px;
}
/* marquee */
.marquee-section {
  padding: 47px 0 15px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
  font-size: clamp(18px,3vw,37px);
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.marquee-content i {
  font-style: normal;
  color: var(--orange);
  font-size: .72em;
}
/* headings + works */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 54px;
}
.eyebrow {
  color: var(--muted);
  margin: 0 0 19px;
}
.eyebrow span {
  color: var(--orange);
}
.section-heading h2 {
  font-size: clamp(44px,6.5vw,84px);
  letter-spacing: -.09em;
  line-height: .96;
  font-weight: 300;
  margin: 0;
}
.section-heading h2 em {
  font-weight: 800;
}
.heading-note {
  max-width: 300px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 5px;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px 24px;
}
.work-card {
  appearance: none;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-width: 0;
}
.work-card.work-wide {
  grid-column: span 2;
}
.work-image {
  position: relative;
  display: block;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #191919;
  isolation: isolate;
}
.work-wide .work-image {
  height: 450px;
}
.work-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.1),transparent 28%,rgba(0,0,0,.2));
  z-index: 1;
  pointer-events: none;
}
.work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease),filter .5s;
}
.work-card:hover .work-image img {
  transform: scale(1.055);
  filter: saturate(1.08);
}
.virtuoso-bg {
  background: #81794b;
}
.festas-bg {
  background: #6e2b68;
}
.nova-bg {
  background: #131712;
}
.trail-bg {
  background: #06475d;
}
.sport-bg {
  background: #164934;
}
.work-index {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 21px;
  font: 9px var(--mono);
  letter-spacing: .13em;
  color: rgba(255,255,255,.8);
}
.work-open {
  position: absolute;
  z-index: 2;
  right: 19px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #111;
  font-size: 19px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .3s,transform .3s;
}
.work-card:hover .work-open,.work-card:focus-visible .work-open {
  opacity: 1;
  transform: translateY(0);
}
.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px 3px 0;
}
.work-meta strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.work-meta small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
}
.work-year {
  font-size: 8px;
  color: #777;
  padding-top: 4px;
  text-align: right;
}
/* about */
.about-heading {
  margin-bottom: 52px;
}
.about-mark {
  font: 42px var(--mono);
  letter-spacing: -.1em;
  color: rgba(255,255,255,.17);
}
.about-mark span {
  font: 12px var(--mono);
  vertical-align: top;
  color: var(--orange);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(300px,.82fr) 1.18fr;
  gap: 9%;
  align-items: center;
}
.about-photo-frame {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 35%,#4d4d4d,#151515 70%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-photo-frame img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1);
  mix-blend-mode: normal;
}
.photo-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font: 8px var(--mono);
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
}
.photo-caption i {
  color: var(--orange);
  font-style: normal;
  margin: 0 7px;
}
.photo-corner {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}
.photo-corner:first-line {
  font-weight: 300;
}
.about-copy {
  padding: 16px 0;
}
.about-intro {
  font-size: clamp(20px,2.3vw,29px);
  line-height: 1.48;
  letter-spacing: -.045em;
  font-weight: 300;
  margin: 0 0 24px;
}
.about-intro strong {
  font-weight: 700;
}
.about-secondary {
  max-width: 530px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 38px;
}
.software-block {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.software-block .eyebrow {
  font-size: 8px;
  margin-bottom: 15px;
}
.software-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.software-chips span,.service-tags span {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 13px;
  color: #d1d1d1;
  font-size: 10px;
}
.text-link {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  margin-top: 35px;
  font-size: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--orange);
}
.text-link span {
  color: var(--orange);
  font-size: 17px;
}
/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.service-card {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .45s,color .45s,border-color .45s,transform .45s;
}
.service-card:hover {
  background: var(--orange);
  color: #101010;
  border-color: var(--orange);
  transform: translateY(-7px);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-number {
  font: 10px var(--mono);
  color: var(--orange);
  transition: color .35s;
}
.service-icon {
  font-size: 23px;
  transition: transform .35s;
}
.service-card:hover .service-number {
  color: #111;
}
.service-card:hover .service-icon {
  transform: rotate(45deg);
}
.service-card h3 {
  font-size: clamp(23px,2.5vw,34px);
  line-height: .98;
  letter-spacing: -.07em;
  margin: 0 0 16px;
  font-weight: 600;
}
.service-card p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 245px;
  margin: 0;
  transition: color .35s;
}
.service-card:hover p {
  color: rgba(0,0,0,.72);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 27px;
}
.service-tags span {
  font-size: 8px;
  padding: 7px 9px;
  color: var(--muted);
  transition: color .35s,border-color .35s;
}
.service-card:hover .service-tags span {
  border-color: rgba(0,0,0,.35);
  color: #111;
}
/* contact and footer */
.contact {
  padding-bottom: 105px;
}
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 35px 42px 32px;
  min-height: 520px;
  background: radial-gradient(ellipse at 50% 100%,rgba(255, 31, 31, 0.38),transparent 53%),linear-gradient(125deg,#1a1513,#111 55%,#200c0c);
}
.contact-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%,rgba(255, 31, 31, 0.19),transparent 38%);
  pointer-events: none;
  animation: contactGlow 8s ease-in-out infinite alternate;
}
@keyframes contactGlow {
  to {
    transform: translate(-5%,7%) scale(1.1);
    opacity: .6;
  }
}
.contact-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255, 31, 31, 0.15);
  filter: blur(100px);
  pointer-events: none;
}
.contact-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-top .eyebrow {
  margin: 0;
}
.contact-top>span {
  color: var(--muted);
}
.contact-top .status-dot {
  background: #b8f58d;
  margin-left: 8px;
}
.contact h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(58px,10.5vw,142px);
  line-height: .87;
  letter-spacing: -.105em;
  font-weight: 300;
  margin: 100px 0 45px;
}
.contact h2 span,.contact h2 em {
  display: block;
}
.contact h2 em {
  font-weight: 800;
}
.email-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: min(520px,100%);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: 9px 10px 9px 22px;
  font-size: 12px;
  transition: background .3s,color .3s;
}
.email-cta b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-size: 18px;
}
.email-cta:hover {
  background: #fff;
  color: #111;
}
.contact-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 45px;
}
.contact-bottom p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.contact-bottom>span {
  color: var(--muted);
}
.site-footer {
  min-height: 115px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer-brand {
  font-size: 11px;
}
.footer-copy {
  font-size: 7px;
  color: #777;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  font-size: 10px;
  color: var(--muted);
  transition: color .25s;
}
.footer-links a:hover {
  color: var(--orange);
}
/* modal */
.project-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0d0d0d;
  color: var(--text);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s var(--ease),transform .45s var(--ease);
}
.project-dialog[open] {
  opacity: 1;
  transform: translateY(0);
}
.project-dialog::backdrop {
  background: #0d0d0d;
}
.project-dialog-bar {
  height: 76px;
  padding: 0 max(32px,calc((100vw - 1320px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,13,.92);
  position: relative;
  z-index: 2;
}
.dialog-brand {
  font-size: 11px;
}
.dialog-counter {
  color: var(--muted);
}
.dialog-counter b {
  color: var(--orange);
  font-weight: 400;
  margin-left: 8px;
}
.dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.dialog-close span {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 17px;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
}
.dialog-close span+span {
  transform: rotate(-45deg);
}
.project-dialog-scroll {
  height: calc(100% - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.project-content {
  width: min(1180px,calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 0 30px;
}
.project-kicker {
  font: 9px var(--mono);
  color: var(--orange);
  letter-spacing: .15em;
  margin: 0 0 22px;
}
.project-title {
  font-size: clamp(48px,9vw,112px);
  line-height: .9;
  letter-spacing: -.09em;
  font-weight: 300;
  margin: 0 0 30px;
}
.project-title em {
  font-weight: 800;
}
.project-description {
  max-width: 690px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 45px;
}
.project-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 45px;
}
.project-meta span {
  font: 8px var(--mono);
  color: var(--muted);
  letter-spacing: .1em;
}
.project-meta b {
  display: block;
  color: var(--text);
  font: 11px var(--font);
  margin-top: 9px;
}
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.project-gallery figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #171717;
}
.project-gallery figure:first-child {
  grid-column: span 2;
}
.project-gallery figure:nth-child(2):last-child {
  grid-column: span 2;
}
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.project-gallery figcaption {
  padding: 13px 17px;
  color: var(--muted);
  font-size: 9px;
}
.project-next-wrap {
  width: min(1180px,calc(100% - 64px));
  margin: 65px auto 70px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-next-wrap>span {
  color: var(--muted);
}
.project-next {
  border: 0;
  background: transparent;
  font-size: clamp(23px,4vw,38px);
  font-weight: 600;
  letter-spacing: -.06em;
  cursor: pointer;
}
.project-next b {
  color: var(--orange);
  font-size: 24px;
  margin-left: 12px;
}
/* cursor */
.cursor {
  position: fixed;
  z-index: 140;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
  opacity: 0;
  transition: width .25s,height .25s,opacity .2s;
}
.cursor span {
  font: 8px var(--mono);
  color: #111;
  opacity: 0;
  transition: opacity .2s;
}
.cursor.is-visible {
  opacity: 1;
}
.cursor.is-hover {
  width: 66px;
  height: 66px;
  mix-blend-mode: normal;
}
.cursor.is-hover:not(.cursor-view) {
  width: 28px;
  height: 28px;
  mix-blend-mode: normal;
}
.cursor.cursor-view {
  width: 66px;
  height: 66px;
  mix-blend-mode: normal;
}
.cursor.cursor-view span {
  opacity: 1;
}
/* responsive */
@media (max-width:1050px) {
  .section-shell {
    width: calc(100% - 48px);
  }
  .site-header {
    padding-inline: 24px;
  }
  .main-nav {
    gap: 20px;
    margin-left: 25px;
  }
  .hero-card {
    min-height: 640px;
    padding-inline: 30px;
  }
  .hero-copy {
    width: 68%;
  }
  .hero-portrait-wrap {
    right: 0;
    width: 39%;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    min-height: 320px;
  }
  .about-layout {
    gap: 5%;
  }
  .work-image {
    height: 300px;
  }
  .work-wide .work-image {
    height: 370px;
  }
}
@media (max-width:700px) {
  :root {
    --radius: 25px;
  }
  .section-shell {
    width: calc(100% - 32px);
  }
  .section-space {
    padding-top: 100px;
  }
  .site-header {
    height: 70px;
    padding-inline: 18px;
  }
  .brand-name {
    font-size: 10px;
  }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15,15,15,.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child {
    border: 0;
  }
  .header-cta {
    margin-left: auto;
    margin-right: 12px;
    font-size: 9px;
    padding: 10px 12px;
  }
  .header-cta span {
    margin-left: 6px;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 86px;
  }
  .hero-card {
    min-height: 720px;
    padding: 22px 20px 22px;
    border-radius: 28px;
  }
  .hero-topline {
    font-size: 7px;
  }
  .hero-main {
    min-height: 570px;
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
    padding-top: 75px;
  }
  .hero-eyebrow {
    font-size: 7px;
    margin-bottom: 25px;
  }
  .hero h1 {
    font-size: clamp(70px,17vw,116px);
    margin-bottom: 26px;
  }
  .hero-lead {
    font-size: 12px;
    max-width: 270px;
  }
  .round-link {
    font-size: 9px;
    padding-left: 13px;
    gap: 12px;
  }
  .round-link b {
    width: 31px;
    height: 31px;
  }
  .hero-portrait-wrap {
    width: 75%;
    height: 48%;
    right: -7%;
    bottom: -1%;
    opacity: .82;
  }
  .portrait-stamp {
    width: 58px;
    height: 58px;
    font-size: 13px;
    right: 5%;
    top: 17%;
  }
  .portrait-orbit {
    width: 90%;
    right: -5%;
  }
  .orbit-two {
    width: 110%;
    right: -12%;
  }
  .hero-bottom {
    display: block;
    font-size: 7px;
  }
  .hero-services {
    gap: 8px 14px;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .hero-services span {
    font-size: 7px;
  }
  .hero-scroll {
    display: none;
  }
  .marquee-section {
    padding: 34px 0 8px;
  }
  .marquee-content {
    font-size: 23px;
    gap: 22px;
    padding-right: 22px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading h2 {
    font-size: clamp(43px,11vw,68px);
  }
  .heading-note {
    margin-top: 19px;
    font-size: 11px;
    max-width: 310px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .work-card.work-wide {
    grid-column: auto;
  }
  .work-image,.work-wide .work-image {
    height: auto;
    aspect-ratio: 1.22/1;
    border-radius: 23px;
  }
  .work-card:nth-child(1) .work-image {
    aspect-ratio: 1.38/1;
  }
  .work-card:nth-child(5) .work-image {
    aspect-ratio: 1.3/1;
  }
  .work-meta {
    padding-top: 13px;
  }
  .work-meta strong {
    font-size: 15px;
  }
  .work-year {
    font-size: 6px;
  }
  .work-open {
    width: 38px;
    height: 38px;
    opacity: 1;
    transform: none;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-photo-frame {
    min-height: 380px;
    max-height: 440px;
  }
  .about-photo-frame img {
    height: 410px;
  }
  .about-copy {
    padding: 0;
  }
  .about-intro {
    font-size: 22px;
  }
  .about-secondary {
    font-size: 12px;
  }
  .about-mark {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .service-card {
    min-height: 300px;
    padding: 17px 15px;
    border-radius: 23px;
  }
  .service-card h3 {
    font-size: 24px;
  }
  .service-card p {
    font-size: 10px;
  }
  .service-tags {
    gap: 5px;
    margin-top: 18px;
  }
  .service-tags span {
    font-size: 7px;
    padding: 6px 7px;
  }
  .contact {
    padding-bottom: 75px;
  }
  .contact-card {
    min-height: 500px;
    padding: 24px 20px;
    border-radius: 28px;
  }
  .contact-top {
    display: block;
  }
  .contact-top>span {
    display: block;
    font-size: 7px;
    margin-top: 12px;
  }
  .contact h2 {
    font-size: clamp(58px,14vw,88px);
    margin: 115px 0 35px;
  }
  .email-cta {
    font-size: 10px;
    padding-left: 16px;
  }
  .email-cta b {
    width: 36px;
    height: 36px;
  }
  .contact-bottom {
    display: block;
    margin-top: 36px;
  }
  .contact-bottom>span {
    display: block;
    margin-top: 20px;
    font-size: 7px;
  }
  .site-footer {
    padding-block: 28px;
    min-height: unset;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-copy {
    grid-column: span 2;
    grid-row: 2;
    font-size: 6px;
  }
  .footer-links {
    justify-content: flex-end;
    gap: 12px;
  }
  .footer-links a {
    font-size: 8px;
  }
  .footer-brand {
    font-size: 9px;
  }
  .project-dialog-bar {
    height: 65px;
    padding-inline: 16px;
  }
  .project-dialog-scroll {
    height: calc(100% - 65px);
  }
  .project-content {
    width: calc(100% - 32px);
    padding: 55px 0 20px;
  }
  .project-title {
    font-size: clamp(46px,13vw,72px);
  }
  .project-description {
    font-size: 12px;
  }
  .project-meta {
    gap: 19px;
    margin-bottom: 28px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .project-gallery figure:first-child {
    grid-column: auto;
  }
  .project-gallery figure {
    border-radius: 18px;
  }
  .project-gallery img {
    aspect-ratio: 16/11;
    object-fit: cover;
  }
  .project-next-wrap {
    width: calc(100% - 32px);
    margin: 45px auto;
    padding-bottom: 30px;
  }
  .project-next-wrap>span {
    font-size: 7px;
  }
  .project-next {
    font-size: 22px;
  }
  .dialog-counter {
    font-size: 7px;
  }
  .dialog-brand {
    font-size: 9px;
  }
}
@media (max-width:390px) {
  .header-cta {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 260px;
  }
  .hero-card {
    min-height: 690px;
  }
  .hero-main {
    min-height: 540px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .noise {
    display: none;
  }
  .cursor {
    display: none;
  }
}
/* Special gallery composition for the three individual Sport Design pieces. */
.project-gallery.sport-gallery {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.project-gallery.sport-gallery figure:first-child {
  grid-column: auto;
}
.project-gallery.sport-gallery img {
  aspect-ratio: 5/6;
  object-fit: cover;
  background: #151515;
}
@media (max-width:700px) {
  .project-gallery.sport-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .project-gallery.sport-gallery figure:last-child {
    grid-column: span 2;
    width: calc(50% - 5px);
    justify-self: center;
  }
}
/* Project dialog: native, independently scrollable content on desktop and mobile. */
.project-dialog[open] {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
}

.project-dialog-bar {
  height: 76px;
  flex: 0 0 76px;
}

.project-dialog-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
}

@media (max-width: 700px) {
  .project-dialog-bar {
    height: 65px;
    flex-basis: 65px;
    padding-inline: 16px;
  }
}


/* Language selector — compact PT / EN switch, matching the existing header. */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  flex: 0 0 auto;
}
.language-option {
  min-width: 31px;
  height: 27px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: 8px var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.language-option:hover,
.language-option.is-active {
  color: #111;
  background: var(--text);
}
.dialog-brand-group,
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dialog-menu {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
  transition: color .2s,border-color .2s;
}
.dialog-menu:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.42);
}
.dialog-menu b {
  color: var(--orange);
  margin-left: 8px;
  font-weight: 400;
}
.language-switch--dialog {
  margin-right: 0;
}
.project-next-wrap {
  gap: 20px;
}
.project-previous {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: clamp(17px,2.5vw,25px);
  font-weight: 500;
  letter-spacing: -.045em;
  cursor: pointer;
  transition: color .2s;
}
.project-previous:hover {
  color: var(--text);
}
.project-previous b {
  color: var(--orange);
  font-size: .8em;
  margin-left: 7px;
  font-weight: 400;
}

/* Only Festas d'Aldeia uses natural image proportions; all other galleries keep their original layout. */
.project-gallery.festas-gallery {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 16px;
}
.project-gallery.festas-gallery figure:first-child {
  grid-column: 1 / -1;
}
.project-gallery.festas-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}
.project-gallery.festas-gallery figure {
  align-self: start;
}

@media (max-width:1050px) {
  .language-switch { margin-left: auto; }
  .header-cta { margin-left: 14px; }
}
@media (max-width:700px) {
  .site-header { gap: 9px; }
  .language-switch { margin-left: auto; }
  .header-cta { margin-left: 0; }
  .dialog-brand-group { gap: 9px; }
  .dialog-menu { padding: 7px 9px; font-size: 8px; }
  .project-dialog-bar { gap: 8px; }
  .dialog-actions { gap: 8px; }
  .language-switch--dialog { padding: 3px; }
  .language-switch--dialog .language-option { min-width: 27px; height: 25px; font-size: 7px; }
  .project-gallery.festas-gallery { grid-template-columns: 1fr; gap: 12px; }
  .project-gallery.festas-gallery figure:first-child { grid-column: auto; }
  .project-gallery.festas-gallery img { aspect-ratio: auto; object-fit: contain; }
  .project-next-wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 15px; }
  .project-next-wrap > span { grid-column: 1 / -1; grid-row: 1; }
  .project-previous { grid-column: 1; grid-row: 2; text-align: left; font-size: 16px; }
  .project-next { grid-column: 2; grid-row: 2; text-align: right; font-size: 18px; }
}
@media (max-width:390px) {
  .header-cta { display: none; }
  .language-switch { margin-left: auto; }
  .dialog-counter { display: none; }
  .dialog-brand-group { gap: 7px; }
}

@media (max-width:430px) {
  .header-cta { display: none; }
}
@media (max-width:390px) {
  .dialog-brand { font-size: 8px; }
  .dialog-brand-group { gap: 6px; }
  .dialog-menu { padding: 6px 7px; font-size: 7px; }
  .dialog-actions { gap: 6px; }
  .dialog-close { width: 38px; height: 38px; }
  .dialog-close span { left: 10px; top: 18px; }
  .language-switch--dialog .language-option { min-width: 24px; padding-inline: 5px; }
}
