:root {
  --navy: #050b3f;
  --navy-2: #07135f;
  --ink: #030617;
  --panel: #0b124f;
  --panel-2: #101a70;
  --text: #f7f9ff;
  --muted: #b9c0d7;
  --silver: #dfe5f3;
  --silver-2: #aab3c7;
  --steel: #707b99;
  --line: rgba(223, 229, 243, 0.18);
  --accent: #78a6ff;
  --shadow: 0 26px 90px rgba(0, 4, 35, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-shell {
  overflow: hidden;
}

.nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(3, 6, 23, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(223, 229, 243, 0.35);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(120, 166, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 63, 0.02) 0%, rgba(3, 6, 23, 0.14) 46%, rgba(3, 6, 23, 0.64) 100%),
    linear-gradient(90deg, rgba(3, 6, 23, 0.38) 0%, rgba(5, 11, 63, 0.12) 46%, rgba(3, 6, 23, 0.08) 78%, rgba(3, 6, 23, 0.2) 100%),
    url("chachrist-marketing-hero.jpg") left center / cover;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 23, 0.54));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--silver));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.72);
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--silver);
  font-size: clamp(17px, 1.65vw, 21px);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.68);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.button.primary {
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--silver) 58%, var(--silver-2));
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(120, 166, 255, 0.22);
}

.button.dark {
  background: var(--navy);
}

section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.18;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(223, 229, 243, 0.1), transparent 44%),
    #071459;
}

.service-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(120, 166, 255, 0.16), transparent 44%),
    #081044;
}

.service-card:nth-child(4) {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%),
    #0b174f;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--silver));
  border-radius: 8px;
  font-weight: 900;
}

.service-card h3 {
  margin: 26px 0 10px;
  font-size: 22px;
}

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

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--text);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: #fff;
}

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

.detail-hero {
  padding-top: 132px;
  background:
    linear-gradient(135deg, rgba(120, 166, 255, 0.18), transparent 34%),
    linear-gradient(180deg, var(--ink), var(--navy));
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.detail-hero-copy h1 {
  max-width: 820px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 23, 0.02), rgba(5, 11, 63, 0.58));
}

.detail-hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 18px;
  align-items: start;
}

.detail-main,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-main {
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 34%),
    var(--panel);
}

.detail-side {
  position: sticky;
  top: 98px;
  padding: 26px;
  background: linear-gradient(180deg, #f7f9ff, #dfe5f3);
  color: var(--navy);
}

.detail-main h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.18;
}

.detail-main h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.detail-main p {
  max-width: 820px;
  margin: 0;
  color: var(--silver);
  font-size: 18px;
}

.check-list,
.number-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--silver);
}

.check-list {
  list-style: none;
}

.check-list li,
.number-list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #fff;
  font-weight: 900;
}

.number-list {
  padding-left: 20px;
  color: var(--navy);
}

.number-list li {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(5, 11, 63, 0.1);
}

.detail-work {
  padding-top: 88px;
}

.detail-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-gallery .brand-shot {
  min-height: 310px;
}

.related-services {
  padding-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.related-card strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.related-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.showcase {
  background: linear-gradient(180deg, #f6f8fd, #e9edf7);
  color: #081042;
}

.showcase .section-head p {
  color: #56617c;
}

.brand-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.brand-gallery-feature {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(5, 11, 63, 0.2);
}

.brand-gallery-feature img,
.brand-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-gallery-feature::after,
.brand-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 23, 0.02), rgba(3, 6, 23, 0.72));
}

.brand-gallery-feature .work-copy {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 11, 63, 0.04), rgba(5, 11, 63, 0.92) 42%);
}

.brand-gallery-feature .work-copy h3 {
  max-width: 680px;
  font-size: clamp(28px, 4vw, 52px);
}

.brand-gallery-feature .work-copy p {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.brand-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.brand-shot {
  position: relative;
  overflow: hidden;
  min-height: 174px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(5, 11, 63, 0.12);
}

.brand-shot span {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.brand-shot:hover img,
.brand-gallery-feature:hover img {
  transform: scale(1.035);
}

.brand-shot img,
.brand-gallery-feature img {
  transition: transform 380ms ease;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.portfolio-main,
.portfolio-side {
  min-height: auto;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 8px;
  color: #fff;
  background: #111;
}

.portfolio-main .work-card {
  min-height: 520px;
}

.work-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78));
}

.work-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.work-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, var(--silver));
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.work-copy h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1;
}

.portfolio-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  padding: 26px;
  background: var(--ink);
}

.process-step strong {
  display: block;
  margin-bottom: 30px;
  color: var(--silver);
  font-size: 14px;
}

.process-step h3 {
  margin: 0 0 10px;
}

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

.contact {
  padding-bottom: 120px;
  background:
    linear-gradient(135deg, rgba(120, 166, 255, 0.18), transparent 36%),
    linear-gradient(180deg, var(--ink), var(--navy));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.contact-copy {
  padding: clamp(26px, 5vw, 52px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 38%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-copy .eyebrow {
  margin-bottom: 24px;
}

.contact-copy h2 {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.22;
}

.contact-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 21px);
}

.contact-actions {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, #f7f9ff, #dfe5f3);
  border-radius: 8px;
}

.contact-actions .button {
  min-height: 58px;
  justify-content: space-between;
  color: var(--navy);
  background: #fff;
  border-color: rgba(13, 15, 19, 0.12);
}

.contact-actions .button.primary {
  background: var(--navy);
  color: #fff;
}

.contact-button {
  gap: 16px;
  text-align: left;
}

.button-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.button-copy strong,
.button-copy small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.button-copy small {
  color: var(--steel);
  font-size: 13px;
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-head,
  .brand-gallery,
  .portfolio-grid,
  .detail-hero-grid,
  .detail-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .brand-gallery-feature {
    min-height: 460px;
  }

  .detail-side {
    position: static;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(3, 6, 23, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .contact-copy h2 {
    font-size: clamp(32px, 10.5vw, 42px);
  }

  .cta-row .button,
  .services-grid,
  .brand-gallery-grid,
  .portfolio-side,
  .process-grid,
  .footer {
    width: 100%;
  }

  .services-grid,
  .brand-gallery-grid,
  .portfolio-side,
  .process-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-main,
  .portfolio-side,
  .portfolio-main .work-card {
    min-height: auto;
  }

  .work-card {
    min-height: 360px;
  }

  .brand-gallery-feature {
    min-height: 420px;
  }

  .detail-hero {
    padding-top: 106px;
  }

  .detail-hero-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .detail-hero-media {
    min-height: 360px;
  }

  .brand-shot {
    min-height: 260px;
  }

  .footer {
    flex-direction: column;
  }
}
