:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
}

/* LIEVENS 2026 — approved light editorial system */
:root {
  color-scheme: light;
  --editorial-red: #15375a;
  --editorial-black: #000;
  --editorial-gray: #767676;
  --editorial-line: #e3e4e5;
  --editorial-soft: #f5f5f3;
  --editorial-ease: cubic-bezier(0.59, 0.01, 0.28, 1);
}

.editorial-body,
body.editorial-body,
body.portal-body,
body.dashboard-body,
body.login-body,
body.admin-body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.editorial-body *,
.portal-body *,
.dashboard-body *,
.login-body *,
.admin-body * {
  box-sizing: border-box;
}

.editorial-body a,
.portal-body a,
.dashboard-body a,
.login-body a,
.admin-body a {
  color: inherit;
  text-decoration: none;
}

.editorial-site {
  min-height: 100vh;
  background: #fff;
}

.editorial-header,
.site-header.editorial-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 48px;
  width: 100%;
  max-width: none;
  margin: 0;
  border-bottom: 1px solid var(--editorial-line);
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.97);
  color: #000;
}

.editorial-logo,
.site-header .editorial-logo {
  width: 52px;
  height: 52px;
  display: block;
  padding: 0;
}

.editorial-logo img,
.site-header .editorial-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.editorial-nav,
.site-header .editorial-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 52px;
}

.editorial-nav a,
.site-header .editorial-nav a,
.editorial-outline-button {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-nav a:hover { color: var(--editorial-red); }

.editorial-outline-button,
.site-header .editorial-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #000;
  border-radius: 0;
  padding: 0 20px;
  background: transparent;
  color: #000;
}

.editorial-outline-button:hover { background: #000; color: #fff; }

.editorial-hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--editorial-line);
  padding: 96px 32px;
}

.editorial-hero-title { grid-column: span 7; }
.editorial-hero-aside { grid-column: 9 / span 4; }

.editorial-red-label {
  margin: 0 0 32px;
  color: var(--editorial-red);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.editorial-hero h1 {
  margin: 0 0 48px;
  font-size: clamp(4rem, 8.5vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.85;
}

.editorial-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.editorial-tags a {
  border: 1px solid var(--editorial-line);
  padding: 9px 14px;
  color: var(--editorial-gray);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.editorial-tags a:hover { border-color: #000; color: #000; }

.editorial-hero-aside > p:nth-child(2) {
  max-width: 390px;
  margin: 48px 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.3;
}

.editorial-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.editorial-status span { width: 12px; height: 12px; background: var(--editorial-red); }

.editorial-text-link,
.editorial-more {
  display: inline-flex;
  gap: 16px;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.editorial-text-link:hover span { transform: translateX(4px); }
.editorial-text-link span { transition: transform 0.3s var(--editorial-ease); }

.editorial-section,
.editorial-promise,
.editorial-process,
.editorial-final-cta {
  padding: 96px 32px;
}

.editorial-section { border-bottom: 1px solid var(--editorial-line); }
.editorial-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #000;
  padding-bottom: 28px;
  margin-bottom: 56px;
}
.editorial-section-head h2 { margin: 0; font-size: 2rem; font-weight: 500; }
.editorial-section-head p { margin: 0; color: var(--editorial-gray); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

.editorial-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
}
.editorial-work-grid a {
  aspect-ratio: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  background: #fff;
  transition: background 0.3s var(--editorial-ease);
}
.editorial-work-grid a:hover { background: var(--editorial-soft); }
.editorial-work-grid span,
.editorial-package-grid span,
.editorial-outcomes span,
.editorial-process li span {
  color: var(--editorial-gray);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.editorial-work-grid strong { font-size: 1.25rem; font-weight: 500; }
.editorial-work-grid i { align-self: end; color: var(--editorial-red); font-size: 1.5rem; font-style: normal; }
.editorial-more { margin-top: 40px; }

.editorial-promise {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  border-bottom: 1px solid var(--editorial-line);
}
.editorial-promise > div:first-child { grid-column: span 6; }
.editorial-promise > div:last-child { grid-column: 8 / span 5; }
.editorial-promise h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}
.editorial-outcomes article { border-top: 1px solid var(--editorial-line); padding: 36px 0 48px; }
.editorial-outcomes h3 { margin: 20px 0 12px; font-size: 1.55rem; font-weight: 500; }
.editorial-outcomes p { max-width: 460px; margin: 0; color: var(--editorial-gray); line-height: 1.6; }

.editorial-packages { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; padding-top: 128px; padding-bottom: 128px; }
.editorial-packages-intro p { margin: 0 0 16px; color: var(--editorial-gray); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-packages-intro h2 { margin: 0; font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; }
.editorial-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.editorial-package-grid article { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.editorial-package-grid h3 { margin: 24px 0; font-size: 1.55rem; font-weight: 500; }
.editorial-package-grid p { color: var(--editorial-gray); line-height: 1.6; }
.editorial-package-grid span { color: var(--editorial-red); }
.editorial-package-grid a { border-top: 1px solid #000; padding-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-package-grid a:hover { color: var(--editorial-red); }

.editorial-process {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  background: var(--editorial-soft);
}
.editorial-process h2 { margin: 0; font-size: 2.8rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.editorial-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 0; padding: 0; list-style: none; }
.editorial-process h3 { margin: 18px 0; font-size: 1.25rem; font-weight: 500; }
.editorial-process li p { color: var(--editorial-gray); font-size: 0.9rem; line-height: 1.6; }

.editorial-final-cta { text-align: center; border-bottom: 1px solid var(--editorial-line); }
.editorial-final-cta h2 { margin: 0 0 48px; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 400; letter-spacing: -0.04em; }
.editorial-final-cta a { display: inline-flex; min-height: 58px; align-items: center; padding: 0 48px; background: #000; color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-final-cta a:hover { background: var(--editorial-red); }

.editorial-footer,
.site-footer.editorial-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
  max-width: none;
  border: 0;
  padding: 96px 32px 32px;
  background: #fff;
  color: #000;
}
.editorial-footer-about { grid-column: span 6; }
.editorial-footer-about img { width: 52px; height: 52px; object-fit: contain; }
.editorial-footer-about p { max-width: 520px; margin: 48px 0 0; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.15; }
.editorial-footer > nav { grid-column: span 6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.editorial-footer nav div { display: grid; align-content: start; gap: 9px; }
.editorial-footer nav span { margin-bottom: 8px; color: var(--editorial-gray); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-footer nav a { font-size: 0.9rem; }
.editorial-footer nav a:hover { color: var(--editorial-red); }
.editorial-footer-base { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--editorial-line); padding-top: 28px; margin-top: 64px; color: var(--editorial-gray); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-footer-base p { margin: 0; }

/* Secondary pages and forms */
.editorial-page-main { min-height: calc(100vh - 100px); padding: 96px 32px; background: #fff; color: #000; }
.editorial-page-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; border-bottom: 1px solid var(--editorial-line); padding-bottom: 72px; margin-bottom: 72px; }
.editorial-page-hero > * { grid-column: 1 / span 8; }
.editorial-page-hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.88; }
.editorial-page-hero p { max-width: 620px; color: var(--editorial-gray); font-size: 1.15rem; line-height: 1.5; }
.editorial-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--editorial-line); border: 1px solid var(--editorial-line); }
.editorial-card { min-height: 320px; padding: 32px; background: #fff; border-radius: 0; color: #000; }

.brief-shell,
.form-shell,
.login-shell,
.account-shell {
  background: #fff !important;
  color: #000 !important;
}
.brief-card,
.brief-form,
.login-panel,
.account-panel,
.payment-panel,
.order-summary {
  border: 1px solid var(--editorial-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}
.brief-form input,
.brief-form textarea,
.brief-form select,
.login-form input,
.account-form input,
.account-form textarea,
.payment-panel input {
  border: 1px solid var(--editorial-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
}
.brief-form input:focus,
.brief-form textarea:focus,
.login-form input:focus,
.account-form input:focus {
  outline: 2px solid var(--editorial-red);
  outline-offset: 2px;
}
.brief-form button,
.login-form button,
.account-form button,
.payment-link {
  border-radius: 0 !important;
  background: #000 !important;
  color: #fff !important;
}

/* Portal and admin light mode */
.portal-shell,
.client-dashboard-v2,
.admin-shell {
  --portal-pink: var(--editorial-red);
  --portal-bg: #fff;
  --portal-panel: #fff;
  --portal-panel-soft: var(--editorial-soft);
  --portal-rail: #fff;
  --portal-line: var(--editorial-line);
  --portal-muted: var(--editorial-gray);
  background: #fff !important;
  color: #000 !important;
}
.portal-sidebar,
.client-rail,
.editorial-sidebar {
  background: #fff !important;
  color: #000 !important;
  border-color: var(--editorial-line) !important;
}
.portal-brand,
.client-rail-logo,
.editorial-sidebar a { color: #000 !important; }
.portal-brand img,
.client-rail-logo img,
.editorial-sidebar img { width: 42px; height: 42px; object-fit: contain; }
.portal-sidebar nav a,
.client-rail nav a {
  border-radius: 0 !important;
  color: var(--editorial-gray) !important;
}
.portal-sidebar nav a.is-active,
.portal-sidebar nav a:hover,
.client-rail nav a.is-active,
.client-rail nav a:hover {
  background: var(--editorial-soft) !important;
  color: #000 !important;
}
.portal-main,
.client-main,
.editorial-main { background: #fff !important; color: #000 !important; }
.portal-header,
.editorial-portal-header { border-bottom: 1px solid var(--editorial-line); padding-bottom: 24px; }
.portal-kicker,
.dashboard-kicker { color: var(--editorial-red) !important; }
.portal-account > a,
.portal-account > button,
.portal-account > span,
.portal-account-menu summary,
.portal-menu-toggle {
  border-color: var(--editorial-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
}
.portal-account > button,
.portal-account-menu summary { background: #000 !important; color: #fff !important; }
.portal-panel,
.dashboard-panel,
.client-card,
.admin-brief,
.editorial-panel {
  border: 1px solid var(--editorial-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}
.portal-account-menu[open] a { background: #fff !important; color: #000 !important; }

@media (max-width: 900px) {
  .editorial-header { grid-template-columns: auto 1fr auto; padding: 18px 20px; }
  .editorial-header .nav-links { position: fixed; inset: 89px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--editorial-line); background: #fff; padding: 10px 20px 24px; }
  .editorial-header.menu-open .nav-links,
  .editorial-header .nav-links.is-open { display: flex; }
  .editorial-header .nav-links a { border-bottom: 1px solid var(--editorial-line); padding: 18px 0; }
  .editorial-header .menu-toggle { display: grid; place-content: center; order: 2; width: 42px; height: 42px; border: 1px solid var(--editorial-line); background: #fff; }
  .editorial-header .nav-cta { display: none; }
  .editorial-hero { grid-template-columns: 1fr; min-height: auto; padding: 80px 20px; }
  .editorial-hero-title, .editorial-hero-aside { grid-column: 1; }
  .editorial-hero-aside { margin-top: 56px; }
  .editorial-section, .editorial-promise, .editorial-process, .editorial-final-cta, .editorial-page-main { padding-left: 20px; padding-right: 20px; }
  .editorial-work-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-promise, .editorial-packages, .editorial-process { grid-template-columns: 1fr; }
  .editorial-promise > div:first-child, .editorial-promise > div:last-child { grid-column: 1; }
  .editorial-package-grid, .editorial-process ol { grid-template-columns: 1fr; }
  .editorial-package-grid article { min-height: 220px; }
  .editorial-footer { grid-template-columns: 1fr; padding: 72px 20px 24px; }
  .editorial-footer-about, .editorial-footer > nav, .editorial-footer-base { grid-column: 1; }
}

@media (max-width: 560px) {
  .editorial-logo, .site-header .editorial-logo { width: 44px; height: 44px; }
  .editorial-header { min-height: 80px; }
  .editorial-hero { min-height: calc(100vh - 80px); }
  .editorial-work-grid, .editorial-card-grid { grid-template-columns: 1fr; }
  .editorial-work-grid a { min-height: 240px; }
  .editorial-section-head { align-items: start; flex-direction: column; }
  .editorial-footer > nav { grid-template-columns: 1fr 1fr; }
  .editorial-footer-base { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 1100px) {
  .dashboard-body .client-dashboard-v2 {
    display: block;
    min-height: 100vh;
    padding: 0;
    background: #0b1018;
  }

  .dashboard-body .client-rail {
    position: sticky;
    top: 0;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid var(--dash-line);
    border-radius: 0;
    padding: 14px 20px;
  }

  .dashboard-body .client-rail-logo {
    display: flex;
    align-items: center;
    min-width: max-content;
  }

  .dashboard-body .client-rail nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dashboard-body .client-rail nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-body .client-rail nav a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: none;
    padding: 0 14px;
  }

  .dashboard-body .client-main {
    min-height: 0;
    border: 0;
    border-radius: 0;
  }
}

@media (max-width: 720px) {
  .dashboard-body .client-rail {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-body .client-rail nav {
    justify-content: start;
    width: 100%;
  }

  .dashboard-body .client-rail nav a {
    height: 38px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .dashboard-body .client-rail nav a span {
    font-size: 0.62rem;
  }
}

/* Final cascade: shared light-mode treatment for every redesigned route. */
body.editorial-page,
body.editorial-light {
  color-scheme: light;
  background: #fff !important;
  color: #000 !important;
}

.editorial-page .site-shell,
.editorial-light .site-shell,
.editorial-site-shell {
  background: #fff !important;
  color: #000 !important;
}

.editorial-page .site-header,
.editorial-light .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  min-height: 100px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e3e4e5;
  border-radius: 0;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.97) !important;
  color: #000 !important;
}

.editorial-page .brand-mark,
.editorial-light .brand-mark {
  width: 52px;
  height: 52px;
  padding: 0;
}

.editorial-page .brand-mark img,
.editorial-light .brand-mark img,
.brand-mark img.brand-mark-square,
.thank-you-logo img.brand-mark-square {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
}

.thank-you-logo {
  width: min(190px, 42vw);
  display: block;
}

.editorial-page .nav-links a,
.editorial-light .nav-links a,
.editorial-page .nav-cta,
.editorial-light .nav-cta {
  color: #000 !important;
}

.editorial-page .nav-cta,
.editorial-light .nav-cta {
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
}

.editorial-page .nav-cta:hover,
.editorial-light .nav-cta:hover {
  background: #000;
  color: #fff !important;
}

.editorial-main,
.editorial-account-shell,
.editorial-payment-shell,
.editorial-admin-shell {
  min-height: calc(100vh - 100px);
  background: #fff !important;
  color: #000 !important;
}

.editorial-page .editorial-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px 32px;
}

.editorial-intro {
  max-width: 920px;
  margin: 0 0 72px;
}

.editorial-intro .eyebrow,
.editorial-meta {
  color: #15375a !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.editorial-intro h1 {
  max-width: 1080px;
  margin: 0 0 32px;
  color: #000 !important;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.editorial-intro > p:not(.eyebrow):not(.editorial-meta) {
  max-width: 680px;
  color: #767676 !important;
  font-size: 1.1rem;
  line-height: 1.55;
}

.editorial-page .work-grid.editorial-work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #e3e4e5;
  background: #e3e4e5;
}

.editorial-page .editorial-work-grid .work-tile {
  min-height: 360px;
  border: 0;
  border-radius: 0;
  padding: 36px;
  background: #fff;
  color: #000;
}

.editorial-page .editorial-work-grid .work-tile:hover { background: #f5f5f3; }
.editorial-page .editorial-work-grid .work-tile span { color: #767676; }

.editorial-package-list {
  gap: 1px !important;
  border: 1px solid #e3e4e5;
  background: #e3e4e5;
}

.editorial-package-list .package-card {
  min-height: 520px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.editorial-package-list .package-card.featured {
  background: #f5f5f3 !important;
}

.editorial-form-panel,
.editorial-form-card,
.editorial-payment-shell .payment-panel,
.editorial-payment-shell .order-summary,
.editorial-admin-shell .dashboard-panel {
  border: 1px solid #e3e4e5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.editorial-thank-you,
.editorial-not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #fff;
  color: #000;
}

.editorial-portal.portal-shell {
  --portal-pink: #15375a;
  --portal-bg: #fff;
  --portal-panel: #fff;
  --portal-panel-soft: #f5f5f3;
  --portal-rail: #fff;
  --portal-line: #e3e4e5;
  --portal-muted: #767676;
  background: #fff !important;
  color: #000 !important;
}

.editorial-portal .portal-sidebar,
.editorial-portal .portal-main {
  background: #fff !important;
  color: #000 !important;
}

.editorial-portal .portal-brand,
.editorial-portal .portal-sidebar nav a,
.editorial-portal .portal-header,
.editorial-portal .portal-card {
  color: #000 !important;
}

.editorial-portal .portal-brand img {
  width: 42px !important;
  height: auto !important;
  object-fit: contain !important;
}

.editorial-portal .portal-card,
.editorial-portal .portal-panel,
.editorial-portal .dashboard-panel {
  border: 1px solid #e3e4e5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.editorial-portal .portal-button,
.editorial-portal button,
.editorial-account-page button,
.editorial-account-page .button {
  border-radius: 0 !important;
}

.editorial-portal .portal-button-primary,
.editorial-portal button[type="submit"],
.editorial-account-page button[type="submit"] {
  background: #000 !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .editorial-page .site-header,
  .editorial-light .site-header { min-height: 82px; padding: 16px 20px; }
  .editorial-page .brand-mark,
  .editorial-light .brand-mark { width: 48px; height: 48px; }
  .editorial-page .editorial-main { padding: 72px 20px; }
  .editorial-page .editorial-work-grid.work-grid { grid-template-columns: 1fr; }
  .editorial-page .editorial-work-grid .work-tile { min-height: 280px; }
}

/* Simple premium client portal */
.portal-body {
  min-height: 100vh;
  background: #070a10;
  color: #fff;
}

.portal-body::before {
  display: none;
}

.portal-shell {
  --portal-pink: #ff90e7;
  --portal-bg: #070a10;
  --portal-panel: #111720;
  --portal-panel-soft: #171d27;
  --portal-rail: #172231;
  --portal-line: rgba(255, 255, 255, 0.12);
  --portal-muted: rgba(255, 255, 255, 0.62);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  background: var(--portal-bg);
}

.portal-sidebar {
  padding: 24px 18px;
  background: var(--portal-rail);
  border-right: 1px solid var(--portal-line);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
}

.portal-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.portal-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.portal-menu-toggle {
  display: none;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.portal-sidebar nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 850;
}

.portal-sidebar nav a span {
  display: none;
}

.portal-sidebar nav a.is-active,
.portal-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.portal-sidebar nav a.is-active span,
.portal-sidebar nav a:hover span {
  color: var(--portal-pink);
}

.portal-sidebar-project {
  margin: 14px 0 0;
  color: var(--portal-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.portal-nav-spacer {
  margin-top: 24px;
}

.portal-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 0.96;
}

.portal-kicker {
  margin: 0 0 8px;
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portal-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-account > a,
.portal-account > button,
.portal-account > span,
.portal-account-menu summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.portal-account > button,
.portal-account-menu summary {
  background: var(--portal-pink);
  color: #000;
}

.portal-account-menu {
  position: relative;
}

.portal-account-menu summary {
  list-style: none;
}

.portal-account-menu summary::-webkit-details-marker {
  display: none;
}

.portal-account-menu[open] {
  z-index: 40;
}

.portal-account-menu[open]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
}

.portal-account-menu a {
  display: block;
  min-width: 210px;
  border-bottom: 1px solid var(--portal-line);
  padding: 12px 14px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
}

.portal-account-menu a:last-child {
  border-bottom: 0;
}

.portal-account-menu[open] summary + a {
  border-radius: 14px 14px 0 0;
}

.portal-account-menu[open] a {
  background: #111720;
}

.portal-account-menu[open] {
  position: relative;
}

.portal-account-menu[open] summary ~ a {
  position: relative;
}

.portal-account-menu[open] summary {
  margin-bottom: 8px;
}

.portal-account .has-notification {
  position: relative;
}

.portal-account .has-notification::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--portal-pink);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  gap: 18px;
}

.portal-card {
  border: 1px solid var(--portal-line);
  border-radius: 18px;
  background: var(--portal-panel);
  padding: 24px;
}

.portal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  line-height: 0.96;
}

.portal-card p {
  color: var(--portal-muted);
  line-height: 1.45;
}

.portal-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.portal-card-head > span {
  color: var(--portal-pink);
  font-size: 0.76rem;
  font-weight: 900;
}

.portal-action-card,
.portal-assets-card {
  grid-column: 1 / -1;
}

.portal-action-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 144, 231, 0.12), rgba(255, 255, 255, 0.03)), var(--portal-panel);
}

.portal-action-card h2 {
  font-size: clamp(2.1rem, 4.4vw, 5rem);
}

.portal-action-meta,
.portal-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.portal-action-meta > span {
  width: 100%;
  color: var(--portal-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.portal-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.portal-button-primary {
  background: var(--portal-pink);
  border-color: var(--portal-pink);
  color: #000;
}

.portal-button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.portal-stage-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
}

.portal-stage-bar a,
.portal-stage-bar span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-stage-bar a:last-child,
.portal-stage-bar span:last-child {
  border-right: 0;
}

.portal-stage-bar .is-complete {
  color: #fff;
}

.portal-stage-bar .is-active {
  background: var(--portal-pink);
  color: #000;
}

.portal-phase {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.portal-next,
.portal-timing {
  margin: 12px 0 0;
}

.portal-next span {
  color: #fff;
  font-weight: 900;
}

.portal-text-link,
.portal-subtle-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--portal-pink);
  font-weight: 900;
}

.portal-subtle-link {
  color: var(--portal-muted);
}

.portal-status-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.portal-status-details div {
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.portal-status-details dt {
  color: var(--portal-muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-status-details dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-weight: 850;
}

.portal-update-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.portal-update-list div {
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.portal-update-list span {
  color: var(--portal-pink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-update-list p {
  margin: 6px 0 0;
}

.portal-inline-comment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 18px 0 0;
}

.portal-inline-comment input {
  min-height: 46px;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0 16px;
  font: inherit;
}

.portal-inline-comment button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--portal-pink);
  color: #000;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.portal-form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--portal-pink) !important;
  font-size: 0.82rem;
}

.asset-dropzone {
  margin: 18px 0;
}

.asset-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.asset-dropzone label {
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed rgba(255, 144, 231, 0.58);
  border-radius: 16px;
  background: rgba(255, 144, 231, 0.08);
  text-align: center;
  cursor: pointer;
}

.asset-dropzone.is-dragging label {
  background: rgba(255, 144, 231, 0.16);
}

.asset-dropzone strong {
  font-size: 1.2rem;
}

.asset-dropzone span {
  max-width: 520px;
  color: var(--portal-muted);
}

.asset-preview-row,
.asset-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asset-preview-row > p,
.asset-library-grid > p {
  grid-column: 1 / -1;
  margin: 0;
}

.asset-preview-item {
  min-height: 126px;
  display: grid;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  background: var(--portal-panel-soft);
  padding: 12px;
}

.asset-preview-item img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}

.asset-preview-item span {
  display: grid;
  place-items: center;
  height: 92px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--portal-pink);
  font-weight: 900;
}

.asset-preview-item strong,
.asset-preview-item small {
  overflow-wrap: anywhere;
}

.asset-preview-item small {
  color: var(--portal-muted);
}

.portal-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-tabs a,
.portal-tabs button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--portal-muted);
  padding: 0 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.portal-tabs a:hover,
.portal-tabs button:hover,
.portal-tabs .is-active {
  border-color: var(--portal-pink);
  color: #fff;
}

.portal-filter-tabs {
  margin: 16px 0;
}

.portal-comment-form {
  display: grid;
  gap: 12px;
}

.portal-comment-form label {
  display: grid;
  gap: 8px;
  color: var(--portal-muted);
  font-weight: 850;
}

.portal-comment-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px;
  font: inherit;
}

.portal-timeline,
.portal-doc-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-timeline li,
.portal-doc-list li {
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  padding: 12px;
  color: var(--portal-muted);
}

.portal-timeline span {
  display: block;
  color: #fff;
  font-weight: 900;
}

.portal-timeline .is-active span {
  color: var(--portal-pink);
}

@media (max-width: 980px) {
  .portal-shell {
    display: block;
  }

  .portal-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
  }

  .portal-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .portal-sidebar-project {
    grid-column: 1 / -1;
    margin: 0;
  }

  .portal-sidebar nav {
    grid-column: 1 / -1;
    display: none;
    gap: 8px;
    justify-content: stretch;
    overflow-x: visible;
    margin-top: 0;
  }

  .portal-sidebar.is-open nav {
    display: grid;
  }

  .portal-sidebar nav a {
    min-height: 38px;
    width: 100%;
  }

  .portal-main {
    padding: 20px;
  }

  .portal-grid,
  .portal-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .portal-sidebar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .portal-sidebar nav {
    justify-content: start;
  }

  .portal-header,
  .portal-action-card,
  .portal-card-head {
    display: grid;
  }

  .portal-stage-bar,
  .portal-status-details,
  .asset-preview-row,
  .asset-library-grid {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .portal-stage-bar a,
  .portal-stage-bar span {
    border-right: 0;
    border-bottom: 1px solid var(--portal-line);
  }

  .portal-stage-bar a:last-child,
  .portal-stage-bar span:last-child {
    border-bottom: 0;
  }

  .portal-inline-comment {
    grid-template-columns: 1fr;
  }

  .portal-button {
    width: 100%;
  }
}

/* Dashboard v2: dark client portal */
.dashboard-body .client-dashboard-v2 {
  --dash-pink: #ff90e7;
  --dash-panel: #10141c;
  --dash-panel-2: #171d27;
  --dash-rail: #18222f;
  --dash-line: rgba(255, 255, 255, 0.1);
  --dash-muted: rgba(255, 255, 255, 0.62);
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  align-items: stretch;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 144, 231, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 144, 231, 0.08), transparent 36%),
    linear-gradient(90deg, var(--dash-rail) 0 210px, #0b1018 210px),
    #000;
}

.dashboard-body .client-rail {
  position: static;
  min-height: calc(100vh - 48px);
  z-index: 2;
  gap: 26px;
  border: 1px solid var(--dash-line);
  border-right: 0;
  border-radius: 28px 0 0 28px;
  background: var(--dash-rail);
  padding: 24px 18px;
}

.dashboard-body .client-rail-logo {
  justify-content: start;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.dashboard-body .client-rail-logo img {
  width: 30px;
  height: 30px;
}

.dashboard-body .client-rail-logo span {
  display: inline-block;
}

.dashboard-body .client-rail nav {
  gap: 8px;
}

.dashboard-body .client-rail nav a {
  width: auto;
  height: 42px;
  grid-template-columns: 26px 1fr;
  justify-content: start;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-body .client-rail nav a span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.dashboard-body .client-rail nav a.is-active,
.dashboard-body .client-rail nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.dashboard-body .client-rail nav a.is-active span,
.dashboard-body .client-rail nav a:hover span {
  color: var(--dash-pink);
}

.dashboard-body .client-main {
  width: 100%;
  min-height: calc(100vh - 48px);
  margin: 0;
  border: 1px solid var(--dash-line);
  border-radius: 0 28px 28px 0;
  background: #0b1018;
  padding: 30px;
}

.dashboard-body .client-topbar {
  margin-bottom: 24px;
}

.dashboard-body .client-topbar h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.client-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-toolbar a,
.client-toolbar span {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--dash-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.client-toolbar span {
  background: var(--dash-pink);
  color: #000;
}

.dashboard-hero-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--dash-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 144, 231, 0.11), rgba(255, 255, 255, 0.03));
  padding: 22px;
}

.dashboard-hero-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.88;
}

.dashboard-hero-panel p:not(.client-kicker) {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--dash-muted);
  line-height: 1.45;
}

.dashboard-body .client-pill {
  min-width: 130px;
  min-height: 46px;
  background: #fff;
  color: #000;
  box-shadow: none;
}

.dashboard-body .client-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  grid-auto-rows: auto;
  gap: 18px;
}

.dashboard-body .client-card {
  overflow: hidden;
  border: 1px solid var(--dash-line);
  border-radius: 16px;
  background: var(--dash-panel);
  color: #fff;
  padding: 22px;
  box-shadow: none;
}

.dashboard-body .client-card::after {
  display: none;
}

.dashboard-body .client-card h2 {
  color: #fff;
}

.dashboard-body .client-card p:not(.client-kicker) {
  color: var(--dash-muted);
}

.dashboard-body .client-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.dashboard-body .client-card-head span,
.dashboard-body .client-card-head a {
  color: var(--dash-pink);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.dashboard-body .client-card-large {
  grid-column: auto;
}

.dashboard-chart-card {
  min-height: 318px;
}

.dashboard-line-chart {
  width: 100%;
  height: 210px;
  margin-top: 12px;
  overflow: visible;
}

.dashboard-line-chart .chart-fill {
  fill: url("#chartFade");
}

.dashboard-line-chart .chart-line {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.24));
}

.dashboard-line-chart circle {
  fill: var(--dash-pink);
  stroke: #fff;
  stroke-width: 4;
}

.dashboard-body .client-progress {
  margin-top: 4px;
  border-color: var(--dash-line);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-body .client-progress span {
  min-height: 38px;
  border-color: var(--dash-line);
  color: rgba(255, 255, 255, 0.48);
}

.dashboard-body .client-progress .is-active {
  background: var(--dash-pink);
  color: #000;
}

.dashboard-project-list {
  min-height: 196px;
}

.dashboard-project-list ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-project-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--dash-line);
  padding-top: 10px;
  color: var(--dash-muted);
  font-size: 0.82rem;
}

.dashboard-project-list strong {
  max-width: 58%;
  overflow-wrap: anywhere;
  color: #fff;
}

.dashboard-body .client-package-card,
.dashboard-body .client-search-card {
  background: var(--dash-panel-2);
}

.dashboard-body .client-ring {
  width: 156px;
  margin: 28px auto;
  background:
    radial-gradient(circle at center, var(--dash-panel) 54%, transparent 55%),
    conic-gradient(var(--dash-pink) 0 75%, rgba(255, 255, 255, 0.15) 75% 100%);
}

.dashboard-body .client-ring span {
  color: #fff;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dashboard-stat-grid span {
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  padding: 10px;
  color: var(--dash-muted);
  font-size: 0.72rem;
}

.dashboard-stat-grid strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.dashboard-bars-card {
  min-height: 230px;
}

.dashboard-body .mini-bars {
  height: 132px;
  align-items: end;
}

.dashboard-body .mini-bars span {
  background: linear-gradient(180deg, var(--dash-pink), rgba(255, 144, 231, 0.08));
}

.dashboard-body .client-summary-card {
  grid-column: auto;
}

.dashboard-body .client-summary-card dl {
  grid-template-columns: 1fr;
}

.dashboard-body .client-summary-card div {
  border-color: var(--dash-line);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-body .client-summary-card dt {
  color: rgba(255, 255, 255, 0.45);
}

.dashboard-body .client-summary-card dd {
  color: #fff;
}

.dashboard-steps-card {
  grid-row: span 2;
  background: #fff !important;
  color: #070707 !important;
}

.dashboard-steps-card .client-kicker,
.dashboard-steps-card .client-steps li {
  color: rgba(0, 0, 0, 0.62);
}

.dashboard-steps-card .client-steps span {
  color: var(--dash-pink);
}

.dashboard-support-card {
  min-height: 164px;
}

.dashboard-body .client-search-card a {
  color: var(--dash-pink);
}

@media (max-width: 980px) {
  .dashboard-body .client-dashboard-v2 {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .dashboard-body .client-rail {
    position: static;
    height: auto;
    grid-template-columns: auto 1fr;
    border: 0;
    border-bottom: 1px solid var(--dash-line);
    border-radius: 0;
  }

  .dashboard-body .client-rail nav {
    grid-auto-flow: column;
    justify-content: end;
    overflow-x: auto;
  }

  .dashboard-body .client-rail nav a {
    min-width: max-content;
  }

  .dashboard-body .client-main {
    min-height: auto;
    border: 0;
    border-radius: 0;
    padding: 22px;
  }

  .dashboard-body .client-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-panel {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .dashboard-body .client-rail {
    display: grid;
    gap: 14px;
  }

  .dashboard-body .client-rail-logo span {
    display: none;
  }

  .dashboard-body .client-rail nav {
    justify-content: start;
  }

  .dashboard-hero-panel {
    display: grid;
  }

  .dashboard-body .client-pill {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #000;
  transform: translateY(0);
  transition: transform 850ms var(--motion-ease);
  pointer-events: none;
}

body.is-ready::before {
  transform: translateY(-100%);
}

body.page-leaving::before {
  transform: translateY(0);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 850ms var(--motion-ease), transform 850ms var(--motion-ease);
}

body.is-ready .site-shell {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 24px;
  align-items: center;
  min-height: 92px;
  padding: 0 clamp(22px, 3.4vw, 52px);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark img {
  width: 204px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.button {
  transition: transform 220ms var(--motion-ease), opacity 220ms ease, filter 220ms ease;
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--motion-ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 182px;
  height: 58px;
  gap: 18px;
  border-radius: 999px;
  border: 0;
  background: var(--fg);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.18));
}

.nav-cta {
  justify-self: end;
}

.nav-cta span,
.button span {
  font-size: 1.45em;
  line-height: 1;
}

.button-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--fg);
}

.hero {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(82px, 10vh, 116px) clamp(28px, 6.2vw, 116px) 0;
}

.status,
.eyebrow,
.package-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

h1 {
  max-width: 360px;
  margin-bottom: 0;
  font-family: Aeonik, "Aeonik Pro", Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.25rem, 4.2vw, 5rem);
  line-height: 0.88;
  font-weight: 400;
}

.hero-copy {
  animation: heroIn 1000ms var(--motion-ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms var(--motion-ease), transform 780ms var(--motion-ease);
  transition-delay: var(--motion-delay, 0ms);
}

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

.hero-start {
  position: absolute;
  left: clamp(110px, 18vw, 260px);
  top: clamp(285px, 36vh, 410px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: clamp(38px, 4.4vw, 62px);
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 220ms ease;
}

.hero.pricing-open .hero-start {
  transform: none;
}

.hero.pricing-open .hero-start-text {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-12px);
}

.hero-start-symbol {
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, 58px);
  place-items: center;
  width: 56px;
}

.hero-symbol-line {
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 50%;
  width: 8px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.hero-symbol-dot {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: #000;
  transition: background 260ms ease, box-shadow 260ms ease;
}

.hero-symbol-dot-filled {
  width: 46px;
  height: 46px;
  border: 0;
  background: #fff;
}

.hero.pricing-open .hero-symbol-dot-step {
  background: #fff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.hero.checkout-open .hero-symbol-dot-payment {
  background: #fff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.hero-start-text {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 34px);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.7rem, 5.2vw, 6.1rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hero-start-text span {
  transform: translateY(-0.02em);
}

.pricing-popover {
  position: absolute;
  left: clamp(360px, 38vw, 560px);
  top: clamp(235px, 31vh, 350px);
  z-index: 2;
  width: min(900px, 60vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.018);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.98);
  transition: opacity 420ms ease, transform 560ms var(--motion-ease);
}

.hero.pricing-open .pricing-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero.checkout-open .pricing-popover {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.98);
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 430px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #020202;
  transition: border-color 260ms ease, transform 360ms var(--motion-ease), box-shadow 360ms var(--motion-ease);
  will-change: transform;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-8px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.65);
}

.pricing-card-featured {
  border-color: rgba(0, 212, 99, 0.82);
  box-shadow: 0 0 0 1px rgba(0, 212, 99, 0.12);
}

.pricing-ribbon {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 0 0;
  background: #00d463;
  color: #001407;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-name {
  margin-top: 18px;
}

.pricing-name {
  margin: 0;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 800;
}

.pricing-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
  line-height: 1;
}

.pricing-card > p:not(.pricing-name):not(.pricing-ribbon) {
  margin: 0;
  min-height: 54px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pricing-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 1px solid rgba(0, 212, 99, 0.7);
  border-radius: 999px;
  color: #00d463;
  font-weight: 900;
  transition: transform 220ms var(--motion-ease), background 220ms ease, color 220ms ease;
}

.pricing-card > a:hover {
  transform: translateY(-2px);
}

.pricing-card-featured > a {
  background: #00d463;
  color: #001407;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.25;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.pricing-card li::before {
  content: "✓";
  color: #00d463;
  font-weight: 900;
}

.checkout-popover {
  position: absolute;
  left: clamp(330px, 35vw, 520px);
  top: clamp(210px, 27vh, 310px);
  z-index: 2;
  width: min(960px, 62vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.98);
  transition: opacity 420ms ease, transform 560ms var(--motion-ease);
}

.hero.checkout-open .checkout-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.payment-panel,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #020202;
  padding: 28px;
  transition: transform 360ms var(--motion-ease), border-color 260ms ease;
}

.payment-panel:hover,
.order-summary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
}

.checkout-kicker {
  margin: 0 0 12px;
  color: #00d463;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.payment-panel h2,
.order-summary h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 2.3vw, 3rem);
  line-height: 1;
}

.checkout-note {
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 22px 0;
}

.coupon-row input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #000;
  color: var(--fg);
  padding: 0 18px;
  font: inherit;
}

.coupon-row button,
.checkout-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #00d463;
  color: #001407;
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
}

.checkout-trust {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.checkout-trust li::before,
.order-summary li::before {
  content: "✓";
  margin-right: 10px;
  color: #00d463;
  font-weight: 900;
}

.order-summary {
  position: relative;
}

.change-package {
  position: absolute;
  top: 28px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.order-summary ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.summary-total strong {
  font-size: 1.5rem;
}

.upgrade-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.upgrade-card span {
  display: grid;
  gap: 6px;
}

.upgrade-card small {
  color: var(--muted);
  line-height: 1.35;
}

.upgrade-card input {
  accent-color: #00d463;
}

.checkout-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.checkout-message,
.brief-status {
  min-height: 1.35em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.brief-status[data-tone="error"],
.checkout-message[data-tone="error"] {
  color: #15375a;
}

.brief-status[data-tone="success"],
.checkout-message[data-tone="success"] {
  color: #00d463;
}

.work-strip,
.section-band,
.final-cta,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.work-strip {
  padding-top: 92px;
}

.section-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-top.compact {
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: start;
}

.section-top h2,
.section-band h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 5.2rem);
  line-height: 0.95;
  font-weight: 800;
}

.section-top > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.work-tile {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px),
    #050505;
  background-size: 40px 40px;
  transition: transform 360ms var(--motion-ease), border-color 260ms ease, background-position 600ms var(--motion-ease);
}

.work-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.36);
  background-position: 18px 18px;
}

.tile-large {
  grid-column: span 2;
}

.work-tile span,
.work-tile strong {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-tile strong {
  color: var(--fg);
}

.section-band {
  padding-top: 118px;
}

.promise h2 {
  max-width: 1050px;
  margin-bottom: 42px;
}

.outcome-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.outcome-grid article,
.package-card,
.process-list li,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
  transition: transform 360ms var(--motion-ease), border-color 260ms ease, background 260ms ease;
}

.outcome-grid article:hover,
.package-card:hover,
.process-list li:hover,
.faq details:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.34);
}

.outcome-grid article {
  min-height: 220px;
  padding: 22px;
}

.outcome-grid span,
.process-list span {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--muted);
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.outcome-grid p,
.package-card p,
.process-list p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.package-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.package-card.featured {
  background: var(--fg);
  color: var(--bg);
}

.package-card.featured p,
.package-card.featured .package-label {
  color: rgba(0, 0, 0, 0.66);
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 14px;
  padding-left: 18px;
  color: var(--muted);
}

.package-card.featured ul {
  color: rgba(0, 0, 0, 0.72);
}

.package-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-weight: 900;
  transition: opacity 220ms ease, transform 220ms var(--motion-ease);
}

.package-card a:hover {
  transform: translateX(6px);
}

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
}

.process-list li {
  min-height: 240px;
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 22px;
}

.faq summary {
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 800;
}

.faq details p {
  max-width: 780px;
  padding-top: 14px;
}

.final-cta {
  padding-top: 132px;
  padding-bottom: 128px;
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  margin: 0 auto 28px;
}

.final-cta .button {
  margin: 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 130px;
}

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

.brief-shell,
.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 12vh, 130px) 18px 110px;
}

.brief-grid,
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.6fr);
  gap: 48px;
  align-items: start;
}

.brief-copy h1,
.page-copy h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.brief-copy p,
.page-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.brief-card,
.page-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #050505;
  padding: 24px;
}

.brief-card h2,
.page-card h2 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.brief-form {
  display: grid;
  gap: 14px;
}

.brief-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.brief-form input,
.brief-form select,
.brief-form textarea,
.account-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  color: var(--fg);
  padding: 0 14px;
  font: inherit;
}

.brief-form input[aria-invalid="true"],
.brief-form textarea[aria-invalid="true"],
.account-form input[aria-invalid="true"] {
  border-color: #15375a;
}

.brief-form textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.brief-card .button,
.brief-form .button {
  width: 100%;
}

.brief-form .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.brief-progress {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.brief-progress span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brief-progress span:last-child {
  border-right: 0;
}

.brief-progress .is-active {
  background: var(--fg);
  color: var(--bg);
}

.upload-zone {
  position: relative;
  min-height: 190px;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px),
    #030303;
  background-size: auto, 34px 34px, 34px 34px;
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms var(--motion-ease), background-position 500ms var(--motion-ease);
}

.upload-zone:hover {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
  background-position: center, 12px 12px, 12px 12px;
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone .upload-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-size: 2rem;
  line-height: 1;
}

.upload-zone strong {
  color: var(--fg);
  font-size: 1.05rem;
}

.upload-zone small,
.upload-zone em {
  max-width: 260px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.brief-file-note {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 120px;
  border: 1px solid var(--line);
  padding: 18px;
}

.brief-file-note strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brief-file-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: center;
}

.final-flow-shell {
  min-height: calc(100svh - 102px);
  align-content: center;
  padding-top: clamp(24px, 4vh, 44px);
  padding-bottom: clamp(24px, 4vh, 44px);
}

.final-flow-shell .brief-copy {
  max-width: 760px;
}

.final-flow-shell .brief-copy h1 {
  font-size: clamp(3.4rem, 8vw, 7.6rem);
}

.final-flow-shell .brief-copy p:not(.eyebrow) {
  max-width: 520px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(320px, 560px);
  gap: 12px;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.button-google {
  position: relative;
  z-index: 5;
  width: 100%;
  justify-content: center;
  gap: 12px;
  border-color: var(--line);
  background: #fff;
  color: #000;
  pointer-events: auto;
}

.button-google span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-weight: 900;
}

.account-divider {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-flow-shell .brief-card {
  padding: clamp(20px, 3vh, 28px);
}

.final-flow-shell .brief-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.final-flow-shell .account-form input {
  min-height: 46px;
}

.account-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.account-divider span {
  position: relative;
  padding: 0 12px;
  background: #050505;
}

.payment-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.payment-card[hidden],
.account-form[hidden],
.button-google[hidden] {
  display: none;
}

.payment-total {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #000;
}

.payment-total span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.payment-total strong {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.9;
}

.payment-card p:not(.package-label) {
  color: var(--muted);
  line-height: 1.5;
}

/* Reference shader landing and payment layout */
.shader-hero {
  isolation: isolate;
  max-width: none;
  min-height: calc(100svh - 92px);
  overflow: hidden;
  padding: clamp(78px, 10vh, 112px) clamp(34px, 7.8vw, 150px) 0;
  background: #000;
}

.local-gradient-layer {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: min(90vw, 1640px);
  height: min(58vh, 640px);
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  background: #000 url("assets/framer-shader-v3/fallback.png") center / cover no-repeat;
  filter: none;
}

.local-gradient-layer #main,
.local-gradient-layer [data-framer-root],
.local-gradient-layer .framer-Qa2fe.framer-p8uaib,
.local-gradient-layer .framer-Qa2fe .framer-galp1s-container {
  inset: 0;
  height: 100% !important;
  min-height: 100%;
  overflow: hidden;
  position: absolute !important;
  width: 100% !important;
  background: #000 !important;
}

.local-gradient-layer #main {
  left: -10%;
  top: -10%;
  width: 122% !important;
  height: 122% !important;
}

.local-gradient-layer [data-framer-component-type="Shader"],
.local-gradient-layer [data-framer-component-type="Shader"] > div,
.local-gradient-layer canvas {
  height: 100% !important;
  width: 100% !important;
}

.shader-hero .hero-copy,
.shader-hero .hero-start,
.shader-hero .pricing-popover,
.shader-hero .checkout-popover {
  z-index: 2;
}

.shader-hero .hero-copy {
  margin-left: clamp(0px, 2.6vw, 58px);
}

.shader-hero .status {
  margin-bottom: 10px;
}

.shader-hero h1 {
  max-width: 315px;
  font-size: clamp(3.45rem, 4.1vw, 5.2rem);
  line-height: 0.9;
}

.shader-hero .hero-start {
  left: clamp(260px, 24vw, 410px);
  top: clamp(290px, 34vh, 390px);
  pointer-events: none;
}

.shader-hero .hero-start-text {
  display: none;
}

.shader-hero .hero-start-symbol {
  grid-template-rows: repeat(3, 66px);
  width: 60px;
}

.shader-hero .hero-symbol-line {
  top: 31px;
  bottom: 31px;
}

.shader-hero .hero-symbol-dot {
  width: 42px;
  height: 42px;
}

.shader-hero .hero-symbol-dot-filled {
  width: 50px;
  height: 50px;
}

.shader-hero .pricing-popover,
.shader-hero.pricing-open .pricing-popover,
.payment-reference-hero .payment-card-row {
  left: clamp(460px, 42vw, 620px);
  top: clamp(280px, 34vh, 380px);
  width: min(1010px, 58vw);
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.shader-hero .pricing-card {
  min-height: 174px;
  gap: 16px;
  padding: 23px 22px 20px;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  background: rgba(6, 6, 6, 0.82);
  box-shadow: none;
}

.shader-hero .pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.shader-hero .pricing-card-featured {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.shader-hero .pricing-card-featured * {
  color: #000;
}

.shader-hero .pricing-name {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.67rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.shader-hero .pricing-card h2 {
  font-size: clamp(1.28rem, 1.45vw, 1.85rem);
  line-height: 1.05;
}

.shader-hero .pricing-card > p:not(.pricing-name):not(.pricing-ribbon) {
  min-height: 46px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
}

.shader-hero .pricing-card-featured > p:not(.pricing-name):not(.pricing-ribbon) {
  color: rgba(0, 0, 0, 0.62);
}

.shader-hero .pricing-card > a {
  min-height: auto;
  width: fit-content;
  justify-content: start;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  color: #fff;
  padding: 0 0 8px;
  background: transparent;
  font-size: 0.82rem;
}

.shader-hero .pricing-card-featured > a {
  background: transparent;
  color: #000;
}

.shader-hero .pricing-card > a:hover {
  transform: translateX(5px);
}

.payment-reference-hero.payment-step-two .hero-symbol-dot-step,
.payment-reference-hero.payment-step-three .hero-symbol-dot-step,
.payment-reference-hero.payment-step-three .hero-symbol-dot-payment {
  background: #fff;
}

.payment-reference-hero .payment-card-row {
  display: grid;
}

.payment-choice-card .payment-link {
  cursor: pointer;
}

.dashboard-shell {
  display: grid;
  gap: 44px;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 42px 18px;
  text-align: center;
}

.thank-you-shell img {
  width: min(220px, 58vw);
  margin-bottom: 24px;
}

.thank-you-shell h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.9;
}

.thank-you-shell p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.thank-you-shell .thank-you-confirmation {
  margin-top: -8px;
}

.thank-you-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.redirect-bar {
  width: min(360px, 70vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.redirect-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--fg);
  transform-origin: left;
  animation: redirectFill 2200ms linear forwards;
}

@keyframes redirectFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.customer-dashboard {
  display: grid;
  gap: 48px;
}

.dashboard-hero {
  display: grid;
  gap: 18px;
}

.dashboard-hero h1 {
  max-width: 840px;
  font-size: clamp(4rem, 8vw, 8rem);
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.55;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #050505;
  padding: 24px;
}

.dashboard-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.status-panel {
  display: grid;
  gap: 24px;
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.status-steps span {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-steps span:last-child {
  border-right: 0;
}

.status-steps .is-active {
  background: var(--fg);
  color: var(--bg);
}

.dashboard-summary {
  grid-row: span 2;
}

.dashboard-summary dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.dashboard-summary div {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.dashboard-summary dt {
  color: var(--fg);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-summary dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dashboard-next {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-body {
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.dashboard-body::before {
  display: none;
}

.client-dashboard {
  --dash-pink: #ff90e7;
  --dash-pink-soft: rgba(255, 144, 231, 0.15);
  --dash-line: rgba(255, 255, 255, 0.14);
  --dash-muted: rgba(255, 255, 255, 0.58);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 144, 231, 0.18), transparent 28%),
    #000;
}

.client-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  border-right: 1px solid var(--dash-line);
  background: #050505;
  padding: 22px 14px;
}

.client-rail-logo {
  display: grid;
  place-items: center;
}

.client-rail-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.client-rail nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.client-rail nav a {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dash-line);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 1.45rem;
}

.client-rail nav a.is-active,
.client-rail nav a:hover {
  background: var(--dash-pink);
  border-color: var(--dash-pink);
  color: #000;
}

.client-main {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.client-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.client-topbar h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 6rem);
  line-height: 0.88;
}

.client-kicker {
  margin: 0 0 8px;
  color: var(--dash-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-pill {
  min-width: 154px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 900;
}

.client-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.72fr;
  grid-auto-rows: minmax(170px, auto);
  gap: 14px;
}

.client-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dash-line);
  border-radius: 22px;
  background: #fff;
  color: #050505;
  padding: 24px;
  box-shadow: 0 18px 60px rgba(255, 144, 231, 0.08);
}

.client-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -50% 35%;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 144, 231, 0.22), transparent 64%);
  pointer-events: none;
}

.client-card-large {
  grid-column: span 2;
}

.client-card-tall {
  grid-row: span 2;
}

.client-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.client-card-head span {
  color: var(--dash-pink);
  font-size: 0.78rem;
  font-weight: 900;
}

.client-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 0.96;
}

.client-card p:not(.client-kicker) {
  color: rgba(0, 0, 0, 0.58);
  line-height: 1.45;
}

.client-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
}

.client-progress span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-progress span:last-child {
  border-right: 0;
}

.client-progress .is-active {
  background: var(--dash-pink);
  color: #000;
}

.client-package-card {
  background: #080808;
  color: #fff;
}

.client-package-card p:not(.client-kicker) {
  color: rgba(255, 255, 255, 0.62);
}

.client-meter-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.client-ring {
  width: 142px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 10px 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 54%, transparent 55%),
    conic-gradient(var(--dash-pink) 0 75%, rgba(0, 0, 0, 0.12) 75% 100%);
}

.client-ring span {
  color: #050505;
  font-size: 2.15rem;
  font-weight: 900;
}

.client-chart-card {
  min-height: 230px;
}

.mini-bars {
  height: 132px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}

.mini-bars span {
  height: var(--h);
  min-height: 28px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--dash-pink), #050505);
}

.client-summary-card {
  grid-column: span 2;
}

.client-summary-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.client-summary-card div {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.025);
}

.client-summary-card dt {
  color: rgba(0, 0, 0, 0.46);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-summary-card dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.client-steps {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.client-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.4;
}

.client-steps span {
  color: var(--dash-pink);
  font-weight: 900;
}

.client-search-card {
  background: #080808;
  color: #fff;
}

.client-search-card a {
  color: var(--dash-pink);
  font-weight: 900;
  text-decoration: none;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.dashboard-refresh {
  width: 150px;
  height: 50px;
}

.dashboard-status {
  color: var(--muted);
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.admin-shell {
  display: grid;
  gap: 28px;
}

.admin-access {
  max-width: 760px;
}

.admin-token-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-token-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.admin-brief {
  display: grid;
  gap: 18px;
}

.admin-brief dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.admin-brief div {
  display: grid;
  gap: 4px;
}

.admin-brief dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-brief dd {
  margin: 0;
  color: var(--fg);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-logo-preview {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.dashboard-card,
.dashboard-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  padding: 18px;
}

.dashboard-card {
  display: grid;
  gap: 14px;
}

.dashboard-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
}

.dashboard-card time,
.dashboard-card p,
.dashboard-empty {
  color: var(--muted);
}

.dashboard-card p {
  margin: 0;
  line-height: 1.45;
}

.dashboard-card p span {
  display: block;
  margin-bottom: 4px;
  color: var(--fg);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-card pre {
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
}

.page-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

}

@media (max-width: 980px) {
  .client-dashboard {
    grid-template-columns: 1fr;
  }

  .client-rail {
    position: static;
    height: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--dash-line);
  }

  .client-rail-logo img {
    width: 54px;
    height: 54px;
  }

  .client-rail nav {
    grid-auto-flow: column;
    justify-content: end;
    overflow-x: auto;
  }

  .client-rail nav a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.18rem;
  }

  .client-main {
    padding: 20px;
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-card-large,
  .client-summary-card {
    grid-column: 1 / -1;
  }

  .client-card-tall {
    grid-row: auto;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.menu-open .nav-links {
    display: grid;
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: #000;
  }

  .site-header.menu-open .nav-links a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .section-top,
  .section-top.compact,
  .outcome-grid,
  .package-grid,
  .process-list,
  .brief-grid,
  .page-grid,
  .dashboard-grid,
  .account-shell,
  .account-grid,
  .admin-results {
    grid-template-columns: 1fr;
  }

  .account-grid {
    justify-self: stretch;
    max-width: none;
  }

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

  .hero {
    min-height: calc(100vh - 78px);
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-start {
    gap: clamp(28px, 7vw, 54px);
    left: clamp(42px, 8vw, 110px);
    top: clamp(310px, 35vh, 390px);
  }

  .hero.pricing-open .hero-start {
    transform: translateY(0);
  }

  .hero-start-symbol {
    grid-template-rows: repeat(3, 62px);
    width: 58px;
  }

  .hero-symbol-line {
    top: 29px;
    bottom: 29px;
    width: 8px;
  }

  .hero-symbol-dot {
    width: 43px;
    height: 43px;
    border-width: 8px;
  }

  .hero-symbol-dot-filled {
    width: 49px;
    height: 49px;
  }

  .hero-start-text {
    gap: 24px;
    font-size: clamp(3.2rem, 10vw, 5.2rem);
  }

  .pricing-popover,
  .hero.pricing-open .pricing-popover {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 42px;
    padding: 0;
    background: transparent;
    transform: none;
  }

  .checkout-popover,
  .hero.checkout-open .checkout-popover {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 42px;
    transform: none;
  }

  .pricing-card {
    min-height: auto;
  }

  .tile-large {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .client-topbar {
    display: grid;
    align-items: start;
  }

  .client-pill {
    width: 100%;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    border-radius: 18px;
    padding: 20px;
  }

  .client-progress {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
  }

  .client-progress span:nth-child(2) {
    border-right: 0;
  }

  .client-progress span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  }

  .client-summary-card dl {
    grid-template-columns: 1fr;
  }

  .site-header {
    min-height: 72px;
  }

  .brand-mark img {
    width: 132px;
  }

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

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.1rem);
  }

  .hero-start {
    width: 100%;
    justify-content: flex-start;
    left: 28px;
    top: 430px;
    margin: 0;
  }

  .hero-start-symbol {
    grid-template-rows: repeat(3, 48px);
    width: 46px;
  }

  .hero-symbol-line {
    top: 22px;
    bottom: 22px;
    width: 7px;
  }

  .hero-symbol-dot {
    width: 35px;
    height: 35px;
    border-width: 7px;
  }

  .hero-symbol-dot-filled {
    width: 40px;
    height: 40px;
  }

  .hero-start-text {
    gap: 16px;
    font-size: clamp(2.45rem, 10.8vw, 3.8rem);
  }

  .hero.pricing-open .hero-start {
    margin-bottom: 0;
  }

  .pricing-popover,
  .hero.pricing-open .pricing-popover {
    margin-top: 0;
  }

  .checkout-popover,
  .hero.checkout-open .checkout-popover {
    margin-top: 0;
  }

  .payment-panel,
  .order-summary {
    padding: 22px;
  }

  .button {
    width: 100%;
    height: 54px;
  }

  .final-cta .button-ghost {
    display: none;
  }

  .dashboard-actions {
    display: grid;
  }

  .status-steps {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .brief-progress {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .brief-progress span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brief-progress span:last-child {
    border-bottom: 0;
  }

  .status-steps span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-steps span:last-child {
    border-bottom: 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .tile-large {
    grid-column: auto;
  }

  .work-tile {
    min-height: 230px;
  }

  .section-band {
    padding-top: 86px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .shader-hero {
    min-height: auto;
    padding: 58px 22px 80px;
  }

  .local-gradient-layer {
    width: 115vw;
    height: 58vh;
    left: -30vw;
    bottom: 5vh;
    opacity: 0.7;
  }

  .shader-hero .hero-copy {
    margin-left: 0;
  }

  .shader-hero .hero-start,
  .payment-reference-hero .hero-start {
    position: relative;
    left: auto;
    top: auto;
    margin: 56px 0 28px clamp(16px, 18vw, 160px);
    width: fit-content;
  }

  .shader-hero .pricing-popover,
  .shader-hero.pricing-open .pricing-popover,
  .payment-reference-hero .payment-card-row {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .shader-hero .pricing-card {
    min-height: 156px;
  }
}

@media (max-width: 620px) {
  .shader-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .shader-hero .hero-start-symbol {
    grid-template-rows: repeat(3, 54px);
  }

  .shader-hero .hero-start {
    margin-left: 42%;
  }

  .shader-hero .pricing-card {
    padding: 20px;
  }
}

@media (max-width: 1100px) {
  .dashboard-body .client-dashboard-v2 {
    display: block;
    min-height: 100vh;
    padding: 0;
    background: #0b1018;
  }

  .dashboard-body .client-rail {
    position: sticky;
    top: 0;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid var(--dash-line);
    border-radius: 0;
    padding: 14px 20px;
  }

  .dashboard-body .client-rail-logo {
    display: flex;
    align-items: center;
    min-width: max-content;
  }

  .dashboard-body .client-rail nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dashboard-body .client-rail nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-body .client-rail nav a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: none;
    padding: 0 14px;
  }

  .dashboard-body .client-main {
    min-height: 0;
    border: 0;
    border-radius: 0;
  }
}

@media (max-width: 720px) {
  .dashboard-body .client-rail {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-body .client-rail nav {
    justify-content: start;
    width: 100%;
  }

  .dashboard-body .client-rail nav a {
    height: 38px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .dashboard-body .client-rail nav a span {
    font-size: 0.62rem;
  }
}
