:root {
  --ink: #08090a;
  --muted: #5d6268;
  --paper: #f8f8f6;
  --white: #ffffff;
  --cyan: #11aee2;
  --magenta: #f006d7;
  --yellow: #f7f200;
  --accent: var(--cyan);
  --steel: #dce2e5;
  --charcoal: #101113;
  --green: #13a58f;
  --shadow: 0 26px 70px rgba(8, 9, 10, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 9, 10, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(8, 9, 10, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 2px;
  box-shadow: none;
  text-decoration: none;
}

.brand img {
  width: clamp(104px, 10vw, 142px);
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a,
.header-call {
  text-decoration: none;
}

.site-nav a {
  opacity: 0.78;
  padding: 10px 0;
}

.site-nav a.active {
  opacity: 1;
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  border-radius: 2px;
}

.site-nav a:hover,
.header-call:hover {
  opacity: 1;
}

.header-call {
  padding: 10px 14px;
  background: var(--ink);
  border-radius: 2px;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(8, 9, 10, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(8, 9, 10, 0.12);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background: #f5f4f0;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.72) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 248, 246, 0.99) 0%, rgba(248, 248, 246, 0.92) 44%, rgba(248, 248, 246, 0.38) 100%),
    linear-gradient(180deg, rgba(248, 248, 246, 0.12), rgba(248, 248, 246, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 36px));
  margin: 0 0 clamp(116px, 15vh, 156px) clamp(18px, 6vw, 88px);
  padding-top: 150px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
}

.hero h1,
.section-wrap h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(2.25rem, 4.35vw, 4.15rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 540px;
  margin: 22px 0 0;
  color: #3e454d;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(8, 9, 10, 0.22);
}

.button.secondary {
  border-color: rgba(8, 9, 10, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.button.secondary.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 38px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0;
  width: min(520px, calc(100% - 36px));
  background: transparent;
  border-top: 1px solid rgba(8, 9, 10, 0.15);
  border-bottom: 1px solid rgba(8, 9, 10, 0.15);
}

.hero-panel span {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.36);
  border: 0;
  border-right: 1px solid rgba(8, 9, 10, 0.12);
  border-radius: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: none;
}

.hero-panel span:last-child {
  border-right: 0;
}

.section-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(150px, 18vw, 210px) 0 clamp(58px, 9vw, 104px);
}

.page-hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-hero p:not(.section-kicker) {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.26rem);
}

.dark-page {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(17, 174, 226, 0.2), transparent 35%),
    linear-gradient(45deg, rgba(240, 6, 215, 0.16), transparent 45%),
    var(--ink);
  color: var(--white);
}

.dark-page p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.contact-hero {
  padding-bottom: 50px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: end;
}

.section-wrap h2,
.contact h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.intro > p,
.work-heading > p,
.about p,
.contact-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.service-grid article {
  min-height: 232px;
  padding: clamp(24px, 3.4vw, 34px);
  background: var(--white);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(8, 9, 10, 0.045);
}

.service-number {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
}

.service-grid article:nth-child(3n + 2) .service-number {
  color: var(--magenta);
}

.service-grid article:nth-child(3n) .service-number {
  color: #a49f00;
}

.service-grid h3,
.timeline h3 {
  margin: 20px 0 10px;
  font-size: 1.22rem;
  line-height: 1.05;
}

.service-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.work {
  padding: 28px 0 clamp(72px, 10vw, 124px);
  background: var(--ink);
  color: var(--white);
}

.work-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.45fr);
  gap: 34px;
  align-items: end;
  padding-bottom: 40px;
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.work-link {
  width: min(1320px, calc(100% - 36px));
  margin: 28px auto 0;
}

.work-grid figure {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  background: #111;
  border-radius: 2px;
}

.work-grid .work-large {
  grid-row: span 2;
  min-height: 638px;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.work-grid figure:hover img {
  transform: scale(1.035);
}

.work-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  border-radius: 2px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.timeline > div {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 2px;
}

.timeline span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
  border-radius: 50%;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding-top: 0;
}

.about img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
  border-radius: 2px;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.split-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.split-feature h2,
.cta-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.split-feature p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.split-feature .button {
  margin-top: 28px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.values article {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 2px;
  box-shadow: 0 20px 55px rgba(8, 9, 10, 0.06);
}

.values h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.values p {
  margin: 0;
  color: var(--muted);
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 94px) 0;
}

.gallery-page figure {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: 0 20px 55px rgba(8, 9, 10, 0.09);
}

.gallery-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-page figure:hover img {
  transform: scale(1.035);
}

.gallery-page figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.cta-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(72px, 10vw, 124px);
  padding: clamp(34px, 6vw, 68px);
  background:
    linear-gradient(120deg, rgba(17, 174, 226, 0.16), transparent 38%),
    linear-gradient(300deg, rgba(247, 242, 0, 0.3), transparent 38%),
    var(--white);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.cta-band .button {
  margin-top: 28px;
}

.contact-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(72px, 10vw, 124px);
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 620px;
  background: var(--ink);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 92px);
  background: var(--white);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 1px;
  padding: clamp(20px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(17, 174, 226, 0.35), transparent 32%),
    linear-gradient(45deg, rgba(240, 6, 215, 0.32), transparent 44%),
    var(--ink);
}

.contact-details > div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 2px;
}

.contact-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--magenta);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px clamp(18px, 4vw, 58px);
  background: #111;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.site-footer img {
  width: 116px;
  padding: 7px;
  background: var(--white);
  border-radius: 2px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .header-call {
    display: flex;
  }

  .site-header.menu-open {
    grid-template-columns: auto auto;
  }

  .site-header.menu-open .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .site-header.menu-open .header-call {
    grid-column: 1 / -1;
    width: max-content;
  }

  .hero-panel,
  .intro,
  .work-heading,
  .about,
  .contact,
  .split-feature,
  .values,
  .gallery-page {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .timeline,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid .work-large {
    min-height: 420px;
  }

  .work-grid figure {
    min-height: 320px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.25rem);
  }

  .gallery-page figure {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 860px;
  }

  .hero-content {
    margin: 0 18px 236px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel span {
    padding: 13px 16px;
  }

  .button {
    width: 100%;
  }

  .section-wrap {
    width: min(100% - 28px, 1180px);
  }
}

/* Premium studio refresh */
:root {
  --lux-bg: #f4f2ed;
  --lux-panel: rgba(255, 255, 255, 0.72);
  --lux-line: rgba(8, 9, 10, 0.12);
  --lux-soft: rgba(8, 9, 10, 0.055);
}

body {
  background: var(--lux-bg);
}

body::before {
  opacity: 0.72;
}

.site-header {
  grid-template-columns: auto 1fr auto;
  padding-block: 20px;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(244, 242, 237, 0.86);
  border-bottom: 1px solid rgba(8, 9, 10, 0.08);
  box-shadow: none;
}

.brand {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.65);
}

.brand img {
  width: clamp(94px, 9vw, 128px);
}

.site-nav {
  gap: clamp(18px, 3vw, 42px);
  font-size: 0.68rem;
}

.site-nav a {
  opacity: 0.62;
}

.site-nav a.active::after {
  bottom: 1px;
  height: 1px;
}

.header-call,
.button {
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header-call {
  background: transparent;
  border: 1px solid var(--lux-line);
  color: var(--ink);
  box-shadow: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(8, 9, 10, 0.16);
}

.button.secondary,
.button.secondary.dark {
  background: transparent;
  border-color: var(--lux-line);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary.light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero {
  min-height: 84vh;
  background: var(--lux-bg);
}

.hero-content {
  width: min(560px, calc(100% - 36px));
  margin-bottom: clamp(108px, 14vh, 146px);
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(2.05rem, 3.8vw, 3.72rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: 500px;
  color: rgba(8, 9, 10, 0.68);
  font-size: clamp(0.94rem, 1.12vw, 1.02rem);
}

.hero-panel {
  width: min(470px, calc(100% - 36px));
}

.hero-panel span {
  background: transparent;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.section-wrap {
  width: min(1160px, calc(100% - 44px));
}

.intro {
  border-top: 1px solid var(--lux-line);
  border-bottom: 1px solid var(--lux-line);
}

.section-wrap h2,
.contact h2,
.page-hero h1,
.split-feature h2,
.cta-band h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3.35vw, 3.55rem);
  line-height: 1.07;
}

.page-hero {
  width: min(1160px, calc(100% - 44px));
  padding-top: clamp(145px, 17vw, 190px);
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p:not(.section-kicker) {
  color: rgba(8, 9, 10, 0.62);
  font-size: clamp(0.96rem, 1.28vw, 1.1rem);
}

.dark-page {
  background:
    linear-gradient(120deg, rgba(17, 174, 226, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(240, 6, 215, 0.1), transparent 44%),
    var(--ink);
}

.dark-page h1,
.dark-page .section-kicker {
  color: var(--white);
}

.dark-page .section-kicker::before {
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
}

.service-grid,
.timeline,
.values {
  gap: 10px;
}

.service-grid article,
.timeline > div,
.values article {
  background: var(--lux-panel);
  border-color: var(--lux-line);
  box-shadow: none;
}

.service-grid article:hover,
.timeline > div:hover,
.values article:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  transition: transform 180ms ease, background 180ms ease;
}

.service-number {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.work {
  background: var(--ink);
}

.work .section-kicker,
.work h2 {
  color: var(--white);
}

.work-grid,
.gallery-page {
  gap: 10px;
}

.work-grid figure,
.gallery-page figure {
  box-shadow: none;
}

.work-grid figcaption,
.gallery-page figcaption {
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  background: rgba(244, 242, 237, 0.9);
  border: 1px solid rgba(8, 9, 10, 0.08);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-page {
  background: var(--ink);
  width: 100%;
  padding-inline: max(18px, calc((100% - 1320px) / 2));
  margin: 0;
}

.cta-band {
  background: var(--lux-panel);
  box-shadow: none;
}

.contact-page,
.contact {
  background: var(--ink);
}

.contact-card {
  background: var(--lux-bg);
}

.contact-details {
  gap: 10px;
}

.contact-details > div {
  background: rgba(244, 242, 237, 0.9);
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    margin-bottom: 226px;
  }
}

/* Final Taabyr palette and typography */
:root {
  --navy: #1B2A4A;
  --gold: #C9A54C;
  --gold-hover: #B8933E;
  --cream: #FBF8F3;
  --warm-white: #FEFDFB;
  --dark-text: #1a1a2e;
  --body-text: #3d3d5c;
  --light-text: #6b7280;
  --white: #ffffff;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

body::before {
  opacity: 1;
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 165, 76, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy) 0%, #14223f 56%, var(--navy) 100%);
  background-size: 76px 76px, 76px 76px, auto;
}

h1,
h2,
h3,
.hero h1,
.section-wrap h2,
.contact h2,
.page-hero h1,
.split-feature h2,
.cta-band h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--dark-text);
}

p {
  color: var(--body-text);
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-hover);
}

.site-header {
  color: var(--navy);
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(27, 42, 74, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  background: var(--warm-white);
  border-color: rgba(27, 42, 74, 0.12);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--gold-hover);
}

.site-nav a.active::after,
.eyebrow::before,
.section-kicker::before,
.dark-page .section-kicker::before,
.contact-card .section-kicker::before {
  background: var(--gold);
}

.header-call,
.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(201, 165, 76, 0.22);
}

.header-call:hover,
.button.primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.button.secondary,
.button.secondary.dark,
.button.secondary.light {
  background: transparent;
  border-color: rgba(27, 42, 74, 0.24);
  color: var(--navy);
}

.button.secondary:hover,
.button.secondary.dark:hover,
.button.secondary.light:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.nav-toggle {
  border-color: rgba(27, 42, 74, 0.22);
  background: rgba(254, 253, 251, 0.72);
}

.nav-toggle span {
  background: var(--navy);
}

.hero,
.page-hero {
  background: var(--cream);
  color: var(--dark-text);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 248, 243, 0.98) 0%, rgba(251, 248, 243, 0.88) 48%, rgba(251, 248, 243, 0.42) 100%),
    linear-gradient(180deg, rgba(251, 248, 243, 0.12), rgba(251, 248, 243, 0.9));
}

.hero-media img {
  opacity: 0.22;
  filter: saturate(0.78) contrast(1.08);
}

.eyebrow,
.section-kicker {
  color: var(--gold-hover);
}

.hero-copy,
.page-hero p:not(.section-kicker),
.intro > p,
.about p,
.split-feature p:not(.section-kicker),
.contact-card p,
.work-heading > p {
  color: var(--body-text);
}

.hero-panel {
  border-color: rgba(27, 42, 74, 0.18);
}

.hero-panel span {
  color: var(--navy);
  border-color: rgba(27, 42, 74, 0.16);
}

.intro {
  border-color: rgba(27, 42, 74, 0.14);
}

.service-grid article,
.timeline > div,
.values article,
.cta-band,
.contact-card,
.contact-details > div {
  background: var(--warm-white);
  border-color: rgba(27, 42, 74, 0.12);
  color: var(--dark-text);
}

.service-grid h3,
.timeline h3,
.values h3,
.service-grid p,
.timeline p,
.values p,
.cta-band h2,
.contact-card .section-kicker,
.contact-card h2 {
  color: var(--dark-text);
}

.service-number,
.service-grid article:nth-child(3n + 2) .service-number,
.service-grid article:nth-child(3n) .service-number,
.contact-details span {
  color: var(--gold-hover);
}

.text-link {
  color: var(--gold-hover);
  border-bottom-color: var(--gold);
}

.work,
.gallery-page,
.contact,
.contact-page,
.dark-page {
  background: var(--navy);
}

.work .section-kicker,
.work h2,
.dark-page .section-kicker,
.dark-page h1,
.dark-page p:not(.section-kicker) {
  color: var(--white);
}

.dark-page p:not(.section-kicker),
.work-heading > p {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-page figcaption,
.work-grid figcaption {
  background: var(--warm-white);
  color: var(--navy);
}

.contact-details {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 165, 76, 0.24), transparent 32%),
    var(--navy);
}

.contact-details a,
.contact-details p {
  color: var(--dark-text);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

/* Blue corporate direction inspired by Quality Staffing Group */
:root {
  --qsg-blue: #0a3f78;
  --qsg-blue-deep: #052a55;
  --qsg-blue-soft: #eaf4ff;
  --qsg-teal: #30d6c8;
  --qsg-link: #47e4ff;
  --qsg-gold: #f2cf63;
}

body {
  background: var(--qsg-blue);
  color: var(--white);
}

body::before {
  opacity: 1;
  background:
    radial-gradient(circle at 82% 8%, rgba(48, 214, 200, 0.22), transparent 30%),
    linear-gradient(135deg, var(--qsg-blue) 0%, var(--qsg-blue-deep) 72%);
  background-size: auto;
}

a {
  color: var(--qsg-link);
}

.site-header {
  color: var(--white);
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(5, 42, 85, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.76);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--white);
}

.site-nav a.active::after {
  background: var(--qsg-teal);
}

.header-call,
.button.primary {
  background: var(--qsg-teal);
  border-color: var(--qsg-teal);
  color: #052a55;
  box-shadow: 0 16px 38px rgba(48, 214, 200, 0.22);
}

.button.secondary,
.button.secondary.dark,
.button.secondary.light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button:hover,
.header-call:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--qsg-blue-deep);
}

.nav-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  background: var(--white);
}

.hero,
.page-hero,
.dark-page {
  background:
    linear-gradient(135deg, rgba(48, 214, 200, 0.18), transparent 34%),
    linear-gradient(180deg, var(--qsg-blue) 0%, var(--qsg-blue-deep) 100%);
  color: var(--white);
}

.hero-media img {
  opacity: 0.18;
  filter: saturate(0.78) contrast(1.1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 42, 85, 0.96) 0%, rgba(10, 63, 120, 0.86) 48%, rgba(10, 63, 120, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 42, 85, 0.08), rgba(5, 42, 85, 0.82));
}

.eyebrow,
.section-kicker,
.page-hero h1,
.dark-page h1,
.hero h1,
.section-wrap h2,
.contact h2,
.split-feature h2,
.cta-band h2,
.work .section-kicker,
.work h2 {
  color: var(--white);
}

.eyebrow::before,
.section-kicker::before,
.dark-page .section-kicker::before {
  background: var(--qsg-teal);
}

.hero-copy,
.page-hero p:not(.section-kicker),
.dark-page p:not(.section-kicker),
.work-heading > p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-panel span {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.intro,
.services,
.process,
.about,
.split-feature,
.values,
.page-services {
  color: var(--white);
}

.intro {
  border-color: rgba(255, 255, 255, 0.16);
}

.intro > p,
.about p,
.split-feature p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.service-grid article,
.timeline > div,
.values article,
.cta-band {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--qsg-blue-deep);
  box-shadow: 0 24px 60px rgba(0, 18, 48, 0.16);
}

.service-grid article:hover,
.timeline > div:hover,
.values article:hover {
  background: var(--white);
}

.service-grid h3,
.timeline h3,
.values h3,
.service-grid p,
.timeline p,
.values p,
.cta-band h2 {
  color: var(--qsg-blue-deep);
}

.service-number,
.service-grid article:nth-child(3n + 2) .service-number,
.service-grid article:nth-child(3n) .service-number,
.contact-details span {
  color: var(--qsg-blue);
}

.text-link {
  color: var(--qsg-link);
  border-bottom-color: var(--qsg-teal);
}

.work,
.gallery-page,
.contact,
.contact-page {
  background: var(--qsg-blue-deep);
}

.gallery-page figcaption,
.work-grid figcaption {
  background: var(--white);
  color: var(--qsg-blue-deep);
}

.contact-card {
  background: var(--white);
  color: var(--qsg-blue-deep);
}

.contact-card .section-kicker,
.contact-card h2 {
  color: var(--qsg-blue-deep);
}

.contact-card p {
  color: #49647e;
}

.contact-card .section-kicker::before {
  background: var(--qsg-teal);
}

.contact-details {
  background:
    radial-gradient(circle at 100% 0%, rgba(48, 214, 200, 0.24), transparent 32%),
    var(--qsg-blue-deep);
}

.contact-details > div {
  background: rgba(255, 255, 255, 0.96);
}

.contact-details a {
  color: var(--qsg-blue-deep);
}

.site-footer {
  background: #031d3b;
}

/* True final override: Taabyr palette must win the cascade */
body {
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

body::before {
  opacity: 1;
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 165, 76, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy) 0%, #14223f 56%, var(--navy) 100%);
  background-size: 76px 76px, 76px 76px, auto;
}

h1,
h2,
h3,
.hero h1,
.section-wrap h2,
.contact h2,
.page-hero h1,
.split-feature h2,
.cta-band h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--white);
}

p {
  color: rgba(255, 255, 255, 0.78);
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-hover);
}

.site-header {
  color: var(--white);
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(27, 42, 74, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a.active,
.site-nav a:hover,
.eyebrow,
.section-kicker {
  color: var(--gold);
}

.site-nav a.active::after,
.eyebrow::before,
.section-kicker::before,
.dark-page .section-kicker::before,
.contact-card .section-kicker::before {
  background: var(--gold);
}

.header-call,
.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(201, 165, 76, 0.22);
}

.header-call:hover,
.button.primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.button.secondary,
.button.secondary.dark,
.button.secondary.light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary.dark:hover,
.button.secondary.light:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.hero,
.page-hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(201, 165, 76, 0.18), transparent 30%),
    linear-gradient(180deg, var(--navy) 0%, #14223f 100%);
  color: var(--white);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(27, 42, 74, 0.98) 0%, rgba(27, 42, 74, 0.86) 48%, rgba(27, 42, 74, 0.42) 100%),
    linear-gradient(180deg, rgba(27, 42, 74, 0.08), rgba(27, 42, 74, 0.84));
}

.hero-copy,
.page-hero p:not(.section-kicker),
.intro > p,
.about p,
.split-feature p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-panel span {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-grid article,
.timeline > div,
.values article,
.cta-band,
.contact-card,
.contact-details > div {
  background: var(--warm-white);
  border-color: rgba(27, 42, 74, 0.12);
  color: var(--dark-text);
}

.intro,
.services,
.process,
.about,
.split-feature,
.values,
.page-services {
  color: var(--white);
}

.service-grid h3,
.timeline h3,
.values h3,
.service-grid p,
.timeline p,
.values p,
.cta-band h2,
.contact-card .section-kicker,
.contact-card h2 {
  color: var(--dark-text);
}

.service-number,
.service-grid article:nth-child(3n + 2) .service-number,
.service-grid article:nth-child(3n) .service-number,
.contact-details span,
.text-link {
  color: var(--gold-hover);
}

.text-link {
  border-bottom-color: var(--gold);
}

.work,
.gallery-page,
.contact,
.contact-page,
.dark-page,
.site-footer {
  background: var(--navy);
}

.work .section-kicker,
.work h2,
.dark-page .section-kicker,
.dark-page h1 {
  color: var(--white);
}

.dark-page p:not(.section-kicker),
.work-heading > p {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-page figcaption,
.work-grid figcaption {
  background: var(--warm-white);
  color: var(--navy);
}

.contact-details {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 165, 76, 0.24), transparent 32%),
    var(--navy);
}

.contact-details a,
.contact-details p {
  color: var(--dark-text);
}
