:root {
  --brand-gray: #898989;
  --brand-gray-dark: #696969;
  --brand-gray-light: #d4d4d4;
  --brand-white: #ffffff;
  --brand-black: #111111;
}

body {
  background: var(--brand-gray);
}

.site-header {
  border-color: rgba(255,255,255,.28);
}

.site-header.scrolled {
  background: rgba(104,104,104,.92);
  border-color: rgba(255,255,255,.36);
}

.brand,
.global-nav {
  color: var(--brand-white);
}

.brand-mark,
.nav-contact {
  border-color: rgba(255,255,255,.9);
}

.global-nav a:hover {
  color: var(--brand-white);
  opacity: .62;
}

.hero {
  background: var(--brand-gray);
}

.hero-image {
  filter: grayscale(1) contrast(.82) brightness(.88);
  mix-blend-mode: multiply;
  opacity: .7;
}

.hero-shade {
  background: linear-gradient(90deg,rgba(91,91,91,.98) 0%,rgba(110,110,110,.86) 38%,rgba(125,125,125,.34) 78%),linear-gradient(0deg,rgba(70,70,70,.62),transparent 46%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  right: 7vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.eyebrow,
.kicker {
  color: rgba(255,255,255,.8);
}

.hero h1 {
  letter-spacing: -.035em;
  text-shadow: none;
}

.hero-side,
.scroll-cue {
  color: rgba(255,255,255,.72);
}

.scroll-cue span {
  background: rgba(255,255,255,.72);
}

@media (max-width: 800px) {
  .global-nav {
    background: var(--brand-gray-dark);
  }

  .hero-image {
    mix-blend-mode: multiply;
    opacity: .62;
  }

  .hero-shade {
    background: linear-gradient(90deg,rgba(96,96,96,.96),rgba(120,120,120,.5)),linear-gradient(0deg,rgba(80,80,80,.55),transparent 50%);
  }

  .hero::after {
    width: 78vw;
    right: -30vw;
    border-width: 1px;
  }
}

/* Showreel: the original Dostres film, framed as an editorial feature */
.showreel {
  position: relative;
  overflow: hidden;
  background: var(--brand-gray-dark);
  color: var(--brand-white);
}

.showreel::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: -22vw;
  width: min(44vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  pointer-events: none;
}

.showreel-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 56px;
}

.showreel-head h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.04em;
}

.showreel-head > p {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 2;
}

.showreel-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #222;
  border: 1px solid rgba(255,255,255,.42);
}

.showreel-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.showreel-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin: 18px 0 0;
  color: rgba(255,255,255,.58);
  font: 500 12px var(--serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .showreel-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .showreel-head h2 {
    font-size: 40px;
  }

  .showreel-head > p {
    font-size: 15px;
  }

  .showreel::after {
    right: -42vw;
    top: -10vw;
    width: 90vw;
  }

  .showreel-caption {
    gap: 20px;
    font-size: 10px;
  }
}

/* Brand system: neutral fields, white rings, fine editorial rules */
.statement {
  background: #ececec;
  color: var(--brand-black);
}

.statement .section-number {
  border-color: #777;
}

.statement .kicker,
.news .kicker {
  color: #5f5f5f;
}

.statement-word {
  color: rgba(80,80,80,.055);
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--brand-gray);
}

.services::before {
  content: "";
  position: absolute;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  right: -12vw;
  top: 80px;
  pointer-events: none;
}

.services .section-heading,
.services .service-list {
  position: relative;
  z-index: 1;
}

.services .section-heading > p,
.service-item p {
  color: rgba(255,255,255,.76);
}

.service-list,
.service-item {
  border-color: rgba(255,255,255,.42);
}

.service-item:hover {
  background: rgba(255,255,255,.09);
}

.service-no,
.service-en {
  color: rgba(255,255,255,.72);
}

.works {
  background: #f3f3f3;
  color: var(--brand-black);
}

.works .kicker {
  color: #666;
}

.works-head > p,
.work-body span,
.work-index {
  color: #777;
}

.works-grid {
  background: #fff;
  border-color: #fff;
}

.work-card {
  background: #d1d1d1;
  color: var(--brand-black);
}

.work-card:nth-child(3) {
  background: #e2e2e2;
}

.work-card:nth-child(4) {
  background: #b7b7b7;
}

.work-card.featured {
  background: var(--brand-gray);
  color: var(--brand-white);
}

.work-card::after {
  border-color: rgba(255,255,255,.72);
}

.work-card:not(.featured)::after {
  border-color: rgba(30,30,30,.24);
}

.work-card:hover::after {
  border-color: rgba(255,255,255,.95);
}

.work-body p {
  color: inherit;
  opacity: .66;
}

.archive {
  border-color: #aaa;
}

.archive-grid {
  color: #555;
}

.archive-label {
  color: #111 !important;
}

.news {
  background: #d9d9d9;
}

.news-list,
.news-item {
  border-color: #999;
}

.news-item:hover {
  background: rgba(255,255,255,.66);
}

.news-item > span {
  color: #5c5c5c;
}

.about {
  position: relative;
  overflow: hidden;
  background: var(--brand-gray-dark);
}

.about::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 480px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  right: -270px;
  bottom: -150px;
  pointer-events: none;
}

.about-title-wrap,
.about-content {
  position: relative;
  z-index: 1;
}

.about .kicker {
  color: rgba(255,255,255,.72);
}

.logo-poster::before {
  border-color: rgba(255,255,255,.48);
}

.logo-poster figcaption,
.company-data dt {
  color: rgba(255,255,255,.62);
}

.company-data div {
  border-color: rgba(255,255,255,.36);
}

.contact {
  position: relative;
  overflow: hidden;
  background: #efefef;
  color: var(--brand-black);
}

.contact::before {
  content: "";
  position: absolute;
  width: min(72vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(20,20,20,.16);
  border-radius: 50%;
  pointer-events: none;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact .kicker,
.contact .contact-person {
  color: #666;
}

.contact > p:not(.kicker):not(.contact-person) {
  color: #555;
}

.contact-button {
  background: var(--brand-gray);
  color: var(--brand-white);
  border: 1px solid var(--brand-gray);
}

.contact-button:hover {
  background: transparent;
  color: var(--brand-black);
  border-color: var(--brand-black);
}

.site-footer {
  background: var(--brand-black);
}

@media (max-width: 800px) {
  .services::before {
    width: 78vw;
    right: -46vw;
    top: 40px;
  }

  .about::after {
    width: 86vw;
    right: -58vw;
    bottom: 10%;
  }

  .contact::before {
    width: 118vw;
  }
}

/* Selected works: a poster-led archive that keeps each official KV intact */
.works-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #c9c9c9;
  border: 1px solid #c9c9c9;
}

.work-card,
.work-card.featured {
  display: block;
  min-height: 0;
  padding: 0;
  background: #f3f3f3;
  color: var(--brand-black);
}

.work-card.featured {
  grid-row: auto;
}

.work-card::after {
  content: none;
}

.work-visual {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  background: #747474;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), transparent 66%, rgba(0,0,0,.18));
  pointer-events: none;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.42) saturate(.78) contrast(.96);
  transition: transform .6s ease, filter .6s ease;
}

.work-visual:hover img,
.work-visual:focus-visible img {
  transform: scale(1.025);
  filter: none;
}

.work-visual:focus-visible {
  outline: 2px solid var(--brand-black);
  outline-offset: -5px;
}

.work-view {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(60,60,60,.26);
  color: #fff;
  font: 500 11px var(--serif);
  letter-spacing: .05em;
  backdrop-filter: blur(4px);
}

.work-view b {
  font: inherit;
}

.work-body {
  min-height: 190px;
  padding: 23px 22px 28px;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.work-meta p {
  margin: 0;
  color: #555;
  font: 500 10px var(--serif);
  letter-spacing: .09em;
  text-align: right;
}

.work-index {
  color: #666;
}

.work-body h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.55;
}

.work-body > span {
  color: #666;
}

@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-body h3 {
    font-size: clamp(21px, 3vw, 30px);
  }
}

@media (max-width: 620px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-body {
    min-height: 0;
  }

  .work-view {
    top: 15px;
    right: 15px;
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-visual img {
    transition: none;
  }
}
