:root {
  color-scheme: dark;
  --bg: #100e0b;
  --fg: #f8f1e4;
  --muted: #bdb3a1;
  --gold: #e4be73;
  --accent: var(--gold);
  --accent-secondary: #f1d49a;
  --accent-glow: transparent;
  --gold-fill: linear-gradient(118deg, #f4d996 0%, #e3b760 48%, #bb873b 100%);
  --gold-text: linear-gradient(110deg, #f5dfad, #e5bc6e 56%, #cb984c);
  --rule: #e4be7338;
  --panel: #1b1710;
  --radius: 4px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body-font);
}

h1, h2, h3,
.about-page .about-intro .about-name,
.about-story h2,
.shared-contact h2,
.contact-page h1,
.page-heading h1,
.portfolio-intro h2,
.portfolio-showcase .project-overlay h3,
.services-section h2,
.service-banner h3 {
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: -.03em;
  text-transform: none;
}

body > nav,
body.home-page > nav {
  background: #110e0af5;
  border-color: var(--rule);
  box-shadow: none;
}

body > nav .brand-claim {
  color: var(--gold);
  font-family: var(--body-font);
  letter-spacing: .16em;
  white-space: nowrap;
  font-weight: 600;
}

body > nav .brand-divider {
  background: var(--rule);
}

body > nav .brand svg {
  filter: sepia(1) saturate(1.8);
}

body > nav .links > a:not(.navcontact) {
  color: var(--fg);
  font-family: var(--body-font);
  font-size: .875rem;
  font-weight: 600;
}

body > nav a[aria-current="page"]:not(.navcontact),
body > nav .links > a:not(.navcontact):hover {
  color: var(--gold);
}

.navcontact,
.primary-button,
.glow-intro .intro-copy .primary-button,
.services-carousel-controls button,
#analytics-consent button[data-choice="allow"] {
  background: var(--gold-fill);
  border: 1px solid #f4d99690;
  border-radius: var(--radius);
  color: #20160a;
  box-shadow: none;
  font-family: var(--body-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .045em;
}

.navcontact:is(:hover, :focus-visible),
.primary-button:is(:hover, :focus-visible),
.glow-intro .intro-copy .primary-button:is(:hover, :focus-visible),
.services-carousel-controls button:is(:hover, :focus-visible),
#analytics-consent button[data-choice="allow"]:is(:hover, :focus-visible) {
  background: linear-gradient(118deg, #ffe9b9, #eabd6d 54%, #cf9b4f);
  color: #20160a !important;
  box-shadow: none;
}

.primary-button > [aria-hidden="true"] {
  display: none;
}

:where(a, button, summary, video):focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 4px;
}

::selection {
  color: #20160a;
  background: #e4be73;
}

.heading-accent,
.glow-intro .intro-accent,
.creative-highlight,
.portfolio-page .page-heading h1 > span {
  color: var(--gold);
  text-shadow: none;
}

@supports (background-clip: text) {
  .heading-accent,
  .glow-intro .intro-accent,
  .creative-highlight,
  .portfolio-page .page-heading h1 > span {
    background: var(--gold-text);
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero-scene {
  position: relative;
  isolation: isolate;
}

.hero-scene .glow-intro {
  height: clamp(455px, 72svh, 770px);
  background: transparent;
  mask-image: none;
  margin-bottom: 0;
  isolation: auto;
}

.hero-scene > .intro-art {
  inset: 0;
  width: 100%;
  transform: none;
  z-index: -1;
  mask-image: linear-gradient(180deg, #000 63%, #000f 72%, #000b 82%, #0004 92%, transparent 100%);
  mask-composite: add;
}

.intro-art img {
  object-position: center bottom;
  filter: saturate(.76) sepia(.4) hue-rotate(5deg) brightness(.86);
}

.intro-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #100e0bea 0%, #100e0bac 34%, #100e0b37 64%, transparent 88%);
}

.glow-intro .intro-copy {
  top: 47%;
  left: max(6%, calc((100% - 1200px) / 2));
  width: min(800px, 75%);
  transform: translateY(-50%);
  text-align: left;
}

.glow-intro .intro-copy h1 {
  margin: 0 0 clamp(23px, 4vw, 42px);
  font-family: var(--body-font);
  font-size: clamp(46px, 5.9vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 600;
}

.glow-intro .intro-copy .intro-line,
.glow-intro .intro-copy .intro-accent {
  display: block;
}

.glow-intro .intro-copy .intro-accent {
  width: fit-content;
}

.hero-scene .references {
  padding-top: 22px;
}

.hero-scene .client-logo {
  opacity: .78;
}


.home-page .section-heading h2,
.home-page .section-top h2 {
  letter-spacing: -.025em;
}


.about-page .about-intro .about-name {
  font-size: clamp(48px, 6vw, 87px);
  line-height: 1;
}

.contact-page h1,
.services-page .page-heading h1 {
  font-size: clamp(54px, 7vw, 102px);
  line-height: .96;
}

.service-card,
.service-banner-photo,
.service-detail,
.service-detail-photo,
.services-detail-grid .service-photo,
.portfolio-showcase .work-item .work-visual {
  border-radius: var(--radius);
}

#analytics-consent button[data-choice="deny"] {
  color: var(--accent-secondary);
  border-color: var(--rule);
  background: #1e1810;
}

.portfolio-showcase .work-item .work-visual {
  background: #1b160f;
  border-color: var(--rule);
}

.shared-contact .contact-card,
.contact-page .contact-card,
#analytics-consent {
  background: linear-gradient(145deg, #251d12, #16120d);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}


.shared-contact .contact-icon,
.contact-page .contact-icon,
.mobile-menu summary {
  color: var(--gold);
  background: #221a10;
  border-color: var(--rule);
  border-radius: var(--radius);
}

.shared-contact .contact-label,
.contact-page .contact-label,
.shared-contact .contact-value,
.contact-page .contact-value {
  font-family: var(--body-font);
}

.shared-contact .card-action,
.contact-page .card-action {
  color: var(--gold);
}

.site-footer.company-footer {
  color: var(--muted);
  border-color: var(--rule);
  font-family: var(--body-font);
}

#analytics-consent button {
  border-radius: var(--radius);
}

.mobile-menu ul {
  background: var(--panel);
  border-color: var(--rule);
  border-radius: var(--radius);
}

.mobile-menu a[aria-current="page"],
.mobile-menu a:hover {
  background: #2d2213;
  color: var(--gold);
}

@media (min-width: 701px) and (max-width: 940px) {
  body > nav .brand-claim,
  body > nav .brand-divider {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero-scene .glow-intro {
    height: clamp(445px, 119vw, 620px);
  }

  .glow-intro .intro-copy {
    top: 42%;
    width: 88%;
  }

  .glow-intro .intro-copy h1 {
    font-size: clamp(30px, 8.4vw, 58px);
  }

  .intro-art::after {
    background: linear-gradient(105deg, #100e0bd1, #100e0b70 58%, transparent);
  }

  .hero-scene .references {
    padding-top: 12px;
  }

  .contact-page h1,
  .services-page .page-heading h1 {
    font-size: clamp(43px, 10vw, 68px);
    overflow-wrap: anywhere;
  }
}
