/* ==========================================================================
   Nelson Infotech — Design System
   Palette: Midnight, Deep Navy, Signal Blue, Cyan Pulse, Mist, Ink
   Type: Inter Tight (display + text), single family, contrast via weight/scale
   ========================================================================== */

:root {
  /* Brand palette derived from the Nelson Infotech logo */
  --brand: #cb212b;          /* logo crimson */
  --brand-deep: #a8161f;
  --ember: #ed6239;          /* logo highlight orange-red */
  --brand-gradient: linear-gradient(100deg, #cb212b 0%, #df4434 55%, #ed6239 100%);
  --midnight: #121419;       /* graphite: primary dark surface */
  --navy: #1c1f26;           /* graphite 2: secondary dark surface */
  --navy-2: #2a2e37;
  --signal: #cb212b;
  --signal-deep: #a8161f;
  --cyan: #ed6239;
  --mist: #f4f5f7;
  --mist-2: #e9ebef;
  --white: #ffffff;
  --ink: #15171c;
  --slate: #535862;          /* logo tagline grey, deepened for contrast */
  --slate-light: #a9afba;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: #dde0e6;

  --font: "Inter Tight", "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale (perfect fourth, fluid at the top) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --t-3xl: clamp(2.875rem, 1.4rem + 5.6vw, 6.25rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --max: 1320px;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 400; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.section--light :focus-visible, .section--mist :focus-visible, .section--white :focus-visible { outline-color: var(--signal); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--cyan); color: var(--midnight); padding: .75rem 1rem; font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--dark { background: var(--midnight); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section + .section--white:not(.section--flush), .section--white + .section--white { border-top: 1px solid var(--line-light); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.col-head { grid-column: 1 / span 5; }
.col-body { grid-column: 7 / span 6; }
@media (max-width: 900px) { .col-head, .col-body { grid-column: 1 / -1; } }

/* Section heading pattern: large statement + supporting paragraph */
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); align-items: end; }
.sh h2 { grid-column: 1 / span 7; font-size: var(--t-2xl); font-weight: 300; }
.sh p { grid-column: 9 / span 4; color: var(--slate); font-size: var(--t-md); line-height: 1.5; margin: 0; }
.section--dark .sh p, .section--navy .sh p { color: var(--slate-light); }
@media (max-width: 900px) { .sh h2, .sh p { grid-column: 1 / -1; } }

.lede { font-size: var(--t-md); line-height: 1.55; color: var(--slate); max-width: 60ch; }
.section--dark .lede, .section--navy .lede, .page-hero .lede { color: var(--slate-light); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-xl); font-weight: 400; margin: 2.2em 0 .6em; }
.prose h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--signal-deep); }
.muted { color: var(--slate); }
.small { font-size: var(--t-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  padding: .8rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: var(--t-sm); letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--signal); color: var(--white); }
.btn--primary:hover { background: var(--signal-deep); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--midnight); }
.btn--light:hover { background: var(--mist-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--signal-deep);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease);
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1px; }
.section--dark .text-link, .section--navy .text-link { color: var(--cyan); }

/* ---------- Header & Mega menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-light); color: var(--ink);
}
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); z-index: 2; }
.site-header .wrap { display: flex; align-items: center; height: 100%; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 38px; } }

.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; height: 100%; }
.nav > ul { display: flex; list-style: none; height: 100%; align-items: center; gap: .1rem; }
.nav > ul > li { height: 100%; display: flex; align-items: center; position: static; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .8rem; border-radius: var(--radius);
  font-size: var(--t-sm); font-weight: 500; color: #3a3e47; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--brand); background: var(--mist); }
.nav-link[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-trigger svg { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: .75rem; min-height: 42px; padding: .6rem 1.1rem; }

.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--white); border-bottom: 1px solid var(--line-light); border-top: 1px solid var(--line-light);
  box-shadow: 0 30px 60px rgba(21, 23, 28, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header .mega .wrap { display: grid; height: auto; align-items: start; }
.mega-inner { display: grid; align-items: start; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 2.5rem 2.75rem; }
.mega-intro p { color: var(--slate); font-size: var(--t-sm); margin-top: .75rem; }
.mega .text-link { color: var(--brand); }
.mega-intro h2 { font-size: var(--t-lg); font-weight: 300; }
.mega-col h3 { font-size: var(--t-xs); font-weight: 600; color: var(--brand); letter-spacing: .02em; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-light); }
.mega-col ul { list-style: none; display: grid; gap: .15rem; }
.mega-col a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); font-size: var(--t-sm); }
.mega-col a:hover { color: var(--brand); }
.mega-col a small { display: block; color: var(--slate); font-size: var(--t-xs); margin-top: .1rem; }

.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-light); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1rem var(--gutter) 2rem; overflow-y: auto; height: auto; margin: 0;
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav > ul { flex-direction: column; align-items: stretch; height: auto; }
  .nav > ul > li { flex-direction: column; align-items: stretch; height: auto; border-bottom: 1px solid var(--line-light); }
  .nav-link, .nav-trigger { padding: 1rem 0; font-size: var(--t-md); justify-content: space-between; width: 100%; border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--brand); }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mega.is-open { display: block; }
  .mega .wrap { padding: 0; }
  .mega-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: .25rem 0 1.5rem; }
  .mega-intro { display: none; }
  .nav-cta { margin: 1.5rem 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(203, 33, 43, 0.28), transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, #1a1c22 100%);
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-title {
  font-size: var(--t-3xl); font-weight: 300; letter-spacing: -0.045em; line-height: 0.98; max-width: 13ch;
}
.hero-title .line { display: block; }
.hero-title .line + .line { font-weight: 600; letter-spacing: -0.04em; }
.hero-copy { max-width: 52ch; margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); font-size: var(--t-md); line-height: 1.55; color: #cdd1d8; }
.hero .btn-row { margin-top: 2.5rem; }
.hero-foot {
  margin-top: clamp(3.5rem, 2rem + 6vw, 7rem); display: flex; flex-wrap: wrap; gap: .5rem 2.5rem;
  font-size: var(--t-sm); color: var(--slate-light); border-top: 1px solid var(--line-dark); padding-top: 1.5rem;
}
.hero-foot li { list-style: none; }
.hero-foot strong { color: var(--white); font-weight: 500; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(203, 33, 43, 0.30), transparent 65%),
    var(--midnight);
  color: var(--white); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(237, 98, 57, 0.08) 39px 40px);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--t-2xl); font-weight: 300; max-width: 18ch; letter-spacing: -0.035em; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .btn-row { margin-top: 2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-size: var(--t-xs); color: var(--slate-light); margin-bottom: 2rem; }
.crumbs a { color: var(--slate-light); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- Capability index (replaces icon grids) ---------- */
.index-list { list-style: none; border-top: 1px solid var(--line-light); }
.section--dark .index-list, .section--navy .index-list { border-color: var(--line-dark); }
.index-row { border-bottom: 1px solid var(--line-light); }
.section--dark .index-row, .section--navy .index-row { border-color: var(--line-dark); }
.index-row > a, .index-row > div {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: var(--gutter); align-items: baseline;
  padding: 1.75rem 0; text-decoration: none; color: inherit; position: relative;
}
.index-row h3 { font-size: var(--t-lg); font-weight: 400; letter-spacing: -0.02em; transition: color .2s var(--ease), transform .3s var(--ease); }
.index-row p { margin: 0; color: var(--slate); }
.section--dark .index-row p, .section--navy .index-row p { color: var(--slate-light); }
.index-row .go { width: 22px; height: 22px; opacity: .35; transition: opacity .2s, transform .3s var(--ease); align-self: center; }
.index-row > a:hover h3 { color: var(--signal); transform: translateX(6px); }
.section--dark .index-row > a:hover h3, .section--navy .index-row > a:hover h3 { color: var(--cyan); }
.index-row > a:hover .go { opacity: 1; transform: translateX(4px); }
.index-row .tags { grid-column: 2; margin-top: .75rem; }
@media (max-width: 760px) {
  .index-row > a, .index-row > div { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .index-row p, .index-row .tags { grid-column: 1 / -1; }
  .index-row .go { grid-row: 1; grid-column: 2; }
}

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.tags li { font-size: var(--t-xs); padding: .25rem .65rem; border: 1px solid var(--line-light); border-radius: 999px; color: var(--slate); background: var(--white); }
.section--dark .tags li, .section--navy .tags li, .page-hero .tags li { border-color: var(--line-dark); color: var(--slate-light); background: transparent; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.split > :first-child { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); }
.split > :last-child { grid-column: 7 / span 6; }
.split h2 { font-size: var(--t-2xl); font-weight: 300; }
.split .lede { margin-top: 1.5rem; }
@media (max-width: 900px) { .split > :first-child, .split > :last-child { grid-column: 1 / -1; position: static; } }

/* Stepped process — numbered because it IS a sequence */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.section--dark .steps li, .section--navy .steps li { border-color: var(--line-dark); }
.steps li::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--signal); font-weight: 600; font-size: var(--t-sm); padding-top: .2rem; }
.section--dark .steps li::before, .section--navy .steps li::before { color: var(--cyan); }
.steps h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--slate); }
.section--dark .steps p, .section--navy .steps p { color: var(--slate-light); }

/* Point list (unordered values) */
.points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); }
.points li { padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.section--dark .points li, .section--navy .points li { border-color: var(--line-dark); }
.points h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; margin-bottom: .4rem; }
.points p { margin: 0; color: var(--slate); font-size: var(--t-sm); }
.section--dark .points p, .section--navy .points p { color: var(--slate-light); }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .points--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .points, .points--3 { grid-template-columns: 1fr; } }

/* ---------- AI section: flow diagram ---------- */
.ai-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.ai-flow li { list-style: none; padding: 1.75rem 1.5rem 2rem; border-right: 1px solid var(--line-dark); position: relative; background: rgba(255,255,255,.015); }
.ai-flow li:last-child { border-right: 0; }
.ai-flow .k { display: block; font-size: var(--t-xs); color: var(--cyan); font-weight: 600; margin-bottom: 2.5rem; font-variant-numeric: tabular-nums; }
.ai-flow h3 { font-size: var(--t-md); font-weight: 500; margin-bottom: .5rem; }
.ai-flow p { color: var(--slate-light); font-size: var(--t-sm); margin: 0; }
.ai-flow li::after {
  content: ""; position: absolute; top: 2.05rem; right: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); z-index: 1;
  box-shadow: 0 0 0 4px rgba(237,98,57,.18);
}
.ai-flow li:last-child::after { display: none; }
@media (max-width: 900px) {
  .ai-flow { grid-template-columns: 1fr 1fr; }
  .ai-flow li:nth-child(2) { border-right: 0; }
  .ai-flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .ai-flow li::after { display: none; }
}
@media (max-width: 560px) { .ai-flow { grid-template-columns: 1fr; } .ai-flow li { border-right: 0; border-bottom: 1px solid var(--line-dark); } }

/* ---------- Microsoft stack ---------- */
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stack > * { background: var(--navy); padding: 2rem 1.75rem; }
.stack h3 { font-size: var(--t-md); font-weight: 500; margin-bottom: 1rem; }
.stack ul { list-style: none; display: grid; gap: .45rem; }
.stack li { font-size: var(--t-sm); color: var(--slate-light); padding-left: 1rem; position: relative; }
.stack li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 1px; background: var(--cyan); }
.stack a { color: inherit; text-decoration: none; }
.stack a:hover h3 { color: var(--cyan); }
.section--white .stack, .section--mist .stack { background: var(--line-light); border-color: var(--line-light); }
.section--white .stack > *, .section--mist .stack > * { background: var(--white); }
.section--white .stack li, .section--mist .stack li { color: var(--slate); }
.section--white .stack li::before, .section--mist .stack li::before { background: var(--signal); }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr; } }

/* ---------- Industry tabs ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); }
.tablist { display: flex; flex-direction: column; border-left: 1px solid var(--line-light); }
.tab {
  text-align: left; background: none; border: 0; padding: .9rem 1.25rem; cursor: pointer; font-size: var(--t-md); color: var(--slate);
  border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--signal); font-weight: 500; }
.tabpanel { padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: var(--t-xl); font-weight: 300; margin-bottom: 1rem; }
.tabpanel .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.tabpanel h4 { font-size: var(--t-sm); font-weight: 600; margin-bottom: .75rem; }
.tabpanel ul { padding-left: 1.1em; color: var(--slate); font-size: var(--t-sm); display: grid; gap: .35rem; }
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line-light); scrollbar-width: none; }
  .tab { border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; white-space: nowrap; font-size: var(--t-sm); padding: .8rem 1rem; }
  .tab[aria-selected="true"] { border-bottom-color: var(--signal); }
  .tabpanel .cols { grid-template-columns: 1fr; }
}

/* ---------- Product concepts ---------- */
.concepts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.concept {
  grid-column: span 4; position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 55%, var(--midnight) 100%); color: var(--white);
  border: 1px solid var(--line-dark); min-height: 320px; display: flex; flex-direction: column;
}
.concept--wide { grid-column: span 8; }
.concept .glyph { width: 52px; height: 52px; margin-bottom: auto; }
.concept h3 { font-size: var(--t-lg); font-weight: 500; margin-top: 3rem; }
.concept p { color: var(--slate-light); font-size: var(--t-sm); margin: .6rem 0 0; max-width: 46ch; }
.concept .status { position: absolute; top: 1.5rem; right: 1.5rem; font-size: var(--t-xs); color: var(--cyan); border: 1px solid rgba(237,98,57,.45); padding: .2rem .6rem; border-radius: 999px; }
.concept a { color: inherit; text-decoration: none; }
.concept a::after { content: ""; position: absolute; inset: 0; }
.concept:hover { border-color: rgba(237,98,57,.5); }
@media (max-width: 1000px) { .concept, .concept--wide { grid-column: span 6; } }
@media (max-width: 640px) { .concept, .concept--wide { grid-column: 1 / -1; } }

/* Product detail blocks */
.product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--line-light); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-head { grid-column: 1 / span 5; }
.product-body { grid-column: 7 / span 6; }
.product-head .glyph { width: 64px; height: 64px; margin-bottom: 1.5rem; }
.product-head h2 { font-size: var(--t-xl); font-weight: 400; }
.product-head .badge { display: inline-block; margin-top: 1rem; font-size: var(--t-xs); color: var(--signal-deep); border: 1px solid var(--signal); padding: .2rem .65rem; border-radius: 999px; }
.product-body h3 { font-size: var(--t-sm); font-weight: 600; margin: 1.5rem 0 .6rem; }
.product-body ul { padding-left: 1.1em; color: var(--slate); display: grid; gap: .35rem; }
@media (max-width: 900px) { .product-head, .product-body { grid-column: 1 / -1; } }

/* ---------- Case studies ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip {
  border: 1px solid var(--line-light); background: var(--white); border-radius: 999px; padding: .5rem 1rem; font-size: var(--t-sm); cursor: pointer; color: var(--slate);
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-status { font-size: var(--t-sm); color: var(--slate); margin: -1.5rem 0 2rem; min-height: 1.5em; }

.cases { display: grid; gap: var(--gutter); }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.case[hidden] { display: none; }
.case-head { grid-column: 1 / span 4; }
.case-head h3 { font-size: var(--t-lg); font-weight: 400; margin: .75rem 0 1rem; }
.case-flag { display: inline-block; font-size: var(--t-xs); font-weight: 600; color: #8a4b00; background: #fff4e0; border: 1px solid #f2c98a; border-radius: 999px; padding: .2rem .65rem; }
.case-grid { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.case-grid h4 { font-size: var(--t-xs); font-weight: 600; color: var(--slate); margin-bottom: .4rem; }
.case-grid p { margin: 0; font-size: var(--t-sm); }
@media (max-width: 900px) { .case-head, .case-grid { grid-column: 1 / -1; } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Discovery (interactive service finder) ---------- */
.discover { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.discover legend { font-size: var(--t-lg); font-weight: 400; margin-bottom: 1.25rem; padding: 0; }
.discover fieldset { border: 0; margin: 0; padding: 0; }
.discover-results { margin-top: 2rem; }
.discover-results .index-row[hidden] { display: none; }

/* ---------- Insights ---------- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.article-card .meta { font-size: var(--t-xs); color: var(--slate); }
.article-card h3 { font-size: var(--t-lg); font-weight: 400; margin: .75rem 0; transition: color .2s; }
.article-card p { color: var(--slate); font-size: var(--t-sm); }
.article-card:hover h3 { color: var(--signal); }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-size: var(--t-md); font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--slate); padding-bottom: 1.4rem; margin: 0; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 15% 110%, rgba(237, 98, 57, 0.22), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(203, 33, 43, 0.40), transparent 60%),
    var(--midnight);
  color: var(--white); padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}
.cta-band h2 { font-size: var(--t-3xl); font-weight: 300; letter-spacing: -0.045em; max-width: 12ch; }
.cta-band .grid-12 { align-items: end; }
.cta-band .col-head { grid-column: 1 / span 7; }
.cta-band .col-body { grid-column: 9 / span 4; }
.cta-band p { color: var(--slate-light); font-size: var(--t-md); }
@media (max-width: 900px) { .cta-band .col-head, .cta-band .col-body { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: var(--t-sm); font-weight: 600; }
.field .hint { font-size: var(--t-xs); color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border: 1px solid #b9c6dc; border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(203, 33, 43, .18); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field .error { color: #b3261e; font-size: var(--t-xs); min-height: 1em; }
.check-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-group label { position: relative; font-weight: 400; font-size: var(--t-sm); }
.check-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-group span { display: inline-block; padding: .5rem .95rem; border: 1px solid #b9c6dc; border-radius: 999px; cursor: pointer; transition: all .2s; }
.check-group input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.check-group input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--t-xs); color: var(--slate); grid-column: 1 / -1; margin: 0; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: var(--t-sm); display: none; }
.form-status.is-success { display: block; background: #e7f6ee; color: #0f5a32; border: 1px solid #a8dcbd; }
.form-status.is-error { display: block; background: #fdecea; color: #8c1d18; border: 1px solid #f1b0aa; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.contact-aside { grid-column: 1 / span 4; }
.contact-main { grid-column: 6 / span 7; }
.office { padding: 1.5rem 0; border-top: 1px solid var(--line-light); }
.office h3 { font-size: var(--t-md); font-weight: 600; margin-bottom: .5rem; }
.office address { font-style: normal; color: var(--slate); }
.office a { color: var(--signal-deep); text-decoration: none; font-weight: 500; }
@media (max-width: 900px) { .contact-aside, .contact-main { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); color: var(--slate); padding-block: 4.5rem 2rem; font-size: var(--t-sm); border-top: 1px solid var(--line-light); }
.footer-tag { color: var(--slate); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.footer-brand p { margin-top: 1.25rem; max-width: 32ch; }
.site-footer h2 { font-size: var(--t-sm); font-weight: 600; color: var(--ink); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .brand img { height: 52px; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; list-style: none; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; background: var(--white); }
.social a:hover { border-color: var(--brand); }
.social svg { width: 16px; height: 16px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: var(--t-xs); }
.footer-bottom ul { display: flex; gap: 1.5rem; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (subtle, one treatment only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.notice { border-left: 3px solid var(--signal); background: var(--mist); padding: 1rem 1.25rem; font-size: var(--t-sm); color: var(--slate); border-radius: 0 var(--radius) var(--radius) 0; }
.section--dark .notice, .section--navy .notice, .page-hero .notice { background: rgba(255,255,255,.04); color: var(--slate-light); border-color: var(--cyan); }
.two-col { columns: 2; column-gap: var(--gutter); }
@media (max-width: 700px) { .two-col { columns: 1; } }
.err-code { font-size: clamp(6rem, 20vw, 14rem); font-weight: 200; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(237,98,57,.7); }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Brand accents ---------- */
.brand-rule { display: block; width: 64px; height: 3px; background: var(--brand-gradient); border-radius: 2px; margin-bottom: 1.5rem; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient); opacity: .9; }
.btn--primary { background: var(--brand); box-shadow: 0 8px 22px -10px rgba(203, 33, 43, .7); }
.btn--primary:hover { background: var(--brand-deep); }
.concept .status { color: #ffb39c; }
.cta-band .lede-strong { color: var(--white); font-size: var(--t-md); }

/* SEO copy block */
.seo-copy { columns: 2; column-gap: calc(var(--gutter) * 1.5); color: var(--slate); }
.seo-copy p { break-inside: avoid; }
@media (max-width: 800px) { .seo-copy { columns: 1; } }
.kw-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.kw-list a { display: inline-block; font-size: var(--t-xs); padding: .3rem .75rem; border: 1px solid var(--line-light); border-radius: 999px; color: var(--slate); text-decoration: none; background: var(--white); }
.kw-list a:hover { border-color: var(--brand); color: var(--brand); }

/* Forms on dark surfaces */
.form--dark .field label, .form--dark .field .label, .form--dark legend { color: var(--white); }
.form--dark .field .hint, .form--dark .form-note { color: var(--slate-light); }
.form--dark .form-note a { color: #ffb39c; }
.form--dark .field .error { color: #ffb4ab; }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: var(--white); }
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: #8a909b; }
.form--dark .field select option { color: var(--ink); }
.form--dark .field input:focus, .form--dark .field select:focus, .form--dark .field textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(237, 98, 57, .25); }
.form--compact .field textarea { min-height: 110px; }
.cta-band .col-body.col-form { grid-column: 7 / span 6; }
@media (max-width: 900px) { .cta-band .col-body.col-form { grid-column: 1 / -1; } }
.cta-band--form .col-head { grid-column: 1 / span 5; align-self: start; }
.cta-band--form h2 { font-size: var(--t-2xl); }
.cta-contact { margin-top: 2rem; display: grid; gap: .35rem; color: var(--slate-light); font-size: var(--t-sm); }
.cta-contact a { color: var(--white); text-decoration: none; font-weight: 500; }
.cta-contact a:hover { color: #ffb39c; }

/* Digital marketing channel grid (home) */
.channels { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.channels li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.channels li:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--line-light); }
.channels h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; margin-bottom: .35rem; }
.channels p { margin: 0; color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr 1fr; } .channels li { padding-left: 0 !important; border-left: 0 !important; } .channels li:nth-child(2n) { padding-left: 1.5rem !important; border-left: 1px solid var(--line-light) !important; } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } .channels li:nth-child(2n) { padding-left: 0 !important; border-left: 0 !important; } }
.cta-band .form-note { font-size: var(--t-xs); }
.site-footer .social { display: flex; gap: .5rem; }

/* ---------- Home slider ---------- */
.hero { min-height: 0; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2rem; align-items: stretch; }
.hero > .wrap { display: flex; flex-direction: column; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gutter); align-items: center; min-height: clamp(420px, 62vh, 600px); }
html:not(.js) .slide + .slide { display: none; }
.js .slide { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide-title { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.slide-title .line { display: block; }
.slide-title .line + .line { font-weight: 600; }
.slide .hero-copy { margin-top: 1.5rem; }
.slide .btn-row { margin-top: 2rem; }
.slide-art { position: relative; }
.slide-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.js .slide-text > *, .js .slide-art img { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.loaded .slide.is-active .slide-text > *, .js.loaded .slide.is-active .slide-art img { opacity: 1; transform: none; }
.js.loaded .slide.is-active .slide-text > :nth-child(2) { transition-delay: .1s; }
.js.loaded .slide.is-active .slide-text > :nth-child(3) { transition-delay: .2s; }
.js.loaded .slide.is-active .slide-art img { transition-delay: .15s; transition-duration: 1s; }
@media (prefers-reduced-motion: reduce) {
  .js .slide, .js .slide-text > *, .js .slide-art img { transition: none !important; transform: none !important; }
  .js .slide.is-active .slide-text > *, .js .slide.is-active .slide-art img { opacity: 1; }
}
.slider-nav { display: flex; align-items: stretch; gap: 0; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--line-dark); }
.slider-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; list-style: none; }
.slider-tab { position: relative; width: 100%; text-align: left; background: none; border: 0; color: var(--slate-light); padding: 1.1rem 1rem 1rem 0; cursor: pointer; font-size: var(--t-sm); font-weight: 500; }
.slider-tab small { display: block; font-size: var(--t-xs); font-weight: 400; color: #7d8390; margin-top: .15rem; }
.slider-tab::before { content: ""; position: absolute; left: 0; right: 1rem; top: -1px; height: 2px; background: transparent; }
.slider-tab .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--brand-gradient); }
.slider-tab[aria-current="true"] { color: var(--white); }
.slider-tab[aria-current="true"] .bar { width: calc(100% - 1rem); }
.slider-tab:hover { color: var(--white); }
.is-playing .slider-tab[aria-current="true"] .bar { width: 0; animation: slideprogress var(--slide-ms, 7000ms) linear forwards; }
@keyframes slideprogress { to { width: calc(100% - 1rem); } }
.slider-controls { display: flex; align-items: center; gap: .4rem; padding-left: 1rem; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.slider-btn:hover { border-color: var(--ember); color: var(--ember); }
.slider-btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; min-height: 0; align-content: start; }
  .slide-art { order: -1; max-width: 460px; }
  .slider-tabs { grid-template-columns: repeat(4, auto); overflow-x: auto; gap: 1.25rem; scrollbar-width: none; }
  .slider-tab small { display: none; }
  .slider-tab { padding-right: 0; white-space: nowrap; }
}
@media (max-width: 560px) { .slider-tabs { display: none; } .slider-nav { justify-content: flex-end; } .slide-art { max-width: 100%; } }

/* ---------- Thumbnail tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) var(--gutter); list-style: none; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile a { display: block; text-decoration: none; color: inherit; }
.tile .thumb { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--mist); aspect-ratio: 16 / 10; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile a:hover .thumb img { transform: scale(1.035); }
.tile h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.015em; margin: 1rem 0 .35rem; transition: color .2s; }
.tile a:hover h3 { color: var(--brand); }
.tile p { margin: 0; color: var(--slate); font-size: var(--t-sm); }
.section--dark .tile p, .section--navy .tile p { color: var(--slate-light); }
.section--dark .tile .thumb, .section--navy .tile .thumb { border-color: var(--line-dark); }
@media (max-width: 1000px) { .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles, .tiles--3 { grid-template-columns: 1fr; } }

/* Product concept cards with image */
.concept { padding: 0; min-height: 0; }
.concept .concept-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.concept--wide .concept-img { aspect-ratio: 16 / 7; }
.concept .concept-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.concept:hover .concept-img img { transform: scale(1.03); }
.concept .concept-body { padding: 1.5rem 1.75rem 1.75rem; }
.concept h3 { margin-top: 0; }
.concept .status { top: 1rem; right: 1rem; background: rgba(18,20,25,.85); z-index: 1; }

/* Page hero with illustration */
.page-hero--art .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
.page-hero--art .hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
@media (max-width: 900px) { .page-hero--art .wrap { grid-template-columns: 1fr; } .page-hero--art .hero-art { max-width: 440px; } }

/* Article card thumbnails */
.article-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-light); margin-bottom: 1rem; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card { border-top: 0; padding-top: 0; }
.concept--wide .concept-img img { object-position: center 35%; }
