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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-ThinItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-ExtraLightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 200;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

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

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

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-SemiBoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-BoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-ExtraBoldItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

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

@font-face {
  font-family: "Metropolis";
  src: url("./assets/fonts/Metropolis-BlackItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f8f8f8;
  --ink: #111111;
  --muted: #595959;
  --line: rgba(17, 17, 17, 0.14);
  --line-soft: rgba(17, 17, 17, 0.08);
  --hero-band: #060606;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1220px;
  --timing: 260ms cubic-bezier(0.22, 0.7, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Metropolis", sans-serif;
  line-height: 1.55;
}

main {
  background: #000000;
  color: #ffffff;
}

.shell {
  width: min(100% - 2.4rem, var(--max-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-socials {
  position: absolute;
  top: clamp(0.8rem, 2vw, 1.4rem);
  right: clamp(0.8rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 12;
}

.hero-insta {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  z-index: 12;
  transition: transform var(--timing), opacity var(--timing), background var(--timing), color var(--timing);
}

.hero-insta:hover,
.hero-insta:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
  color: #111111;
}

.hero-insta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.hero-insta--whatsapp svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2.4vw, 2.8rem);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(0.8rem, 3vw, 2.4rem);
  padding-block: clamp(2rem, 7vw, 5.8rem);
}

.hero-logo {
  flex: 0 1 clamp(300px, 42vw, 620px);
  width: clamp(300px, 42vw, 620px);
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
}

.hero-creating {
  flex: 0 1 clamp(280px, 44vw, 640px);
  width: clamp(280px, 44vw, 640px);
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.hero-creating img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
}

.hero-bottom {
  padding-bottom: clamp(1rem, 2.2vw, 1.5rem);
}

.hero-claim {
  margin: 0 0 0.7rem;
  font-family: "Metropolis", sans-serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.8vw, 3.05rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.client-marquee {
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: var(--hero-band);
  overflow: hidden;
  width: 100%;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  margin-inline: 0;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee-right var(--marquee-duration, 56s) linear infinite;
}

.marquee-group {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
  padding: 0;
}

.client-logo {
  display: block;
  flex: none;
  width: auto;
  height: clamp(48px, 4.4vw, 70px);
  max-width: 520px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.client-logo--xl {
  height: clamp(80px, 7vw, 116px);
  max-width: 720px;
}

.marquee-empty {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.8rem;
  background: #0a0a0a;
}

.marquee-empty[hidden] {
  display: none !important;
}

.team {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.shell.team {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.team-head {
  margin-bottom: clamp(1rem, 2.2vw, 1.8rem);
  padding-inline: clamp(0.7rem, 2.2vw, 1.6rem);
}

.team-kicker {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.team-head h2 {
  margin: 0.45rem 0 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.team-strip {
  display: flex;
  gap: clamp(0.45rem, 0.9vw, 0.9rem);
  min-height: clamp(420px, 75vh, 780px);
  contain: layout paint;
}

.team-card {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 86px;
  display: flex;
  align-items: stretch;
  border: 1px solid #121212;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d0d;
  color: #f5f5f5;
  transition: flex-grow 320ms var(--timing), border-color 220ms var(--timing), transform var(--timing);
}

.team-photo {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  background: #141414;
  contain: paint;
}

.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
}

.team-photo-placeholder-text {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.team-insta {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.56);
  color: #ffffff;
  text-decoration: none;
  z-index: 3;
  transition: transform var(--timing), background var(--timing), border-color var(--timing);
}

.team-insta:hover,
.team-insta:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.team-insta svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.team-photo .media-fallback {
  background: linear-gradient(145deg, #151515, #050505);
  color: #f5f5f5;
}

.team-photo .media-fallback code {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.team-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33.333%;
  min-height: 118px;
  opacity: 0;
  overflow: auto;
  padding: 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.85) 35%, rgba(5, 5, 5, 0.96) 100%);
  transform: translateY(100%);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, transform 320ms var(--timing);
}

.team-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.82);
  white-space: normal;
}

.team-copy .team-name {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.team-copy .team-role {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.team-copy .team-description {
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.84);
}

.team-card--richard {
  border-color: rgba(17, 17, 17, 0.14);
  background: #ffffff;
}

.team-card--richard .team-photo {
  background: #ffffff;
}

.team-card--richard .team-photo img {
  transform: translateY(-3%) scale(2);
  transform-origin: 50% 14%;
}

.team-card--aldo .team-photo img {
  object-position: 50% 42%;
}

.team-card--ian .team-photo img {
  transform: translateY(3%) scale(2);
  transform-origin: 50% 10%;
}

.team-card:hover,
.team-card:focus-within {
  flex-grow: 2.15;
  border-color: rgba(255, 255, 255, 0.22);
}

.team-card:hover .team-copy,
.team-card:focus-within .team-copy {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.projects {
  width: 100%;
  margin: 0;
  padding: 0;
}

.project-screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
}

.project-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  background: #0a0a0a;
}

.project-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-media--triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.triple-video-cell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.project-media--triple video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-audio-toggle-individual {
  left: clamp(0.7rem, 1.1vw, 1.15rem);
  top: clamp(0.7rem, 1.1vw, 1.15rem);
  z-index: 8;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
  padding: 0;
}

.project-copy {
  width: 30%;
  min-width: 30%;
  max-width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  justify-content: flex-start;
  padding: clamp(1rem, 2vw, 2rem) clamp(0.9rem, 1.6vw, 1.4rem);
  border-left: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  opacity: 0;
  transform: translateX(38px);
  transition: opacity 280ms ease, transform 320ms var(--timing);
}

.project-screen:hover .project-copy,
.project-screen:focus-within .project-copy {
  opacity: 1;
  transform: translateX(0);
}

.project-audio-toggle {
  position: absolute;
  left: clamp(0.8rem, 2.3vw, 2rem);
  top: clamp(0.8rem, 2.3vw, 2rem);
  z-index: 7;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--timing), background var(--timing), border-color var(--timing);
}

.project-audio-toggle:hover,
.project-audio-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: #111111;
}

.project-audio-toggle .audio-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-audio-toggle .audio-icon--on {
  display: none;
}

.project-audio-toggle.is-on .audio-icon--off {
  display: none;
}

.project-audio-toggle.is-on .audio-icon--on {
  display: block;
}

.project-index {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.project-copy h2 {
  margin: 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.25vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.project-copy p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.media-slot {
  position: relative;
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(140deg, #eeeeee, #ffffff);
  color: #181818;
  font-size: 0.9rem;
}

.media-fallback code {
  color: #111111;
}

.media-slot.is-empty .media-fallback {
  display: grid;
}

.media-slot.is-empty img,
.media-slot.is-empty video {
  visibility: hidden;
}

code {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.1rem 0.34rem;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.9em;
}

.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 1.2rem 1.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 1000px) {
  .team-strip {
    overflow-x: auto;
    padding-bottom: 0.35rem;
    min-height: 72vh;
    scrollbar-width: thin;
  }

  .team-card {
    flex: 0 0 min(70vw, 360px);
    min-width: 280px;
  }

  .team-card:hover,
  .team-card:focus-within {
    flex: 0 0 min(70vw, 360px);
    border-color: #121212;
  }

  .team-copy {
    position: static;
    width: clamp(150px, 25vw, 220px);
    opacity: 1;
    padding: 1.1rem 0.95rem;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    background: #0b0b0b;
  }

  .team-card:hover .team-copy,
  .team-card:focus-within .team-copy {
    width: clamp(150px, 25vw, 220px);
    padding: 1.1rem 0.95rem;
    transform: none;
  }

  .project-overlay {
    position: static;
    inset: auto;
    align-items: stretch;
    justify-content: stretch;
    display: block;
  }

  .project-copy {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
    padding: 1rem 1rem 1.2rem;
    opacity: 1;
    transform: none;
    background: #050505;
    backdrop-filter: none;
    box-shadow: none;
  }

  .project-screen {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .project-media {
    min-height: 62svh;
    height: 62svh;
  }

  .project-audio-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 740px) {
  .shell {
    width: min(100% - 1.3rem, var(--max-width));
  }

  .shell.team {
    width: 100%;
  }

  .hero-socials {
    top: 0.55rem;
    right: 0.65rem;
    gap: 0.4rem;
  }

  .hero-insta {
    width: 40px;
    height: 40px;
  }

  .hero-main {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding-inline: 0.65rem;
  }

  .hero-logo {
    width: min(92vw, 520px);
  }

  .hero-creating {
    width: min(94vw, 560px);
    align-self: flex-end;
  }

  .team {
    min-height: 100svh;
    padding-top: 1.5rem;
  }

  .team-strip {
    gap: 0.55rem;
  }

  .team-card {
    flex: 0 0 86vw;
    min-width: 86vw;
    min-height: 330px;
  }

  .team-card:hover,
  .team-card:focus-within {
    flex: 0 0 86vw;
    border-color: #121212;
  }

  .team-photo {
    min-width: 44%;
  }

  .team-insta {
    top: 0.45rem;
    left: 0.45rem;
    width: 20px;
    height: 20px;
  }

  .team-copy,
  .team-card:hover .team-copy,
  .team-card:focus-within .team-copy {
    position: static;
    width: 56%;
    padding: 1rem 0.85rem;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    background: #0b0b0b;
  }

  .project-overlay {
    position: static;
    inset: auto;
    align-items: stretch;
    justify-content: stretch;
    display: block;
  }

  .project-copy {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0.95rem 0.9rem 1.15rem;
    gap: 0.75rem;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
    backdrop-filter: none;
    box-shadow: none;
  }

  .project-copy h2 {
    font-size: clamp(1.35rem, 6.4vw, 2.2rem);
  }

  .project-copy p {
    font-size: 0.94rem;
  }

  .project-audio-toggle {
    left: 0.65rem;
    top: 0.65rem;
    width: 40px;
    height: 40px;
  }

  .project-screen {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .project-media {
    min-height: 56svh;
    height: 56svh;
  }

  .marquee-group {
    gap: 2.1rem;
  }

  .client-marquee {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
  }

  .client-logo {
    height: 40px;
    max-width: 280px;
  }

  .client-logo--xl {
    height: 64px;
    max-width: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
