/* INFINITIES WEBSITE STYLES
 * Minimal "Option 02" design with light and dark themes. Less is more.
 * 1. Tokens (light, then dark)   2. Base   3. Header & footer
 * 4. Minimal components (m-*)   5. Contact, blog, admin.
 *
 * Theme: dark follows the visitor's system setting unless they choose a theme
 * with the header toggle, which sets data-theme="light" or "dark" on <html>.
 * Every colour lives in a token, so components never need a dark-mode rule.
 */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #eceef7;
  --raised: #ffffff;
  --ink: #0d1270;
  --text: #2b2f45;
  --muted: #646a82;
  --placeholder: #9a9fb5;
  --navy: #0d1270;
  --navy-deep: #080c52;
  --on-navy: #ffffff;
  --navy-band: #0d1270;
  --accent: #8e1b2b;
  --logo-colour: linear-gradient(100deg,#00b8ff,#2f5bff);
  --logo-glow: drop-shadow(0 0 6px #1f8bff40);
  --line: #dcdfea;
  --line-strong: #c4c8da;
  --header-bg: #ffffffeb;
  --hover: #f6f7fb;
  --band-hover: #ffffff80;
  --shadow: #0d127014;
  --photo-filter: none;
  --max: 1160px;

  /* Content Management System (staff-only pages). */
  --admin-bg: #f8f8fc;
  --admin-glow-1: #dddeee;
  --admin-glow-2: #e5e6f3;
  --admin-ink: #12164b;
  --admin-text: #333654;
  --admin-muted: #4b4d6f;
  --admin-border: #2f38ba;
  --admin-field-border: #444baa;
  --admin-focus: #20267e;
  --admin-ring: #262d972e;
  --admin-card: #fffffff0;
  --admin-card-from: #ffffff;
  --admin-card-to: #f3f3f9;
  --admin-field: #fafafd;
  --admin-chip: #ebebf5;
  --admin-shadow: #1f225121;
  --danger: #b92942;
  --danger-strong: #a61f37;
  --danger-border: #cf5366;
  --danger-bg: #fff0f2;

  --font-display: Manrope,Inter,Arial,sans-serif;
  --font-body: Inter,Arial,sans-serif;
  --font-mono: "JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;

  /* Older names still used by the contact, blog and admin sections. */
  --ink-soft: var(--text);
  --blue: var(--navy);
  --cyan: var(--navy);
  --violet: var(--navy);
}

/* DARK THEME
 * The same palette at night: deep navy paper, lavender for interactive navy,
 * and a lighter brand red. Defined twice so it applies both when the system
 * prefers dark (and the visitor has not chosen light) and when chosen manually.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0a0c22;
    --surface: #12153a;
    --raised: #161a44;
    --ink: #eef0ff;
    --text: #c6c9e2;
    --muted: #9196b9;
    --placeholder: #6c7196;
    --navy: #b9beff;
    --navy-deep: #d9dcff;
    --on-navy: #0a0c22;
    --navy-band: #0c0f3a;
    --accent: #f08799;
    --logo-colour: var(--ink);
    --logo-glow: none;
    --line: #23274f;
    --line-strong: #353a6c;
    --header-bg: #0a0c22e6;
    --hover: #ffffff08;
    --band-hover: #ffffff0d;
    --shadow: #00000066;
    --photo-filter: brightness(.86);

    --admin-bg: #0a0c22;
    --admin-glow-1: #1a1e52;
    --admin-glow-2: #151946;
    --admin-ink: #eef0ff;
    --admin-text: #c6c9e2;
    --admin-muted: #9196b9;
    --admin-border: #353b8c;
    --admin-field-border: #464ca0;
    --admin-focus: #b9beff;
    --admin-ring: #b9beff33;
    --admin-card: #12153af0;
    --admin-card-from: #161a44;
    --admin-card-to: #10133a;
    --admin-field: #0d1030;
    --admin-chip: #1d2152;
    --admin-shadow: #00000059;
    --danger: #ff8fa1;
    --danger-strong: #ffb3bf;
    --danger-border: #b8475a;
    --danger-bg: #3a1222;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0a0c22;
  --surface: #12153a;
  --raised: #161a44;
  --ink: #eef0ff;
  --text: #c6c9e2;
  --muted: #9196b9;
  --placeholder: #6c7196;
  --navy: #b9beff;
  --navy-deep: #d9dcff;
  --on-navy: #0a0c22;
  --navy-band: #0c0f3a;
  --accent: #f08799;
  --logo-colour: var(--ink);
  --logo-glow: none;
  --line: #23274f;
  --line-strong: #353a6c;
  --header-bg: #0a0c22e6;
  --hover: #ffffff08;
  --band-hover: #ffffff0d;
  --shadow: #00000066;
  --photo-filter: brightness(.86);

  --admin-bg: #0a0c22;
  --admin-glow-1: #1a1e52;
  --admin-glow-2: #151946;
  --admin-ink: #eef0ff;
  --admin-text: #c6c9e2;
  --admin-muted: #9196b9;
  --admin-border: #353b8c;
  --admin-field-border: #464ca0;
  --admin-focus: #b9beff;
  --admin-ring: #b9beff33;
  --admin-card: #12153af0;
  --admin-card-from: #161a44;
  --admin-card-to: #10133a;
  --admin-field: #0d1030;
  --admin-chip: #1d2152;
  --admin-shadow: #00000059;
  --danger: #ff8fa1;
  --danger-strong: #ffb3bf;
  --danger-border: #b8475a;
  --danger-bg: #3a1222;
}

/* BASE */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.025em;
}

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 48px),var(--max));
  margin: auto;
}

a {
  color: inherit;
}

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

/* Kept for the blog and admin pages. */
.eyebrow,.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font: 400 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--on-navy);
  font: 500 14px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}

.button:hover,.button:focus-visible {
  background: var(--navy-deep);
  outline: none;
}

.button-small {
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}

/*
 * NAVY HEADER AND FOOTER
 * The logo is half white, so it needs a dark frame to show in full.
 * The header and footer reuse the dark-theme tokens on a navy background in
 * both themes: brand navy in light mode, the deeper band navy in dark mode.
 */
.site-header,
footer {
  --chrome-bg: #0d1270;
  --paper: var(--chrome-bg);
  --header-bg: var(--chrome-bg);
  --surface: #1a1f7e;
  --raised: #161a44;
  --ink: #ffffff;
  --text: #d6d9f2;
  --muted: #a3a8d0;
  --navy: #c9cdff;
  --navy-deep: #e3e5ff;
  --on-navy: #0a0c22;
  --line: #ffffff1f;
  --line-strong: #ffffff40;
  --hover: #ffffff0d;
  --shadow: #00000066;
  color-scheme: dark;
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] footer {
  --chrome-bg: #0c0f3a;
  --surface: #1a1e52;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header,
  :root:not([data-theme="light"]) footer {
    --chrome-bg: #0c0f3a;
    --surface: #1a1e52;
  }
}

.site-header .brand b,
footer .footer-brand strong {
  color: var(--ink);
}

/* HEADER / NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Company name: header and footer share these rules so they always match. */
.brand b,
.footer-brand strong {
  display: block;
  color: var(--navy);
  font: 700 15px/1.2 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand small,
.footer-brand>span:last-child {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 400 10px/1.2 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.site-header nav a,
.nav-dropdown summary {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover,.site-header nav a:focus-visible,
.site-header nav a.active {
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-dropdown summary.active {
  color: var(--navy);
  outline: none;
}

.nav-dropdown summary span {
  font-size: 12px;
  transition: transform .2s;
}

.nav-dropdown[open] summary span {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(2,minmax(200px,1fr));
  width: 480px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  box-shadow: 0 16px 40px var(--shadow);
  transform: translateX(-50%);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown[open] .dropdown-menu {
  display: grid;
}

.site-header nav .dropdown-menu a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.site-header nav .dropdown-menu a:hover,
.site-header nav .dropdown-menu a:focus-visible {
  background: var(--surface);
  outline: none;
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

/* Theme toggle: shows a moon in light mode and a sun in dark mode. */
.theme-toggle {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--surface);
  outline: none;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun,
:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-moon {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-icon-sun {
    display: block;
  }
}

/* FOOTER */
footer {
  padding: 72px 0 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5,1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  line-height: 1.2;
}

.footer-logo {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 0 14px;
}

footer h4 {
  margin: 4px 0 14px;
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

footer a:hover {
  color: var(--navy);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-actions a {
  flex: 0 0 auto;
  margin: 0;
}

.footer-contact-link,
.socials .linkedin-link {
  display: inline-grid;
  height: 38px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--navy);
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s;
}

.socials .linkedin-link {
  width: 38px;
  padding: 0;
}

.footer-contact-link:hover,.footer-contact-link:focus-visible,
.socials .linkedin-link:hover,.socials .linkedin-link:focus-visible {
  background: var(--surface);
  outline: none;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .04em;
}

/* MINIMAL COMPONENTS
 * Shared by every page. Markup lives in src/components/ui/ and src/components/templates/.
 */
.m-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font: 400 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.m-kicker a {
  color: inherit;
  text-decoration: none;
}

.m-kicker a:hover {
  text-decoration: underline;
}

.m-heading {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.m-heading-left {
  margin: 0;
  text-align: left;
}

.m-heading h1,
.m-heading h2 {
  margin: 0;
  line-height: 1.12;
}

.m-heading h1 {
  font-size: clamp(44px,6.4vw,80px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.m-heading h2 {
  font-size: clamp(32px,4.2vw,50px);
  letter-spacing: -.03em;
}

.m-intro {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.m-heading-left .m-intro {
  margin-left: 0;
}

.m-heading-page .m-intro {
  font-size: 19px;
}

.m-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.m-heading-left .m-actions {
  justify-content: flex-start;
}

.m-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.m-link:hover,.m-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.m-center {
  margin: 48px 0 0;
  text-align: center;
}

/* Sections */
.m-hero {
  padding: 136px 0 128px;
}

.m-hero-left {
  padding: 112px 0 96px;
}

.m-section {
  padding: 120px 0;
}

.m-section-flush {
  padding-top: 0;
}

.m-band {
  background: var(--surface);
}

.m-dark {
  background: var(--navy-band);
  color: #d5d7ee;
}

.m-dark h2,.m-dark h3 {
  color: #fff;
}

.m-dark .m-kicker,
.m-dark .m-number {
  color: #b9bde8;
}

.m-dark .m-grid,
.m-dark .m-cell {
  border-color: #ffffff26;
}

.m-dark .m-cell p {
  color: #c3c6e6;
}

.m-split {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  gap: 48px 96px;
  align-items: start;
}

.m-columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px 64px;
  max-width: 920px;
  margin: 0 auto;
}

.m-columns p {
  margin: 0;
  color: var(--text);
}

/* Partners strip */
.m-partners {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

.m-partners-label {
  margin: 0 0 28px;
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.m-partners-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.m-partners-list li {
  display: flex;
  justify-content: center;
}

/* A logo is a silhouette of its image, painted with the --logo-colour token
 * (neon-blue gradient with a soft glow in light mode, soft white in dark mode). */
.m-logo-set {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 168px;
  height: 46px;
  opacity: .9;
  filter: var(--logo-glow);
  transition: opacity .2s;
}

.m-logo-set-wide {
  max-width: 250px;
  height: 40px;
}

a.m-logo-set:hover,
a.m-logo-set:focus-visible {
  opacity: 1;
  outline: none;
}

.m-logo {
  flex: 1 1 0;
  height: 100%;
  background: var(--logo-colour);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

/* Numbered hairline grid */
.m-grid {
  display: grid;
  grid-template-columns: repeat(var(--m-columns,2),minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.m-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.m-cell-link {
  transition: background .2s;
}

.m-cell-link:hover,.m-cell-link:focus-visible {
  background: var(--hover);
  outline: none;
}

.m-band .m-cell-link:hover {
  background: var(--band-hover);
}

.m-cell-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.m-cell-has-icon .m-cell-top {
  margin-bottom: 28px;
}

.m-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-dark .m-icon {
  stroke: #b9bde8;
}

.m-number {
  color: var(--accent);
  font: 400 12px var(--font-mono);
}

.m-arrow {
  color: var(--navy);
  transition: transform .2s;
}

.m-cell-link:hover .m-arrow {
  transform: translate(2px,-2px);
}

.m-cell h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.m-cell p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.m-cell .m-tags {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.m-grid[style*="--m-columns:3"] .m-cell h3,
.m-grid[style*="--m-columns:4"] .m-cell h3 {
  font-size: 22px;
}

/* Lists */
.m-list,
.m-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.m-list li,
.m-steps li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font: 400 19px/1.4 var(--font-display);
}

.m-list li::before {
  content: "—";
  color: var(--accent);
}

.m-steps .m-number {
  padding-top: 5px;
}

/* Questions */
.m-faq {
  border-top: 1px solid var(--line-strong);
}

.m-faq details {
  border-bottom: 1px solid var(--line-strong);
}

.m-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font: 400 19px/1.4 var(--font-display);
  cursor: pointer;
  list-style: none;
}

.m-faq summary::-webkit-details-marker {
  display: none;
}

.m-faq summary span {
  color: var(--accent);
  font-family: var(--font-mono);
  transition: transform .2s;
}

.m-faq details[open] summary span {
  transform: rotate(45deg);
}

.m-faq p {
  max-width: 600px;
  margin: -6px 0 24px;
  color: var(--muted);
}

/* Case studies */
.m-cases {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 56px 32px;
}

.m-case {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.m-case-image {
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  aspect-ratio: 1920/875; /* matches the case-study screenshots, so nothing is cut off */
  border-radius: 8px;
  background: var(--navy);
}

.m-case-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform .4s ease;
}

.m-case:hover .m-case-image img {
  transform: scale(1.025);
}

.m-case-meta {
  color: var(--accent);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.m-case-title {
  margin: 8px 0 6px;
  color: var(--ink);
  font: 400 28px/1.2 var(--font-display);
  letter-spacing: -.02em;
}

.m-case-text {
  color: var(--muted);
  font-size: 15px;
}

.m-cases-three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.m-cases-three .m-case-title {
  font-size: 22px;
}

/* Case-study facts, media and statement */
.m-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 72px 0 40px;
  border-top: 1px solid var(--line);
}

.m-facts div {
  padding: 20px 24px 0 0;
}

.m-facts dt,
.m-details dt {
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.m-facts dd,
.m-details dd {
  margin: 6px 0 0;
  color: var(--ink);
}

/* Optional headline results on a case study: big figure, short label. */
.m-results {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 0;
  margin: 0 0 48px;
  border-top: 1px solid var(--line);
}

.m-results div {
  padding: 24px 24px 0 0;
}

.m-results dt {
  color: var(--navy);
  font: 700 clamp(28px,3.2vw,40px)/1.05 var(--font-display);
  letter-spacing: -.02em;
}

.m-results dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Optional client testimonial on a case study. */
.m-quote blockquote {
  margin: 0;
  font-size: clamp(20px,2.2vw,27px);
}

.m-quote figcaption {
  margin-top: 24px;
  color: var(--muted);
  font: 400 12px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Result line under each solution on a multi-solution case study. */
.m-solution-result {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.m-solution-result strong {
  color: var(--accent);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.m-media {
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
}

.m-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: var(--photo-filter);
}

/* Photos keep their own proportions, so they are never cropped. */

/* A single wide photo under a section's text. */
.m-media-wide {
  max-width: 920px;
  margin: 64px auto 0;
}

/* Page heading with a photo beside it (service detail pages). */
.m-hero-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px 56px;
  align-items: stretch;
}

/*
 * The photo takes the same space as the heading block beside it: equal column
 * widths, and the text (title to buttons) sets the height. The photo fills that
 * box, trimmed slightly at the edges and kept centred. On narrow screens it
 * returns to its own proportions (see the media query below).
 */
.m-media-hero {
  position: relative;
  margin: 0;
}

.m-hero-split .m-media-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* A photo under a left-aligned heading in an .m-split layout. */
.m-media-side {
  margin: 40px 0 0;
}

.m-statement {
  max-width: 900px;
  text-align: center;
}

.m-statement-text {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(24px,2.8vw,34px)/1.35 var(--font-display);
  letter-spacing: -.02em;
}

/* People */
.m-people {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,320px));
  justify-content: center;
  gap: 32px;
}

.m-people figure {
  margin: 0;
}

.m-people img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4; /* matches the 600x800 portraits */
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface);
}

.m-people figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
}

.m-people strong {
  color: var(--ink);
  font: 400 20px var(--font-display);
}

.m-people span {
  color: var(--accent);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Contact details */
.m-details {
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
}

.m-details div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.m-details a {
  text-decoration: none;
}

.m-details a:hover {
  text-decoration: underline;
}

/* Closing call to action */
.m-cta {
  padding: 128px 0;
  background: var(--surface);
  text-align: center;
}

.m-cta h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(32px,4.2vw,50px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.m-cta .m-intro {
  margin-left: auto;
  margin-right: auto;
}

/* RESPONSIVE LAYOUT */
.site-header nav a,
.nav-dropdown summary {
  white-space: nowrap;
}

/* Narrow laptops: keep the header on one line. */
@media(max-width:1180px) {
  .brand small {
    display: none;
  }

  .nav-wrap,
  .site-header nav {
    gap: 22px;
  }
}

@media(max-width:900px) {
  .site-header nav {
    display: none;
  }

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

  .nav-wrap {
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3,1fr);
  }

  .connected {
    grid-column: 2/-1;
  }

  .m-split,
  .m-hero-split {
    grid-template-columns: 1fr;
  }

  .m-hero-split .m-media-hero img {
    position: static;
    height: auto;
  }

  .m-grid[style*="--m-columns:3"],
  .m-grid[style*="--m-columns:4"] {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

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

@media(max-width:640px) {
  .shell {
    width: min(calc(100% - 32px),var(--max));
  }

  .site-header {
    height: 64px;
  }

  .brand-logo {
    width: 42px;
    height: 28px;
  }

  .brand b,
  .footer-brand strong {
    font-size: 12px;
  }

  .brand small {
    display: none;
  }

  .footer-brand>span:last-child {
    font-size: 9px;
  }

  .button-small {
    padding: 9px 13px;
    font-size: 0;
  }

  .button-small::after {
    content: "Contact";
    font-size: 12px;
  }

  .m-hero {
    padding: 88px 0 80px;
  }

  .m-hero-left {
    padding: 72px 0 64px;
  }

  .m-section,.m-cta {
    padding: 80px 0;
  }

  .m-section-flush {
    padding-top: 0;
  }

  .m-heading {
    margin-bottom: 44px;
  }

  .m-heading h1 br,
  .m-heading h2 br,
  .m-cta h2 br {
    display: none;
  }

  .m-grid,
  .m-grid[style*="--m-columns:3"],
  .m-grid[style*="--m-columns:4"],
  .m-columns,
  .m-cases,
  .m-facts {
    grid-template-columns: 1fr;
  }

  .m-cell {
    padding: 28px 22px 32px;
  }

  .m-cell-top {
    margin-bottom: 24px;
  }

  .m-people {
    grid-template-columns: 1fr;
  }

  .m-media-wide {
    margin-top: 44px;
  }

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

  .footer-brand,.connected {
    grid-column: 1/-1;
  }

  .legal {
    flex-direction: column;
    gap: 7px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .m-case-image img,
  .m-arrow {
    transition: none;
  }
}

/* ADMIN / CONTENT MANAGEMENT SYSTEM
 * Authentication is handled by Supabase. Database access remains protected by
 * Row Level Security policies for Administrator, Editor, and Author roles.
 */
.admin-auth-page,
.admin-dashboard-page {
  min-height: calc(100vh - 82px);
  background:
    radial-gradient(circle at 15% 15%,var(--admin-glow-1) 0,transparent 28%),
    radial-gradient(circle at 86% 68%,var(--admin-glow-2) 0,transparent 29%),
    var(--admin-bg);
}

.admin-auth-page {
  display: grid;
  place-items: center;
  padding: 80px 20px;
}

.admin-auth-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,460px);
  align-items: center;
  gap: clamp(50px,8vw,110px);
  width: min(100%,1060px);
}

.admin-auth-intro h1,
.admin-dashboard-heading h1 {
  margin: 8px 0 20px;
  color: var(--admin-ink);
  font-size: clamp(42px,6vw,72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.admin-auth-intro h1 span {
  display: block;
  color: var(--admin-ink);
}

.admin-auth-intro>p:last-child {
  max-width: 600px;
  color: var(--admin-text);
  font-size: 18px;
}

.admin-auth-card {
  padding: 38px;
  border: 1px solid var(--admin-border);
  border-radius: 22px;
  background: var(--admin-card);
  box-shadow: 0 25px 65px var(--admin-shadow);
  backdrop-filter: blur(18px);
}

.admin-auth-card>img {
  display: block;
  width: 84px;
  height: 52px;
  margin-bottom: 18px;
  object-fit: contain;
}

.admin-auth-card h2 { margin: 0 0 5px;color: var(--admin-ink);font-size: 28px; }
.admin-auth-card>p { margin: 0 0 26px;color: var(--admin-text); }
.admin-login-form,
.admin-field { display: grid;gap: 9px; }
.admin-login-form { gap: 18px; }
.admin-field label { color: var(--admin-ink);font-size: 13px;font-weight: 700; }
.admin-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--admin-field-border);
  border-radius: 10px;
  color: var(--admin-ink);
  background: var(--admin-field);
  font: inherit;
  outline: none;
  transition: border-color .2s,box-shadow .2s;
}

.admin-field input:focus { border-color: var(--admin-focus);box-shadow: 0 0 0 3px var(--admin-ring); }
.admin-form-message { min-height: 22px;margin: -2px 0;color: var(--danger);font-size: 13px; }
.admin-form-message[data-type="info"] { color: var(--admin-ink); }
.admin-submit { width: 100%;min-height: 48px;margin: 0;border: 0;cursor: pointer; }
.admin-submit:disabled,
.admin-logout:disabled { cursor: wait;opacity: .65; }
.admin-dashboard-page { padding: 80px 0 100px; }
.admin-loading { display: grid;place-items: center;min-height: 420px;color: var(--admin-text);text-align: center; }
.admin-loading[hidden],
.admin-dashboard[hidden],
.admin-only[hidden] { display: none; }
.admin-loader {
  width: 44px;
  height: 44px;
  border: 3px solid var(--admin-field-border);
  border-top-color: var(--admin-focus);
  border-radius: 50%;
  animation: admin-spin .8s linear infinite;
}

@keyframes admin-spin { to { transform: rotate(360deg); } }
.admin-dashboard-heading { display: flex;align-items: flex-end;justify-content: space-between;gap: 30px;margin-bottom: 44px; }
.admin-dashboard-heading h1 { margin-bottom: 10px;font-size: clamp(38px,5vw,62px); }
.admin-dashboard-heading h1 span { color: var(--admin-ink); }
.admin-dashboard-heading>div>p:last-child { margin: 0;color: var(--admin-text); }
.admin-account-actions { display: flex;align-items: center;gap: 12px; }
.admin-role-badge {
  padding: 8px 13px;
  border: 1px solid var(--admin-border);
  border-radius: 999px;
  color: var(--admin-ink);
  background: var(--admin-chip);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-logout {
  padding: 9px 14px;
  border: 1px solid var(--admin-field-border);
  border-radius: 9px;
  color: var(--admin-ink);
  background: var(--admin-chip);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.admin-dashboard-grid { display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 22px; }
.admin-dashboard-card {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  background: linear-gradient(145deg,var(--admin-card-from),var(--admin-card-to));
  box-shadow: 0 18px 42px var(--admin-shadow);
}

.admin-dashboard-card>span { color: var(--admin-ink);font-size: 12px;font-weight: 800;letter-spacing: .12em; }
.admin-dashboard-card h2 { margin: 24px 0 10px;color: var(--admin-ink);font-size: 24px; }
.admin-dashboard-card p { min-height: 52px;margin: 0 0 24px;color: var(--admin-text); }
.admin-dashboard-card button { padding: 9px 0;border: 0;color: var(--admin-muted);background: transparent;font: inherit;font-size: 13px;font-weight: 700; }

@media(max-width:900px) {
  .admin-auth-shell { grid-template-columns: 1fr;max-width: 620px; }
  .admin-auth-intro { text-align: center; }
  .admin-auth-intro>p:last-child { margin-inline: auto; }
}

@media(max-width:600px) {
  .admin-auth-page,
  .admin-dashboard-page { padding: 55px 0 75px; }
  .admin-auth-page { padding-inline: 15px; }
  .admin-auth-card { padding: 28px 22px; }
  .admin-dashboard-heading { align-items: flex-start;flex-direction: column; }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
}



/* CONTACT PAGE
 * Layout comes from .m-hero and .m-split; this section styles the enquiry form only.
 */
.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro .m-heading h1 {
  font-size: clamp(40px,5vw,64px);
}

.contact-form-card {
  padding-top: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-wide { grid-column: 1/-1; }

.form-field label {
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 16px var(--font-body);
  transition: border-color .2s;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--placeholder); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--navy);
  box-shadow: none;
}

.form-field select { cursor: pointer; }

.contact-consent {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--navy);
}

.contact-form .button {
  grid-column: 1/-1;
  justify-self: start;
}

.contact-note {
  grid-column: 1/-1;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media(max-width:900px) {
  .contact-intro { position: static; }
}

@media(max-width:640px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* BLOG
 * Listing (blog/index.astro), Markdown articles (blog/[slug].astro) and
 * Supabase articles (blog/article.astro) share these styles.
 */
.blog-hero {
  padding: 136px 0 96px;
}

.blog-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,7fr) minmax(0,4fr);
  gap: 40px 80px;
  align-items: end;
}

.blog-hero h1 {
  margin: 0;
  font-size: clamp(44px,6vw,76px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.blog-hero h1 span {
  color: inherit;
}

.blog-hero-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.blog-listing {
  padding: 0 0 128px;
}

.blog-section-label {
  margin: 0 0 20px;
  color: var(--accent);
  font: 400 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Cards */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card-visual {
  display: grid;
  aspect-ratio: 16/10;
  margin-bottom: 22px;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy);
  text-decoration: none;
}

.blog-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder when an article has no cover image. */
.blog-card-visual span {
  font: 400 12px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-card-visual strong {
  display: none;
}

.blog-card-featured {
  display: grid;
  grid-template-columns: minmax(0,7fr) minmax(0,5fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.blog-card-featured .blog-card-visual {
  margin: 0;
}

.blog-meta,
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 10px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.blog-card-featured h2 {
  font-size: clamp(30px,3.4vw,42px);
  line-height: 1.12;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.blog-card-body > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.blog-read-link,
.blog-card-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.blog-read-link:hover,
.blog-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-listing-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.blog-listing-heading h2,
.related-posts h2 {
  margin: 0;
  font-size: clamp(32px,4.2vw,50px);
  letter-spacing: -.03em;
}

.blog-listing-heading > span {
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 56px 32px;
}

.blog-empty {
  padding: 80px 0;
  text-align: center;
}

.blog-empty h1 {
  margin: 0 0 12px;
  font-size: clamp(32px,4vw,48px);
}

.blog-empty p {
  margin: 0;
  color: var(--muted);
}

/* Article */
.article-header {
  padding: 112px 0 72px;
}

.article-header-inner {
  max-width: 860px;
}

.article-back {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.article-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(40px,5.4vw,68px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.article-summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0,720px);
  gap: 80px;
  padding-bottom: 128px;
}

.article-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 4px;
  align-self: start;
}

.article-sidebar span {
  margin-top: 14px;
  color: var(--muted);
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-sidebar span:first-child {
  margin-top: 0;
}

.article-sidebar strong {
  color: var(--ink);
  font-weight: 500;
}

/* Long-form text outside the Blog, such as the Privacy Policy */
.m-prose {
  max-width: 760px;
  margin: 0 auto;
}

.m-prose > :first-child {
  margin-top: 0;
}

.article-content {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.article-content h2 {
  margin: 56px 0 16px;
  font-size: 32px;
  line-height: 1.2;
}

.article-content h3 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--navy);
  text-underline-offset: 4px;
}

.article-content strong {
  color: var(--ink);
}

.article-content blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font: 400 22px/1.45 var(--font-display);
}

.article-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 8px;
}

.related-posts {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.related-posts h2 {
  margin-bottom: 48px;
}

.blog-cta {
  padding: 120px 0;
  background: var(--surface);
}

.blog-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.blog-cta h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px,3.8vw,44px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

@media(max-width:900px) {
  .blog-hero-inner,
  .blog-card-featured,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout {
    gap: 40px;
  }

  .article-sidebar {
    position: static;
  }
}

@media(max-width:640px) {
  .blog-hero {
    padding: 88px 0 64px;
  }

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

  .blog-listing-heading,
  .blog-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-header {
    padding: 72px 0 48px;
  }
}

/* CONTENT MANAGEMENT SYSTEM / ARTICLE MANAGER */
.admin-card-link { color: var(--admin-ink);font-size: 13px;font-weight: 700;text-decoration: none; }
.article-manager[hidden],.article-editor[hidden] { display: none; }
.article-manager-heading { display: flex;align-items: flex-end;justify-content: space-between;gap: 25px;margin-bottom: 35px; }
.article-manager-heading a { color: var(--admin-ink);font-size: 13px;text-decoration: none; }
.article-manager-heading .eyebrow { margin: 20px 0 5px; }
.article-manager-heading h1 { margin: 0;color: var(--admin-ink);font-size: clamp(38px,5vw,62px);letter-spacing: -.045em; }
.article-manager-layout { display: grid;grid-template-columns: minmax(280px,.8fr) minmax(0,1.5fr);align-items: start;gap: 24px; }
.article-list-panel,.article-editor { border: 1px solid var(--admin-border);border-radius: 18px;background: var(--admin-card);box-shadow: 0 18px 42px var(--admin-shadow); }
.article-list-panel { padding: 22px; }
.article-list-heading,.article-editor-topline,.article-editor-actions { display: flex;align-items: center;justify-content: space-between;gap: 15px; }
.article-list-heading h2,.article-editor h2 { margin: 0;color: var(--admin-ink); }
.article-list-heading span { display: grid;place-items: center;width: 30px;height: 30px;border-radius: 50%;color: var(--admin-ink);background: var(--admin-chip);font-size: 12px;font-weight: 800; }
.article-admin-list { display: grid;gap: 9px;margin-top: 18px; }
.article-list-item { display: grid;gap: 5px;width: 100%;padding: 14px;border: 1px solid var(--admin-field-border);border-radius: 10px;color: var(--admin-ink);background: var(--admin-field);text-align: left;cursor: pointer; }
.article-list-item:hover,.article-list-item:focus-visible { border-color: var(--admin-focus);outline: none; }
.article-list-item span,.article-list-empty { color: var(--admin-text);font-size: 12px;text-transform: capitalize; }
.article-editor { display: grid;gap: 18px;padding: 28px; }
.article-editor-topline button { border: 0;color: var(--admin-text);background: transparent;cursor: pointer; }
.article-editor textarea,.article-editor select { width: 100%;padding: 11px 13px;border: 1px solid var(--admin-field-border);border-radius: 10px;color: var(--admin-ink);background: var(--admin-field);font: inherit;outline: none; }
.article-editor textarea:focus,.article-editor select:focus { border-color: var(--admin-focus);box-shadow: 0 0 0 3px var(--admin-ring); }
.article-editor-row { display: grid;grid-template-columns: 1fr 1fr;gap: 16px; }
.article-delete { padding: 10px 14px;border: 1px solid var(--danger-border);border-radius: 9px;color: var(--danger-strong);background: var(--danger-bg);cursor: pointer;font: inherit;font-weight: 700; }

@media(max-width:900px) { .article-manager-layout { grid-template-columns: 1fr; } }
@media(max-width:600px) {
  .article-manager-heading { align-items: flex-start;flex-direction: column; }
  .article-manager-heading .button { width: 100%; }
  .article-editor { padding: 22px 18px; }
  .article-editor-row { grid-template-columns: 1fr; }
}
