body {
  --surface: #151513;
  --muted: #c5c3bc;
  --accent: #c9c9c9;
  --signal: #d4d4d4;
  --rule: #ffffff24;
  color: var(--paper);
  background: var(--surface);
}

.site-header, .site-header.scrolled {
  color: var(--paper);
  background: #151513f5;
  border-color: var(--rule);
}

main > section { scroll-margin-top: 5rem; }
.hero {
  display: grid;
  place-items: center;
  min-height: max(36rem, 80svh);
  padding: 8rem var(--pad) 5rem;
  text-align: center;
}
.hero::before { content: none; }
.hero-video { background: #151513 url('/portfolio/ssc-bari.jpg') center 36% / cover; }
.hero-video iframe, .hero-video video { filter: saturate(.86) brightness(.9); }
.hero-shade { background: radial-gradient(ellipse at center, #151513b8, #15151340 78%), linear-gradient(0deg, var(--surface), transparent 28%); }
.hero-content { width: min(100%, 52rem); }
.hero h1 {
  margin: 1rem auto;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: .94;
  letter-spacing: -.075em;
  color: #dedede;
  overflow-wrap: anywhere;
}
.hero .eyebrow, .hero-actions { justify-content: center; }
.hero-lead { margin: 1.5rem auto 2rem; color: var(--paper); }
.hero-actions { gap: .8rem; }
.hero-actions .button, .hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid var(--paper);
  padding: .7rem 1.2rem;
  text-decoration: none;
}
.hero-actions .button { background: var(--paper); color: var(--surface); }
.hero-actions a:hover, .hero-actions a:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.hero .showreel-credit { color: var(--paper); }

main > .section-pad {
  width: min(100%, 91rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background: var(--surface);
  color: var(--paper);
}
.work-heading, .intro-copy, .contact-copy { display: block; margin: 0 auto 2.5rem; text-align: center; }
.work-heading h2, .intro-copy h2, .collaborations h2, .press h2, .contact h2, .recognition h2,
.services-heading h2, .career-heading h2, .process-heading h2 {
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  text-transform: none;
}
.work-heading p, .intro-copy p, .contact-copy p {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--muted);
}
.work-grid, .press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3.2vw, 3rem);
}
.work-card, .work-card:nth-child(even) { margin: 0; background: transparent; }
.work-visual { background: #20201d; }
.work-visual::after { content: none; }
.work-photo[src$="goallections.jpg"] { object-position: 58% 60%; }
.work-photo[src$="pikyrent.jpg"] { object-position: 50% 63%; }
.work-meta { display: block; padding: 1.05rem 0 0; border-top: 2px solid var(--rule); }
.work-meta span, .press-source { color: var(--accent); font-size: .82rem; }
.work-meta h3 { font-size: clamp(1.35rem, 2vw, 2rem); text-transform: none; }
.work-meta p, .press-card p:last-child { margin: .7rem 0 0; color: var(--muted); }
.selected-work .external-link { color: var(--paper); border-color: var(--rule); }

.intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.intro-copy { grid-column: 1 / -1; margin-bottom: 0; }
.profile-feature { grid-column: 1; margin: 0; aspect-ratio: 3 / 2; }
.profile-feature img {
  object-position: center;
  opacity: 1;
  filter: saturate(.75);
  mix-blend-mode: normal;
  mask-image: radial-gradient(ellipse 80% 82% at 50% 47%, #000 45%, transparent 100%);
}
.facts { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 0; border: 0; }
.facts article, .facts article + article { min-height: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--rule); }
.facts strong { color: var(--accent); font-size: clamp(2rem, 4vw, 3.5rem); }
.facts span { color: var(--muted); font-size: .9rem; text-transform: none; }
.recognition { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1rem, 4vw, 4rem); align-items: center; }
.recognition::after, .recognition .section-label { display: none; }
.recognition-visual { grid-column: auto; }
.recognition-visual figure { background: transparent; }
.recognition-visual img { opacity: .9; }
.recognition-visual figcaption { font-size: .8rem; }
.recognition-main h3 { margin: 0 0 .65rem; font-size: clamp(1.55rem, 3vw, 2.6rem); }
.recognition-main .recognition-kicker { margin: 0 0 .8rem; font-size: .875rem; }
.award-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
.award-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--rule);
  background: #20201e;
}
.award-card img { display: block; width: 100%; height: 9rem; object-fit: contain; margin-bottom: 1.15rem; }
.award-card h3 { margin: 0 0 .55rem; font-size: 1.15rem; line-height: 1.25; }
.award-card p, .award-note { color: var(--muted); }
.award-card a { margin-top: auto; }
.award-card a, .award-note a, .facts a { text-underline-offset: .22em; }
.award-note { grid-column: 1 / -1; margin: 0; }
.career-list, .career-list article, .process-list, .process-list li { border-color: var(--rule); }
.career-list p, .process-list p { color: var(--muted); }
.career-list time, .process-list li > span { color: var(--accent); }
.section-label::before { background: var(--accent); }

.collaborations h2, .press h2 { text-align: center; }
.client-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; border: 0; background: transparent; }
.client-strip .client-logo {
  background: #202429;
  border: 1px solid #ffffff16;
  border-radius: .4rem;
}
.client-strip .client-logo:is(:hover, :focus-visible) { background: #282e34; }
.client-strip .client-logo img {
  filter: grayscale(1) brightness(1.45) drop-shadow(0 0 1px #bdbdbd);
  opacity: .86;
  mix-blend-mode: normal;
}
.client-strip .client-logo--quotidiano img { filter: invert(.8); }
.client-strip .client-logo:is(:hover, :focus-visible) img {
  filter: drop-shadow(0 0 1px #e7e7e7);
  opacity: 1;
  transform: translateY(-2px);
}
.client-strip .client-logo:focus-visible { outline-color: var(--accent); }
@media (hover: none) {
  .client-strip .client-logo img { filter: drop-shadow(0 0 1px #e7e7e7); opacity: 1; }
}
.client-strip .client-logo--ripartenza img {
  max-height: 6.4rem;
  mix-blend-mode: lighten;
  filter: grayscale(1);
}
.client-strip .client-logo--ripartenza:is(:hover, :focus-visible) img { filter: none; }
@media (hover: none) {
  .client-strip .client-logo--ripartenza img { filter: none; }
}
.press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
.press-card { padding: clamp(1.15rem, 2.6vw, 2.4rem); background: #302b28; border-top: 2px solid var(--accent); }
.press-card h3 { margin: 1rem 0 0; font-size: clamp(1.18rem, 1.65vw, 1.55rem); line-height: 1.25; }
.press-card a { text-decoration-color: var(--accent); text-underline-offset: .2em; }
.press-card a:hover, .press-card a:focus-visible { color: var(--accent); }

.contact.section-pad {
  width: 100%;
  padding: clamp(5rem, 9vw, 10rem) var(--pad) 0;
  background: #10100f;
  text-align: center;
}
.contact-copy { margin-bottom: 1.3rem; }
.contact-copy strong { color: var(--paper); font-size: 1.3rem; }
.contact-links { display: grid; justify-items: center; gap: .15rem; border: 0; }
.contact-link { width: auto; min-height: 2.75rem; padding: .55rem .4rem; border: 0; text-align: center; text-decoration: none; }
.contact-link:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .25em; }
.contact-socials { display: flex; justify-content: center; gap: .4rem; margin-top: clamp(3rem, 7vw, 7rem); }
.contact-socials .social-chip { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; }
.contact-socials svg { width: 1.35rem; height: 1.35rem; }
@media (max-width: 980px) {
  .work-grid, .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .hero { min-height: max(34rem, 77svh); }
  .hero-actions .text-link { align-self: stretch; }
  .work-grid, .press-grid, .intro, .recognition { grid-template-columns: minmax(0, 1fr); }
  .profile-feature, .facts { grid-column: 1; }
  .client-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}

.homepage main > :is(.collaborations, .services, .process) {
  width: 100%;
  padding-inline: max(var(--pad), calc((100% - 91rem) / 2 + var(--pad)));
  color: var(--ink);
}
.homepage main > .collaborations {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: #e8eaf1;
}
.homepage main > .services { background: #e8eaf1; }
.homepage main > .process { background: #eee9e2; }
.homepage .services-heading p,
.homepage .service p,
.homepage .process-list p { color: #3f4046; }
.homepage .service-list,
.homepage .service,
.homepage .process-list,
.homepage .process-list li { border-color: var(--line-dark); }
.homepage .service-number,
.homepage .service-mark,
.homepage .process-list li > span { color: #424b85; }
.homepage :is(.services, .process) .section-label::before { background: #424b85; }
