@font-face {
  font-family: Archivo;
  src: url("assets/archivo.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Anonymous Pro";
  src: url("assets/anonymous-pro.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #16161d;
  --panel: #201e25;
  --paper: #eee7e1;
  --muted: #c0b6ad;
  --accent: #ff3eb5;
  --accent-deep: #981754;
  --accent-light: #f7d3e7;
  --yellow: #f8e08e;
  --line: #413943;
  --mono: "Anonymous Pro", monospace;
  --gutter: clamp(1.25rem, 5.5vw, 5.25rem);
  --measure: 91rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.55 Archivo, Arial, sans-serif;
}

body, button { -webkit-font-smoothing: antialiased; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: #ff3eb540; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

h1, h2, h3, p, dl, dd { margin: 0; }

.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(4rem, 8vw, 8rem); }
.eyebrow { font: 400 .875rem/1.35 var(--mono); text-transform: uppercase; letter-spacing: .085em; }

.skip-link {
  z-index: 10;
  position: absolute;
  inset: .75rem auto auto .75rem;
  padding: .65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
}

.brand { width: clamp(8rem, 13vw, 11.25rem); display: inline-flex; align-items: center; }
.brand img { width: 100%; height: auto; }
.primary-nav, .socials { display: flex; align-items: center; gap: clamp(1rem, 3.5vw, 2.75rem); }
.primary-nav a, .socials a { text-decoration: none; font-size: .9375rem; font-weight: 550; padding-block: .4rem; }
.primary-nav a:hover, .socials a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

.header-contact {
  justify-self: end;
  padding: .55rem 1.05rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 650;
}
.header-contact:hover { background: var(--accent); color: var(--ink); }

.hero { position: relative; isolation: isolate; display: grid; align-content: end; min-height: min(45rem, 79svh); overflow: hidden; background: #211915; }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 83%; height: 100%; object-fit: cover; object-position: 58% 49%; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #16161df2 0%, #16161dd1 26%, #16161d70 62%, #16161d1c 100%),
              linear-gradient(0deg, #16161d 0%, #16161d00 44%);
}
.hero-content { padding-block: clamp(4.5rem, 9vw, 8.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-location { color: var(--yellow); margin-bottom: 1.6rem; }
.hero-location span { margin-inline: .25em; color: var(--paper); }
.hero h1 { font-size: clamp(3.5rem, 8vw, 8.25rem); line-height: .94; font-weight: 855; letter-spacing: -.077em; max-width: 15ch; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-intro { color: var(--paper); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 35rem; margin-top: 1.6rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: 1.75rem; }

.button {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding: .58rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 710;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--paper); }
.button-ghost { border-color: #eee7e1a0; background: #16161d52; }
.button-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.05rem 1.2rem;
  color: var(--muted);
  border-top: 1px solid #eee7e142;
  font: .8125rem/1.35 var(--mono);
}

.hero-caption a { text-underline-offset: .2em; }
.hero-caption a:hover { color: var(--yellow); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-head > p { max-width: 23rem; color: var(--muted); }
.section-head .eyebrow, .services-heading .eyebrow, .about .eyebrow { margin-bottom: .8rem; }
.work .eyebrow, .about .eyebrow, .about h2 span, .work h2 span { color: var(--accent); }

h2 {
  font-size: clamp(2.5rem, 6.1vw, 5.75rem);
  line-height: .97;
  font-weight: 840;
  letter-spacing: -.065em;
}

.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 1.6rem; }
.filters button {
  border: 1px solid #756b61;
  background: transparent;
  color: var(--paper);
  padding: .35rem .85rem;
  min-height: 2.75rem;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 550;
}
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 720; }

.project-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.project-card { grid-column: span 2; border: 1px solid var(--line); background: var(--panel); }
.project-card.feature { grid-column: span 3; }
.project-image { overflow: hidden; aspect-ratio: 16 / 10; background: #2c231d; }
.feature .project-image { aspect-ratio: 16 / 9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.medo img { object-position: 50% 56%; }
.bila img { object-position: 50% 54%; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-body { padding: clamp(1.05rem, 2.25vw, 1.75rem); }
.project-body .eyebrow { font-size: .825rem; }
.project-body h3 { margin-top: .5rem; font-size: clamp(1.45rem, 2.5vw, 2.45rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 785; }
.feature h3 { font-size: clamp(1.85rem, 3.65vw, 3.45rem); }
.project-body > p:not(.eyebrow) { margin-top: .6rem; color: var(--muted); }

.text-link { display: inline-block; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }
.project-body .text-link { font-size: .9375rem; color: var(--accent); margin-top: .8rem; }
.work-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.work-footer .text-link { color: var(--accent); }

.services { color-scheme: light; background: var(--paper); color: var(--ink); }
.services-layout, .about-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); }
.services-heading > p:last-child { max-width: 26rem; margin-top: 1rem; color: #47403b; }
.services h2 span { color: var(--accent-deep); }
.services-list { border-top: 1px solid #9a8f85; }
.services-list > div { display: grid; gap: .3rem; border-bottom: 1px solid #9a8f85; padding-block: .9rem 1rem; }
.services-list dt { font-size: clamp(1.25rem, 2.1vw, 1.65rem); letter-spacing: -.035em; line-height: 1.15; font-weight: 770; }
.services-list dd { color: #47403b; }
.services-list dd + dd { margin-top: .35rem; }
.editais-card {
  margin-top: 1.6rem;
  border-left: .3rem solid var(--accent);
  padding: clamp(1.2rem, 2.8vw, 2rem);
  background: var(--accent-light);
}
.editais-card h3 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); line-height: 1.06; letter-spacing: -.04em; }
.editais-card p { margin-top: .75rem; max-width: 40rem; }
.editais-card .text-link { margin-top: .85rem; color: var(--accent-deep); }
.project-body .media-credit { font: .8125rem/1.35 var(--mono); }

.about-layout { align-items: end; }
.about-copy { color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); max-width: 38rem; }
.about-copy p + p { margin-top: .8rem; }
.about-copy .text-link { margin-top: 1rem; color: var(--accent); font-size: 1rem; }

.contact { padding-block: clamp(3.5rem, 6vw, 6rem); background: var(--accent); color: var(--ink); color-scheme: light; }
.contact-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; }
.contact .eyebrow { margin-bottom: .8rem; }
.contact h2 + p { margin-top: 1rem; font-size: 1.125rem; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #423a2c; }
.contact-actions .text-link { overflow-wrap: anywhere; }
.contact-mark { width: min(100%, 20rem); height: auto; justify-self: end; }

.site-footer { padding-block: 2rem; color: var(--muted); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-layout p { font: .875rem/1.35 var(--mono); }
.footer-layout .brand { width: 8rem; }
.socials { gap: 1.15rem; }

.videos-heading {
  padding-block: clamp(3rem, 7vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
.videos-heading .eyebrow, .videos-heading h1 span { color: var(--accent); }
.videos-heading h1 {
  font-size: clamp(3.5rem, 10vw, 8.75rem);
  line-height: .94;
  font-weight: 855;
  letter-spacing: -.075em;
  margin-block: .5rem 1.1rem;
}
.videos-heading .section-head { margin-block: 0; align-items: end; }
.video-intro { color: var(--muted); max-width: 32rem; font-size: 1.125rem; }
.videos-heading .button { flex: none; }

.video-section { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
}
.video-feature .project-body { padding-inline: clamp(1.15rem, 3vw, 2.75rem); }
.video-feature .project-body h2 { font-size: clamp(2rem, 4.25vw, 4rem); margin-block: .5rem .8rem; }
.video-feature .eyebrow, .video-section .section-head .eyebrow { color: var(--accent); }

.video-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #2c231d;
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.video-cover:hover img { transform: scale(1.035); }
.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #16161d62, transparent 75%);
}
.video-cover:focus-visible { z-index: 1; outline-offset: -4px; outline-color: var(--paper); }
.play-icon {
  z-index: 1;
  position: absolute;
  inset: auto auto .85rem .85rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  color: var(--ink);
}
.play-icon::before {
  content: "";
  margin-left: .16rem;
  border-block: .42rem solid transparent;
  border-left: .64rem solid currentColor;
}
.video-cover:hover .play-icon { background: var(--paper); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.video-grid .project-card { grid-column: auto; }
.video-grid .project-body h3 { font-size: clamp(1.3rem, 2.3vw, 2.1rem); }
.video-grid .project-body .text-link { font-size: .9rem; }

.playlist-section { background: var(--paper); color: var(--ink); color-scheme: light; }
.playlist-section .section-head .eyebrow { color: #53483e; }
.playlist-section .section-head > p { color: #47403b; }
.playlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.playlist-grid a {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  background: var(--accent-light);
  border-top: 2px solid var(--accent-deep);
  padding: 1.2rem;
  text-decoration: none;
}
.playlist-grid a:hover .playlist-title { text-decoration: underline; text-underline-offset: .18em; }
.playlist-title { font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 770; letter-spacing: -.035em; }
.playlist-grid a .eyebrow { color: #53483e; }

.videos-page .site-footer { border-top: 1px solid var(--line); }

.player-dialog {
  width: min(56rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--paper);
}
.player-dialog::backdrop { background: #0d0c0be6; }
.player-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .8rem .65rem 1rem; }
.player-header h2 { font-size: clamp(1.1rem, 3vw, 1.6rem); line-height: 1.15; letter-spacing: -.035em; }
.player-close { min-height: 2.75rem; padding-inline: .75rem; background: var(--accent); color: var(--ink); border: 0; font-weight: 700; cursor: pointer; }
.player-close:hover { background: var(--paper); }
.player-frame { background: #000; }
.player-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; }
.player-footer { padding: .65rem 1rem .8rem; }

@media (max-width: 58rem) {
  .hero { min-height: 39rem; }
  .hero h1 { font-size: clamp(3.5rem, 10.5vw, 6.5rem); }
  .hero::before { background: linear-gradient(90deg, #16161df2, #16161db0 48%, #16161d51), linear-gradient(0deg, #16161d, #16161d00 58%); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card, .project-card.feature { grid-column: auto; }
  .feature .project-image { aspect-ratio: 16 / 10; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .header-inner { grid-template-columns: 1fr 1fr; gap: .1rem .75rem; padding-block: .8rem .5rem; }
  .primary-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: 0 clamp(.65rem, 3vw, 1.3rem); }
  .primary-nav a { white-space: nowrap; }
  .header-contact { grid-row: 1; grid-column: 2; }
  .header-inner .brand { width: 8.75rem; }
  .hero { min-height: 36rem; }
  .hero-content { padding-block: 5rem 2rem; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 4.7rem); max-width: none; }
  .hero-image { width: 100%; object-position: 65% 30%; }
  .hero::before { background: linear-gradient(0deg, #16161d 1%, #16161da8 57%, #16161d40 100%), linear-gradient(90deg, #16161d87, transparent 80%); }
  .hero-caption { flex-wrap: wrap; }
  .section-head { display: block; }
  .section-head > p { margin-top: .85rem; }
  .services-layout, .about-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-mark { display: none; }
  .footer-layout { flex-wrap: wrap; }
  .videos-heading .button { margin-top: 1.2rem; }
  .video-feature, .playlist-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 32rem) {
  .project-grid, .video-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

