:root {
  --ink: #111;
  --paper: #f6f5f1;
  --white: #fff;
  --line: rgba(17, 17, 17, 0.16);
  --muted: #6f6f6b;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(246, 245, 241, 0.9);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  padding: 0 3.2vw;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { width: 172px; }
.desktop-nav {
  display: flex;
  gap: clamp(20px, 2.5vw, 42px);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.desktop-nav a, .footer-links a { position: relative; }
.desktop-nav a::after, .footer-links a::after {
  background: currentColor;
  bottom: -5px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  width: 100%;
}
.desktop-nav a:hover::after, .footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-contact {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 7px;
  justify-self: end;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: calc(100svh - 82px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6vh 4.5vw 4.5vh 3.2vw;
}
.eyebrow-row {
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(63px, 7vw, 132px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.8;
  margin: auto 0;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}
.hero-bottom {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}
.hero-bottom p { line-height: 1.7; margin: 0; max-width: 390px; }
.circle-link {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: flex;
  height: 66px;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  width: 66px;
}
.circle-link:hover { background: var(--ink); color: white; transform: rotate(-8deg); }
.hero-image-wrap { overflow: hidden; position: relative; }
.hero-image-wrap > img {
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  transition: transform 1.2s cubic-bezier(0.2, 0.75, 0.25, 1);
  width: 100%;
}
.hero-image-wrap:hover > img { transform: scale(1.018); }
.hero-image-label {
  bottom: 24px;
  color: white;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  left: 26px;
  letter-spacing: 0.15em;
  mix-blend-mode: difference;
  position: absolute;
  right: 26px;
  text-transform: uppercase;
}

.intro-strip {
  align-items: center;
  background: #ddd8d0;
  color: var(--ink);
  display: flex;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 40px);
  font-style: italic;
  justify-content: space-around;
  min-height: 112px;
  padding: 22px 4vw;
}
.intro-strip i { background: rgba(17, 17, 17, 0.42); height: 4px; width: 4px; }
.section { padding: 140px 3.2vw; }
.section-heading {
  align-items: end;
  display: grid;
  gap: 2vw;
  grid-template-columns: 1.1fr 2fr 1.1fr;
  margin-bottom: 72px;
}
.section-heading.compact { grid-template-columns: 1fr 3fr; }
.section-kicker { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.section-kicker::before { content: "—"; margin-right: 10px; }
.section-heading h2, .sedcard-title h2, .contact-top h2 {
  font-family: var(--serif);
  font-size: clamp(64px, 8.2vw, 150px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.85;
  margin: 0;
}
.section-heading p, .sedcard-title p { color: var(--muted); line-height: 1.7; margin: 0; }

.portfolio-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.portfolio-card:nth-child(2) { margin-top: 96px; }
.portfolio-image { aspect-ratio: 0.78; overflow: hidden; position: relative; }
.portfolio-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.7s ease;
  width: 100%;
}
.portfolio-card:hover img { filter: saturate(0.82); transform: scale(1.025); }
.portfolio-caption {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  padding: 24px 2px 20px;
}
.portfolio-caption h3 {
  font-size: clamp(22px, 2.2vw, 38px);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0;
}
.portfolio-caption p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin: 0 28px 0 12px;
  text-transform: uppercase;
}
.editorial-gallery {
  display: grid;
  gap: 18px;
  grid-auto-rows: 7vw;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 120px;
}
.gallery-item { margin: 0; overflow: hidden; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.25,1); width: 100%; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item-1 { grid-column: 1 / 6; grid-row: 1 / 7; }
.gallery-item-2 { grid-column: 6 / 10; grid-row: 2 / 7; }
.gallery-item-3 { grid-column: 10 / 13; grid-row: 1 / 5; }
.gallery-item-4 { grid-column: 1 / 4; grid-row: 7 / 11; }
.gallery-item-5 { grid-column: 4 / 8; grid-row: 7 / 12; }
.gallery-item-6 { grid-column: 8 / 13; grid-row: 7 / 13; }
.gallery-item-7 { grid-column: 1 / 5; grid-row: 12 / 17; }
.gallery-item-8 { grid-column: 5 / 10; grid-row: 13 / 18; }

.sedcard-section {
  background: var(--white);
  display: grid;
  gap: 72px 6vw;
  grid-template-columns: 0.8fr 1.6fr;
  padding: 140px 6vw;
}
.sedcard-title h2 { font-size: clamp(58px, 6.7vw, 120px); margin: 24px 0 32px; }
.sedcard-title p { max-width: 320px; }
.measurements-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.measurement {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 84px;
  padding: 28px 16px 20px 0;
}
.measurement:nth-child(odd) { margin-right: 32px; }
.measurement span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.measurement strong { font-size: 18px; font-weight: 400; }
.sedcard-actions { align-items: center; display: flex; gap: 42px; grid-column: 2; }
.button {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  gap: 18px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 52px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: white; color: var(--ink); }
.text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 11px;
  gap: 10px;
  letter-spacing: 0.12em;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.sedcst-section {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 820px;
}
.sedcst-copy { align-self: center; padding: 8vw; }
.sedcst-copy h2 {
  font-size: clamp(54px, 6.5vw, 118px);
  font-weight: 300;
  letter-spacing: -.06em;
  line-height: .88;
  margin: 42px 0;
}
.sedcst-copy h2 em { font-family: var(--serif); font-weight: 400; }
.sedcst-copy > p { color: rgba(255,255,255,.68); line-height: 1.75; max-width: 570px; }
.sedcst-actions { align-items: center; display: flex; gap: 38px; margin-top: 48px; }
.text-link-light { color: white; }
.sedcst-visual { margin: 42px 42px 42px 0; overflow: hidden; position: relative; }
.sedcst-visual > img { height: 100%; object-fit: cover; object-position: center 24%; width: 100%; }
.sedcst-card {
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.9);
  bottom: 22px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  left: 22px;
  padding: 20px 22px;
  position: absolute;
  right: 22px;
}
.sedcst-card strong { font-size: 18px; font-weight: 500; }
.sedcst-card span { color: var(--muted); margin: 5px 0 16px; }
.sedcst-card small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.showreel-section { background: #d9d5ce; }
.showreel-frame { aspect-ratio: 16 / 8.5; display: block; overflow: hidden; position: relative; }
.showreel-frame::after { background: linear-gradient(180deg,transparent 42%,rgba(0,0,0,.62)); content: ""; inset: 0; position: absolute; }
.showreel-frame > img { height: 100%; object-fit: cover; object-position: center 34%; transition: transform 1s ease; width: 100%; }
.showreel-frame:hover > img { transform: scale(1.02); }
.showreel-play { align-items: center; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; height: 76px; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 76px; z-index: 2; }
.showreel-frame > div { bottom: 30px; color: white; display: flex; justify-content: space-between; left: 30px; position: absolute; right: 30px; z-index: 2; }
.showreel-frame > div span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.showreel-frame > div strong { font-size: 18px; font-weight: 400; }

.agency-list { border-top: 1px solid var(--line); }
.agency-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr auto;
  min-height: 84px;
  transition: padding 0.35s ease, background 0.35s ease;
}
.agency-row:hover { background: rgba(255, 255, 255, 0.65); padding: 0 18px; }
.agency-row span { color: var(--muted); }
.agency-row strong { font-size: clamp(18px, 2vw, 30px); font-weight: 400; letter-spacing: -0.035em; }

.references-section { background: var(--white); }
.references-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.reference-card {
  align-items: center;
  aspect-ratio: 1.35;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  justify-content: center;
  padding: 20%;
}
.references-intro { color: var(--muted); line-height: 1.7; margin: -30px 0 50px calc(25% + 1vw); max-width: 520px; }
.references-grid-large { grid-template-columns: repeat(4, 1fr); }
.references-link { margin-top: 46px; }

.about-section { background: #ddd8d0; display: grid; grid-template-columns: 43% 57%; }
.about-image { min-height: 780px; }
.about-image img { height: 100%; object-fit: cover; object-position: center 30%; width: 100%; }
.about-copy { align-self: center; padding: 8vw; }
.about-copy h2 {
  font-size: clamp(38px, 4.8vw, 82px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 36px 0 54px;
}
.about-columns { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); margin-bottom: 46px; }
.about-columns p { line-height: 1.75; margin: 0; }

.ai-section {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: 820px;
}
.ai-copy { align-self: center; padding: 8vw; }
.section-kicker.light { color: rgba(255, 255, 255, 0.6); }
.ai-copy h2 {
  font-family: var(--serif);
  font-size: clamp(58px, 7.6vw, 132px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.84;
  margin: 44px 0;
  max-width: 900px;
}
.ai-copy > p { color: rgba(255, 255, 255, 0.68); line-height: 1.75; max-width: 560px; }
.ai-features { display: flex; flex-wrap: wrap; gap: 9px; margin: 36px 0 48px; }
.ai-features span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 9px 13px;
  text-transform: uppercase;
}
.ai-image { margin: 42px 42px 42px 0; overflow: hidden; position: relative; }
.ai-image::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55));
  content: "";
  inset: 0;
  position: absolute;
}
.ai-image img {
  filter: grayscale(1) contrast(1.08);
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  width: 100%;
}
.ai-image span {
  bottom: 24px;
  font-size: 9px;
  left: 24px;
  letter-spacing: 0.15em;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.contact-section { padding: 150px 3.2vw 80px; }
.contact-top { margin-bottom: 96px; }
.contact-top h2 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin-top: 46px;
  max-width: 1100px;
}
.contact-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-grid > * {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 110px;
  padding: 22px 22px 22px 0;
}
.contact-grid > * + * { border-left: 1px solid var(--line); padding-left: 22px; }
.contact-grid span {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 10px;
  gap: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-grid strong { color: var(--ink); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  font-size: 10px;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.08em;
  margin: 0 3.2vw;
  min-height: 110px;
  text-transform: uppercase;
}
footer > img { width: 150px; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { align-items: center; display: flex; gap: 6px; }
footer > span { justify-self: end; }

.whatsapp-button {
  align-items: center;
  background: #111;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
  color: white;
  display: flex;
  font-size: 10px;
  gap: 10px;
  letter-spacing: .12em;
  padding: 13px 18px;
  position: fixed;
  right: 24px;
  text-transform: uppercase;
  transition: transform .3s ease;
  z-index: 60;
}
.whatsapp-button:hover { transform: translateY(-3px); }

.legal-page { margin: 0 auto; max-width: 980px; padding: 150px 5vw 100px; }
.legal-page .back-link { display: inline-block; font-size: 11px; letter-spacing: .12em; margin-bottom: 70px; text-transform: uppercase; }
.legal-page h1 { font-size: clamp(58px, 8vw, 116px); font-weight: 300; letter-spacing: -.06em; margin: 0 0 70px; }
.legal-page h2 { font-size: 28px; font-weight: 400; margin: 54px 0 18px; }
.legal-page h3 { font-size: 18px; font-weight: 500; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: #4e4e4e; line-height: 1.75; }
.legal-note { background: #eeeae3; border-left: 3px solid var(--ink); margin: 48px 0; padding: 22px 26px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 70svh; padding: 40px 5vw; }
  .hero-image-wrap { min-height: 76svh; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card:nth-child(2) { margin-top: 48px; }
  .portfolio-card:nth-child(3) { grid-column: 1 / -1; width: calc(50% - 9px); }
  .editorial-gallery { grid-auto-rows: 10vw; margin-top: 90px; }
  .sedcard-section { grid-template-columns: 1fr; }
  .sedcard-actions { grid-column: 1; }
  .about-section, .ai-section, .sedcst-section { grid-template-columns: 1fr; }
  .sedcst-visual { margin: 0 5vw 5vw; min-height: 70svh; }
  .about-image { min-height: 70svh; }
  .ai-image { margin: 0 5vw 5vw; min-height: 65svh; }
  .contact-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .references-intro { margin-left: 0; }
  .contact-grid > * + * { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 20px; }
  .brand { width: 142px; }
  .header-contact { font-size: 10px; }
  .eyebrow-row span:last-child { display: none; }
  .hero-copy { min-height: 570px; padding: 30px 20px; }
  .hero h1 { font-size: clamp(58px, 19vw, 88px); }
  .hero-bottom p { max-width: 260px; }
  .circle-link { height: 54px; width: 54px; }
  .hero-image-wrap { min-height: 74svh; }
  .intro-strip { font-size: 15px; gap: 10px; justify-content: space-between; min-height: 86px; overflow: visible; padding-left: 16px; padding-right: 16px; width: 100%; }
  .intro-strip span { white-space: nowrap; }
  .intro-strip i { flex: 0 0 3px; height: 3px; width: 3px; }
  .section { padding: 90px 20px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .sedcard-title h2, .contact-top h2 { font-size: 64px; }
  .portfolio-grid { display: block; }
  .portfolio-card, .portfolio-card:nth-child(2), .portfolio-card:nth-child(3) {
    margin: 0 0 58px;
    width: 100%;
  }
  .portfolio-caption p { display: none; }
  .editorial-gallery { display: grid; gap: 8px; grid-auto-rows: 31vw; grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .editorial-gallery .gallery-item { grid-column: auto; grid-row: auto; }
  .editorial-gallery .gallery-item:nth-child(3n + 1) { grid-row: span 2; }
  .sedcard-section { gap: 50px; padding: 90px 20px; }
  .measurements-grid { grid-template-columns: 1fr; }
  .measurement:nth-child(odd) { margin-right: 0; }
  .sedcard-actions { align-items: flex-start; flex-direction: column; }
  .agency-row { grid-template-columns: 1fr 1.5fr auto; min-height: 92px; }
  .agency-row span:nth-child(2) { display: none; }
  .agency-row strong { font-size: 17px; }
  .about-image { min-height: 640px; }
  .about-copy, .ai-copy { padding: 90px 20px; }
  .sedcst-copy { padding: 90px 20px; }
  .sedcst-actions { align-items: flex-start; flex-direction: column; }
  .sedcst-visual { margin: 0 20px 20px; min-height: 620px; }
  .showreel-frame { aspect-ratio: 4 / 5; }
  .showreel-play { height: 62px; width: 62px; }
  .showreel-frame > div { align-items: flex-start; bottom: 20px; flex-direction: column; gap: 8px; left: 20px; right: 20px; }
  .about-columns { grid-template-columns: 1fr; }
  .ai-section { min-height: auto; }
  .ai-copy h2 { font-size: 64px; }
  .ai-image { margin: 0 20px 20px; min-height: 620px; }
  .contact-section { padding: 100px 20px 60px; }
  .contact-top { margin-bottom: 60px; }
  .contact-top h2 { font-family: var(--sans); font-size: 58px; }
  footer { gap: 30px; grid-template-columns: 1fr; margin: 0 20px; padding: 36px 0; }
  .footer-links { flex-wrap: wrap; }
  footer > span { justify-self: start; }
  .references-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-button { bottom: 16px; right: 16px; }
  .legal-page { padding: 110px 20px 70px; }
}

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

/* v1.3.0 – interaction, media, privacy and icon refinements */
.sfox-icon {
  display: block;
  fill: none;
  flex: 0 0 auto;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  width: 20px;
}
.sfox-icon .icon-fill { fill: currentColor; stroke: none; }
.header-contact .sfox-icon, .text-link .sfox-icon, .button .sfox-icon, .row-arrow .sfox-icon { height: 17px; width: 17px; }
.circle-link .sfox-icon { height: 22px; width: 22px; }

.portfolio-heading { align-items: start; grid-template-columns: 1.1fr 3.1fr; }
.section-heading-main { max-width: 900px; }
.section-heading-main p { color: var(--muted); line-height: 1.7; margin: 28px 0 0; max-width: 570px; }
.portfolio-card { color: inherit; display: block; }
.portfolio-image { aspect-ratio: auto; background: #ece9e3; overflow: hidden; }
.portfolio-image img { height: auto; object-fit: contain; width: 100%; }
.portfolio-caption { grid-template-columns: 1fr auto auto; }
.portfolio-arrow { align-items: center; color: var(--ink); display: flex; }

.editorial-gallery {
  columns: 3 280px;
  column-gap: 18px;
  display: block;
  margin-top: 120px;
}
.gallery-item {
  break-inside: avoid;
  display: block;
  margin: 0 0 18px;
  overflow: visible;
}
.gallery-lightbox { background: #ece9e3; display: block; overflow: hidden; position: relative; }
.gallery-item img { height: auto; object-fit: contain; width: 100%; }
.image-expand-icon {
  align-items: center;
  background: rgba(246,245,241,.9);
  border-radius: 999px;
  bottom: 12px;
  display: flex;
  height: 38px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: 12px;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  width: 38px;
}
.image-expand-icon .sfox-icon { height: 16px; width: 16px; }
.gallery-lightbox:hover .image-expand-icon { opacity: 1; transform: translateY(0); }

.showreel-frame {
  appearance: none;
  background: #111;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}
.showreel-placeholder { cursor: default; }
.showreel-play .sfox-icon { height: 28px; margin-left: 3px; width: 28px; }
.showreel-label {
  align-items: center;
  bottom: 30px;
  color: white;
  display: flex;
  justify-content: space-between;
  left: 30px;
  position: absolute;
  right: 30px;
  z-index: 2;
}
.showreel-label > span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.showreel-label > strong { font-size: 18px; font-weight: 400; }
.showreel-iframe, .showreel-video-wrap { aspect-ratio: 16 / 8.5; background: #111; border: 0; display: block; width: 100%; }
.showreel-video { height: 100%; object-fit: contain; width: 100%; }

.contact-icon-wrap, .contact-arrow {
  align-items: center !important;
  color: var(--ink) !important;
  display: flex !important;
  flex-direction: row !important;
  font-size: inherit !important;
  gap: 0 !important;
  letter-spacing: 0 !important;
}
.contact-icon { height: 30px; stroke-width: 1.45; width: 30px; }
.contact-arrow .sfox-icon { height: 19px; width: 19px; }
.contact-copy { color: var(--muted); display: flex; flex-direction: column; font-size: 10px; gap: 7px; letter-spacing: .1em; text-transform: uppercase; }

.whatsapp-icon { height: 24px; stroke-width: 1.5; width: 24px; }
.whatsapp-button { gap: 9px; }

.back-link { align-items: center; display: inline-flex !important; gap: 10px; }
.back-link .sfox-icon { height: 17px; width: 17px; }
.legal-page strong { color: var(--ink); }

.privacy-settings-link {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-transform: inherit;
}
.privacy-center[hidden] { display: none !important; }
.privacy-center { inset: 0; position: fixed; z-index: 1000; }
.privacy-backdrop { background: rgba(0,0,0,.44); inset: 0; position: absolute; }
.privacy-panel {
  background: var(--paper);
  bottom: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  max-height: calc(100svh - 44px);
  max-width: 720px;
  overflow: auto;
  padding: 42px;
  position: absolute;
  right: 22px;
  width: calc(100% - 44px);
}
.privacy-panel h2 { font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-style: italic; font-weight: 400; letter-spacing: -.045em; line-height: .95; margin: 22px 50px 22px 0; }
.privacy-lead, .privacy-detail { color: var(--muted); line-height: 1.65; }
.privacy-detail { font-size: 12px; margin: 24px 0 0; }
.privacy-detail a { border-bottom: 1px solid currentColor; }
.privacy-close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 28px;
  top: 28px;
  width: 42px;
}
.privacy-close .sfox-icon { height: 18px; width: 18px; }
.privacy-options { border-top: 1px solid var(--line); margin-top: 28px; }
.privacy-option {
  align-items: center;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 86px;
  padding: 16px 0;
}
.privacy-option > span { display: flex; flex-direction: column; gap: 5px; }
.privacy-option strong { font-size: 14px; font-weight: 500; }
.privacy-option small { color: var(--muted); font-size: 11px; line-height: 1.45; max-width: 500px; }
.privacy-option input {
  appearance: none;
  background: #d4d0c8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  height: 26px;
  margin: 0;
  position: relative;
  transition: background .2s ease;
  width: 46px;
}
.privacy-option input::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0,0,0,.18);
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform .2s ease;
  width: 20px;
}
.privacy-option input:checked { background: var(--ink); }
.privacy-option input:checked::after { transform: translateX(20px); }
.privacy-option input:disabled { cursor: not-allowed; opacity: .45; }
.privacy-option-required { cursor: default; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 28px; }
.privacy-actions .button { border: 1px solid var(--ink); cursor: pointer; min-height: 48px; }
.privacy-essential { background: transparent; }
.privacy-save { background: var(--white); }
.privacy-open { overflow: hidden; }

.sfox-lightbox {
  background: rgba(15,15,15,.98);
  border: 0;
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100vw;
}
.sfox-lightbox::backdrop { background: rgba(15,15,15,.98); }
.lightbox-stage { align-items: center; display: flex; height: 100%; justify-content: center; overflow: auto; padding: 44px; width: 100%; }
.lightbox-stage img { cursor: zoom-in; height: auto; max-height: calc(100dvh - 88px); max-width: calc(100vw - 88px); object-fit: contain; width: auto; }
.lightbox-stage img.is-zoomed { cursor: zoom-out; max-height: none; max-width: none; }
.lightbox-close {
  align-items: center;
  appearance: none;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  position: fixed;
  right: 22px;
  top: 22px;
  width: 44px;
  z-index: 3;
}
.lightbox-close .sfox-icon { height: 20px; width: 20px; }
.lightbox-hint { bottom: 15px; color: rgba(255,255,255,.68); font-size: 9px; left: 50%; letter-spacing: .12em; margin: 0; position: fixed; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }

@media (max-width: 980px) {
  .portfolio-heading { grid-template-columns: 1fr; }
  .section-heading-main p { margin-top: 20px; }
  .editorial-gallery { columns: 2 250px; margin-top: 90px; }
}

@media (max-width: 640px) {
  .portfolio-card, .portfolio-card:nth-child(2), .portfolio-card:nth-child(3) { margin-bottom: 54px; }
  .portfolio-image img { height: auto; object-fit: contain; }
  .portfolio-caption { grid-template-columns: 1fr auto; }
  .portfolio-caption p { display: none; }
  .portfolio-arrow .sfox-icon { height: 18px; width: 18px; }
  .editorial-gallery { columns: 2; column-gap: 8px; display: block; margin-top: 60px; }
  .gallery-item { margin-bottom: 8px; }
  .image-expand-icon { bottom: 8px; height: 34px; opacity: 1; right: 8px; transform: none; width: 34px; }
  .showreel-iframe, .showreel-video-wrap { aspect-ratio: 4 / 5; }
  .showreel-label { align-items: flex-start; bottom: 20px; flex-direction: column; gap: 8px; left: 20px; right: 20px; }
  .contact-grid > * { grid-template-columns: 42px 1fr auto; }
  .contact-icon { height: 28px; width: 28px; }
  .privacy-panel { bottom: 0; max-height: 92svh; padding: 34px 20px 24px; right: 0; width: 100%; }
  .privacy-close { right: 18px; top: 18px; }
  .privacy-panel h2 { font-size: 44px; }
  .privacy-option { gap: 16px; }
  .privacy-actions { align-items: stretch; flex-direction: column; }
  .privacy-actions .button { width: 100%; }
  .lightbox-stage { padding: 60px 10px 50px; }
  .lightbox-stage img { max-height: calc(100dvh - 110px); max-width: calc(100vw - 20px); }
  .lightbox-hint { bottom: 18px; font-size: 8px; }
}

/* v1.3.1 – customer logo references */
.reference-logo {
  aspect-ratio: 1.7;
  padding: clamp(22px, 4vw, 56px);
  position: relative;
  transition: background .3s ease;
}
.reference-logo img {
  display: block;
  filter: grayscale(1);
  height: 100%;
  max-height: 82px;
  max-width: 82%;
  object-fit: contain;
  opacity: .82;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
  width: 100%;
}
.reference-logo:hover { background: #faf9f6; }
.reference-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.035); }

@media (max-width: 760px) {
  .reference-logo { min-height: 112px; padding: 26px 18px; }
  .reference-logo img { max-height: 58px; max-width: 88%; }
}

/* v1.4.0 */
.contact-grid .contact-icon.icon-whatsapp{fill:none}
@media(max-width:1180px) and (min-width:981px){.contact-grid{grid-template-columns:repeat(2,1fr)}.contact-grid>*+*{border-left:0;padding-left:0}.contact-grid>*:nth-child(even){border-left:1px solid var(--line);padding-left:22px}}

/* v1.5.1 – unified sans typography, restored logos and light category strip */
.hero h1 .hero-accent { display:inline-block; font-family:var(--sans); font-style:normal; font-weight:700; letter-spacing:-.055em; }
.section-kicker-strong { font-family:var(--sans); font-weight:700; letter-spacing:.16em; }
.portfolio-heading h2.masculine-heading { font-family:var(--sans); font-style:normal; font-weight:700; letter-spacing:-.065em; }
.reference-logo { cursor:pointer; }
.reference-logo img { filter:grayscale(1) saturate(0) contrast(1.45); opacity:.94; max-height:82px; max-width:82%; object-fit:contain; width:auto; height:auto; }
.reference-logo:hover img { filter:grayscale(1) saturate(0) contrast(1.45); opacity:.94; transform:none; }
.reference-logo.is-active img { filter:none; opacity:1; transform:scale(1.035); }
.reference-logo.is-active { background:#faf9f6; }
.reference-logo:focus-visible { outline:1px solid var(--ink); outline-offset:-3px; }
.reference-wordmark { color:var(--ink); font-size:clamp(13px,1.25vw,18px); font-weight:650; letter-spacing:.04em; text-align:center; }

.portfolio-detail { background:var(--paper); }
.portfolio-detail-hero { min-height:calc(100vh - 82px); display:grid; grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr); border-bottom:1px solid var(--line); }
.portfolio-detail-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(80px,10vw,150px) clamp(30px,7vw,110px); }
.portfolio-back { align-items:center; color:var(--muted); display:inline-flex; font-size:10px; font-weight:650; gap:10px; letter-spacing:.16em; margin-bottom:clamp(55px,8vw,100px); text-transform:uppercase; width:max-content; }
.portfolio-back .sfox-icon { height:15px; width:15px; }
.portfolio-detail-copy h1 { font-family:var(--serif); font-size:clamp(84px,10vw,168px); font-weight:400; letter-spacing:-.065em; line-height:.83; margin:22px 0 34px; }
.portfolio-detail-copy > p { color:var(--muted); font-size:clamp(15px,1.25vw,19px); line-height:1.65; max-width:570px; }
.portfolio-specialties { display:flex; flex-wrap:wrap; gap:8px; margin-top:42px; }
.portfolio-specialties span { border:1px solid var(--line); border-radius:999px; font-size:9px; font-weight:650; letter-spacing:.12em; padding:10px 14px; text-transform:uppercase; }
.portfolio-detail-cover { background:#e8e6e1; margin:0; min-height:720px; overflow:hidden; }
.portfolio-detail-cover img { height:100%; object-fit:cover; object-position:center top; width:100%; }
.portfolio-detail-gallery { padding-top:clamp(90px,10vw,150px); }
.portfolio-detail-gallery-head { display:grid; grid-template-columns:.55fr 1fr .7fr; align-items:end; gap:30px; margin-bottom:clamp(60px,8vw,110px); }
.portfolio-detail-gallery-head h2 { font-family:var(--serif); font-size:clamp(58px,7vw,112px); font-weight:400; letter-spacing:-.055em; line-height:.9; margin:0; }
.portfolio-detail-gallery-head p { color:var(--muted); line-height:1.65; margin:0; max-width:410px; }
.portfolio-masonry { columns:3 300px; column-gap:16px; }
.portfolio-masonry-item { break-inside:avoid; margin:0 0 16px; overflow:hidden; }
.portfolio-masonry-item a { display:block; position:relative; background:#e9e7e2; }
.portfolio-masonry-item img { display:block; height:auto; width:100%; transition:transform .55s cubic-bezier(.2,.7,.2,1); }
.portfolio-masonry-item a:hover img { transform:scale(1.012); }
.portfolio-empty { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:70px 0; }
.portfolio-empty strong { font-family:var(--serif); font-size:clamp(38px,5vw,72px); font-weight:400; }
.portfolio-empty p { color:var(--muted); max-width:650px; }
.portfolio-category-nav { background:var(--ink); color:#fff; padding:clamp(80px,9vw,140px) 3.2vw; }
.portfolio-category-nav .section-kicker { color:rgba(255,255,255,.55); }
.portfolio-category-links { border-top:1px solid rgba(255,255,255,.18); display:grid; grid-template-columns:repeat(3,1fr); margin-top:34px; }
.portfolio-category-links a { color:#fff; display:grid; gap:14px; min-height:220px; padding:35px 28px 30px 0; position:relative; }
.portfolio-category-links a + a { border-left:1px solid rgba(255,255,255,.18); padding-left:28px; }
.portfolio-category-links span { color:rgba(255,255,255,.55); font-size:9px; font-weight:650; letter-spacing:.14em; text-transform:uppercase; }
.portfolio-category-links strong { font-family:var(--serif); font-size:clamp(34px,4vw,62px); font-weight:400; line-height:1; }
.portfolio-category-links .sfox-icon { bottom:30px; height:22px; position:absolute; right:28px; width:22px; }
@media(max-width:900px){
 .portfolio-detail-hero{grid-template-columns:1fr;min-height:auto}.portfolio-detail-copy{padding:90px 20px 65px}.portfolio-back{margin-bottom:52px}.portfolio-detail-copy h1{font-size:clamp(72px,22vw,118px)}.portfolio-detail-cover{min-height:72vh}.portfolio-detail-gallery{padding-left:20px;padding-right:20px}.portfolio-detail-gallery-head{grid-template-columns:1fr;gap:18px}.portfolio-masonry{columns:2 145px;column-gap:8px}.portfolio-masonry-item{margin-bottom:8px}.portfolio-category-nav{padding-left:20px;padding-right:20px}.portfolio-category-links{grid-template-columns:1fr}.portfolio-category-links a{min-height:160px;padding:28px 0}.portfolio-category-links a+a{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding-left:0}.portfolio-category-links .sfox-icon{right:0}.reference-logo img{max-height:58px;max-width:88%}
}

/* v1.5.6 – reference logos stay black & white until clicked */
.reference-logo {
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  padding:clamp(10px,2.2vw,22px);
}
.reference-logo:hover { background:#fff; }
.reference-logo-stack {
  align-items:center;
  display:flex;
  height:100%;
  justify-content:center;
  max-height:112px;
  max-width:96%;
  position:relative;
  width:100%;
}
.reference-logo-image {
  display:block;
  filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82);
  height:auto !important;
  margin:auto;
  max-height:112px !important;
  max-width:100% !important;
  object-fit:contain;
  transform:none !important;
  transition:filter .22s ease, opacity .22s ease, transform .22s ease;
  width:auto !important;
}
.reference-logo:hover .reference-logo-image,
.reference-logo:focus-visible .reference-logo-image {
  filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82);
}
.reference-logo.is-active .reference-logo-image {
  filter:none;
  opacity:1;
  transform:scale(1.035);
}
.reference-logo.is-active { background:#faf9f6; }
@media(max-width:760px){
  .reference-logo{min-height:112px;padding:14px 10px}
  .reference-logo-stack{max-height:72px;max-width:96%}
  .reference-logo-image{max-height:72px !important}
}


/* v1.5.5 – legal page formatting */
.legal-page { max-width: 900px; }
.legal-page .back-link {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  text-decoration: none;
}
.legal-page h1 { margin-bottom: 56px; }
.legal-page h2 {
  border-top: 1px solid rgba(17,17,17,.14);
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.2;
  margin: 44px 0 16px;
  padding-top: 28px;
}
.legal-page h1 + h2 { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-page p { margin: 0 0 18px; max-width: 780px; }
.legal-page a:not(.back-link) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .legal-page h1 { font-size: 54px; margin-bottom: 42px; }
  .legal-page h2 { margin-top: 36px; padding-top: 24px; }
}

/* v1.5.8 – portfolio dropdown, rotating portfolio hero, push activation */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 6px;
  letter-spacing: inherit;
  padding: 0;
  text-transform: inherit;
}
.nav-dropdown-toggle .sfox-icon { height: 13px; transition: transform .22s ease; width: 13px; }
.nav-dropdown-menu {
  background: rgba(246,245,241,.98);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(17,17,17,.08);
  display: grid;
  left: 50%;
  min-width: 190px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 18px);
  transform: translate(-50%, -6px);
  transition: opacity .2s ease, transform .2s ease;
  visibility: hidden;
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(17,17,17,.045); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}
.nav-dropdown:hover .nav-dropdown-toggle .sfox-icon,
.nav-dropdown:focus-within .nav-dropdown-toggle .sfox-icon,
.nav-dropdown.is-open .nav-dropdown-toggle .sfox-icon { transform: rotate(180deg); }

.portfolio-rotator { position: relative; }
.portfolio-rotator-image {
  height: 100% !important;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  position: absolute;
  transition: opacity .85s ease;
  width: 100% !important;
}
.portfolio-rotator-image.is-active { opacity: 1; z-index: 1; }
.portfolio-rotator-progress {
  background: rgba(255,255,255,.35);
  bottom: 24px;
  height: 2px;
  left: 24px;
  overflow: hidden;
  position: absolute;
  right: 24px;
  z-index: 3;
}
.portfolio-rotator-progress span {
  animation: sfoxPortfolioProgress 4.5s linear infinite;
  background: #fff;
  display: block;
  height: 100%;
  transform-origin: left;
  width: 100%;
}
@keyframes sfoxPortfolioProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Commercial needs a slightly tighter type scale so the full word always fits. */
.portfolio-detail-commercial .portfolio-detail-copy h1 {
  font-size: clamp(56px, 7vw, 112px);
  letter-spacing: -.055em;
  line-height: .9;
  max-width: 100%;
  overflow: visible;
}

.privacy-push-control { align-items: flex-end; display: flex; flex-direction: column; gap: 7px; }
.privacy-push-enable {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  padding: 8px 10px;
  text-transform: uppercase;
}
.privacy-push-status { color: var(--muted); font-size: 10px; max-width: 220px; text-align: right; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .desktop-nav { display: flex; gap: 0; justify-self: center; }
  .desktop-nav .nav-direct { display: none; }
  .nav-dropdown-menu {
    left: 50%;
    min-width: 210px;
    top: calc(100% + 20px);
  }
}
@media (max-width: 640px) {
  .nav-dropdown-toggle { font-size: 9px; letter-spacing: .08em; }
  .nav-dropdown-menu { top: calc(100% + 18px); }
  .portfolio-detail-commercial .portfolio-detail-copy h1 { font-size: clamp(48px, 15vw, 82px); letter-spacing: -.05em; }
  .portfolio-rotator-progress { bottom: 16px; left: 16px; right: 16px; }
}
.privacy-switch-label { display:inline-flex; }
.privacy-switch-label .screen-reader-text { position:absolute; }
@media (max-width: 390px) {
  .brand { width: 118px; }
  .header-contact { font-size: 9px; letter-spacing: .08em; }
  .portfolio-detail-commercial .portfolio-detail-copy h1 { font-size: clamp(46px, 13.5vw, 78px); }
}


/* v1.5.9 – static portfolio hero, rotating gallery selection */
.portfolio-gallery-rotator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-40px 0 72px}
.portfolio-gallery-rotator-slot{aspect-ratio:4/5;background:#e9e7e2;margin:0;overflow:hidden}
.portfolio-gallery-rotator-slot img{display:block;height:100%;object-fit:cover;opacity:1;transition:opacity .22s ease;width:100%}
.portfolio-gallery-rotator-slot img.is-changing{opacity:.18}
.references-archive{background:var(--paper);min-height:100vh;padding-top:clamp(110px,12vw,180px)}
.references-archive-head{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(30px,7vw,110px);align-items:end;margin-bottom:clamp(60px,8vw,110px)}
.references-archive-head h1{font-family:var(--sans);font-size:clamp(72px,10vw,160px);font-weight:700;letter-spacing:-.075em;line-height:.82;margin:18px 0 0}
.references-archive-head p{color:var(--muted);font-size:clamp(15px,1.3vw,19px);line-height:1.7;margin:0;max-width:620px}
.references-archive-grid{border-left:1px solid var(--line);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.reference-archive-card{border-bottom:1px solid var(--line);border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;min-height:260px;padding:28px;position:relative}
.reference-archive-logo{align-items:center;display:flex;flex:1;justify-content:center;min-height:125px}
.reference-archive-logo img{filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82);max-height:92px;max-width:88%;object-fit:contain;transition:filter .2s ease}
.reference-archive-card.is-active .reference-archive-logo img{filter:none}
.reference-archive-meta{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}
.reference-archive-meta strong{display:block;font-size:14px;font-weight:700}
.reference-archive-meta span{color:var(--muted);display:block;font-size:11px;line-height:1.5;margin-top:5px}
.reference-archive-meta a{font-size:10px;font-weight:650;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:900px){.portfolio-gallery-rotator{grid-template-columns:repeat(2,minmax(0,1fr));margin:-20px 0 48px}.portfolio-gallery-rotator-slot:nth-child(3){display:none}.references-archive-head{grid-template-columns:1fr}.references-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-archive-card{min-height:210px;padding:20px}}
@media(max-width:560px){.portfolio-gallery-rotator{gap:8px}.references-archive-grid{grid-template-columns:1fr 1fr}.reference-archive-card{min-height:180px;padding:16px}.reference-archive-logo{min-height:95px}.reference-archive-logo img{max-height:68px}}

/* v1.6.0 – stable dropdown hover, compact consent, randomized mosaic, categorized references */
.nav-dropdown::after {
  content:"";
  height:24px;
  left:-18px;
  position:absolute;
  right:-18px;
  top:100%;
}
.nav-dropdown-menu { top:calc(100% + 14px); z-index:40; }

/* The portfolio stays a masonry/mosaic. Its order is shuffled once per page load by JS. */
.portfolio-masonry[data-randomize-portfolio="1"] { visibility:visible; }
.portfolio-gallery-rotator { display:none !important; }

/* Compact first-layer consent banner, visually aligned with the Fuchs IT implementation. */
.privacy-center { pointer-events:none; }
.privacy-backdrop { display:none; }
.privacy-panel.privacy-panel-compact {
  bottom:18px;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 18px 55px rgba(17,17,17,.16);
  max-height:calc(100svh - 36px);
  max-width:520px;
  padding:14px 15px;
  pointer-events:auto;
  right:18px;
  width:min(520px,calc(100% - 36px));
}
.privacy-panel-compact .privacy-close {
  height:30px;
  right:10px;
  top:10px;
  width:30px;
}
.privacy-panel-compact .privacy-close .sfox-icon { height:13px; width:13px; }
.privacy-panel-compact .privacy-heading { padding-right:34px; }
.privacy-panel-compact .section-kicker { font-size:8px; letter-spacing:.14em; }
.privacy-panel-compact h2 {
  font-family:var(--sans);
  font-size:18px;
  font-style:normal;
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.05;
  margin:4px 0 7px;
}
.privacy-panel-compact .privacy-lead { font-size:10px; line-height:1.42; margin:0; padding-right:18px; }
.privacy-panel-compact .privacy-options,
.privacy-panel-compact .privacy-detail { display:none; }
.privacy-panel-compact .privacy-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; }
.privacy-panel-compact .privacy-actions .button {
  min-height:34px;
  padding:7px 10px;
  font-size:9px;
  letter-spacing:.06em;
  white-space:nowrap;
}
.privacy-panel-compact.is-detailed { padding:20px; }
.privacy-panel-compact.is-detailed .privacy-options { display:block; margin-top:17px; }
.privacy-panel-compact.is-detailed .privacy-detail { display:block; font-size:10px; line-height:1.45; margin-top:14px; }
.privacy-panel-compact.is-detailed .privacy-option { min-height:62px; padding:10px 0; }
.privacy-panel-compact.is-detailed .privacy-option strong { font-size:12px; }
.privacy-panel-compact.is-detailed .privacy-option small { font-size:9.5px; line-height:1.35; max-width:390px; }
.privacy-panel-compact.is-detailed .privacy-option input { height:22px; width:40px; }
.privacy-panel-compact.is-detailed .privacy-option input::after { height:16px; top:3px; width:16px; }
.privacy-panel-compact.is-detailed .privacy-option input:checked::after { transform:translateX(18px); }

/* Hidden references archive – logo slider plus categorized list instead of cards. */
.references-archive { background:var(--paper); min-height:100vh; padding-top:0; }
.references-archive-head {
  align-items:start;
  display:block;
  margin:0;
  padding-bottom:clamp(55px,7vw,90px);
  padding-top:clamp(120px,13vw,185px);
}
.references-archive-head h1 {
  font-family:var(--sans);
  font-size:clamp(76px,11vw,170px);
  font-weight:700;
  letter-spacing:-.075em;
  line-height:.82;
  margin:20px 0 0;
}
.references-archive-head p {
  color:var(--muted);
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.65;
  margin:30px 0 0;
  max-width:620px;
}
.references-logo-slider {
  border-bottom:1px solid var(--line);
  border-top:1px solid var(--line);
  overflow:hidden;
  padding:22px 0 26px;
}
.references-logo-slider-label { margin:0 3.2vw 16px; }
.references-logo-slider-viewport { overflow:hidden; }
.references-logo-slider-track {
  align-items:center;
  animation:sfoxReferenceMarquee 55s linear infinite;
  display:flex;
  gap:10px;
  width:max-content;
}
.references-logo-slider:hover .references-logo-slider-track { animation-play-state:paused; }
.reference-slider-logo {
  align-items:center;
  background:transparent;
  border:0;
  display:flex;
  flex:0 0 180px;
  height:92px;
  justify-content:center;
  padding:12px 20px;
}
.reference-slider-logo img {
  filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82);
  max-height:64px;
  max-width:145px;
  object-fit:contain;
  transition:filter .2s ease;
}
.reference-slider-logo.is-active img { filter:none; }
@keyframes sfoxReferenceMarquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.references-list { padding-top:clamp(70px,8vw,120px); }
.references-list-group { border-top:1px solid var(--line); display:grid; grid-template-columns:minmax(220px,.72fr) minmax(0,1.5fr); }
.references-list-group:last-child { border-bottom:1px solid var(--line); }
.references-list-group-head { padding:28px 40px 32px 0; position:relative; }
.references-list-group-head > span { color:var(--muted); display:block; font-size:9px; letter-spacing:.16em; margin-bottom:20px; }
.references-list-group-head h2 { font-family:var(--sans); font-size:clamp(28px,3.5vw,54px); font-weight:700; letter-spacing:-.05em; line-height:.95; margin:0; max-width:360px; }
.references-list-group-head small { color:var(--muted); display:block; font-size:9px; letter-spacing:.1em; margin-top:16px; text-transform:uppercase; }
.references-list-rows { border-left:1px solid var(--line); }
.reference-list-row {
  align-items:center;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  cursor:pointer;
  display:grid;
  grid-template-columns:160px minmax(0,1fr) 44px;
  min-height:132px;
  padding:18px 0 18px 26px;
}
.reference-list-row:last-child { border-bottom:0; }
.reference-list-row:hover { background:rgba(17,17,17,.018); }
.reference-list-logo { align-items:center; display:flex; height:88px; justify-content:flex-start; padding-right:24px; }
.reference-list-logo img {
  filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82);
  max-height:72px;
  max-width:130px;
  object-fit:contain;
  transition:filter .2s ease;
}
.reference-list-row:hover .reference-list-logo img { filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82); }
.reference-list-row.is-active .reference-list-logo img { filter:none; }
.reference-list-copy { display:flex; flex-direction:column; gap:6px; padding-right:25px; }
.reference-list-copy strong { font-size:clamp(16px,1.5vw,21px); font-weight:700; }
.reference-list-copy span { color:var(--muted); font-size:12px; line-height:1.5; }
.reference-list-link { align-items:center; align-self:stretch; border-left:1px solid var(--line); display:flex; justify-content:center; }
.reference-list-link .sfox-icon { height:17px; width:17px; }

@media(max-width:900px){
  .nav-dropdown::after { height:18px; }
  .references-list-group { grid-template-columns:1fr; }
  .references-list-group-head { padding:25px 0 28px; }
  .references-list-rows { border-left:0; border-top:1px solid var(--line); }
  .reference-list-row { grid-template-columns:120px minmax(0,1fr) 40px; min-height:112px; padding-left:0; }
  .reference-list-logo { height:72px; }
  .reference-list-logo img { max-height:58px; max-width:105px; }
}
@media(max-width:640px){
  .privacy-panel.privacy-panel-compact { bottom:10px; right:10px; width:calc(100% - 20px); }
  .privacy-panel-compact .privacy-actions { display:grid; grid-template-columns:1fr 1fr; }
  .privacy-panel-compact .privacy-actions .button-dark { grid-column:1 / -1; }
  .privacy-panel-compact.is-detailed { max-height:calc(100svh - 20px); }
  .references-archive-head { padding-left:20px; padding-right:20px; }
  .references-logo-slider-label { margin-left:20px; margin-right:20px; }
  .reference-slider-logo { flex-basis:145px; height:78px; padding:10px 16px; }
  .reference-slider-logo img { max-height:54px; max-width:115px; }
  .references-list { padding-left:20px; padding-right:20px; }
  .reference-list-row { grid-template-columns:92px minmax(0,1fr) 36px; min-height:102px; }
  .reference-list-logo { padding-right:14px; }
  .reference-list-logo img { max-height:50px; max-width:78px; }
  .reference-list-copy strong { font-size:15px; }
  .reference-list-copy span { font-size:10px; }
}

/* v1.6.1 – seamless references, modern consent, cut-out logos, precise anchors */
html { scroll-padding-top: 100px; }
#start, #portfolio, #sedcard, #sedcst, #showreel, #agencies, #references, #about, #kontakt { scroll-margin-top: 100px; }

/* Uploaded/local video keeps its native aspect ratio and has no frame. */
.showreel-video-wrap { aspect-ratio:auto; background:transparent; border:0; line-height:0; overflow:hidden; }
.showreel-video { background:transparent; border:0; display:block; height:auto; max-height:none; object-fit:contain; width:100%; }
.showreel-iframe { aspect-ratio:16/9; border:0; display:block; width:100%; }

/* Reference logos: transparent monochrome layer by default, color only after click/tap. */
.reference-logo-stack { isolation:isolate; }
.reference-logo-stack .reference-logo-image { grid-area:1 / 1; }
.reference-logo-monochrome { mix-blend-mode:multiply; opacity:1 !important; position:relative; z-index:2; }
.reference-logo-color { inset:auto; opacity:0 !important; position:absolute; z-index:3; }
.reference-logo.is-active .reference-logo-monochrome { opacity:0 !important; }
.reference-logo.is-active .reference-logo-color { filter:none !important; opacity:1 !important; }
@media(max-width:760px){
  .references-section .reference-logo { background:#fff !important; }
  .references-section .reference-logo-stack { background:transparent !important; }
  .references-section .reference-logo-monochrome { background:transparent !important; }
}

/* Seamless marquee: two identical groups and an exact half-track translation. */
.references-logo-slider-track { --sfox-slider-gap:10px; gap:var(--sfox-slider-gap); animation:sfoxReferenceMarquee 44s linear infinite; will-change:transform; }
.references-logo-slider-group { align-items:center; display:flex; flex:0 0 auto; gap:var(--sfox-slider-gap); }
@keyframes sfoxReferenceMarquee { from{transform:translate3d(0,0,0)} to{transform:translate3d(calc(-50% - (var(--sfox-slider-gap) / 2)),0,0)} }

/* Text-only reference archive with the five original high-level disciplines. */
.references-text-list { border-top:1px solid var(--line); padding-top:0; }
.references-text-group { border-bottom:1px solid var(--line); display:grid; grid-template-columns:minmax(200px,.58fr) minmax(0,1.42fr); }
.references-text-group h2 { font-family:var(--sans); font-size:clamp(28px,3.6vw,56px); font-weight:700; letter-spacing:-.055em; line-height:.95; margin:0; padding:32px 42px 34px 0; }
.references-text-group ul { border-left:1px solid var(--line); list-style:none; margin:0; padding:20px 0 20px 34px; }
.references-text-group li { border-bottom:1px solid rgba(17,17,17,.08); font-size:clamp(15px,1.25vw,19px); font-weight:520; padding:13px 0; }
.references-text-group li:last-child { border-bottom:0; }
.references-text-empty { border-left:1px solid var(--line); color:var(--muted); margin:0; padding:34px; }
@media(max-width:760px){
  .references-text-group { grid-template-columns:1fr; }
  .references-text-group h2 { padding:28px 0 20px; }
  .references-text-group ul, .references-text-empty { border-left:0; border-top:1px solid var(--line); padding-left:0; }
}

/* Modern compact consent card. */
.privacy-panel.privacy-panel-compact {
  background:rgba(250,249,246,.96);
  border:1px solid rgba(17,17,17,.09);
  border-radius:20px;
  box-shadow:0 22px 70px rgba(17,17,17,.18);
  padding:17px 18px 16px;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.privacy-panel-compact .section-kicker { color:#77736d; }
.privacy-panel-compact h2 { font-size:19px; letter-spacing:-.035em; margin-top:5px; }
.privacy-panel-compact .privacy-lead { color:#6f6b65; font-size:10.5px; }
.privacy-panel-compact .privacy-actions { align-items:center; gap:7px; }
.privacy-panel-compact .privacy-actions .button {
  border-radius:999px;
  font-weight:650;
  min-height:36px;
  padding:8px 13px;
}
.privacy-panel-compact .privacy-essential { border-color:rgba(17,17,17,.14); }
.privacy-panel-compact .privacy-details-toggle, .privacy-panel-compact .privacy-save { background:#fff; border-color:rgba(17,17,17,.14); }
.privacy-panel-compact .privacy-all { box-shadow:0 7px 18px rgba(17,17,17,.12); }
.privacy-panel-compact .privacy-close { background:rgba(17,17,17,.045); border-radius:50%; }
.privacy-panel-compact.is-detailed { border-radius:22px; }
.references-logo-slider:hover .references-logo-slider-track { animation-play-state:running; }


/* v1.6.2 – independent references archive + mobile cut-out parity */
.references-archive-count {
  color:var(--muted);
  font-size:10px;
  font-weight:650;
  letter-spacing:.14em;
  margin:22px 0 0;
  text-transform:uppercase;
}
.references-text-heading {
  align-items:flex-start;
  display:flex;
  gap:14px;
  justify-content:space-between;
  padding:32px 42px 34px 0;
}
.references-text-heading h2 { padding:0; }
.references-text-heading > span {
  align-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  display:inline-flex;
  flex:0 0 auto;
  font-size:9px;
  font-weight:700;
  height:27px;
  justify-content:center;
  letter-spacing:.08em;
  min-width:27px;
  padding:0 8px;
}
.references-text-list-independent .references-text-group ul {
  columns:2 240px;
  column-gap:38px;
}
.references-text-list-independent .references-text-group li {
  break-inside:avoid;
}
@media(max-width:760px){
  /* Use the exact same two logo layers as desktop, without a white card/image box. */
  .references-section .reference-logo {
    background:transparent !important;
  }
  .references-section .reference-logo:hover,
  .references-section .reference-logo.is-active {
    background:transparent !important;
  }
  .references-section .reference-logo-stack {
    background:transparent !important;
    isolation:auto !important;
  }
  .references-section .reference-logo-image {
    background:transparent !important;
    mix-blend-mode:multiply;
  }
  .references-section .reference-logo-monochrome {
    filter:none !important;
  }
  .references-section .reference-logo-color {
    mix-blend-mode:multiply;
  }
  .references-text-heading { padding:28px 0 20px; }
  .references-text-list-independent .references-text-group ul { columns:1; }
}

/* v1.6.3 – screenshot-complete archive, isolated marquee, mobile/desktop logo parity */
.references-logo-slider {
  overflow:visible;
  padding:24px 0 30px;
}
.references-logo-slider-viewport {
  box-sizing:border-box;
  overflow:hidden;
  padding:10px 0;
  width:100%;
}
.references-logo-slider-track {
  --sfox-slider-gap:14px;
  align-items:center;
  display:flex;
  gap:var(--sfox-slider-gap);
  width:max-content;
}
.references-logo-slider-group {
  align-items:center;
  display:flex;
  flex:0 0 auto;
  gap:var(--sfox-slider-gap);
}
.references-logo-slider .reference-slider-logo {
  align-items:center;
  aspect-ratio:auto !important;
  background:transparent !important;
  box-sizing:border-box;
  display:flex;
  flex:0 0 200px;
  height:104px;
  justify-content:center;
  min-width:200px;
  overflow:hidden;
  padding:14px 20px !important;
  width:200px;
}
.references-logo-slider .reference-logo-stack {
  align-items:center;
  display:grid;
  height:76px;
  justify-items:center;
  max-height:none;
  max-width:none;
  overflow:hidden;
  position:relative;
  width:160px;
}
.references-logo-slider .reference-logo-image {
  grid-area:1 / 1;
  height:auto !important;
  margin:auto;
  max-height:68px !important;
  max-width:154px !important;
  object-fit:contain;
  position:relative !important;
  transform:none !important;
  width:auto !important;
}
.references-logo-slider .reference-logo-monochrome {
  filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82) !important;
  opacity:1 !important;
}
.references-logo-slider .reference-logo-color { opacity:0 !important; }
.references-logo-slider .reference-slider-logo.is-active .reference-logo-monochrome { opacity:0 !important; }
.references-logo-slider .reference-slider-logo.is-active .reference-logo-color { filter:none !important; opacity:1 !important; }

/* The long archive mirrors the old three-column overview while retaining the new grouped design. */
.references-text-list-independent .references-text-group ul {
  columns:3 205px;
  column-gap:clamp(28px,4vw,58px);
}
.references-text-list-independent .references-text-group li {
  break-inside:avoid;
  padding-right:12px;
}

/* Mobile start-page logos use exactly the same monochrome/color logic as desktop. */
@media(max-width:760px){
  .references-section .reference-logo,
  .references-section .reference-logo:hover,
  .references-section .reference-logo.is-active {
    background:#fff !important;
  }
  .references-section .reference-logo-stack {
    background:transparent !important;
    isolation:isolate !important;
  }
  .references-section .reference-logo-image {
    background:transparent !important;
    mix-blend-mode:normal !important;
  }
  .references-section .reference-logo-monochrome {
    filter:grayscale(1) saturate(0) contrast(1.08) brightness(.82) !important;
    opacity:1 !important;
  }
  .references-section .reference-logo-color {
    filter:none !important;
    opacity:0 !important;
  }
  .references-section .reference-logo.is-active .reference-logo-monochrome { opacity:0 !important; }
  .references-section .reference-logo.is-active .reference-logo-color { opacity:1 !important; }
  .references-logo-slider .reference-slider-logo {
    flex-basis:158px;
    height:88px;
    min-width:158px;
    padding:10px 14px !important;
    width:158px;
  }
  .references-logo-slider .reference-logo-stack { height:64px; width:126px; }
  .references-logo-slider .reference-logo-image { max-height:56px !important; max-width:122px !important; }
  .references-text-list-independent .references-text-group ul { columns:1; }
}
@media(min-width:761px) and (max-width:1100px){
  .references-text-list-independent .references-text-group ul { columns:2 220px; }
}

/* v1.6.4 – robust Commercial heading + mobile reference parity */
.portfolio-detail-commercial .portfolio-detail-copy {
  min-width: 0;
  overflow: visible;
  padding-right: clamp(34px, 5vw, 82px);
}
.portfolio-detail-commercial .portfolio-detail-copy h1 {
  box-sizing: border-box;
  display: block;
  font-size: clamp(50px, 6vw, 94px);
  letter-spacing: -.045em;
  line-height: .94;
  max-width: none;
  overflow: visible;
  padding-right: .08em;
  white-space: nowrap;
  width: max-content;
}

/* On phones use the same visual state as desktop, but never darken a white
   background inside an uploaded logo file. High contrast keeps the mark black
   while light source backgrounds visually merge into the white card. */
@media (max-width: 760px) {
  .references-section .reference-logo {
    background: #fff !important;
    padding: 16px 12px !important;
  }
  .references-section .reference-logo-stack {
    align-items: center !important;
    background: transparent !important;
    display: grid !important;
    height: 78px !important;
    justify-items: center !important;
    max-height: 78px !important;
    max-width: 94% !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .references-section .reference-logo-image {
    background: transparent !important;
    grid-area: 1 / 1 !important;
    height: auto !important;
    margin: auto !important;
    max-height: 70px !important;
    max-width: 94% !important;
    object-fit: contain !important;
    width: auto !important;
  }
  .references-section .reference-logo-monochrome {
    filter: grayscale(1) saturate(0) contrast(1.75) !important;
    mix-blend-mode: multiply !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .references-section .reference-logo-color {
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 0 !important;
    position: absolute !important;
    z-index: 3 !important;
  }
  .references-section .reference-logo.is-active .reference-logo-monochrome {
    opacity: 0 !important;
  }
  .references-section .reference-logo.is-active .reference-logo-color {
    opacity: 1 !important;
  }
}

@media (max-width: 900px) {
  .portfolio-detail-commercial .portfolio-detail-copy {
    padding-right: 28px;
  }
  .portfolio-detail-commercial .portfolio-detail-copy h1 {
    font-size: clamp(44px, 11.5vw, 72px);
    letter-spacing: -.04em;
  }
}
@media (max-width: 420px) {
  .portfolio-detail-commercial .portfolio-detail-copy h1 {
    font-size: clamp(40px, 10.8vw, 50px);
    letter-spacing: -.035em;
  }
}


/* v1.6.5 – stable mobile reference layers + no first-paint portfolio shuffle */
.portfolio-masonry { visibility: visible !important; }

@media (max-width: 760px) {
  .references-section .reference-logo {
    background:#fff !important;
    overflow:hidden !important;
  }
  .references-section .reference-logo-stack {
    align-items:stretch !important;
    display:block !important;
    height:82px !important;
    isolation:isolate !important;
    max-height:82px !important;
    max-width:96% !important;
    overflow:hidden !important;
    position:relative !important;
    width:100% !important;
  }
  .references-section .reference-logo-image,
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo-color {
    background:transparent !important;
    height:auto !important;
    left:50% !important;
    margin:0 !important;
    max-height:72px !important;
    max-width:94% !important;
    object-fit:contain !important;
    position:absolute !important;
    right:auto !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    transform-origin:center center !important;
    width:auto !important;
  }
  .references-section .reference-logo-monochrome {
    filter:grayscale(1) saturate(0) contrast(2.35) !important;
    mix-blend-mode:multiply !important;
    opacity:1 !important;
    z-index:2 !important;
  }
  .references-section .reference-logo-color {
    filter:none !important;
    mix-blend-mode:multiply !important;
    opacity:0 !important;
    z-index:3 !important;
  }
  .references-section .reference-logo:hover .reference-logo-image,
  .references-section .reference-logo:focus-visible .reference-logo-image,
  .references-section .reference-logo.is-active .reference-logo-image {
    transform:translate(-50%,-50%) !important;
  }
  .references-section .reference-logo.is-active .reference-logo-monochrome { opacity:0 !important; }
  .references-section .reference-logo.is-active .reference-logo-color { opacity:1 !important; }
}


/* v1.6.6 – definitive mobile-logo parity + zero first-paint portfolio reflow */
.portfolio-masonry-item a[style*="aspect-ratio"] {
  display:block;
  overflow:hidden;
  position:relative;
  width:100%;
}
.portfolio-masonry-item a[style*="aspect-ratio"] > img {
  display:block;
  height:100% !important;
  object-fit:contain !important;
  width:100% !important;
}

@media (max-width:760px) {
  .references-section,
  .references-section .references-grid,
  .references-section .reference-logo,
  .references-section .reference-logo:hover,
  .references-section .reference-logo.is-active {
    background:#fff !important;
  }
  .references-section .reference-logo {
    box-sizing:border-box !important;
    overflow:hidden !important;
    padding:14px 10px !important;
  }
  .references-section .reference-logo-stack {
    align-items:center !important;
    background:#fff !important;
    display:flex !important;
    height:88px !important;
    justify-content:center !important;
    max-height:88px !important;
    max-width:100% !important;
    overflow:hidden !important;
    position:relative !important;
    width:100% !important;
  }
  /* Do not swap two differently cropped files on phones. The exact same
     color image is used in both states; only its filter changes. */
  .references-section .reference-logo-monochrome {
    display:none !important;
  }
  .references-section .reference-logo-color,
  .references-section .reference-logo.is-active .reference-logo-color {
    display:block !important;
    height:auto !important;
    left:auto !important;
    margin:0 auto !important;
    max-height:76px !important;
    max-width:94% !important;
    object-fit:contain !important;
    object-position:center center !important;
    opacity:1 !important;
    position:static !important;
    right:auto !important;
    top:auto !important;
    transform:none !important;
    transform-origin:center center !important;
    width:auto !important;
  }
  .references-section .reference-logo-color {
    /* Push light/neutral image canvases toward white while preserving the
       mark itself. On the white cell this visually removes embedded boxes. */
    filter:grayscale(1) saturate(0) contrast(1.82) brightness(1.04) !important;
    mix-blend-mode:multiply !important;
  }
  .references-section .reference-logo.is-active .reference-logo-color {
    filter:contrast(1.06) brightness(1.03) saturate(1.08) !important;
    mix-blend-mode:multiply !important;
  }
  .references-section .reference-logo:hover .reference-logo-color,
  .references-section .reference-logo:focus-visible .reference-logo-color {
    transform:none !important;
  }
}


/* v1.6.7 – restore visible portfolio media + single-layer reference logos */
.portfolio-masonry { visibility: visible !important; }
.portfolio-masonry-item { display:block !important; }
.portfolio-masonry-item a.lightbox-trigger {
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  overflow:hidden;
  position:relative;
  width:100% !important;
}
.portfolio-masonry-item a.lightbox-trigger > img {
  display:block !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
  opacity:1 !important;
  position:static !important;
  visibility:visible !important;
  width:100% !important;
}

.references-section .reference-logo,
.references-section .reference-logo:hover,
.references-section .reference-logo.is-active {
  background:#fff !important;
}
.references-section .reference-logo-stack {
  align-items:center !important;
  background:#fff !important;
  display:flex !important;
  height:100% !important;
  justify-content:center !important;
  max-height:112px !important;
  max-width:96% !important;
  overflow:visible !important;
  position:relative !important;
  width:100% !important;
}
.references-section .reference-logo-single {
  background:transparent !important;
  display:block !important;
  filter:grayscale(1) saturate(0) contrast(1.16) !important;
  height:auto !important;
  left:auto !important;
  margin:auto !important;
  max-height:100px !important;
  max-width:94% !important;
  mix-blend-mode:normal !important;
  object-fit:contain !important;
  opacity:1 !important;
  position:static !important;
  right:auto !important;
  top:auto !important;
  transform:none !important;
  visibility:visible !important;
  width:auto !important;
}
.references-section .reference-logo:hover .reference-logo-single,
.references-section .reference-logo:focus-visible .reference-logo-single {
  filter:grayscale(1) saturate(0) contrast(1.16) !important;
  transform:none !important;
}
.references-section .reference-logo.is-active .reference-logo-single {
  filter:none !important;
  transform:none !important;
}
@media(max-width:760px){
  .references-section .reference-logo {
    min-height:150px !important;
    padding:18px 14px !important;
  }
  .references-section .reference-logo-stack {
    background:#fff !important;
    height:110px !important;
    max-height:110px !important;
    max-width:100% !important;
    overflow:visible !important;
  }
  .references-section .reference-logo-single {
    filter:grayscale(1) saturate(0) contrast(1.16) !important;
    max-height:100px !important;
    max-width:94% !important;
  }
  .references-section .reference-logo.is-active .reference-logo-single {
    filter:none !important;
  }
}


/* v1.6.8 – identical transparent reference-logo rendering on desktop and mobile */
.references-section .reference-logo,
.references-section .reference-logo:hover,
.references-section .reference-logo.is-active {
  background: #fff !important;
}
.references-section .reference-logo {
  box-sizing: border-box !important;
  cursor: pointer;
  overflow: hidden !important;
}
.references-section .reference-logo-stack {
  align-items: center !important;
  background: transparent !important;
  display: grid !important;
  height: 112px !important;
  justify-items: center !important;
  margin: 0 auto !important;
  max-height: 112px !important;
  max-width: 96% !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
}
.references-section .reference-logo-image {
  background: transparent !important;
  display: block !important;
  grid-area: 1 / 1 !important;
  height: auto !important;
  inset: auto !important;
  margin: auto !important;
  max-height: 100px !important;
  max-width: 94% !important;
  object-fit: contain !important;
  object-position: center center !important;
  position: static !important;
  transform: none !important;
  transform-origin: center center !important;
  width: auto !important;
}
.references-section .reference-logo-monochrome {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
}
.references-section .reference-logo-color {
  filter: none !important;
  mix-blend-mode: multiply !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 3 !important;
}
.references-section .reference-logo:hover .reference-logo-monochrome,
.references-section .reference-logo:focus-visible .reference-logo-monochrome {
  opacity: 1 !important;
  transform: none !important;
}
.references-section .reference-logo:hover .reference-logo-color,
.references-section .reference-logo:focus-visible .reference-logo-color {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
}
.references-section .reference-logo.is-active .reference-logo-monochrome {
  opacity: 0 !important;
  visibility: hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-color {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
@media (max-width: 760px) {
  .references-section .references-grid {
    background: #fff !important;
  }
  .references-section .reference-logo {
    background: #fff !important;
    min-height: 142px !important;
    padding: 14px 10px !important;
  }
  .references-section .reference-logo-stack {
    background: transparent !important;
    height: 104px !important;
    max-height: 104px !important;
    max-width: 96% !important;
  }
  .references-section .reference-logo-image {
    max-height: 92px !important;
    max-width: 94% !important;
  }
  .references-section .reference-logo-monochrome {
    display: block !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
  }
  .references-section .reference-logo-color {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .references-section .reference-logo.is-active .reference-logo-monochrome {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .references-section .reference-logo.is-active .reference-logo-color {
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* v1.6.9 – one canonical reference-logo state for desktop and mobile.
   The monochrome layer is ALWAYS forced to monochrome, even when its source
   has to fall back to the colour file. This removes the mobile-only colour
   regression and visually neutralises white image canvases on the white grid. */
.references-section,
.references-section .references-grid,
.references-section .reference-logo,
.references-section .reference-logo:hover,
.references-section .reference-logo.is-active {
  background:#fff !important;
}
.references-section .reference-logo {
  box-sizing:border-box !important;
  overflow:hidden !important;
  position:relative !important;
}
.references-section .reference-logo-stack {
  align-items:center !important;
  background:transparent !important;
  display:grid !important;
  height:112px !important;
  justify-items:center !important;
  margin:0 auto !important;
  max-height:112px !important;
  max-width:96% !important;
  overflow:hidden !important;
  position:relative !important;
  width:100% !important;
}
.references-section .reference-logo-image,
.references-section .reference-logo-monochrome,
.references-section .reference-logo-color {
  background:transparent !important;
  display:block !important;
  grid-area:1 / 1 !important;
  height:auto !important;
  inset:auto !important;
  margin:auto !important;
  max-height:100px !important;
  max-width:94% !important;
  object-fit:contain !important;
  object-position:center center !important;
  position:relative !important;
  transform:none !important;
  transform-origin:center center !important;
  width:auto !important;
}
.references-section .reference-logo-monochrome {
  filter:grayscale(1) saturate(0) contrast(1.32) brightness(.92) !important;
  mix-blend-mode:multiply !important;
  opacity:1 !important;
  visibility:visible !important;
  z-index:2 !important;
}
.references-section .reference-logo-color {
  filter:none !important;
  mix-blend-mode:multiply !important;
  opacity:0 !important;
  visibility:hidden !important;
  z-index:3 !important;
}
.references-section .reference-logo:hover .reference-logo-monochrome,
.references-section .reference-logo:focus-visible .reference-logo-monochrome {
  filter:grayscale(1) saturate(0) contrast(1.32) brightness(.92) !important;
  opacity:1 !important;
  transform:none !important;
  visibility:visible !important;
}
.references-section .reference-logo:hover .reference-logo-color,
.references-section .reference-logo:focus-visible .reference-logo-color {
  opacity:0 !important;
  transform:none !important;
  visibility:hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-monochrome {
  opacity:0 !important;
  visibility:hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-color {
  filter:none !important;
  opacity:1 !important;
  transform:none !important;
  visibility:visible !important;
}
@media (max-width:760px) {
  .references-section .reference-logo {
    min-height:142px !important;
    padding:14px 10px !important;
  }
  .references-section .reference-logo-stack {
    height:104px !important;
    max-height:104px !important;
    max-width:96% !important;
  }
  .references-section .reference-logo-image,
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo-color {
    max-height:92px !important;
    max-width:94% !important;
  }
  /* Explicitly repeat the desktop state so touch browsers cannot inherit an
     older mobile colour override from a cached/legacy rule. */
  .references-section .reference-logo-monochrome {
    filter:grayscale(1) saturate(0) contrast(1.32) brightness(.92) !important;
    mix-blend-mode:multiply !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .references-section .reference-logo-color {
    filter:none !important;
    mix-blend-mode:multiply !important;
    opacity:0 !important;
    visibility:hidden !important;
  }
  .references-section .reference-logo.is-active .reference-logo-monochrome {
    opacity:0 !important;
    visibility:hidden !important;
  }
  .references-section .reference-logo.is-active .reference-logo-color {
    opacity:1 !important;
    visibility:visible !important;
  }
}


/* v1.6.10 – homepage reference logos: the monochrome state is identical on
   desktop and mobile. Keep white pixels white; never darken a fallback image
   canvas, otherwise Safari/iOS reveals it as a grey rectangle. */
.references-section .reference-logo-monochrome,
.references-section .reference-logo:hover .reference-logo-monochrome,
.references-section .reference-logo:focus-visible .reference-logo-monochrome {
  filter: grayscale(1) saturate(0) contrast(1.32) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.references-section .reference-logo-color {
  opacity: 0 !important;
  visibility: hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-monochrome {
  opacity: 0 !important;
  visibility: hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-color {
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width:760px) {
  /* Only dimensions differ on mobile; source, colour state and filters do not. */
  .references-section,
  .references-section .references-grid,
  .references-section .reference-logo,
  .references-section .reference-logo:hover,
  .references-section .reference-logo.is-active {
    background:#fff !important;
  }
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo:hover .reference-logo-monochrome,
  .references-section .reference-logo:focus-visible .reference-logo-monochrome {
    filter: grayscale(1) saturate(0) contrast(1.32) !important;
  }
}

/* v1.6.13 – stable homepage reference logos + precise visual anchor targets */
html { scroll-padding-top: 110px; }
#portfolio, #sedcard, #sedcst, #showreel, #agencies, #references, #about, #kontakt {
  scroll-margin-top: 110px;
}
/* Both states intentionally use the exact same source image. The monochrome
   appearance is visual only, so generated black/cut-out files can never turn
   a logo into a solid rectangle or change its geometry. */
.references-section .reference-logo,
.references-section .reference-logo:hover,
.references-section .reference-logo.is-active,
.references-section .reference-logo-stack {
  background:#fff !important;
}
.references-section .reference-logo-stack {
  isolation:isolate !important;
}
.references-section .reference-logo-image,
.references-section .reference-logo-monochrome,
.references-section .reference-logo-color {
  mix-blend-mode:normal !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
}
.references-section .reference-logo-monochrome,
.references-section .reference-logo:hover .reference-logo-monochrome,
.references-section .reference-logo:focus-visible .reference-logo-monochrome {
  filter:grayscale(1) saturate(0) contrast(1.08) !important;
  opacity:1 !important;
  visibility:visible !important;
}
.references-section .reference-logo-color,
.references-section .reference-logo:hover .reference-logo-color,
.references-section .reference-logo:focus-visible .reference-logo-color {
  filter:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-monochrome {
  opacity:0 !important;
  visibility:hidden !important;
}
.references-section .reference-logo.is-active .reference-logo-color {
  filter:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
@media (max-width:760px) {
  html { scroll-padding-top: 96px; }
  #portfolio, #sedcard, #sedcst, #showreel, #agencies, #references, #about, #kontakt { scroll-margin-top:96px; }
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo:hover .reference-logo-monochrome,
  .references-section .reference-logo:focus-visible .reference-logo-monochrome {
    filter:grayscale(1) saturate(0) contrast(1.08) !important;
  }
}

/* v1.6.14 – mobile-only reference logo safe area.
   Desktop rendering is intentionally untouched. Keep every logo fully inside
   its two-column cell without changing source, colour state or interactions. */
@media (max-width:760px) {
  .references-section .reference-logo {
    box-sizing:border-box !important;
    overflow:visible !important;
    padding:20px 18px !important;
  }
  .references-section .reference-logo-stack {
    box-sizing:border-box !important;
    height:104px !important;
    max-height:104px !important;
    max-width:100% !important;
    overflow:visible !important;
    width:100% !important;
  }
  .references-section .reference-logo-image,
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo-color {
    height:auto !important;
    max-height:76px !important;
    max-width:82% !important;
    object-fit:contain !important;
    object-position:center center !important;
    width:auto !important;
  }
}

/* v1.6.15 – mobile reference grid must never exceed the viewport.
   Keep the existing 2-column layout and logo appearance; only constrain
   intrinsic grid sizing so wide logo assets cannot widen a column/page. */
@media (max-width:760px) {
  .references-section {
    max-width:100% !important;
    overflow-x:hidden !important;
  }
  .references-section .references-grid,
  .references-section .references-grid-large {
    box-sizing:border-box !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    width:100% !important;
  }
  .references-section .reference-logo {
    box-sizing:border-box !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    padding:18px 12px !important;
    width:auto !important;
  }
  .references-section .reference-logo-stack {
    box-sizing:border-box !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    width:100% !important;
  }
  .references-section .reference-logo-image,
  .references-section .reference-logo-monochrome,
  .references-section .reference-logo-color {
    max-height:72px !important;
    max-width:80% !important;
    min-width:0 !important;
  }
}
