/* ==========================================================================
   Trendline Media — site styles
   Brand tokens live in :root. Change a color here and it updates everywhere.
   ========================================================================== */

:root {
  /* Brand colors */
  --black: #000000;
  --plum-950: #12061F;   /* raised surfaces on black */
  --plum-900: #1E0A33;   /* cards, panels */
  --plum-700: #3B1663;   /* main brand purple */
  --plum-500: #6A2FB8;   /* hover / borders on dark */
  --lilac: #B58CFF;      /* buttons + highlights on dark */
  --lilac-soft: #D9C6FF;
  --paper: #F6F2FC;      /* light sections */

  /* Text */
  --text: #FFFFFF;
  --text-muted: #C3B7D6;
  --ink: #16091F;        /* text on light */
  --ink-muted: #4E4160;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-hero: clamp(2.75rem, 1.6rem + 5.6vw, 6.25rem);
  --step-h1: clamp(2.5rem, 1.7rem + 3.8vw, 4.75rem);
  --step-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --step-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);

  /* Layout */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 76rem;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --base: 260ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

::selection { background: var(--lilac); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-light :focus-visible { outline-color: var(--plum-700); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--lilac);
  color: var(--black);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--fast) ease, color var(--fast) ease,
              border-color var(--fast) ease, transform var(--fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--lilac); color: var(--black); }
.btn-primary:hover { background: var(--lilac-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn-dark { background: var(--black); color: var(--text); }
.btn-dark:hover { background: var(--plum-900); }
.on-light .btn-ghost { border-color: rgba(22, 9, 31, 0.3); color: var(--ink); }
.on-light .btn-ghost:hover { border-color: var(--ink); background: rgba(22, 9, 31, 0.05); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.text-link {
  color: var(--lilac);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color var(--fast) ease;
}
.text-link:hover { color: var(--lilac-soft); }
.on-light .text-link { color: var(--plum-700); }
.on-light .text-link:hover { color: var(--plum-500); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(181, 140, 255, 0.14);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

/* Wordmark — swap for your logo image when it's ready (see README) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-word span { font-weight: 400; color: var(--lilac); }
.brand img { height: 40px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--fast) ease, background-color var(--fast) ease;
}
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 0.45rem;
  border-radius: 50%;
  background: var(--lilac);
}
.site-nav .btn { min-height: 44px; padding: 0.6rem 1.25rem; margin-left: 0.75rem; font-size: 1rem; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--black);
    border-bottom: 1px solid rgba(181, 140, 255, 0.2);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .site-nav a:not(.btn) { font-size: 1.25rem; min-height: 52px; padding: 0 0.5rem; }
  .site-nav .btn { margin: 0.75rem 0 0; width: 100%; min-height: 52px; font-size: 1.0625rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.on-light { background: var(--paper); color: var(--ink); }
.on-plum { background: var(--plum-700); }

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  max-width: 46rem;
}
.section-head h2 { font-size: var(--step-h2); }
.section-head p { font-size: var(--step-lead); color: var(--text-muted); max-width: 38rem; }
.on-light .section-head p { color: var(--ink-muted); }

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}
.section-head-split > div { display: grid; gap: 1.25rem; max-width: 40rem; }

.lead { font-size: var(--step-lead); color: var(--text-muted); }
.on-light .lead { color: var(--ink-muted); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2rem + 7vw, 8rem);
  background:
    radial-gradient(60rem 40rem at 85% 10%, rgba(106, 47, 184, 0.35), transparent 60%),
    var(--black);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero-copy { display: grid; gap: 1.75rem; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: 0.12em; }
.hero h1 .stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--lilac);
}
@supports not (-webkit-text-stroke: 2px red) {
  .hero h1 .stroke { color: var(--lilac); }
}
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero-note { color: var(--text-muted); font-size: 0.975rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 18px; height: 18px; color: var(--lilac); flex: none; }

.hero-photos {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 5;
  max-width: 30rem;
  width: 100%;
  justify-self: end;
}
.hero-photos figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius-lg); background: var(--plum-900); }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .p1 { inset: 0 22% 14% 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.hero-photos .p2 { inset: 42% 0 0 46%; border: 6px solid var(--black); }
.hero-photos figcaption {
  position: absolute;
  left: 0.75rem; bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* The trend line — signature motif */
.trendline {
  position: absolute;
  z-index: 1;
  left: -5%;
  right: -5%;
  bottom: 6%;
  width: 110%;
  height: 72%;
  pointer-events: none;
  overflow: visible;
}
.trendline path {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.trendline .glow { stroke: var(--plum-500); stroke-width: 14; opacity: 0.35; filter: blur(6px); }
.trendline circle { fill: var(--lilac); }
@media (prefers-reduced-motion: no-preference) {
  .js .trendline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease-out) 0.2s forwards; }
  .js .trendline circle { opacity: 0; animation: pop 0.4s var(--ease-out) 1.6s forwards; }
  .js .hero-photos figure { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease-out) forwards; }
  .js .hero-photos .p2 { animation-delay: 0.25s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photos { justify-self: start; max-width: 26rem; aspect-ratio: 5 / 5; }
  .trendline { height: 40%; bottom: 2%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(50rem 30rem at 90% 0%, rgba(106, 47, 184, 0.32), transparent 60%),
    var(--black);
}
.page-hero .wrap { display: grid; gap: 1.5rem; }
.page-hero h1 { font-size: var(--step-h1); max-width: 16ch; }
.page-hero .lead { max-width: 40rem; }

/* ---------- Services list (home) ---------- */
.service-rows { list-style: none; border-top: 1px solid rgba(181, 140, 255, 0.22); }
.service-rows li { border-bottom: 1px solid rgba(181, 140, 255, 0.22); }
.service-rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 1rem 2.5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem) 0.25rem;
  text-decoration: none;
  transition: background-color var(--base) ease, padding var(--base) var(--ease-out);
}
.service-rows h3 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  transition: color var(--fast) ease;
}
.service-rows p { color: var(--text-muted); }
.service-rows .arrow {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(181, 140, 255, 0.35);
  transition: background-color var(--fast) ease, border-color var(--fast) ease, transform var(--base) var(--ease-out);
}
.service-rows .arrow svg { width: 22px; height: 22px; }
@media (hover: hover) {
  .service-rows a:hover { background: linear-gradient(90deg, rgba(59, 22, 99, 0.55), transparent 80%); padding-inline: 1.25rem; }
  .service-rows a:hover h3 { color: var(--lilac); }
  .service-rows a:hover .arrow { background: var(--lilac); border-color: var(--lilac); color: var(--black); transform: rotate(-45deg); }
}
@media (max-width: 720px) {
  .service-rows a { grid-template-columns: 1fr auto; }
  .service-rows p { grid-column: 1 / -1; grid-row: 2; }
  .service-rows .arrow { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
}

/* ---------- Work mosaic (home) ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 6rem + 9vw, 15rem);
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}
.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum-900);
  text-decoration: none;
  color: var(--text);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile figcaption, .tile .tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  display: grid;
  gap: 0.1rem;
}
.tile strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.tile small { color: var(--text-muted); font-size: 0.875rem; }
@media (hover: hover) { a.tile:hover img, .tile:hover img { transform: scale(1.04); } }
.mosaic .t1 { grid-column: span 6; grid-row: span 2; }
.mosaic .t2 { grid-column: span 3; grid-row: span 2; }
.mosaic .t3 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 12rem; }
  .mosaic .t1 { grid-column: span 2; grid-row: span 1; }
  .mosaic .t2, .mosaic .t3 { grid-column: span 1; grid-row: span 2; }
}

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 3px solid var(--plum-700);
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--plum-500);
}
.steps h3 { font-size: var(--step-h3); }
.steps p { color: var(--ink-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Local strip ---------- */
.local {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.local h2 { font-size: var(--step-h2); }
.local-copy { display: grid; gap: 1.25rem; }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.areas li {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 140, 255, 0.35);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
}
.local-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.local-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--plum-700);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 2rem 3rem;
}
.cta-band h2 { font-size: var(--step-h2); max-width: 15ch; }
.cta-band p { color: var(--lilac-soft); font-size: var(--step-lead); max-width: 36rem; margin-top: 1.25rem; }
.cta-band .btn-primary { background: var(--text); }
.cta-band .btn-primary:hover { background: var(--lilac-soft); }
.cta-band .cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.875rem; position: relative; z-index: 1; }
.cta-band > div:first-child { position: relative; z-index: 1; }
.cta-band .cta-line {
  position: absolute;
  inset: auto -2% -10% 30%;
  height: 90%;
  width: 75%;
  opacity: 0.4;
  pointer-events: none;
}
.cta-band .cta-line path { fill: none; stroke: var(--lilac); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cta-band .cta-mail { color: var(--lilac-soft); font-size: 0.9375rem; text-align: center; }
.cta-band .cta-mail a { color: var(--text); font-weight: 700; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Services page ---------- */
.service-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 0.5rem; }
.service-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 140, 255, 0.35);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background-color var(--fast) ease, border-color var(--fast) ease;
}
.service-nav a:hover { background: var(--plum-900); border-color: var(--lilac); }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
  border-top: 1px solid rgba(181, 140, 255, 0.18);
}
.service-block:first-of-type { border-top: 0; }
.service-block:nth-of-type(even) .service-media { order: 2; }
.service-copy { display: grid; gap: 1.25rem; align-content: start; }
.service-copy h2 { font-size: var(--step-h2); }
.service-copy .lead { max-width: 34rem; }
.service-copy h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-top: 0.5rem; color: var(--lilac); }
.checklist { list-style: none; display: grid; gap: 0.65rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; }
.checklist svg { width: 22px; height: 22px; color: var(--lilac); margin-top: 0.15rem; }
.service-copy .btn { justify-self: start; margin-top: 0.75rem; }

.service-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--plum-900); aspect-ratio: 4 / 5; max-height: 38rem; width: 100%; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; background: none; border-radius: 0; }
.service-media.duo img { border-radius: var(--radius); }

/* Illustrated panels for services without photos yet */
.panel-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(30rem 20rem at 20% 0%, rgba(181, 140, 255, 0.25), transparent 60%),
    var(--plum-900);
  border: 1px solid rgba(181, 140, 255, 0.2);
}
.browser {
  width: 100%;
  max-width: 26rem;
  border-radius: 14px;
  background: var(--black);
  border: 1px solid rgba(181, 140, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.browser-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(181, 140, 255, 0.2); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--plum-500); }
.browser-body { display: grid; gap: 12px; padding: 22px; }
.browser-body .ln { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.browser-body .ln.big { height: 28px; width: 80%; background: var(--text); border-radius: 8px; }
.browser-body .ln.w60 { width: 60%; }
.browser-body .ln.w40 { width: 40%; }
.browser-body .pill { width: 40%; height: 36px; border-radius: 999px; background: var(--lilac); margin-top: 6px; }
.browser-body .imgs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 8px; }
.browser-body .imgs span { aspect-ratio: 1; border-radius: 8px; background: var(--plum-700); }

.ad-card {
  width: 100%;
  max-width: 22rem;
  border-radius: 18px;
  background: var(--black);
  border: 1px solid rgba(181, 140, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.ad-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.ad-card-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.35rem; }
.ad-card-body small { color: var(--text-muted); font-size: 0.8125rem; }
.ad-card-body strong { font-family: var(--font-display); font-size: 1.125rem; }
.ad-card-body .ad-btn {
  margin-top: 0.5rem;
  padding: 0.6rem;
  border-radius: 10px;
  background: var(--lilac);
  color: var(--black);
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
}
.chart-chip {
  position: absolute;
  right: 1.25rem; top: 1.25rem;
  display: grid; gap: 0.2rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--black);
  border: 1px solid rgba(181, 140, 255, 0.35);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.chart-chip svg { width: 120px; height: 40px; }
.chart-chip path { fill: none; stroke: var(--lilac); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-of-type(even) .service-media { order: 0; }
  .service-media { aspect-ratio: 4 / 3; }
  .service-media.duo { aspect-ratio: auto; }
  .service-media.duo img { aspect-ratio: 3 / 4; object-fit: cover; }
}

/* Pricing note */
.pricing-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.pricing-note h2 { font-size: var(--step-h2); }
.pricing-points { list-style: none; display: grid; gap: 1.5rem; }
.pricing-points li { display: grid; gap: 0.35rem; padding-left: 1.25rem; border-left: 3px solid var(--plum-700); }
.pricing-points strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.pricing-points p { color: var(--ink-muted); }
@media (max-width: 860px) { .pricing-note { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter {
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 140, 255, 0.35);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--fast) ease, color var(--fast) ease, border-color var(--fast) ease;
}
.filter:hover { border-color: var(--lilac); }
.filter[aria-pressed="true"] { background: var(--lilac); color: var(--black); border-color: var(--lilac); }
.filter .count { opacity: 0.7; margin-left: 0.35rem; font-variant-numeric: tabular-nums; }

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.project { display: grid; gap: 1rem; align-content: start; }
.project-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--plum-900);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}
.project-cover img, .project-cover video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { .project-cover:hover img { transform: scale(1.04); } }
.project-count {
  position: absolute;
  right: 0.75rem; top: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}
.project-count svg { width: 16px; height: 16px; }
.project-info { display: grid; gap: 0.4rem; }
.project-info h2 { font-size: 1.5rem; letter-spacing: -0.015em; }
.project-meta { color: var(--text-muted); font-size: 0.9375rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.project-tags li {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--plum-900);
  border: 1px solid rgba(181, 140, 255, 0.25);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lilac-soft);
}
.project-desc { color: var(--text-muted); }
.stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin-top: 0.25rem; }
.stats li { display: grid; }
.stats strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.01em; }
.stats span { font-size: 0.8125rem; color: var(--text-muted); }

.empty-state {
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(181, 140, 255, 0.35);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: 100vw; max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.94);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.7); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--gutter); }
.lb-title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.lb-pos { color: var(--text-muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; margin-left: 0.75rem; font-family: var(--font-body); font-weight: 500; }
.lb-stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lb-controls { display: flex; justify-content: center; gap: 1rem; padding: 1rem; }
.icon-btn {
  width: 52px; height: 52px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color var(--fast) ease, border-color var(--fast) ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.contact-aside { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.contact-aside h2 { font-size: var(--step-h3); }
.contact-list { list-style: none; display: grid; gap: 1.25rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; }
.contact-list .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--plum-900);
  color: var(--lilac);
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--text-muted); font-size: 0.875rem; }
.contact-list a, .contact-list span.v { font-weight: 700; overflow-wrap: anywhere; }
.next-steps { list-style: none; display: grid; gap: 1rem; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; color: var(--text-muted); }
.next-steps li::before {
  content: counter(ns);
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--plum-700);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9375rem;
}
.next-steps strong { color: var(--text); }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.form-card h2 { font-size: var(--step-h3); margin-bottom: 0.5rem; }
.form-card > p { color: var(--ink-muted); margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.field { display: grid; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 0.9875rem; padding: 0; }
.field .req { color: var(--plum-500); }
.field .hint { color: var(--ink-muted); font-size: 0.875rem; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #CFC4DE;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #A897C0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum-700); box-shadow: 0 0 0 4px rgba(106, 47, 184, 0.2); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: 0.9rem; font-weight: 600; display: flex; gap: 0.4rem; align-items: start; }
.field-error:empty { display: none; }
.field-error svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1.5px solid #CFC4DE;
  background: #fff;
  font-weight: 600;
  font-size: 0.9875rem;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--fast) ease, border-color var(--fast) ease, color var(--fast) ease;
}
.choice span svg { width: 16px; height: 16px; display: none; }
.choice span:hover { border-color: var(--plum-500); }
.choice input:checked + span { background: var(--plum-700); border-color: var(--plum-700); color: #fff; }
.choice input:checked + span svg { display: block; }
.choice input:focus-visible + span { outline: 3px solid var(--plum-700); outline-offset: 2px; }
.choices.is-invalid .choice span { border-color: #B3261E; }

.form-foot { display: grid; gap: 1rem; margin-top: 1.75rem; }
.form-foot .btn { justify-self: start; min-width: 14rem; background: var(--plum-700); color: #fff; }
.form-foot .btn:hover { background: var(--plum-500); }
.form-foot small { color: var(--ink-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-summary {
  border: 2px solid #B3261E;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #FDF0EF;
  color: var(--ink);
}
.error-summary h3 { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; }
.error-summary ul { margin-top: 0.5rem; padding-left: 1.25rem; }
.error-summary a { color: #B3261E; font-weight: 600; }

/* Success state: the trend line animation */
.form-status { display: grid; gap: 1.5rem; padding-top: 0.25rem; }
.form-status:focus { outline: none; }
.sent-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.6rem;
  border-radius: 999px;
  background: #EAE0F8;
  color: var(--plum-700);
  font-weight: 700;
  font-size: 0.9375rem;
}
.sent-badge svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--plum-700); color: #fff; }

.success-chart svg { width: 100%; height: auto; overflow: visible; }
.success-chart .grid line { stroke: #DDD3EB; stroke-width: 1; stroke-dasharray: 3 7; }
.success-chart .grid .base { stroke: #C9BCDD; stroke-dasharray: none; }
.success-chart .area { fill: url(#trend-fill); }
.success-chart .trend {
  fill: none;
  stroke: var(--plum-700);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-chart .trend.glow { stroke: var(--plum-500); stroke-width: 16; opacity: 0.16; }
.success-chart .peak circle { fill: var(--plum-700); }
.success-chart .peak path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

.success-copy { display: grid; gap: 1rem; justify-items: start; }
.success-copy h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.08; }
.success-copy p { color: var(--ink-muted); max-width: 34rem; }

@media (prefers-reduced-motion: no-preference) {
  .form-status.is-playing .trend { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trend-draw 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards; }
  .form-status.is-playing .area { opacity: 0; animation: trend-fade 0.7s ease 1.5s forwards; }
  .form-status.is-playing .peak { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: trend-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.95s forwards; }
  .form-status.is-playing .success-copy { opacity: 0; transform: translateY(14px); animation: trend-rise 0.6s var(--ease-out) 2.35s forwards; }
}
@keyframes trend-draw { to { stroke-dashoffset: 0; } }
@keyframes trend-fade { to { opacity: 1; } }
@keyframes trend-pop { to { transform: scale(1); } }
@keyframes trend-rise { to { opacity: 1; transform: none; } }
.form-alert { padding: 0.9rem 1rem; border-radius: 12px; background: #FDF0EF; border: 1px solid #E8B4B0; color: #8C1D18; font-weight: 600; }

.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: 2; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(181, 140, 255, 0.18);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 24rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.15rem; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; transition: color var(--fast) ease; }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(181, 140, 255, 0.12);
  font-size: 0.875rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Scroll reveal ----------
   main.js tags content below the fold with [data-reveal] and adds
   .is-visible as it scrolls into view. Without JavaScript nothing is hidden. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.75s var(--ease-out) var(--reveal-delay, 0ms),
      transform 0.9s var(--ease-out) var(--reveal-delay, 0ms);
  }
  [data-reveal="fade"] { transform: none; }
  [data-reveal="scale"] { transform: translateY(24px) scale(0.97); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}



/* ---------- Work accordion (home) ---------- */
/* Text on the left, photo strips on the right. The open strip is wide,
   the rest are slim with their names turned sideways. */
.work-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.work-intro { width: 50%; display: grid; gap: 1.5rem; justify-items: start; }
.work-intro h2 { font-size: var(--step-h2); }
.work-accordion-wrap { width: 50%; }
.work-accordion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
.wa-panel {
  position: relative;
  flex: none;
  width: 60px;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--plum-900);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: width 700ms ease-in-out;
}
.wa-panel.is-open { width: max(12rem, min(var(--wa-open, 400px), 100% - (var(--n, 3) - 1) * 76px)); }
.wa-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 450ms ease, transform 600ms ease; }
/* The open (enlarged) photo stays sharp; the slim ones stay blurred until opened */
.wa-panel:not(.is-open) img { filter: blur(7px); transform: scale(1.08); }
.wa-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.wa-caption {
  position: absolute;
  left: 50%;
  bottom: 6rem;
  transform: translateX(-50%) rotate(90deg);
  font-size: 1.125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 300ms ease-in-out;
}
.wa-panel.is-open .wa-caption { bottom: 1.5rem; transform: translateX(-50%) rotate(0deg); width: calc(100% - 2rem); white-space: normal; text-align: center; line-height: 1.25; }
.wa-caption small { display: none; font-size: 0.875rem; font-weight: 500; color: var(--lilac-soft); text-align: center; }
.wa-panel.is-open .wa-caption small { display: block; }
.work-accordion-lg { --wa-open: 760px; overflow-x: auto; scrollbar-width: none; }
.work-accordion-lg .wa-panel { height: clamp(26rem, 20rem + 14vw, 34rem); }
.work-accordion-lg .wa-panel.is-open .wa-caption { font-size: 1.375rem; font-family: var(--font-display); font-weight: 700; }
@media (max-width: 860px) {
  .work-split { flex-direction: column; gap: 2rem; }
  .work-intro { width: 100%; justify-items: center; text-align: center; }
  .work-intro .lead { margin-inline: auto; }
  .work-accordion-wrap { width: 100%; }
  .work-accordion { padding: 0.5rem 0; gap: 0.75rem; }
  .wa-panel { width: 56px; height: 400px; }
  .wa-panel.is-open { width: max(12rem, min(var(--wa-open, 400px), 100% - (var(--n, 3) - 1) * 68px)); }
  .work-accordion-lg .wa-panel { height: 26rem; }
  .work-accordion-lg .wa-panel.is-open .wa-caption { font-size: 1.125rem; }
}

/* ---------- Project page (all photos from one shoot) ---------- */
.wa-genre {
  justify-self: start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--black);
  font-size: 0.8125rem;
  font-weight: 700;
}
.back-link { justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--lilac-soft); font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--text); }
.back-link svg { width: 18px; height: 18px; }
.project-hero .wa-genre { margin-bottom: -0.5rem; }
.project-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; list-style: none; color: var(--text-muted); }
.project-facts strong { color: var(--text); font-weight: 600; }
.photo-grid { columns: 3 16rem; column-gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem); }
.photo-grid .photo {
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--plum-900);
  break-inside: avoid;
  cursor: zoom-in;
}
.photo-grid .photo img { width: 100%; height: auto; display: block; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { .photo-grid .photo:hover img { transform: scale(1.03); } }
@media (max-width: 520px) { .photo-grid { columns: 2; } }
.more-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.more-work .tile { height: clamp(14rem, 10rem + 10vw, 20rem); display: block; }
/* ---------- Photo slideshows (portfolio cards + home work tiles) ---------- */
.has-slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 900ms ease;
}
.has-slides .slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.has-slides .slide.is-active { opacity: 1; z-index: 2; animation: slide-drift 6s ease-out both; }
@keyframes slide-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.has-slides .tile-cap, .has-slides .project-count, .has-slides .project-genre, .slide-count { z-index: 3; }
@media (hover: hover) { .has-slides:hover .slide, a.tile.has-slides:hover img { transform: none; } }

.project-genre {
  position: absolute;
  left: 0.75rem; top: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--black);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.project-count .n, .slide-count { font-variant-numeric: tabular-nums; }
.slide-count {
  position: absolute;
  right: 0.75rem; top: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.work-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 2.5rem; }
.work-toolbar .filters { margin-bottom: 0; }
.slides-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(181, 140, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit; font-size: 0.875rem; font-weight: 600;
  cursor: pointer;
  transition: border-color var(--fast) ease, color var(--fast) ease;
}
.slides-toggle:hover { border-color: var(--lilac); color: var(--text); }
.slides-toggle .st-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.slides-toggle[aria-pressed="true"] .st-icon {
  border: 0; width: 0; height: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
