/* ==========================================================================
   Materetsky Multimedia: Design System (Dark)
   ========================================================================== */

@font-face {
  font-family: "Geoform";
  src: url("../fonts/Geoform-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Geoform";
  src: url("../fonts/Geoform.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geoform";
  src: url("../fonts/Geoform-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geoform";
  src: url("../fonts/Geoform-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Geoform";
  src: url("../fonts/Geoform-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --color-bg: #0c0d0e;
  --color-surface: #17181b;
  --color-surface-2: #1e2023;
  --color-line: rgba(255, 255, 255, 0.12);
  --color-text: #f4f3ee;
  --color-muted: #9d9d97;
  --color-accent: #b4d352;
  --color-accent-ink: #0c0d0e;

  --font-display: "Geoform", "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
p {
  margin: 0 0 1em;
  color: var(--color-muted);
}
button {
  font-family: inherit;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: clamp(1.75rem, 4vw, 3.5rem) 0;
}
.section-tight {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}
.section-head p {
  font-size: 1.05rem;
  max-width: 52ch;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.7em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--color-text);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-solid {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}
.btn-solid:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-bg);
}
.btn-accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}
.btn-on-dark {
  border-color: var(--color-text);
  color: var(--color-text);
}
.btn-on-dark:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 14, 0.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  height: 34px;
  width: auto;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: var(--color-accent);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--color-text);
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: #0c0d0e;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: calc(84px + 1rem) var(--gutter) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    border-top: 1px solid var(--color-line);
  }
  .nav a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 1rem;
  }
  .nav-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
}
.hero-media {
  position: relative;
  aspect-ratio: 16 / 8.2;
  min-height: 460px;
  background: linear-gradient(160deg, #1a1a1a, #0a0a0a);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.video-bg-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, #1a1a1a, #0a0a0a);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.video-bg-cover.is-hidden {
  opacity: 0;
}
@media (max-width: 640px) {
  .hero-media {
    aspect-ratio: auto;
    min-height: 640px;
  }
}
.hero-media .video-slot {
  position: absolute;
  inset: 0;
}
.video-slot.video-bg > iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
.hero-expand {
  position: absolute;
  top: var(--gutter);
  right: var(--gutter);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1.15em;
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.55);
  border: 1px solid rgba(244, 243, 238, 0.35);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.hero-expand svg {
  width: 14px;
  height: 14px;
  display: block;
}
.hero-expand:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
  transform: translateY(-2px);
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--gutter) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.hero-copy > * {
  pointer-events: auto;
}
.hero-copy .eyebrow {
  color: var(--color-accent);
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  max-width: 16ch;
  margin-bottom: 0.35em;
}
.hero-copy .tagline {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(244, 243, 238, 0.8);
  max-width: 64ch;
  margin-bottom: 1.5em;
  text-transform: none;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Page hero (non-video interior pages) ---------- */
.page-hero {
  background: var(--color-bg);
  color: var(--color-text);
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(0.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--color-line);
}
.page-hero .eyebrow {
  color: var(--color-accent);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 20ch;
  margin: 0 0 1rem;
}
.page-hero p {
  color: rgba(244, 243, 238, 0.72);
  max-width: 60ch;
  font-size: 1.05rem;
}

/* ==========================================================================
   Client strip (marquee)
   ========================================================================== */

/* ==========================================================================
   Cards: services overview
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.service-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--color-surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.service-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service-card p {
  margin-bottom: 1.25rem;
}
.service-card a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

/* ==========================================================================
   Work grid / video embeds
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}
.work-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.work-tile[hidden] {
  display: none;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1012;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(244, 243, 238, 0.55);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(244, 243, 238, 0.05),
      rgba(244, 243, 238, 0.05) 10px,
      transparent 10px,
      transparent 20px
    ),
    #0f1012;
  border: 1px dashed rgba(244, 243, 238, 0.25);
}
.video-placeholder .play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(244, 243, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.video-placeholder small {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.award-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: 0.55rem;
  margin-bottom: 0.65rem;
}
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.4rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.award-icon {
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  fill: var(--color-accent);
  position: relative;
  top: -2px;
}
.work-tile-body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.work-tile-body .tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.work-tile-body h3 {
  font-size: 1.05rem;
  margin: 0.1rem 0;
  text-transform: none;
  letter-spacing: 0;
}
.work-tile-body .client {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- Filter controls ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--color-accent);
}
.filter-btn.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-strip {
  background: var(--color-surface);
  color: var(--color-text);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    row-gap: 0;
    padding: 1.4rem 1.6rem;
  }
  .testimonial-card .quote-mark {
    grid-column: 1;
    grid-row: 1;
    font-size: 2.6rem;
    line-height: 0.8;
    margin-bottom: 0;
  }
  .testimonial-card p {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 1.1rem;
    flex: none;
  }
  .testimonial-card .attribution {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
.testimonial-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg);
}
.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.15rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 243, 238, 0.92);
  flex: 1;
}
.testimonial-card .attribution {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}
.testimonial-card .attribution img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}
.testimonial-card .attribution .attribution-text {
  min-width: 0;
}
.testimonial-card .attribution .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.testimonial-card .attribution .role {
  display: block;
  font-size: 0.82rem;
  color: rgba(244, 243, 238, 0.55);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-track {
  display: grid;
}
.testimonial-slide {
  grid-area: 1 / 1;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
  pointer-events: none;
}
.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-slide .quote-mark {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
}
.testimonial-slide p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(244, 243, 238, 0.92);
}
.testimonial-slide .attribution {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}
.testimonial-slide .attribution img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}
.testimonial-slide .attribution .attribution-text {
  min-width: 0;
}
.testimonial-slide .attribution .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.testimonial-slide .attribution .role {
  display: block;
  font-size: 0.82rem;
  color: rgba(244, 243, 238, 0.55);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.carousel-arrow svg {
  width: 18px;
  height: 18px;
}
.carousel-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-line);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot:hover {
  background: var(--color-muted);
}
.carousel-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.3);
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-slide {
    transition: opacity 0.3s;
    transform: none;
  }
}

/* ==========================================================================
   Process steps (Services)
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }
}
.process-step {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-line);
  display: block;
  margin-bottom: 0.5rem;
}
.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.process-step p {
  font-size: 0.92rem;
  margin: 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 860px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}
.service-block-card {
  padding: clamp(1.65rem, 3vw, 2.15rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-block-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  color: var(--color-accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-block-card .service-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}
.service-block-card h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.service-block-card .service-lede {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-accent);
  text-transform: none;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}
.service-block-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.service-block-card .service-best-for {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-line);
}

/* ==========================================================================
   Placeholder blocks (photo-dependent sections)
   ========================================================================== */
.placeholder-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  min-height: 220px;
  border: 1px dashed rgba(244, 243, 238, 0.25);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
      135deg,
      rgba(244, 243, 238, 0.035),
      rgba(244, 243, 238, 0.035) 10px,
      transparent 10px,
      transparent 20px
    ),
    var(--color-surface);
  color: var(--color-muted);
  padding: 2rem;
}
.placeholder-block .ph-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 243, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}
.placeholder-block strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}
.placeholder-block span {
  font-size: 0.82rem;
  max-width: 32ch;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0;
  max-width: 18ch;
  color: var(--color-accent-ink);
}
.cta-band h2 .cta-lead {
  font-weight: 400;
  opacity: 0.75;
}
.cta-band .btn {
  border-color: var(--color-accent-ink);
  color: var(--color-accent-ink);
}
.cta-band .btn:hover {
  background: var(--color-accent-ink);
  color: var(--color-accent);
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-grid--profile {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}
@media (max-width: 860px) {
  .about-grid--profile {
    grid-template-columns: 1fr;
  }
}
.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 300px;
  background: var(--color-bg);
  justify-self: end;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
  mask-image:
    radial-gradient(ellipse 22% 16% at 0% 0%, rgba(0, 0, 0, 0.92) 0%, #000 100%),
    radial-gradient(ellipse 22% 16% at 100% 0%, rgba(0, 0, 0, 0.92) 0%, #000 100%);
  -webkit-mask-image:
    radial-gradient(ellipse 22% 16% at 0% 0%, rgba(0, 0, 0, 0.92) 0%, #000 100%),
    radial-gradient(ellipse 22% 16% at 100% 0%, rgba(0, 0, 0, 0.92) 0%, #000 100%);
  mask-composite: intersect;
}
.portrait-frame:hover,
.portrait-frame:focus-within {
  transform: scale(1.03);
  z-index: 5;
  box-shadow: inset 0 0 0 2px var(--color-accent);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: contrast(1.05) saturate(1.05);
  transition: filter 0.3s var(--ease);
}
.portrait-frame:hover img,
.portrait-frame:focus-within img {
  filter: contrast(1.1) saturate(1.1) brightness(1.08);
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 13, 14, 0.96) 100%);
  pointer-events: none;
}
.portrait-tag {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}
.portrait-tag .p-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}
.portrait-tag .p-role {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.1rem;
}
.portrait-tag .p-detail {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(244, 243, 238, 0.85);
  margin-top: 0;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.portrait-frame:hover .p-detail,
.portrait-frame:focus-within .p-detail {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.5rem;
}
@media (max-width: 860px) {
  .portrait-frame {
    max-width: 200px;
    justify-self: start;
  }
}
.portrait-signoff {
  display: block;
  height: 78px;
  width: auto;
  margin-top: 1.1rem;
  filter: invert(1) brightness(1.15);
  opacity: 0.55;
}
@media (max-width: 860px) {
  .portrait-frame {
    min-height: 320px;
  }
}
.about-grid .lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-text);
  text-transform: none;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}
@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}
.stat-row .stat span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-list {
  margin-top: 2rem;
}
.contact-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.contact-list li:first-child {
  padding-top: 0;
}
.contact-list .k {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}
.contact-list .v {
  display: inline-block;
  font-size: 1.1rem;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-list .v:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.social-row a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-row a svg {
  width: 18px;
  height: 18px;
}
.social-row a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
  transform: translateY(-3px);
}

.form {
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-text);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(180, 211, 82, 0.25), 0 10px 22px rgba(0, 0, 0, 0.3);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}
.careers-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.field input[type="file"] {
  padding: 0.65rem 1rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}
.field input[type="file"]::file-selector-button {
  margin-right: 1rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}
.field input[type="file"]::file-selector-button:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-surface);
  color: rgba(244, 243, 238, 0.65);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--color-line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-line);
}
@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
.footer-brand img {
  height: 130px;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(244, 243, 238, 0.55);
  max-width: 34ch;
  font-size: 0.92rem;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 1rem;
}
.footer-col li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--color-accent);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   Motion / interactivity
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  z-index: 200;
  transition: width 0.12s linear;
}

.site-header .wrap {
  transition: height 0.25s var(--ease);
}
.site-header.is-scrolled .wrap {
  height: 64px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn,
.service-card,
.work-tile,
.filter-btn,
.social-row a,
.nav a::after {
  will-change: transform;
}
.work-tile.reveal.is-visible:hover,
.service-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}
.work-tile.reveal.is-visible:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.client-strip {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
  overflow: hidden;
}
.client-strip-head {
  padding-bottom: 0.85rem;
}
.client-strip .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
}
.marquee {
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: max-content;
  padding: 0 var(--gutter);
  animation: marquee 40s linear infinite;
}
@media (max-width: 640px) {
  .marquee-track {
    gap: 2.25rem;
  }
}
.marquee-track li {
  display: flex;
  align-items: center;
  height: 46px;
}
.marquee-track li a,
.marquee-track li .static-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.marquee-track li img {
  height: 30px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.25s var(--ease);
}
.marquee-track li img:hover {
  opacity: 1;
}
.marquee-track li img.logo-xlarge {
  height: 58px;
  max-width: 192px;
}
.marquee-track li img.logo-small {
  height: 28px;
  max-width: 102px;
}
.marquee-track li img.logo-tiny {
  height: 28px;
  max-width: 102px;
}
.marquee-track li img.logo-medium {
  height: 48px;
  max-width: 150px;
}
.marquee-track li img.logo-boost {
  height: 36px;
  max-width: 138px;
}
.marquee-track li img.logo-ne-voices {
  height: 30px;
  max-width: 115px;
  opacity: 0.9;
  filter: grayscale(1);
}
.marquee-track li img.logo-ne-voices:hover {
  opacity: 1;
}
.marquee-track li .logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  opacity: 0.7;
  white-space: nowrap;
}
.marquee-track li .logo-text {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.marquee-track li a:hover .logo-text {
  opacity: 1;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Cinematic polish: cursor label, magnetic buttons, grain, transitions
   ========================================================================== */

/* ---------- Magnetic buttons ---------- */
.magnetic {
  transition: transform 0.4s var(--ease);
}

/* ---------- Film grain overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
  .grain-overlay {
    display: none;
  }
}

/* ---------- Native page transitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: view-fade-out 0.35s ease forwards;
  }
  ::view-transition-new(root) {
    animation: view-fade-in 0.35s ease forwards;
  }
  @keyframes view-fade-out {
    to {
      opacity: 0;
    }
  }
  @keyframes view-fade-in {
    from {
      opacity: 0;
    }
  }
}

/* ---------- Line-mask headline reveal ---------- */
.line-mask {
  display: block;
  overflow: hidden;
}
.line-mask .line-inner {
  display: block;
  transform: translateY(115%);
  animation: line-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
}
@keyframes line-reveal {
  to {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .line-mask .line-inner {
    transform: none;
    animation: none;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Chat widget
   ========================================================================== */
.chat-toggle {
  position: fixed;
  right: clamp(1.25rem, 4vw, 2rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  z-index: 400;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease);
}
.chat-toggle:hover {
  transform: scale(1.06);
}
.chat-toggle svg {
  width: 26px;
  height: 26px;
}
.chat-toggle .icon-close {
  display: none;
}
.chat-open .chat-toggle .icon-chat {
  display: none;
}
.chat-open .chat-toggle .icon-close {
  display: block;
}

.chat-panel {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: calc(clamp(1.25rem, 4vw, 2rem) + 72px);
  z-index: 400;
  width: min(360px, calc(100vw - 2rem));
  height: min(520px, calc(100vh - 140px));
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-panel-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  flex-shrink: 0;
}
.chat-panel-header img {
  width: auto;
  height: 22px;
  object-fit: contain;
}
.chat-panel-header .chat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.2;
}
.chat-panel-header .chat-status {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-accent);
  margin-top: 0.15rem;
}
.chat-panel-header .chat-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 0.4rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.chat-bubble {
  max-width: 84%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-bubble p {
  margin: 0 0 0.5em;
  color: inherit;
  font-size: inherit;
}
.chat-bubble p:last-child {
  margin-bottom: 0;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  border-bottom-left-radius: 3px;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-bottom-right-radius: 3px;
  font-family: var(--font-display);
  font-weight: 600;
}
.chat-bubble.bot a {
  color: var(--color-accent);
  text-decoration: underline;
}
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-muted);
  animation: chat-typing-bounce 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes chat-typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-quick-replies {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem 1.1rem;
  border-top: 1px solid var(--color-line);
}
.chat-quick-replies button {
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.chat-quick-replies button:hover {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.chat-quick-replies button.chat-cta {
  border-color: var(--color-text);
  color: var(--color-text);
}
.chat-quick-replies button.chat-cta:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

@media (max-width: 480px) {
  .chat-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: calc(clamp(1.25rem, 4vw, 2rem) + 72px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-panel,
  .chat-toggle {
    transition: none;
  }
  .chat-typing span {
    animation: none;
  }
}

