:root {
  --ink: #0d1118;
  --ink-2: #171d28;
  --gold: #d8b35a;
  --gold-2: #f0d58b;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #6f7580;
  --line: rgba(13, 17, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(13, 17, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 235px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1;
}

.brand-text strong {
  color: var(--white);
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.brand-text small {
  margin-top: 5px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.primary-nav a:hover,
.header-cta:hover {
  color: var(--gold-2);
}

.header-cta {
  font-weight: 800;
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  padding: 140px 5vw 42px;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 17, 24, 0.96), rgba(13, 17, 24, 0.58) 47%, rgba(13, 17, 24, 0.2)),
    linear-gradient(0deg, rgba(13, 17, 24, 0.96), rgba(13, 17, 24, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 138px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #9a6e19;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Outfit, Inter, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.hero-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: heroTextReveal 0.7s ease both;
  animation-delay: 0.55s;
  will-change: opacity, transform, filter;
}

.hero-animate {
  animation: heroTextReveal 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  will-change: opacity, transform, filter;
}

.hero-content .eyebrow {
  animation-delay: 0.08s;
}

.hero-content h1 {
  animation-delay: 0.22s;
}

.hero-content .hero-copy {
  animation-delay: 0.4s;
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-actions,
  .reveal-heading > .eyebrow,
  .reveal-heading > h2,
  .reveal-heading > p:not(.eyebrow) {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.btn.primary {
  color: var(--ink);
  background: var(--gold);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  left: 5vw;
  right: 5vw;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--gold-2);
  font-family: Outfit, sans-serif;
  font-size: 28px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section {
  padding: 110px 5vw;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.text-stack {
  color: #3f4650;
  font-size: 17px;
  line-height: 1.8;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-grid span {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.reveal-heading > .eyebrow,
.reveal-heading > h2,
.reveal-heading > p:not(.eyebrow) {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.75s ease;
}

.reveal-heading > h2 {
  transition-delay: 0.1s;
}

.reveal-heading > p:not(.eyebrow) {
  transition-delay: 0.2s;
}

.reveal-heading.is-visible > .eyebrow,
.reveal-heading.is-visible > h2,
.reveal-heading.is-visible > p:not(.eyebrow) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.premium-services {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(216, 179, 90, 0.16), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(200, 35, 42, 0.14), transparent 28%),
    #071326;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
}

.premium-services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0.1), rgba(7, 19, 38, 0.92));
}

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

.services-heading {
  max-width: 860px;
}

.services-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  isolation: isolate;
  transform: translateY(0);
  transition:
    transform 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 3;
  pointer-events: none;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 36%, rgba(255, 255, 255, 0.13));
  mix-blend-mode: screen;
  opacity: 0.65;
}

.service-card-bg,
.service-card-overlay {
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.service-card-bg {
  z-index: 0;
  background-image: var(--service-image);
  background-position: var(--service-position, center);
  background-size: cover;
  transform: scale(1);
}

.service-card-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 9, 20, 0.12), rgba(3, 9, 20, 0.38) 35%, rgba(3, 9, 20, 0.91)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
}

.service-card-content {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(205, 34, 43, 0.9);
  box-shadow: 0 10px 30px rgba(205, 34, 43, 0.28);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.02;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
  border-color: rgba(216, 179, 90, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 42px rgba(216, 179, 90, 0.18);
  transform: translateY(-10px);
}

.service-card:hover .service-card-bg {
  transform: scale(1.1);
}

.service-card:hover .service-card-overlay {
  opacity: 0.78;
}

.service-card:hover .service-card-content {
  transform: translateY(-8px);
}

.clients-section {
  overflow: hidden;
  background: var(--white);
}

.clients-heading {
  max-width: 760px;
}

.clients-heading h2 {
  margin-bottom: 14px;
}

.clients-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.client-marquee {
  position: relative;
  margin-inline: -5vw;
  padding: 10px 0;
  overflow: hidden;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(150px, 18vw);
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.client-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding-inline: 5vw;
  animation: clientMarquee 34s linear infinite;
  will-change: transform;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  place-items: center;
  flex: 0 0 220px;
  height: 126px;
  padding: 24px;
  border: 1px solid rgba(13, 17, 24, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 45px rgba(13, 17, 24, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.client-logo:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 179, 90, 0.5);
  box-shadow: 0 26px 60px rgba(13, 17, 24, 0.14), 0 0 28px rgba(216, 179, 90, 0.18);
}

.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

@keyframes clientMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-track {
    animation: none;
  }
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(216, 179, 90, 0.18), transparent 30%),
    var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 18px;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(216, 179, 90, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card strong {
  font-family: Outfit, sans-serif;
  font-size: 30px;
}

.work-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-list div {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 34px;
  color: #9a6e19;
  font-weight: 800;
}

.process-list p {
  color: var(--muted);
  line-height: 1.7;
}

.industries {
  background: var(--white);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-cloud span {
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 56px 5vw;
  color: var(--white);
  background: var(--ink-2);
}

.cta-strip h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--paper);
}

.contact-card,
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 38px;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details a,
.contact-details p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.contact-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: #fbfaf7;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.68);
  background: #090c12;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    padding: 10px 14px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    font-weight: 800;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 5vw 22px;
    background: rgba(13, 17, 24, 0.96);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: auto;
    height: 42px;
    max-width: 145px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hero {
    display: block;
    min-height: 760px;
    padding-top: 112px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .process-list,
  .work-grid,
  .quote-form,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 32px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px;
  }

  .section {
    padding: 76px 5vw;
  }

  .service-card {
    min-height: 340px;
  }

  .service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
    grid-template-columns: none;
    gap: 18px;
    margin-inline: -5vw;
    padding: 0 5vw 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .service-card {
    scroll-snap-align: center;
  }

  .work-card.tall {
    grid-row: span 1;
  }

  .cta-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
