@import url("base.css");

:root {
  --ink: #252427;
  --paper: #e9eaec;
  --paper2: #e9eaec;
  --red: #a21429;
  --olive: #65666b;
  --line: rgba(37, 36, 39, 0.09);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);
  --type: var(--sans);
  --surface: #e9eaec;
  --surface-soft: #f0f1f2;
  --shadow-dark: rgba(163, 165, 171, 0.48);
  --shadow-light: rgba(255, 255, 255, 0.96);
  --raised: 14px 14px 30px var(--shadow-dark), -14px -14px 30px var(--shadow-light);
  --raised-small: 7px 7px 16px rgba(163, 165, 171, 0.48), -7px -7px 16px rgba(255, 255, 255, 0.94);
  --pressed: inset 6px 6px 13px rgba(163, 165, 171, 0.38), inset -6px -6px 13px rgba(255, 255, 255, 0.9);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #b9bbc0 transparent;
}

html {
  scroll-padding-top: 110px;
}

body {
  color: var(--ink);
  background: var(--surface);
  background-image: none;
  font-family: var(--sans);
  line-height: 1.6;
  letter-spacing: -0.012em;
}

body::before,
body::after,
.grain,
.scratch {
  display: none;
}

::selection {
  color: #fff;
  background: var(--red);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid rgba(162, 20, 41, 0.55);
  outline-offset: 4px;
}

.wrap {
  width: min(1120px, calc(100% - 56px));
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  height: 74px;
  margin-top: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  background: rgba(233, 234, 236, 0.86);
  box-shadow: var(--raised-small);
  backdrop-filter: blur(18px);
}

.studio {
  gap: 11px;
}

.studio-seal {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--red);
  background: var(--surface);
  box-shadow: var(--raised-small);
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.studio strong,
.topbar nav a,
.back-link,
.edition {
  font-family: var(--sans);
}

.studio strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.topbar nav {
  gap: 7px;
}

.topbar nav a,
.back-link {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.topbar nav a::after {
  display: none;
}

.topbar nav a:hover,
.topbar nav a.active,
.back-link:hover {
  color: var(--red);
  box-shadow: var(--pressed);
}

.edition {
  padding: 8px 11px;
  border: 0;
  border-radius: 13px;
  color: #707176;
  background: var(--surface);
  box-shadow: var(--pressed);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.home-hero.wrap {
  width: min(760px, calc(100% - 64px));
  min-height: 0;
  aspect-ratio: 1;
  margin: 82px auto 0;
  padding: 70px;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow:
    25px 25px 52px rgba(163, 165, 171, 0.5),
    -25px -25px 52px rgba(255, 255, 255, 0.98),
    inset 0 0 0 13px rgba(255, 255, 255, 0.28);
  isolation: isolate;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.home-hero::before {
  inset: 25px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 10px 10px 24px rgba(171, 173, 178, 0.12), inset -10px -10px 24px #fff;
}

.home-hero::after {
  inset: 48px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.hero-copy {
  width: 78%;
  padding: 0;
  text-align: center;
  text-shadow: none;
}

.title-card {
  color: #6d6e73;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.title-card span {
  display: inline-block;
  margin-right: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--red);
  background: var(--surface);
  box-shadow: var(--raised-small);
}

.hero-copy h1,
.portfolio-hero h1,
.case-hero h1 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(4.2rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.09em;
}

.hero-copy h1 {
  margin: 34px 0 26px;
}

.hero-copy h1 i,
.portfolio-hero h1 i,
.case-hero h1 i {
  color: var(--red);
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hero-role {
  margin: 0 auto;
  color: #4f5054;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.55;
}

.hero-intro {
  max-width: 560px;
  margin: 17px auto 0;
  color: #6b6c71;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.film-button,
.live-sites a {
  min-width: 190px;
  padding: 14px 17px;
  border: 0;
  border-radius: 17px;
  color: #4f5054;
  background: var(--surface);
  box-shadow: var(--raised-small);
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.film-button.primary,
.live-sites a:hover {
  color: var(--red);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(162, 20, 41, 0.3), var(--raised-small);
}

.film-button:hover {
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 10px 10px 20px rgba(163, 165, 171, 0.48), -10px -10px 20px #fff;
}

.film-button:active,
.live-sites a:active {
  transform: translateY(1px);
  box-shadow: var(--pressed);
}

.frame-count,
.marquee {
  display: none;
}

.social,
.client-reel,
.projects,
.profile,
.career {
  padding-top: 120px;
}

.section-title {
  align-items: end;
  margin-bottom: 38px;
  padding-bottom: 0;
  border: 0;
}

.section-title small,
.contact-banner small {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-title h2 {
  margin: 6px 0 0;
  font-family: var(--sans);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.section-title > p {
  color: #66676c;
  font-size: 0.96rem;
}

.social-grid,
.skills {
  gap: 22px;
  border: 0;
}

.social-card,
.skills article,
.ticket,
.project-row,
.career-list article,
.story-acts article {
  border: 0;
  background: var(--surface);
  box-shadow: var(--raised);
}

.social-card {
  min-height: 238px;
  padding: 24px;
  border-radius: 32px;
}

.social-card.main-card {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(162, 20, 41, 0.28), var(--raised);
}

.social-card:hover,
.skills article:hover,
.ticket:hover,
.ticket:nth-child(2):hover {
  color: var(--ink);
  background: var(--surface-soft);
  transform: translateY(-6px);
  box-shadow: 18px 18px 34px rgba(163, 165, 171, 0.5), -18px -18px 34px #fff;
}

.social-card .icon,
.social-card.main-card .icon {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 800;
}

.card-number,
.social-card > b,
.ticket > span,
.ticket b,
.project-row small,
.project-row > b,
.skills span,
.story-acts span,
.career-list time,
.career-list article > b,
.next-picture span {
  font-family: var(--sans);
  font-weight: 760;
  letter-spacing: 0.08em;
}

.social-card h3,
.ticket h3,
.skills h3,
.career-list h3,
.story-acts h2,
.bio h3,
.next-picture strong,
.contact-banner h2 {
  font-family: var(--sans);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.social-card p,
.ticket p,
.skills p,
.career-list p,
.story-acts p,
.bio > p {
  color: #64656a;
}

.social-card > b {
  padding-top: 13px;
  border-top: 1px solid rgba(37, 36, 39, 0.08);
  color: var(--red);
}

.tickets {
  gap: 24px;
}

.ticket {
  min-height: 270px;
  padding: 27px;
  border-radius: 34px;
}

.ticket::before,
.ticket::after {
  display: none;
}

.ticket > span,
.ticket b {
  color: var(--red);
}

.ticket b {
  border-top: 1px solid rgba(37, 36, 39, 0.08);
}

.contact-banner {
  margin-top: 125px;
  margin-bottom: 70px;
  padding: 64px;
  border-radius: 50px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--pressed), 16px 16px 34px rgba(163, 165, 171, 0.3), -16px -16px 34px #fff;
}

.contact-banner h2 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.contact-banner a {
  padding: 12px 15px;
  border: 0;
  border-radius: 15px;
  color: var(--red);
  background: var(--surface);
  box-shadow: var(--raised-small);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 720;
}

.contact-banner a:hover {
  color: var(--red);
  box-shadow: var(--pressed);
}

.contact-banner p {
  color: #66676c;
}

footer {
  min-height: 100px;
  border: 0;
  color: #74757a;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

footer a:hover {
  color: var(--red);
}

.portfolio-hero {
  margin-top: 56px;
  padding: 92px 7%;
  border: 0;
  border-radius: 52px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.portfolio-hero h1,
.case-hero h1 {
  margin: 34px 0 28px;
}

.portfolio-hero > div > p,
.case-hero > p:last-of-type {
  color: #64656a;
}

.project-list,
.career-list {
  display: grid;
  gap: 18px;
  border: 0;
}

.project-row {
  padding: 30px 27px;
  border-radius: 27px;
}

.project-row:hover {
  padding-left: 31px;
  color: var(--ink);
  background: var(--surface-soft);
  transform: translateY(-4px);
  box-shadow: 17px 17px 32px rgba(163, 165, 171, 0.46), -17px -17px 32px #fff;
}

.project-row > span,
.project-row > b {
  color: var(--red);
}

.project-row h3 {
  font-family: var(--sans);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.project-row p {
  color: #6a6b70;
}

.profile-grid {
  align-items: center;
  padding: 32px;
  border: 0;
  border-radius: 52px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.monogram {
  min-height: 390px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--pressed);
  font-family: var(--sans);
  font-weight: 900;
}

.monogram i {
  color: var(--red);
  font-family: inherit;
  font-weight: inherit;
}

.bio {
  padding: 46px 52px;
}

.bio h3 {
  font-size: 2.25rem;
}

.facts {
  gap: 14px;
  padding-top: 0;
  border: 0;
}

.facts span {
  padding: 16px;
  border-radius: 17px;
  box-shadow: var(--pressed);
}

.facts b {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 800;
}

.skills {
  margin-top: 28px;
}

.skills article {
  min-height: 218px;
  padding: 26px;
  border-radius: 28px;
}

.skills h3 {
  margin-top: 40px;
}

.career-list article {
  padding: 28px 26px;
  border-radius: 25px;
}

.career-list time,
.career-list article > b {
  color: var(--red);
}

.case {
  padding-top: 72px;
}

.case-hero {
  max-width: none;
  margin-bottom: 48px;
  padding: 72px 7%;
  border-radius: 48px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.live-sites a {
  min-width: 0;
}

.screening {
  overflow: hidden;
  margin-bottom: 46px;
  border: 14px solid #242428;
  border-radius: 34px;
  background: #242428;
  box-shadow: 16px 16px 34px rgba(143, 145, 151, 0.6), -16px -16px 34px #fff;
}

.screen-label {
  color: #e9eaec;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.credits {
  gap: 14px;
  padding: 18px;
  border: 0;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--pressed);
}

.credits > div {
  padding: 23px;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--raised-small);
}

.credits small {
  color: var(--red);
  font-family: var(--sans);
  font-weight: 800;
}

.story-acts {
  gap: 22px;
  margin: 76px 0;
  border: 0;
}

.story-acts article {
  min-height: 280px;
  padding: 30px;
  border-radius: 30px;
}

.story-acts h2 {
  margin-top: 55px;
}

.next-picture {
  margin-bottom: 78px;
  padding: 30px 28px;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--raised);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.next-picture:hover {
  transform: translateY(-4px);
  box-shadow: 18px 18px 34px rgba(163, 165, 171, 0.48), -18px -18px 34px #fff;
}

.next-picture strong {
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.reveal {
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.top_btns{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.reveal.seen {
  opacity: 1;
  transform: none;
}

body.leaving {
  animation: cleanLeave 0.26s ease forwards;
}

@keyframes cleanLeave {
  to {
    opacity: 0;
    filter: none;
    transform: scale(0.995);
  }
}

@media (max-width: 860px) {
  .topbar {
    top: 10px;
  }

  .home-hero.wrap {
    width: min(680px, calc(100% - 46px));
    margin-top: 66px;
  }

  .hero-copy {
    width: 80%;
  }

  .portfolio-hero > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-list article {
    grid-template-columns: 120px 1fr;
  }

  .career-list article > b {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .topbar {
    top: 8px;
    height: 68px;
    margin-top: 10px;
    padding: 0 11px;
    border-radius: 21px;
  }

  .studio-seal {
    width: 39px;
    height: 39px;
  }

  .studio strong,
  .edition {
    display: none;
  }

  .topbar nav {
    gap: 2px;
  }

  .topbar nav a,
  .back-link {
    padding: 8px 9px;
    font-size: 0.75rem;
  }

  .home-hero.wrap {
    width: calc(100% - 24px);
    min-height: 650px;
    aspect-ratio: auto;
    margin-top: 45px;
    padding: 58px 26px;
    border-radius: 220px;
    box-shadow:
      18px 18px 38px rgba(163, 165, 171, 0.5),
      -18px -18px 38px rgba(255, 255, 255, 0.98),
      inset 0 0 0 9px rgba(255, 255, 255, 0.25);
  }

  .home-hero::before,
  .home-hero::after {
    border-radius: 200px;
  }

  .home-hero::before {
    inset: 17px;
  }

  .home-hero::after {
    inset: 34px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .hero-copy h1,
  .portfolio-hero h1,
  .case-hero h1 {
    font-size: clamp(3rem, 15vw, 3.75rem);
  }

  .hero-actions {
    width: 60%;
    gap: 15px;
  }

  .film-button {
    width: 100%;
  }

  .social,
  .client-reel,
  .projects,
  .profile,
  .career {
    padding-top: 88px;
  }

  .section-title {
    align-items: flex-start;
    gap: 18px;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .section-title > p {
    max-width: none;
  }

  .social-grid,
  .tickets,
  .skills {
    grid-template-columns: 1fr;
  }

  .social-card,
  .ticket,
  .skills article {
    min-height: 210px;
  }

  .contact-banner {
    margin-top: 92px;
    padding: 42px 27px;
    border-radius: 36px;
  }

  .contact-banner h2 {
    font-size: 3rem;
  }

  .portfolio-hero {
    margin-top: 45px;
    padding: 64px 27px;
    border-radius: 36px;
  }

  .project-row {
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 25px 19px;
  }

  .project-row:hover {
    padding-left: 19px;
  }

  .project-row > b {
    grid-column: 2;
  }

  .profile-grid {
    padding: 20px;
    border-radius: 36px;
  }

  .monogram {
    width: min(270px, 100%);
    min-height: 270px;
    margin: 12px auto 0;
  }

  .bio {
    padding: 38px 8px 16px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .career-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case {
    padding-top: 50px;
  }

  .case-hero {
    margin-bottom: 38px;
    padding: 56px 26px;
    border-radius: 36px;
  }

  .screening {
    border-width: 8px;
    border-radius: 22px;
  }

  .credits {
    grid-template-columns: 1fr;
  }

  .credits > div {
    border: 0;
  }

  .story-acts {
    grid-template-columns: 1fr;
    margin: 58px 0;
  }

  .story-acts article {
    min-height: 235px;
  }

  .next-picture {
    grid-template-columns: 1fr auto;
    padding: 25px 22px;
  }

  footer {
    min-height: 110px;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-button,
  .social-card,
  .ticket,
  .skills article,
  .project-row,
  .next-picture {
    transition: none;
  }
}
