:root {
  --ink: #10242a;
  --muted: #6b7b80;
  --paper: #f7f3ec;
  --white: #ffffff;
  --line: rgba(16, 36, 42, 0.13);
  --navy: #0f3d4c;
  --teal: #2f8d91;
  --gold: #c99c59;
  --coral: #cf745f;
  --shadow: 0 24px 80px rgba(15, 61, 76, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 236, 0.96)),
    radial-gradient(circle at 15% 5%, rgba(201, 156, 89, 0.18), transparent 28%),
    radial-gradient(circle at 90% 24%, rgba(47, 141, 145, 0.12), transparent 32%),
    var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: 0;
}

.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(15, 61, 76, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--coral));
  transform: scaleX(0);
  transform-origin: left center;
}

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

img,
iframe {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 70px rgba(15, 61, 76, 0.14);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.brand-lockup,
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-lockup {
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal) 58%, var(--gold));
  box-shadow: 0 16px 34px rgba(15, 61, 76, 0.22);
  font-size: 0.95rem;
  font-weight: 900;
}

.site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  max-width: 120px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 10px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.site-header .brand-mark img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
  margin: 0;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(16, 36, 42, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(15, 61, 76, 0.07);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 96svh;
  align-items: end;
  overflow: hidden;
  padding: 120px max(24px, calc((100vw - 1120px) / 2)) 38px;
}

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

.hero-bg {
  background: url("../images/hero-creative-studio.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.95) 0%, rgba(247, 243, 236, 0.73) 42%, rgba(247, 243, 236, 0.13) 100%),
    linear-gradient(180deg, rgba(247, 243, 236, 0.1), rgba(247, 243, 236, 0.96));
}

.hero-content,
.hero-metrics {
  position: relative;
}

.hero-content {
  width: min(720px, 100%);
  padding-bottom: 86px;
}

.hero-mark {
  width: 66px;
  height: 120px;
  margin-bottom: 22px;
  font-size: 0.15rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 13vw, 8rem);
  line-height: 0.86;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
}

.hero-tagline {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(16, 36, 42, 0.77);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
.nav-links a:focus-visible,
.client-rail a:focus-visible,
.reel-card:focus-visible,
.instagram-fallback:focus-visible {
  outline: 3px solid rgba(201, 195, 212, 0.86);
  outline-offset: 3px;
}

.primary-button {
  padding: 15px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 18px 42px rgba(15, 61, 76, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid var(--line);
  padding: 12px 17px;
  background: rgba(255, 255, 255, 0.7);
}

.secondary-button.is-disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.ghost-button {
  border: 1px solid rgba(16, 36, 42, 0.18);
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-bottom: 18px;
}

.hero-proof span {
  border: 1px solid rgba(16, 36, 42, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(16, 36, 42, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
}

.hero-metrics div,
.glass-panel,
.client-section,
.website-card,
.creative-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-metrics div {
  min-height: 92px;
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  padding: 104px max(22px, calc((100vw - 1120px) / 2));
}

.section-heading {
  margin-bottom: 34px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.about-copy {
  padding: 30px;
}

.about-copy p {
  color: rgba(16, 36, 42, 0.75);
  font-size: 1.03rem;
  line-height: 1.8;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.capability-grid {
  display: grid;
  gap: 10px;
}

.capability-grid span,
.service-pills span {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.client-stack {
  display: grid;
  gap: 30px;
}

.client-rail {
  position: sticky;
  z-index: 12;
  top: 96px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: -12px 0 24px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(15, 61, 76, 0.1);
  backdrop-filter: blur(24px);
}

.client-rail a {
  display: grid;
  min-height: 62px;
  align-content: center;
  gap: 4px;
  border-radius: 8px;
  padding: 10px 12px;
}

.client-rail a:hover {
  background: rgba(15, 61, 76, 0.07);
}

.client-rail span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.client-rail strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
}

.client-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  padding: clamp(18px, 3vw, 32px);
}

.client-copy p {
  color: rgba(16, 36, 42, 0.72);
  line-height: 1.75;
}

.client-kicker,
.media-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-kicker span,
.media-heading strong {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(16, 36, 42, 0.68);
  font-size: 0.75rem;
  font-weight: 900;
}

.media-heading {
  margin-bottom: 12px;
}

.media-heading span {
  color: var(--navy);
  font-weight: 900;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.results-box {
  margin: 22px 0;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 16px;
}

.results-box strong {
  display: block;
  margin-bottom: 8px;
}

.results-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.featured-reel {
  transition: opacity 180ms ease, transform 180ms ease;
}

.featured-reel.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.reel-frame {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border: 1px solid rgba(16, 36, 42, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 61, 76, 0.92), rgba(47, 141, 145, 0.82)),
    linear-gradient(45deg, rgba(201, 156, 89, 0.45), rgba(207, 116, 95, 0.38));
}

.reel-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 36%),
    radial-gradient(circle at 12% 10%, rgba(201, 156, 89, 0.35), transparent 28%);
}

.reel-frame iframe {
  width: 100%;
  height: 590px;
  border: 0;
  background: transparent;
}

.instagram-fallback {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  background: rgba(16, 36, 42, 0.84);
  font-size: 0.9rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.instagram-fallback:hover {
  background: rgba(159, 71, 239, 0.92);
}

.reel-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.reel-card {
  min-height: 86px;
  cursor: pointer;
  border: 1px solid rgba(16, 36, 42, 0.12);
  border-radius: 8px;
  padding: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.reel-card:hover,
.reel-card.is-active {
  border-color: rgba(201, 156, 89, 0.8);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.reel-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reel-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.project-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  color: var(--white);
  font-weight: 900;
}

.project-image small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.image-tone-1 {
  background: linear-gradient(135deg, #0f3d4c, #2f8d91);
}

.image-tone-2 {
  background: linear-gradient(135deg, #c99c59, #cf745f);
}

.image-tone-3 {
  background: linear-gradient(135deg, #10242a, #c99c59);
}

.website-grid,
.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.website-card,
.creative-card {
  padding: 22px;
}

.device-scene {
  position: relative;
  min-height: 245px;
  margin-bottom: 24px;
}

.desktop-mockup,
.mobile-mockup {
  position: absolute;
  border: 8px solid #172a2f;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(16, 36, 42, 0.2);
}

.desktop-mockup {
  inset: 16px 30px 30px 0;
  padding: 18px;
}

.desktop-mockup span {
  display: block;
  width: 54%;
  height: 18px;
  border-radius: 8px;
  background: var(--accent);
}

.mock-hero {
  height: 82px;
  margin: 16px 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), rgba(201, 156, 89, 0.75));
}

.mock-lines {
  width: 76%;
  height: 58px;
  border-radius: 8px;
  background: repeating-linear-gradient(180deg, rgba(16, 36, 42, 0.14) 0 8px, transparent 8px 17px);
}

.mobile-mockup {
  right: 0;
  bottom: 0;
  width: 86px;
  height: 172px;
  padding: 12px 9px;
}

.mobile-mockup div {
  height: 58px;
  border-radius: 8px;
  background: var(--accent);
}

.mobile-mockup span {
  display: block;
  width: 70%;
  height: 74px;
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(16, 36, 42, 0.12);
}

.website-card p,
.creative-card p {
  color: var(--muted);
  line-height: 1.65;
}

.creative-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.creative-card:hover,
.website-card:hover,
.client-section:hover {
  transform: translateY(-3px);
}

.creative-card span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
}

.creative-card p {
  color: rgba(255, 255, 255, 0.76);
}

.creative-2 {
  background: linear-gradient(135deg, #c99c59, #cf745f);
}

.creative-3 {
  background: linear-gradient(135deg, #10242a, #b46b45);
}

.creative-4 {
  background: linear-gradient(135deg, #277c8e, #c99c59);
}

.creative-5 {
  background: linear-gradient(135deg, #0f3d4c, #cf745f);
}

.creative-6 {
  background: linear-gradient(135deg, #59656a, #2f8d91);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px max(22px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
}

.final-cta {
  margin: 30px max(22px, calc((100vw - 1120px) / 2)) 96px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 61, 76, 0.94), rgba(47, 141, 145, 0.86)),
    url("../images/hero-creative-studio.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
  max-width: 780px;
}

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

.site-footer a {
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 900px) {
  .nav-links {
    width: auto;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 0;
    margin-left: 12px;
  }

  .nav-links a {
    font-size: 0.88rem;
    padding: 8px 12px;
    min-width: auto;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: 100svh;
    padding-top: 168px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 243, 236, 0.9) 0%, rgba(247, 243, 236, 0.74) 50%, rgba(247, 243, 236, 0.98) 100%);
  }

  .about-grid,
  .client-section,
  .website-grid,
  .creative-grid {
    grid-template-columns: 1fr;
  }

  .client-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .reel-gallery,
  .project-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .nav-links {
    width: 100%;
    gap: 6px;
    justify-content: flex-start;
    margin-left: 0;
  }

  .nav-links a {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(3.55rem, 20vw, 5.1rem);
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-actions a {
    width: 100%;
  }

  .client-rail {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .client-kicker,
  .media-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-metrics,
  .reel-gallery,
  .project-images {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 16px;
  }

  .client-section,
  .website-card,
  .creative-card,
  .about-copy {
    padding: 18px;
  }

  .reel-frame,
  .reel-frame iframe {
    min-height: 430px;
    height: 430px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 16px;
  }

  .final-cta {
    margin-inline: 16px;
    margin-bottom: 70px;
  }
}

/* Dmark logo match layer */
:root {
  --ink: #f6f2fb;
  --muted: #b8b3c2;
  --paper: #07070a;
  --line: rgba(159, 71, 239, 0.24);
  --navy: #101018;
  --teal: #9f47ef;
  --gold: #c9c3d4;
  --coral: #6f2bd6;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

body {
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.9), rgba(9, 8, 13, 0.98)),
    radial-gradient(circle at 18% 8%, rgba(159, 71, 239, 0.3), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(111, 43, 214, 0.22), transparent 34%),
    #07070a;
}

.scroll-progress {
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  background: linear-gradient(90deg, #c9c3d4, #9f47ef, #6f2bd6);
}

.site-header,
.client-rail {
  border-color: rgba(159, 71, 239, 0.28);
  background: rgba(7, 7, 10, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.brand-mark {
  width: 118px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 212, 0.42);
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, rgba(201, 195, 212, 0.7), rgba(159, 71, 239, 0.82)) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(159, 71, 239, 0.34);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px 8px;
  background: #000;
}

.hero-mark {
  width: min(340px, 82vw);
  height: 158px;
  margin-bottom: 26px;
  border-color: rgba(201, 195, 212, 0.54);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 26px 80px rgba(159, 71, 239, 0.46);
}

.hero-mark img {
  padding: 12px 18px;
}

.nav-links a {
  color: rgba(246, 242, 251, 0.72);
}

.nav-links a:hover,
.client-rail a:hover {
  background: rgba(159, 71, 239, 0.14);
  color: #fff;
}

.hero-bg {
  filter: saturate(0.72) contrast(1.08) brightness(0.62);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.98) 0%, rgba(8, 6, 13, 0.86) 45%, rgba(8, 6, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.1), rgba(5, 5, 7, 0.98));
}

.hero-tagline,
.about-copy p,
.client-copy p {
  color: rgba(246, 242, 251, 0.74);
}

.eyebrow,
.media-heading span,
.reel-card span {
  color: #c9c3d4;
}

.primary-button {
  background: linear-gradient(135deg, #6f2bd6, #a34ff4);
  box-shadow: 0 18px 42px rgba(159, 71, 239, 0.31);
}

.secondary-button,
.ghost-button,
.capability-grid span,
.service-pills span,
.client-kicker span,
.media-heading strong,
.reel-card,
.hero-proof span {
  border-color: rgba(159, 71, 239, 0.26);
  color: #f6f2fb;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics div,
.glass-panel,
.client-section,
.website-card,
.creative-card {
  border-color: rgba(159, 71, 239, 0.24);
  background: rgba(18, 16, 25, 0.76);
}

.reel-card:hover,
.reel-card.is-active {
  border-color: rgba(159, 71, 239, 0.86);
  background: rgba(159, 71, 239, 0.16);
}

.reel-frame {
  background:
    linear-gradient(135deg, rgba(6, 5, 10, 0.94), rgba(111, 43, 214, 0.72)),
    linear-gradient(45deg, rgba(201, 195, 212, 0.18), rgba(159, 71, 239, 0.34));
}

.reel-shine {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    radial-gradient(circle at 12% 10%, rgba(159, 71, 239, 0.38), transparent 28%);
}

.instagram-fallback {
  background: rgba(8, 7, 12, 0.9);
}

.image-tone-1,
.creative-card {
  background: linear-gradient(135deg, #050507, #9f47ef);
}

.image-tone-2,
.creative-2 {
  background: linear-gradient(135deg, #1b1724, #c9c3d4);
}

.image-tone-3,
.creative-3 {
  background: linear-gradient(135deg, #09070d, #6f2bd6);
}

.creative-4 {
  background: linear-gradient(135deg, #231633, #a34ff4);
}

.creative-5 {
  background: linear-gradient(135deg, #050507, #7d36d9);
}

.creative-6 {
  background: linear-gradient(135deg, #c9c3d4, #6f2bd6);
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(5, 5, 7, 0.96), rgba(111, 43, 214, 0.82)),
    url("../images/hero-creative-studio.png") center / cover no-repeat;
}

@media (max-width: 900px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 7, 0.94) 0%, rgba(8, 6, 13, 0.82) 52%, rgba(5, 5, 7, 0.98) 100%);
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 104px;
    height: 52px;
  }

  .hero-mark {
    width: min(300px, 88vw);
    height: 138px;
  }

  .hero-mark img {
    padding: 10px 14px;
  }
}

/* Final header-specific mobile logo override */
@media (max-width: 900px) {
  .site-header {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 0 0 16px 16px !important;
    transform: none !important;
    background: rgba(7, 7, 10, 0.92) !important;
  }

  .site-header .brand-lockup {
    gap: 10px !important;
  }

  .site-header .brand-lockup span:last-child {
    display: inline !important;
  }

  .site-header .brand-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 48px !important;
    max-width: 140px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
  }

  .site-header .brand-mark img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-links {
    gap: 6px !important;
    margin-left: 0 !important;
  }

  .nav-links a {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
    min-width: auto !important;
  }
}

@media (max-width: 560px) {
  .site-header .brand-mark {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 6px !important;
  }

  .site-header .brand-mark img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .nav-links a {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }
}

/* Desktop and hero brand image fix */
.site-header .brand-mark {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.site-header .brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-mark {
  width: 110px !important;
  height: 48px !important;
  max-width: 110px !important;
  max-height: 48px !important;
}

.hero-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Final logo frame fit */
[data-brand-logo] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(201, 195, 212, 0.42) !important;
  border-radius: 10px !important;
  background: #000 !important;
  box-shadow: 0 14px 34px rgba(159, 71, 239, 0.24) !important;
  pointer-events: auto !important;
}

[data-brand-logo] img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 5px 8px !important;
  margin: 0 !important;
  background: #000 !important;
}

.site-header [data-brand-logo] {
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
}

.hero-mark[data-brand-logo] {
  width: min(280px, 78vw) !important;
  max-width: min(280px, 78vw) !important;
  height: 108px !important;
  max-height: 108px !important;
  margin-bottom: 24px !important;
}

.hero-mark[data-brand-logo] img {
  padding: 10px 16px !important;
}

.site-footer [data-brand-logo] {
  width: 104px !important;
  min-width: 104px !important;
  height: 42px !important;
}

@media (max-width: 560px) {
  .hero {
    padding-top: 148px;
  }

  .hero-metrics div {
    min-height: 74px;
  }

  .site-header [data-brand-logo] {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }

  .hero-mark[data-brand-logo] {
    width: min(240px, 82vw) !important;
    max-width: min(240px, 82vw) !important;
    height: 92px !important;
    max-height: 92px !important;
  }
}
