/* Cre8ive Nudge — landing page */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --surface: #161616;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --accent: #cafc01;
  --accent-dim: rgba(202, 252, 1, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --container: min(1120px, calc(100% - 40px));
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 2.875rem;
  max-width: min(12rem, 100%);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

button.nav-link {
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

.work-portfolio-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.work-portfolio-overlay[hidden] {
  display: none;
}

.work-portfolio-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.work-portfolio-overlay__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(36rem, calc(100vw - 2rem));
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.65rem, 3.5vw, 2.65rem);
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.work-portfolio-overlay__toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.35rem;
}

.work-portfolio-overlay__close {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.work-portfolio-overlay__close:hover {
  color: var(--accent);
  border-color: rgba(202, 252, 1, 0.35);
  background: var(--accent-dim);
}

.work-portfolio-overlay__browse {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.15s;
}

.work-portfolio-overlay__browse:hover {
  color: var(--accent);
}

.work-portfolio-overlay__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.work-portfolio-overlay__lead {
  margin: 0 0 1.5rem;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.work-portfolio-overlay__download {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.work-portfolio-overlay--contact .work-portfolio-overlay__close:hover {
  color: var(--accent);
  border-color: rgba(202, 252, 1, 0.35);
  background: var(--accent-dim);
}

.work-portfolio-overlay--contact .work-portfolio-overlay__browse:hover {
  color: var(--accent);
}

.work-portfolio-overlay--contact .work-portfolio-overlay__download {
  background: var(--accent);
  color: #0a0a0a;
}

.work-portfolio-overlay--contact .work-portfolio-overlay__download:hover {
  box-shadow: 0 0 24px rgba(202, 252, 1, 0.35);
}

body.work-portfolio-overlay-active {
  overflow: hidden;
}

.nav-link--text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-link--text:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn--primary:hover {
  box-shadow: 0 0 24px rgba(202, 252, 1, 0.35);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  --hero-bg: #071f0c;
  --hero-accent-glow: #cafc01;
  position: relative;
  overflow: visible;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  background-color: var(--hero-bg);
  background-image: radial-gradient(
      ellipse 125% 72% at 50% 18%,
      rgba(202, 252, 1, 0.15) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 58% 48% at 50% 52%,
      rgba(202, 252, 1, 0.24) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 105% 82% at 50% 108%,
      rgba(4, 18, 10, 0.38) 0%,
      var(--hero-bg) 52%
    );
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: clamp(1.25rem, 6vw, 4rem);
  transform: translateX(-50%);
  width: min(100%, 52rem);
  height: clamp(15rem, 40vw, 24rem);
  background: radial-gradient(
    ellipse at center,
    rgba(202, 252, 1, 0.18) 0%,
    rgba(202, 252, 1, 0.095) 34%,
    transparent 66%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.125rem;
  max-width: 20ch;
  font-size: clamp(2.25rem, 6.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  max-width: 36rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 400;
  color: rgba(196, 208, 198, 0.92);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: min(1040px, 100%);
  margin-inline: auto;
  margin-top: 0.25rem;
  margin-bottom: clamp(0.75rem, 2vw, 1.35rem);
}

.hero-dashboard {
  position: relative;
  width: 100%;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.expertise {
  position: relative;
  background: #000000;
  --accent: #d4f01e;
  --expertise-card: #1a1a1a;
  --expertise-body: #b0b0b0;
}

.expertise-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.expertise-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.expertise-tagline {
  margin: 0;
  font-size: clamp(0.75rem, 0.35rem + 1.75vw, 1.125rem);
  line-height: 1.5;
  white-space: nowrap;
}

.expertise-tagline__lead {
  color: #ffffff;
}

.expertise-tagline__accent {
  color: var(--accent);
  font-weight: 700;
}

@media (min-width: 768px) {
  .expertise-head {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(1rem, 2.5vw, 2rem);
  }

  .expertise-head .expertise-title {
    flex-shrink: 0;
  }

  .expertise-tagline {
    text-align: left;
    margin-left: 0;
    flex-shrink: 0;
  }
}

.section-tagline {
  margin: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  max-width: 36rem;
  line-height: 1.55;
}

.tagline-muted {
  color: var(--text-muted);
}

.tagline-accent {
  color: var(--accent);
  font-weight: 500;
}

.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.expertise .service-card {
  background: var(--expertise-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.service-card:hover {
  border-color: rgba(202, 252, 1, 0.25);
  box-shadow: 0 0 0 1px rgba(202, 252, 1, 0.08);
}

.expertise .service-card:hover {
  border-color: rgba(212, 240, 30, 0.22);
  box-shadow: 0 0 0 1px rgba(212, 240, 30, 0.06);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise .service-icon {
  width: auto;
  height: auto;
  min-height: 2.5rem;
  margin-bottom: 1.25rem;
  border: none;
  border-radius: 0;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--accent);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.expertise .service-icon svg {
  width: 48px;
  height: 40px;
  display: block;
}

.service-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.expertise .service-title {
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
}

.service-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.expertise .service-desc {
  color: var(--expertise-body);
  line-height: 1.65;
}

/* Brands */
.brands {
  background: var(--bg);
}

.brands-title {
  text-align: center;
  margin: 0 0 clamp(2.75rem, 5.5vw, 4.5rem);
}

.logo-marquee {
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 50s linear infinite;
  will-change: transform;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-inline: clamp(1rem, 3vw, 1.75rem);
}

.logo-marquee__img {
  height: clamp(56px, 10vw, 88px);
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1) opacity(0.82);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-marquee__img:hover {
  filter: brightness(0) invert(1) opacity(1);
}

@keyframes logo-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
  }

  .logo-marquee__group:last-child {
    display: none;
  }

  .logo-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-block: 0.5rem;
  }

  .logo-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Why */
.why {
  position: relative;
  background: #000000;
  --why-accent: #ccff00;
  --why-card: #121212;
  --why-body: #a0a0a0;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
}

.why + .section.testimonials {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.why-bg__logo {
  position: absolute;
  left: max(0px, calc(50% - min(560px, calc(50% - 20px))));
  top: clamp(6.65rem, 24vh, 11rem);
  width: min(92vw, 520px);
  height: auto;
  max-height: min(78vh, 92%);
  display: block;
  object-fit: contain;
  object-position: left center;
  transform: translate(0.5rem, -1.95rem);
  opacity: 0.52;
  filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.35))
    drop-shadow(0 0 48px rgba(204, 255, 0, 0.22));
}

@media (max-width: 899px) {
  .why-bg__logo {
    left: max(1rem, calc(50% - min(560px, calc(50% - 20px))));
    top: clamp(7rem, 20vh, 9.5rem);
    width: min(88vw, 420px);
    max-height: min(52vh, 420px);
    transform: translate(0, -0.35rem);
    opacity: 0.45;
  }
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.why-visual {
  position: relative;
  z-index: 1;
}

.why-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.95), 0 0 2.5rem rgba(0, 0, 0, 0.75),
    0 0.06em 0.12em rgba(0, 0, 0, 0.9);
}

@media (min-width: 900px) {
  .why-visual {
    padding-right: 1rem;
  }
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--why-card);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}

.why-bullet {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 0.3rem;
  box-sizing: border-box;
}

.why-bullet--circle {
  border-radius: 50%;
  background: var(--why-accent);
}

.why-bullet--square {
  border-radius: 3px;
  background: var(--why-accent);
}

.why-bullet--triangle {
  width: 0;
  height: 0;
  border: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid var(--why-accent);
  margin-top: 0.28rem;
  background: none;
}

.why-bullet--diamond {
  width: 10px;
  height: 10px;
  margin-top: 0.38rem;
  transform: rotate(45deg);
  border-radius: 1px;
  background: var(--why-accent);
}

.why-bullet--star {
  width: 14px;
  height: 14px;
  margin-top: 0.22rem;
  background: var(--why-accent);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.why-item-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.why-item-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--why-body);
  line-height: 1.6;
}

/* Testimonials */
.section.testimonials {
  background: #000000;
  --accent: #d4f01e;
}

.testimonials-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.testimonials-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.testimonials-tagline {
  margin: 0;
  font-size: clamp(0.75rem, 0.35rem + 1.75vw, 1.125rem);
  line-height: 1.5;
}

.testimonials-tagline__lead {
  color: #ffffff;
}

.testimonials-tagline__accent {
  color: var(--accent);
  font-weight: 700;
}

@media (min-width: 768px) {
  .testimonials-head {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.25rem);
  }

  .testimonials-head .testimonials-title {
    flex-shrink: 0;
  }

  .testimonials-tagline {
    text-align: left;
    flex-shrink: 0;
    max-width: min(36rem, 100%);
  }
}

.testimonial-marquee {
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.testimonial-marquee__track {
  display: flex;
  width: max-content;
  animation: testimonial-marquee-scroll 72s linear infinite;
  will-change: transform;
}

.testimonial-marquee:hover .testimonial-marquee__track {
  animation-play-state: paused;
}

.testimonial-marquee__group {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  gap: 1.25rem;
  padding-inline: clamp(1rem, 3vw, 1.75rem);
}

@keyframes testimonial-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
  }

  .testimonial-marquee__group:last-child {
    display: none;
  }

  .testimonial-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-block: 0.5rem;
  }

  .testimonial-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    margin-inline: 0;
    width: auto;
  }
}

.testimonial-card {
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.testimonial-marquee .testimonial-card {
  width: clamp(280px, 34vw, 380px);
  flex-shrink: 0;
  min-height: 240px;
}

.testimonial-quote {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  flex-shrink: 0;
}

.avatar--b {
  background: linear-gradient(135deg, #f472b6, #a855f7);
}

.avatar--c {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.avatar--d {
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.avatar--e {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
}

.avatar--f {
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.avatar--g {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.avatar--h {
  background: linear-gradient(135deg, #bef264, #65a30d);
}

.avatar--i {
  background: linear-gradient(135deg, #5eead4, #0f766e);
}

.avatar--j {
  background: linear-gradient(135deg, #93c5fd, #1d4ed8);
}

.avatar--k {
  background: linear-gradient(135deg, #fcd34d, #b45309);
}

.avatar--l {
  background: linear-gradient(135deg, #a5b4fc, #4338ca);
}

.testimonial-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
}

.testimonial-role {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-inner .footer-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
}

.footer-brand {
  min-width: 0;
  max-width: 100%;
}

.logo--footer .logo-img {
  max-height: 3rem;
  max-width: 13rem;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(0.6875rem, 1.35vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.65;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.social-link {
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  align-self: flex-start;
}

.social-link:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.copyright {
  text-align: center;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Nav: hide text link on small screens per design */
@media (max-width: 639px) {
  .nav-link--text {
    display: none;
  }

  .nav {
    gap: 0;
  }
}

/* Contact page — colors match main site (:root tokens) */
.contact-page {
  background: var(--bg);
}

.contact-page__header {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--border-subtle);
}

.contact-main {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.contact-page__inner {
  max-width: min(1040px, var(--container));
}

.contact-page__hero {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.contact-page__hero-title {
  margin: 0 auto 1rem;
  max-width: 22ch;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

.contact-page__hero-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.contact-panel__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .contact-panel__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: stretch;
  }

  .contact-panel__col--info {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .contact-details {
    flex: 1 1 auto;
    margin: 0;
    justify-content: space-between;
    gap: clamp(1.25rem, 4vh, 2.5rem);
  }

  .contact-connect__title {
    margin-top: clamp(1.5rem, 3vh, 2.5rem);
  }

  /* Pin Send message to column bottom so it lines up with Connect with us */
  .contact-panel__col--form {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .contact-panel__col--form .contact-form--panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }

  .contact-panel__col--form .btn--contact-submit {
    margin-top: auto;
    align-self: flex-start;
  }
}

.contact-panel__heading {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-panel__blurb {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-panel__col--form .contact-panel__blurb {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-group__title {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.contact-detail-group__lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.contact-detail-group__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}

.contact-detail-group__link:hover {
  color: var(--accent);
}

.contact-connect__title {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-connect__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn--outline-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn--outline-contact:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.contact-form--panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-page .form-field {
  margin-bottom: 1rem;
}

.contact-page .form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-page .label-optional {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.contact-page .form-field input,
.contact-page .form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-page .form-field textarea {
  resize: vertical;
  min-height: 5.25rem;
  line-height: 1.55;
}

.contact-page .form-field input::placeholder,
.contact-page .form-field textarea::placeholder {
  color: #6b7280;
}

.contact-page .form-field input:hover,
.contact-page .form-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-page .form-field input:focus,
.contact-page .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.btn--contact-submit {
  margin-top: 0.35rem;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0a;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn--contact-submit:hover {
  box-shadow: 0 0 24px rgba(202, 252, 1, 0.35);
  transform: translateY(-1px);
}

a.btn[aria-current="page"] {
  box-shadow: inset 0 0 0 2px rgba(10, 10, 10, 0.35);
}
