/* Brand gutter: one centimetre at the CSS reference scale. */
:root {
  --dg-gutter: 1cm;
  --dg-white: #EEE9E1;
}

header > div,
#top > section:first-child > .mx-auto,
#about > .mx-auto,
#services > .mx-auto,
#on-set > .mx-auto,
#faq > .mx-auto,
#contact > .mx-auto,
footer > .mx-auto {
  width: calc(100% - var(--dg-gutter) - var(--dg-gutter));
  max-width: none;
  margin-left: var(--dg-gutter);
  margin-right: var(--dg-gutter);
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

#projects.dg-productions,
#talent.dg-talent,
#career-stories.dg-career {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--dg-gutter);
  padding-right: var(--dg-gutter);
  text-align: left;
}

#projects > .dg-productions-inner {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#faq .text-center {
  text-align: left;
}
#faq .justify-center {
  justify-content: flex-start;
}
#faq h2,
#faq .will-reveal > .mx-auto {
  margin-left: 0;
  margin-right: 0;
}
.dg-mobile-menu {
  padding-left: var(--dg-gutter);
  padding-right: var(--dg-gutter);
}

/* Keep the copy on the common left edge and portraits outside its text column. */
@media (min-width: 901px) {
  #about > .mx-auto,
  #services > .mx-auto,
  #faq:has(.dg-faq-background) > .mx-auto {
    width: calc(58% - var(--dg-gutter));
    max-width: 680px;
    margin-left: var(--dg-gutter);
    margin-right: 0;
  }
  .dg-experience-background img {
    left: auto;
    right: 0;
    mask-image: linear-gradient(270deg, #000 82%, transparent),
      linear-gradient(180deg, transparent, #000 8%, #000 88%, transparent);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }
  #faq .dg-faq-background img {
    left: auto;
    right: 0;
    mask-image: linear-gradient(270deg, #000 88%, transparent);
  }
}

/* Shared approved typography, including on the separate private review. */
header .dg-brand-name,
#top .dg-hero-services .dg-service-verb {
  font-family: var(--dg-display-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: .006em;
  color: var(--dg-gold);
  opacity: 1;
}
header .dg-brand-name {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.15;
  white-space: nowrap;
}
#top .dg-hero-services .dg-service-verb {
  font-size: 1.45rem;
  line-height: 1.2;
}
#top .dg-hero-services .dg-service-caption {
  color: var(--dg-white);
  opacity: 1;
  line-height: 1.55;
}
#services > .mx-auto > div:first-child > h2 {
  max-width: 100%;
  text-wrap: initial;
}
#services .dg-service-title-part {
  display: block;
}
#about:before {
  content: none;
}

@media (max-width: 900px) {
  .dg-experience-background img {
    object-fit: cover;
    object-position: center top;
    background: transparent;
    mask-image: linear-gradient(180deg, transparent, #000 7%, #000 72%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 72%, transparent);
  }
  .dg-experience-background:after {
    background: linear-gradient(180deg, #161616, transparent 9%, transparent 68%, #161616);
  }
}

@media (max-width: 1023px) {
  header > div > nav,
  header > div > div.ml-auto {
    display: none;
  }
  header > div > button[aria-label] {
    display: flex;
  }
}

/* Firmenny zolotoy: hero workflow uses the titular typography as one brand standard. */
#top h1,#top .dg-hero-services .dg-service-verb{font-family:var(--dg-display-font);font-size:clamp(2.05rem,4.25vw,3.1rem);font-weight:400;font-style:normal;line-height:1.12;letter-spacing:.006em;color:var(--dg-gold)}
#top .dg-hero-services{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 28px}
#top .dg-hero-services li{min-width:0}
#top .dg-service-verb{overflow-wrap:break-word}
#top > .dg-hero > [data-hero-fade]{max-width:none;width:calc(100% - 2 * var(--dg-gutter));margin-left:var(--dg-gutter);margin-right:var(--dg-gutter);padding-left:0;padding-right:0}
@media(max-width:1279px){#top .dg-hero-services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#top .dg-hero-services{grid-template-columns:1fr;gap:20px}}

/* Service numerals: brand gold, bold, and 3pt larger than the former 14px. */
#services article > .dg-service-number {
  color: var(--dg-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 1;
}

/* Desktop: one brand gutter below the unchanged 77px header, and one left gutter. */
@media (min-width: 1024px) {
  #top > .dg-hero {
    padding-top: calc(4.75rem + 1px + var(--dg-gutter));
  }
  #top .dg-hero-copy > p[data-hero-fade]:first-of-type {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Keep the hero introduction in the left text column, clear of the portrait. */
@media (min-width: 1024px) {
  #top .dg-hero-copy > .dg-hero-intro[data-hero-fade] {
    width: min(46ch, calc(50% - var(--dg-gutter)));
    max-width: 46ch;
  }
}

/* Compact actions precede the location in normal document flow on every screen. */
#top .dg-hero-actions[data-hero-fade] {
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--dg-gutter);
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
#top .dg-hero-actions > button,
#top .dg-hero-actions > a {
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 20px;
  gap: 8px;
  white-space: normal;
}
#top .dg-hero-actions .dg-button-mark {font-size: 11px;padding-right: 8px}
#top .dg-talent-shortcut span {font-size: 11px}
@media (min-width: 1024px) {
  #top .dg-hero-actions[data-hero-fade] {max-width: calc(50% - var(--dg-gutter))}
}

/* Direction markers follow the Source, Coordinate, Book, Support reading order. */
#top .dg-hero-services li {position:relative}
#top .dg-hero-services li:not(:last-child)::after {
  content:"";position:absolute;right:-24px;top:1.9rem;width:24px;height:10px;
  background:var(--dg-gold);
  clip-path:polygon(0 44%,82% 44%,65% 8%,70% 0,100% 50%,70% 100%,65% 92%,82% 56%,0 56%);
}
@media(min-width:601px) and (max-width:1279px) {
  #top .dg-hero-services li:nth-child(2) {padding-bottom:16px}
  #top .dg-hero-services li:nth-child(2)::after {top:auto;bottom:-12px;right:12px;transform:rotate(90deg)}
}
@media(max-width:600px) {
  #top .dg-hero-services li:not(:last-child) {padding-bottom:24px}
  #top .dg-hero-services li:not(:last-child)::after {top:auto;bottom:0;left:0;right:auto;transform:rotate(90deg)}
}
/* Personal Experience: portrait left, complete biography column right. */
@media (min-width: 901px) {
  #about > .mx-auto {
    margin-left: auto;
    margin-right: var(--dg-gutter);
  }
  #about .dg-experience-background img {
    left: 0;
    right: auto;
    mask-image: linear-gradient(90deg,#000 82%,transparent),linear-gradient(180deg,transparent,#000 8%,#000 88%,transparent);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }
}

/* Centre the remaining desktop header panel as one group, without changing hero alignment. */
@media (min-width: 1024px) {
  header > div {justify-content: center}
  header > div > div.ml-auto {margin-left: 0}
}

/* Brand-gold navigation: one pixel above the 13px hero CTA labels. */
@media (min-width: 768px) {
  header > div {flex-wrap: wrap;justify-content: center;row-gap: 12px!important}
  header > div > nav {display: block;width: 100%;min-width: 0}
  header > div > nav > ul {justify-content: center;flex-wrap: wrap;row-gap: 10px; font-size: 14px;line-height: 1.25}
  header nav a {font-size: inherit;color: var(--dg-gold)!important}
  header > div > button[aria-label] {display: none}
  header > div > div.ml-auto {margin-left: 0}
  #top > .dg-hero {padding-top: calc(var(--dg-header-height, 220px) + var(--dg-gutter))}
  main > section {scroll-margin-top: calc(var(--dg-header-height, 220px) + var(--dg-gutter))}
}

/* Cool silver is separate from warm white, gold headings, and bone-grey FAQ answers. */
:root {--brand-silver:#A5C0C3}
header nav a {color:var(--brand-silver)!important}
header nav a:hover {color:var(--brand-silver)!important;text-decoration:underline;text-underline-offset:5px}
header nav a:focus-visible {outline-color:var(--brand-silver)}


/* Compact accessible Services heading and approved bold gold item labels. */
#services > .mx-auto > div:first-child > .dg-services-heading {
  font:400 .875rem/1.5 var(--font-sans);max-width:none;margin:0;color:var(--dg-white);
}
#services article h3 {font-weight:700;color:var(--dg-gold)}
@media(max-width:767px){
  header > div {min-height:60px}
  #top > .dg-hero {padding-top:calc(var(--dg-header-height,60px) + var(--dg-gutter))}
}

/* Preserve the latest approved portrait and its image-only position. */
#top > .dg-hero img.dg-hero-approved {transform:translateX(5.2%)}

/* Five-percent image-only enlargement about the same face centre; no layout movement. */
#top > .dg-hero img.dg-hero-approved.dg-hero-quality-ready {transform:translateX(5.2%) scale(1.05)}

/* Reveal the lower portrait's own light sooner; no new beam or portrait movement. */
@media (min-width: 901px) {
  #about .dg-experience-background img {
    mask-image:linear-gradient(90deg,#000 82%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 88%,transparent);
  }
  #about .dg-experience-background:after {background:linear-gradient(180deg,#161616 0%,transparent 4%)}
}
