@font-face {
  font-family: Orbitron;
  src: url('/assets/fonts/orbitron-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  font-family: system-ui, sans-serif;
  color: #f7f4ef;
  background: #101010;
  line-height: 1.55;
  --gold: #e1a34c;
  --paper: #faf8f3;
  --ink: #191714;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #c98736; outline-offset: 4px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.875rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
p + p { margin-top: .75rem; }

.shell { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.light { background: var(--paper); color: var(--ink); }
.lead { max-width: 36rem; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.eyebrow {
  margin-bottom: .7rem;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.light .eyebrow { color: #805014; }
.sub-headline {
    color: var(--gold);
    font-size: .85rem;
}
.skip-link {
  position: absolute;
  z-index: 3;
  top: .5rem;
  left: .5rem;
  padding: .5rem 1rem;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink);
}
.skip-link:focus { transform: none; }
.site-header { background: #101010; border-bottom: 1px solid #ffffff24; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 2rem;
  min-height: 4.25rem;
}
.brand, .footer-brand, .site-header nav a { text-decoration: none; }
.brand, .footer-brand { font-family: Orbitron, system-ui, sans-serif; font-weight: 500; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.6rem, 2.7vw, 1.8rem); }
.site-header nav a { display: flex; align-items: center; min-height: 2.75rem; font-size: .875rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--gold); }
.connect-page .site-header { color: var(--ink); background: var(--paper); }
.connect-page nav a:hover, .connect-page nav a[aria-current] { color: #805014; }

.hero-header { position: absolute; inset: 0 0 auto; z-index: 1; }
.hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 100dvh; background: #111; }
.hero-media, .hero-media::after, .hero-poster, .hero-video { position: absolute; inset: 0; }
.hero-media { overflow: hidden; }
.hero-poster, .hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  background: linear-gradient(90deg, #000d, #0004 65%, transparent), linear-gradient(0deg, #000d, transparent 65%);
}
.hero-loader[open] {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
}
.hero-loader::backdrop { background: transparent; }
body:has(.hero-loader[open]) { overflow: hidden; }
.hero-copy { position: relative; align-self: end; padding-block: 7rem clamp(1rem, min(5vw, 8dvh), 5rem); }
.hero-copy h1 { font-size: clamp(1.95rem, min(8.6vw, 12dvh), 5.25rem); letter-spacing: -.065em; }
.hero-copy h1 + p { margin-top: 1.15rem; font-size: clamp(1rem, 2vw, 1.28rem); }
.hero-scroll {
  position: relative;
  justify-self: center;
  width: clamp(2.75rem, 8dvh, 5rem);
  margin-block-end: max(clamp(1rem, 2.5dvh, 1.75rem), env(safe-area-inset-bottom));
}
@media (prefers-reduced-motion: no-preference) {
  :root:has(.hero-scroll) { scroll-behavior: smooth; }
}
.text-link { color: #70430d; font-weight: 720; text-underline-offset: .25em; }
.text-link:hover { color: var(--ink); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.split h1 + p { margin-top: 1rem; }
.reference-shell { width: min(100% - 2rem, clamp(45rem, 62.5vw, 75rem)); }
.reference-shell > h2 {
  margin-bottom: clamp(1.25rem, 2.6vw, 3.125rem);
  font-size: clamp(2.125rem, 4.5vw, 5.375rem);
  letter-spacing: -.025em;
}
.clients {
  background: linear-gradient(#ffffffe8, #ffffffee), url('/assets/images/malvar.webp') center 35% / cover no-repeat, #fff;
  color: #262523;
  font-family: Arial, sans-serif;
  padding-block: clamp(3rem, 5vw, 6rem);
}
.clients-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.client-details h3 + p { margin-top: .75rem; font-size: clamp(.9375rem, 1.02vw, 1.25rem); }
.client-feature { position: relative; display: block; }
.client-feature img, .catalog-card img { width: 100%; aspect-ratio: 25 / 16; object-fit: cover; object-position: center 30%; }
.client-feature span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #15100ec9;
  color: white;
}
.client-feature:hover span { background: #15100e; }
.about {
  --about-edge: clamp(0px, calc((100% - 56rem) / 2), 22%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(18rem, 27.7vw, 33.25rem);
  background: linear-gradient(90deg, #c6842e, #925f20 var(--about-edge), #925f20 calc(100% - var(--about-edge)), #c6842e);
  color: #fff;
  text-align: center;
  font-family: Arial, sans-serif;
}
.about::before, .about::after {
  content: '';
  position: absolute;
  z-index: -1;
  aspect-ratio: 56 / 58;
  background: #fff;
  opacity: .06;
  mask: url('/assets/images/logo.svg') center / contain no-repeat;
}
.about::before { top: 0; left: -22.65%; width: max(58.6%, 23rem); }
.about::after { bottom: -14%; left: 72.7%; width: max(51.1%, 20rem); }
.about h2 {
  font-size: clamp(2rem, 3.65vw, 4.375rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.about h2::after {
  content: '';
  display: block;
  width: clamp(6rem, 12.3vw, 14.75rem);
  height: 2px;
  margin: clamp(1.25rem, 2.6vw, 3.125rem) auto 0;
  background: currentColor;
}
.about p {
  max-width: 55rem;
  margin: clamp(1.25rem, 2.8vw, 3.375rem) auto 0;
  color: #fff4e4;
  font-size: clamp(1rem, 1.04vw, 1.25rem);
  text-wrap: pretty;
}
.film-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  color: #262523;
  font-family: Arial, sans-serif;
  padding-block: clamp(3rem, 5vw, 6rem);
}
.film-preview::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 5%;
  bottom: -100%;
  width: max(100%, 45rem);
  aspect-ratio: 56 / 58;
  background: #24211e;
  opacity: .025;
  mask: url('/assets/images/logo.svg') center / contain no-repeat;
}
.film-grid {
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(3, minmax(0, 1fr));
  gap: clamp(.375rem, 1vw, 1.125rem);
  aspect-ratio: 800 / 396;
}
.film-grid > * { position: relative; overflow: hidden; }
.film-cover { grid-row: span 2; }
.film-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-grid .film-crop-low img { object-position: center 78%; }
.film-grid a:hover img { filter: brightness(.86); }

.connect-hero {
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 45vw, 30rem);
  background: linear-gradient(#51290072, #51290098), url('/assets/images/connect-handshake.webp') center / cover, #915818;
  text-align: center;
}
.connect-hero .lead { margin: .9rem auto 0; }
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #181818;
  color: #f7f4ef;
  padding-block: clamp(2.75rem, 3.3vw, 4rem) clamp(3rem, 7.5vw, 9rem);
  font-family: Arial, sans-serif;
}
.site-footer::before, .site-footer::after {
  content: '';
  position: absolute;
  z-index: -1;
}
.site-footer::before {
  top: -50%;
  left: -18%;
  width: max(50%, 25rem);
  aspect-ratio: 56 / 58;
  background: #fff;
  opacity: .025;
  mask: url('/assets/images/logo.svg') center / contain no-repeat;
}
.site-footer::after {
  inset: 0 0 0 50%;
  background: linear-gradient(90deg, #181818, #181818df), url('/assets/images/solde_INTER_YOUTUBE_BANNER_2560-1440.png') center / cover;
}
.footer-info { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.footer-brand {
  --footer-logo-width: 248px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  max-width: 100%;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(2rem, 2vw, 4rem);
  text-align: center;
  letter-spacing: .06em;
  color: var(--gold);
}
.footer-brand > img { width: var(--footer-logo-width); }
.footer-connect { display: grid; gap: .4rem; font-style: normal; font-size: 1rem; }
.footer-connect a { display: flex; align-items: center; gap: .55rem; text-decoration: none; overflow-wrap: anywhere;}
.footer-connect a:hover { text-decoration: underline; }
.footer-connect svg { flex: 0 0 1em; width: 1em; height: 1em; }
.footer-social { display: flex; gap: .4rem; align-items: center; margin-top: auto; padding-top: 1.25rem; }
.footer-social a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; color: #8e8881; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 1.5rem; height: 1.5rem; }
.footer-copyright { margin-top: 1rem; font-size: .875rem; text-align: center; opacity: .5; }

.gallery { background: #171615; }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; margin-top: 1.5rem; align-items: start; }
.gallery-feature { position: relative; display: grid; align-items: end; min-height: 24rem; isolation: isolate; }
.gallery-feature img, .gallery-feature::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-feature img { z-index: -2; object-fit: cover; object-position: center 43%; }
.gallery-feature::before { content: ''; z-index: -1; background: linear-gradient(0deg, #000e, transparent 65%); }
.gallery-feature > div { padding: clamp(1rem, 4vw, 2rem); }
.gallery-feature h2 { font-size: clamp(1.75rem, 3.8vw, 3.5rem); }
.catalog { background: #24211e; padding: 1rem; }
.catalog-item { display: grid; grid-template-columns: clamp(5rem, 11vw, 10rem) minmax(0, 1fr); gap: .85rem; align-items: center; background: #171615; }
.catalog-item + .catalog-item { margin-top: .65rem; }
.catalog-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.catalog-item > div { padding: .5rem .45rem .5rem 0; }
.catalog-item .eyebrow { margin-bottom: .35rem; }
.catalog-item h2 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
.catalog-item h2 + p { margin-top: .3rem; font-size: .88rem; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.catalog-card { background: #24211e; text-decoration: none; }
.catalog-card > div { padding: 1rem; }
.catalog-card h2 { font-size: 1.6rem; }
.catalog-card h2 + p { margin-top: .75rem; }
.catalog-card:hover h2 { text-decoration: underline; }
.gallery :target { outline: 2px solid var(--gold); outline-offset: 2px; scroll-margin-top: 1rem; }

.back-link { display: inline-block; margin-bottom: 1.5rem; }
.project h1 { font-size: clamp(1.92rem, 4.4vw, 3.8rem); }
.project img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 37%; }
.project-date { color: #70430d; }

@media (max-width: 42rem) {
  .header-inner { padding-block: .25rem; }
  .header-inner nav { width: 100%; }
  .split, .gallery-layout { grid-template-columns: minmax(0, 1fr); }
  .clients-layout { grid-template-columns: minmax(0, 1fr); }
  .film-preview::before { left: -35%; }
  .gallery-feature { min-height: 18rem; }
  .site-footer::after { inset: 0; background-image: linear-gradient(#181818e8, #181818e8), url('/assets/images/solde_INTER_YOUTUBE_BANNER_2560-1440.png'); }
}
