@font-face{font-family:"Videastas Helvetica";src:local("Helvetica Neue"),local("HelveticaNeue"),local("HelveticaNeueLTStd-Roman");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Videastas Helvetica";src:local("Helvetica Neue Light"),local("HelveticaNeue-Light"),local("HelveticaNeueLTStd-Lt");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"Videastas Helvetica";src:local("Helvetica Neue Thin"),local("HelveticaNeue-Thin"),local("HelveticaNeueLTStd-Th");font-style:normal;font-weight:100;font-display:swap}
@font-face{font-family:"Videastas Helvetica";src:local("Helvetica Neue Bold"),local("HelveticaNeue-Bold"),local("HelveticaNeueLTStd-Bd");font-style:normal;font-weight:700;font-display:swap}

:root {
  --paper: #f9f6ef;
  --ink: #000000;
  --light: #f1eee5;
  --muted: #bdbdbd;
  --rule: rgba(241, 238, 229, .22);
  --page-gutter: clamp(24px, 4.2vw, 84px);
  font-family: "Videastas Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
@media (forced-colors: none) {
  ::selection {
    background-color: var(--selection-bg, var(--ink));
    color: var(--selection-text, var(--light));
  }

  :where(.showcase, .cinema-dialog, .case-page-shell, .project-dialog, .phase-list,
         .about-contact, .header-contact, .projects-contact > a,
         .contact-submit, .contact-success-close) {
    --selection-bg: Highlight;
    --selection-text: HighlightText;
  }

  :where(.contact-dialog, .about-contact .about-contact-button,
         .play-invitation, .project-play > span) {
    --selection-bg: var(--ink);
    --selection-text: var(--light);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(116px + env(safe-area-inset-top)); }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; outline-offset: 6px; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 2px solid currentColor; }
[hidden] { display: none !important; }
svg { display: block; flex-shrink: 0; }
.arrow-icon { width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-180%); padding: 14px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; min-height: calc(92px + env(safe-area-inset-top)); padding: 20px var(--page-gutter); padding-top: calc(20px + env(safe-area-inset-top)); padding-left: max(var(--page-gutter), env(safe-area-inset-left)); padding-right: max(var(--page-gutter), env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); }
.brand { display: flex; width: clamp(190px, 18vw, 256px); min-width: 0; padding: 6px 0; }
.brand img { display: block; width: 100%; height: auto; }
.header-contact { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; line-height: 1.2; white-space: nowrap; flex-shrink: 0; }
.header-contact:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.header-navigation { display: flex; align-items: center; gap: clamp(24px,3.2vw,56px); flex-shrink: 0; }
.header-about { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; border-bottom: 1px solid transparent; }
.header-about:hover, .header-about[aria-current="page"] { border-bottom-color: currentColor; }
.site-menu { display: none; }
.site-menu summary { width: 44px; height: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary svg { width: 22px; height: 22px; }
.site-menu summary:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.site-menu-links { position: absolute; top: calc(100% - 1px); right: var(--page-gutter); min-width: 220px; padding: 12px 20px; background: var(--paper); border: 1px solid rgba(0,0,0,.18); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.site-menu-links a { min-height: 48px; display: flex; align-items: center; font-size: 15px; }
.site-menu-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.header-contact .arrow-icon { transition: transform .2s ease; }
.header-contact:hover .arrow-icon { transform: translate(2px, -2px); }
.showcase { position: relative; isolation: isolate; color: var(--light); background: #000000; display: grid; grid-template-columns: minmax(max-content,1fr) minmax(0,auto) minmax(210px,1fr); gap: clamp(28px,4vw,80px); align-items: center; min-height: calc(100svh - 146px); padding: 24px var(--page-gutter); }
.showcase > *, .showcase-copy > * { min-width: 0; }
.showcase-copy { display: contents; }
.campaign-backdrop {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  --ipsy-still: url("/assets/campaign-backdrops/ipsy-inmortales.webp?v=lente-2");
  --pinterest-still: url("/assets/campaign-backdrops/pinterest-effies.webp?v=lente-2");
  --plush-still: url("/assets/campaign-backdrops/plush-hotel.webp?v=lente-2");
  --arantza-still: url("/assets/campaign-backdrops/arantza.webp?v=lente-2");
  background: #000 var(--ipsy-still) 50% 45% / cover no-repeat;
  opacity: .38;
}
.campaign-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .48), rgb(0 0 0 / .18) 44% 56%, rgb(0 0 0 / .48)),
              linear-gradient(0deg, rgb(0 0 0 / .36), transparent 27% 85%, rgb(0 0 0 / .22));
}
.campaign-motion { display: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  .campaign-backdrop-frame {
    position: absolute; inset: 0; opacity: 0;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    animation: campaign-frame 32s ease-in-out infinite;
  }
  .campaign-backdrop-pinterest { background-image: var(--pinterest-still); animation-delay: 6.4s; }
  .campaign-backdrop-plush { background-image: var(--plush-still); animation-delay: 14.4s; }
  .campaign-backdrop-arantza { background-image: var(--arantza-still); animation-name: campaign-last-frame; animation-delay: 22.4s; }
  /* Each incoming frame covers the previous one before that layer clears. */
  @keyframes campaign-frame {
    0%, 31%, 100% { opacity: 0; }
    5%, 30% { opacity: 1; }
  }
  @keyframes campaign-last-frame {
    0%, 30%, 100% { opacity: 0; }
    5%, 25% { opacity: 1; }
  }
  .showcase:has(.campaign-motion input:checked) .campaign-backdrop-frame { animation-play-state: paused; }
  .campaign-motion {
    position: absolute; bottom: 8px; right: var(--page-gutter); z-index: 1;
    display: grid; place-items: center; width: 44px; height: 44px;
  }
  .campaign-motion input {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: pointer;
  }
  .campaign-motion svg {
    padding: 5px; pointer-events: none; color: var(--light);
    border: 1px solid rgb(241 238 229 / .45); border-radius: 50%; background: rgb(0 0 0 / .55);
  }
  .campaign-motion:hover svg { border-color: currentColor; }
  .campaign-motion input:focus-visible + svg { outline: 2px solid currentColor; outline-offset: 3px; }
  .campaign-resume-icon, .campaign-motion input:checked + svg .campaign-pause-icon { display: none; }
  .campaign-motion input:checked + svg .campaign-resume-icon { display: block; }
}

.reel-intro, .showcase-copy > .contact {
  container-type: inline-size;
  align-self: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(18px, 1.65vw, 32px);
}
.reel-intro { grid-column: 1; grid-row: 1; }
.reel-eyebrow { margin: 0; color: #e7e4da; font-size: clamp(11px, .86vw, 16px); letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.reel-headline {
  margin: clamp(18px, 1.55vw, 30px) 0;
  font-size: clamp(34px, min(4.6vw, 17.5cqi), 88px);
  font-weight: 700; line-height: 1.02; letter-spacing: -.055em;
}
.reel-headline span { display: block; white-space: nowrap; }
.reel-description, .contact-intro {
  margin: 0; max-width: 30ch; color: var(--light);
  font-family: "Videastas Helvetica", "Videastas Credit Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 29px); font-weight: 100; line-height: 1.42;
  letter-spacing: -.015em; text-wrap: balance;
}
.reel-shortcuts, .reel-contact-actions { margin-top: clamp(20px, 1.8vw, 32px); }
.showcase-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 44px; padding: .625rem .9375rem; border: 1px solid currentColor;
  background: rgb(0 0 0 / .35); color: var(--paper); font-size: .9375rem; line-height: 1.2;
}
.showcase-button:hover, .showcase-button:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.showcase-button:focus-visible { outline-color: var(--paper); }
.reel-shortcuts span { font-size: 1.2em; line-height: 1; }
h1 { margin: 0; font-size: clamp(26px,2.4vw,34px); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
.reel { grid-column: 2; grid-row: 1; width: clamp(330px,calc((100svh - 190px)*.5625),560px); max-width: 100%; margin: 0; }
.reel-window { aspect-ratio: 9/16; width: 100%; background: #000000; }
.video-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000000; color: var(--light); }
video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000000; }
video:fullscreen { width: 100%; height: 100%; object-fit: contain; background: #000000; }
video:-webkit-full-screen { width: 100%; height: 100%; object-fit: contain; background: #000000; }
.reel-play { position: absolute; inset: 0; width: 100%; padding: 30% 0 0; display: grid; place-items: center; border: 0; background: #000000 url('/assets/showreel-poster-2s.webp') center / contain no-repeat; }
.play-invitation { display: inline-flex; align-items: center; gap: 14px; padding: 19px 27px; color: #000000; background: rgba(249,246,239,.97); border-radius: 999px; box-shadow: 0 4px 24px rgba(0,0,0,.12); font-size: 15px; letter-spacing: -.01em; transition: transform .2s ease, background .2s ease; }
.play-invitation svg { width: 18px; height: 18px; }
.reel-play:hover .play-invitation { transform: scale(1.035); background: var(--paper); }
.reel-play:focus-visible { outline: 2px solid var(--paper); outline-offset: -8px; }
.reel-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 16px; background: rgba(0,0,0,.86); font-size: 13px; pointer-events: none; }
.loading-mark { width: 13px; height: 13px; border: 1px solid rgba(241,238,229,.3); border-top-color: var(--light); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reel-error { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: rgba(0,0,0,.94); line-height: 1.5; }
.reel-error p { margin: 0 0 24px; font-size: 18px; max-width: 30ch; }
.reel-error button, .reel-error a { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font-size: 14px; }
.reel-error button { margin-bottom: 8px; }
.contact { grid-column: 3; grid-row: 1; width: 100%; max-width: 475px; justify-self: end; }
.contact h2 { margin: 0 0 clamp(16px, 1.4vw, 28px); font-size: clamp(32px, min(3.6vw, 16cqi), 70px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.reel-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.showcase-button .arrow-icon { width: 1rem; height: 1rem; }
.site-footer { min-height: 54px; padding: 18px var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .07em; }
.footer-privacy { font-size: 11px; font-weight: 300; letter-spacing: 0; text-decoration: underline; text-underline-offset: 4px; }
.footer-privacy:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.footer-separator { margin: 0 10px; opacity: .5; }
.no-scroll { overflow: hidden; }
.cinema-dialog { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; color: var(--light); border: 0; background: #000000; }
.cinema-dialog::backdrop { background: #000000; }
.cinema-top { min-height: 72px; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 11px; letter-spacing: .04em; }
.cinema-top button { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; }
.cinema-top button svg { width: 24px; height: 24px; }
.cinema-stage { height: calc(100% - 72px); width: 100%; padding: 0 20px 20px; display: flex; align-items: center; justify-content: center; }
.cinema-stage .video-frame { width: min(100%,calc((100dvh - 92px)*.5625)); height: 100%; max-height: calc((100vw - 40px)*16/9); }
@media (max-width: 1100px) {
  :root { --page-gutter: 28px; }
}
@media (max-width: 620px) {
  :root { --page-gutter: 20px; }
  html { scroll-padding-top: calc(102px + env(safe-area-inset-top)); }
  .site-header { min-height: calc(84px + env(safe-area-inset-top)); padding-top: calc(17px + env(safe-area-inset-top)); padding-bottom: 17px; gap: 16px; }
  .brand { width: clamp(148px,46vw,190px); }
  .header-contact { gap: 8px; padding: 9px 12px; font-size: 13px; }
  .header-contact .arrow-icon { width: 18px; height: 18px; }
  .header-navigation { gap: 8px; }
  .header-about { display: none; }
  .site-menu { display: block; }
  .showcase { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--page-gutter) 34px; }
  .campaign-backdrop {
    --ipsy-still: url("/assets/campaign-backdrops/ipsy-inmortales-portrait.webp?v=lente-2");
    --pinterest-still: url("/assets/campaign-backdrops/pinterest-effies-portrait.webp?v=lente-2");
    --plush-still: url("/assets/campaign-backdrops/plush-hotel-portrait.webp?v=lente-2");
    --arantza-still: url("/assets/campaign-backdrops/arantza-portrait.webp?v=lente-2");
  }
  .reel-intro { order: 2; align-self: stretch; margin-top: 32px; }
  .reel-headline, .contact h2 { font-size: clamp(34px, 12.5cqi, 62px); }
  h1 { font-size: 27px; }
  .reel { order: 1; width: 100%; max-width: 460px; align-self: center; }
  .play-invitation { padding: 18px 25px; font-size: 15px; }
  .showcase-copy > .contact { display: none; }
  .site-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; padding-top: 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); gap: 12px 20px; font-size: 9px; line-height: 1.5; }
  .footer-privacy { display: inline-flex; align-items: center; justify-self: end; min-height: 44px; text-align: right; }
  .footer-meta { grid-column: 1/-1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
  .footer-separator { display: none; }
  .cinema-top { min-height: 65px; padding: 10px 18px; font-size: 10px; }
  .cinema-top button { gap: 12px; }
  .cinema-stage { height: calc(100% - 65px); padding: 0 0 max(12px,env(safe-area-inset-bottom)); }
  .cinema-stage .video-frame { width: min(100%,calc((100dvh - 77px)*.5625)); height: 100%; max-height: calc(100vw*16/9); }
}
@media (max-width: 370px) {
  .site-header { gap: 8px; }
  .header-navigation { gap: 4px; }
  .header-contact { gap: 6px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Keep the side columns quieter than the reel in the multi-column layout. */
@media (min-width: 621px) {
  .reel-intro, .showcase-copy > .contact { padding-top: clamp(1rem, 1.25vw, 1.375rem); }
  .reel-eyebrow { font-size: clamp(.6875rem, .75vw, .75rem); }
  .reel-headline {
    margin-block: clamp(.875rem, 1.25vw, 1.375rem);
    font-size: clamp(1.875rem, min(3.4vw, 14.5cqi), 3.625rem);
  }
  .contact h2 {
    margin-bottom: clamp(.75rem, 1vw, 1.125rem);
    font-size: clamp(1.625rem, min(2.65vw, 13.5cqi), 2.75rem);
  }
  .reel-description, .contact-intro { font-size: clamp(1rem, 1.17vw, 1.1875rem); }
  .reel-shortcuts, .reel-contact-actions { margin-top: clamp(1rem, 1.5vw, 1.5rem); }
  .showcase-button { min-height: 2.75rem; font-size: clamp(.875rem, 1vw, .9375rem); }
  .play-invitation { min-height: 2.75rem; padding: .75rem 1.125rem; gap: .625rem; font-size: .875rem; }
  .play-invitation svg { width: 1rem; height: 1rem; }
}

/* Both text panels travel together when there is room for two columns. */
@media (width > 620px) and (width < 75em) {
  .showcase {
    grid-template-columns: minmax(0, 27rem) minmax(0, 23.5rem);
    justify-content: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    min-height: auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  }
  .showcase-copy {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    align-content: center;
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
  }
  .showcase-copy > * { grid-column: 1; grid-row: auto; }
  .showcase-copy > .contact { max-width: none; }
  .reel {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    max-width: clamp(12rem, calc((100svh - 12.5rem) * .5625), 23.5rem);
  }
  .reel-eyebrow { font-size: .75rem; }
  .reel-headline { font-size: clamp(2.25rem, min(5vw, 16cqi), 3rem); }
  .contact h2 { font-size: clamp(1.75rem, 3.3vw, 2.125rem); text-wrap: balance; }
  .contact h2 br { display: none; }
  .showcase-button { font-size: .9375rem; }
  .campaign-motion { right: clamp(1.5rem, 4vw, 3rem); bottom: .25rem; }
}

@media screen and (width > 620px) and (width < 75em) and (prefers-reduced-motion: no-preference) {
  .showcase { padding-bottom: 3.5rem; }
}

@media (width > 620px) and (width < 87.5em) {
  .reel-description, .contact-intro {
    max-width: 36ch;
    font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
    font-weight: 300;
    line-height: 1.45;
    text-wrap: pretty;
  }
}

/* In a narrow split window, keep the portrait frame within the visible height. */
@media (min-width: 30em) and (max-width: 620px) {
  .reel { max-width: min(22rem, 40svh); }
  .reel-description, .contact-intro { font-weight: 300; }
}

@media (min-width: 75em) {
  .showcase {
    grid-template-columns: minmax(0,1fr) minmax(0,auto) minmax(0,1fr);
    column-gap: var(--page-gutter);
  }
  .reel-intro {
    width: min(100%, 29rem);
    justify-self: center;
    text-align: center;
  }
  .reel-description { margin-inline: auto; }
  .showcase-copy > .contact {
    container-type: normal;
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    text-align: center;
  }
  .contact h2 { font-size: clamp(1.625rem, 2.65vw, 2.75rem); }
  .contact-intro { max-width: 26ch; margin-inline: auto; text-wrap: balance; }
  .reel-contact-actions { justify-content: center; }
  .reel { max-width: 33vw; }
  .reel-intro, .showcase-copy > .contact { align-self: center; }
}

@media screen and (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .showcase { padding-bottom: 60px; }
}
