/* ==========================================================================
   TipnTag Holdings, styles
   Light, clean layout in Poppins. Sections are separated by spacing,
   soft shadows and subtle background tints (no rules or divider lines).
   Logical properties throughout so Arabic (RTL) mirrors correctly.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: #faf9f6;          /* warm off-white sections */
  --tint: #f4f2ec;            /* warm tint for cards on white */
  --tint-brand: #edf3f7;      /* navy tint (from the logo colour) */

  --text: #1f2328;
  --muted: #6b7280;           /* secondary text on white / off-white */
  --muted-2: #565d69;         /* secondary text on tinted surfaces (AA) */

  --brand: #034668;           /* logo navy */

  --gold: #c8a45e;            /* decorative gold */
  --gold-text: #84631a;       /* gold for text/buttons, AA on light backgrounds */
  --btn-bg: #84631a;
  --btn-bg-hover: #6a5014;
  --btn-text: #ffffff;

  --field-border: #8a9099;    /* functional form-field edge (3:1 against white) */

  --shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.05), 0 6px 18px -8px rgba(31, 35, 40, 0.12);
  --shadow-md: 0 2px 4px rgba(31, 35, 40, 0.05), 0 20px 40px -18px rgba(3, 70, 104, 0.28);
  --radius: 18px;
  --radius-sm: 12px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Arabic: Poppins has no Arabic glyphs, so the browser falls back to a system Arabic face. */
html[lang="ar"] {
  --font: "Poppins", "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif;
}
html[lang="ar"] body { line-height: 1.9; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.4; }
html[lang="ar"] * { letter-spacing: normal !important; text-transform: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.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;
}

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 400;
  padding: 0.7rem 1.1rem; background: var(--brand); color: #fff;
  font-weight: 600; border-radius: 8px; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(31, 35, 40, 0.22); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
.ctl {
  min-height: 42px; padding: 0 1.1rem;
  background: var(--tint); border: 0; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  transition: background-color 0.2s, color 0.2s;
}
.ctl:hover { background: var(--tint-brand); color: var(--brand); }

/* Nav: mobile = panel under the header */
.nav {
  position: absolute; inset-block-start: 100%; inset-inline: 0;
  display: none;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--bg);
  box-shadow: 0 24px 40px -22px rgba(31, 35, 40, 0.3);
}
.nav.is-open { display: block; }
.nav a {
  display: block; padding: 0.9rem 1rem; border-radius: var(--radius-sm);
  font-size: 1.25rem; font-weight: 500;
}
.nav a:hover { background: var(--tint); }
.nav a[aria-current="true"] { color: var(--brand); background: var(--tint-brand); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: block; padding: 0; background: none; box-shadow: none; margin-inline-start: auto; }
  .nav ul { display: flex; gap: 0.25rem; }
  .nav a { padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.92rem; color: var(--muted-2); transition: color 0.2s, background-color 0.2s; }
  .nav a:hover { color: var(--brand); background: var(--tint-brand); }
  .nav a[aria-current="true"] { color: var(--brand); background: var(--tint-brand); font-weight: 600; }
  .header-actions { margin-inline-start: 0; }
}
@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
}

html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav { position: static; display: block; padding: 0; box-shadow: none; }
html:not(.js) .nav ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
html:not(.js) .nav a { font-size: 1rem; padding: 0.3rem 0.75rem; }
html:not(.js) .site-header { position: static; height: auto; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 54px; padding: 0 1.8rem;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 22px -12px rgba(132, 99, 26, 0.7); }
.btn--primary:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn--soft { background: var(--tint); color: var(--text); }
.btn--soft:hover { background: var(--tint-brand); color: var(--brand); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .flip { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem;
  margin-block-end: clamp(1.75rem, 4vw, 3rem);
}
.hero-meta span {
  padding: 0.4rem 1rem; border-radius: 999px;
  background: var(--tint-brand); color: var(--brand);
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 0.6rem + 6vw, 6.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero .h1-b { color: var(--brand); }
html[lang="ar"] .hero h1 { max-width: 16ch; line-height: 1.35; }

.hero-foot { display: grid; gap: 2rem; margin-block-start: clamp(2.25rem, 5vw, 4rem); }
.hero-sub { max-width: 34rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.7; color: var(--muted-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
@media (min-width: 900px) {
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; gap: 4rem; }
}

/* ---------- Brand ticker ---------- */
.ticker {
  direction: ltr;
  overflow: hidden;
  padding-block: 1.4rem;
  background: var(--tint-brand);
  display: grid; gap: 0.2rem;
}
.ticker__row { display: flex; width: max-content; animation: marquee 220s linear infinite; }
.ticker__row--rev { animation-direction: reverse; animation-duration: 260s; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__item {
  white-space: nowrap;
  padding-inline: clamp(1.1rem, 2.6vw, 2.2rem);
  font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem);
  line-height: 1.35;
  color: var(--brand);
}
.ticker__row--rev .ticker__item { color: #5d8196; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem) 1.5rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.6rem; }
.stat dt { color: var(--muted); }
.stat__num {
  font-weight: 600;
  font-size: clamp(2.8rem, 1rem + 5.4vw, 5.6rem);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--brand);
  font-variant-numeric: lining-nums;
}
.stat__num::after { content: attr(data-suffix); color: var(--gold-text); }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--alt { background: var(--bg-alt); }

.split { display: grid; gap: 1.5rem; }
.sec-label { display: flex; gap: 0.9rem; color: var(--muted); align-self: start; }
.sec-num { color: var(--gold-text); font-weight: 600; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 2.4fr) minmax(0, 9.6fr); gap: 3rem; }
  .sec-label { position: sticky; inset-block-start: calc(var(--header-h) + 28px); }
}

.section-title { font-size: clamp(2rem, 1rem + 3vw, 3.6rem); line-height: 1.1; letter-spacing: -0.03em; }
html[lang="ar"] .section-title { line-height: 1.35; }
.lead { margin-block-start: 1.1rem; max-width: 40rem; font-size: 1.1rem; line-height: 1.7; color: var(--muted); }

/* ---------- About ---------- */
.statement {
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem);
  line-height: 1.28; letter-spacing: -0.025em; font-weight: 500;
  max-width: 26em;
}
html[lang="ar"] .statement { line-height: 1.6; }
.two-col { display: grid; gap: 1.25rem; margin-block-start: clamp(2rem, 4vw, 3rem); }
.two-col p { max-width: 30rem; color: var(--muted); }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.block { margin-block-start: clamp(3.5rem, 7vw, 5.5rem); }
.block__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; }
.block__intro { margin-block-start: 0.6rem; max-width: 34rem; color: var(--muted); }

.defs { margin-block-start: 1.75rem; display: grid; gap: 0.9rem; }
.defs > div { padding: 1.4rem 1.5rem; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.defs dt { font-weight: 600; color: var(--brand); margin-block-end: 0.25rem; }
.defs dd { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 760px) { .defs { grid-template-columns: 1fr 1fr; gap: 1rem; } }

.benefits { margin-block-start: 1.75rem; display: grid; gap: 0.9rem; }
.benefits li { padding: 1.75rem; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.benefits h4 { font-size: 1.2rem; letter-spacing: -0.02em; margin-block-end: 0.5rem; color: var(--brand); }
.benefits p { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------- What We Hold ---------- */
.hold-list { margin-block-start: clamp(2.25rem, 5vw, 3.5rem); display: grid; gap: 0.9rem; }
.hold-row {
  display: grid; gap: 0.4rem 1.25rem;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: start;
  padding: 1.6rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: background-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.hold-row:hover { background: var(--bg); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hold-row .idx { color: var(--gold-text); font-weight: 600; font-size: 0.9rem; padding-block-start: 0.3rem; }
.hold-row h3 { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem); line-height: 1.25; letter-spacing: -0.02em; grid-column: 2; }
.hold-row p { grid-column: 2; color: var(--muted-2); max-width: 32rem; font-size: 0.97rem; }
.hold-icon { grid-column: 3; grid-row: 1; color: var(--brand); }
@media (min-width: 900px) {
  .hold-row { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.1fr) 3rem; gap: 0 2rem; align-items: center; padding: 1.75rem 2rem; }
  .hold-row .idx { padding: 0; }
  .hold-row p { grid-column: 3; }
  .hold-icon { grid-column: 4; justify-self: end; }
}

/* ---------- Portfolio ---------- */
.p-controls { margin-block-start: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.1rem; }
.search { max-width: 34rem; }
.search input {
  width: 100%; min-height: 58px; padding: 0 1.4rem;
  background: var(--bg); border: 1px solid var(--field-border); border-radius: 999px;
  font-size: 1rem;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:hover { border-color: var(--brand); }
.search input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 999px; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.15rem;
  background: var(--bg); box-shadow: var(--shadow-sm); border: 0; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { background: var(--tint-brand); color: var(--brand); }
.tab[aria-pressed="true"] { background: var(--brand); color: #fff; }
.tab__count { font-size: 0.74rem; font-weight: 500; color: var(--muted-2); }
.tab[aria-pressed="true"] .tab__count { color: #cfe0ea; }

.results-count { margin-block: 1.75rem 0; color: var(--muted); }

.group { margin-block-start: 2.5rem; }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block-end: 1rem; }
.group__head h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem); letter-spacing: -0.025em; color: var(--brand); }
.group__count { font-size: 0.85rem; font-weight: 500; color: var(--gold-text); }

.group ul { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 520px) { .group ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; } }

/* Square brand cards */
.card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.35rem;
  padding: 0.9rem 0.9rem 0.8rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover, .card:focus-within { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__logo { position: relative; flex: 1 1 0; min-height: 0; width: 100%; display: grid; place-items: center; }
.card__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card__initials {
  display: grid; place-items: center;
  width: min(60%, 96px); aspect-ratio: 1; border-radius: 20px;
  background: var(--tint-brand); color: var(--brand);
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em;
}
.card__name {
  width: 100%;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__desc {
  display: none;
  width: 100%;
  font-size: 0.78rem; line-height: 1.4; color: var(--muted-2);
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 520px) { .card__desc { display: -webkit-box; } }
.card__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 30px; padding: 0 0.85rem; margin-block-start: 0.1rem;
  border-radius: 999px;
  background: var(--tint-brand); color: var(--brand);
  font-size: 0.78rem; font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
a.card__link::after { content: ""; position: absolute; inset: 0; }   /* whole card is the click target */
.card:hover a.card__link, a.card__link:focus-visible { background: var(--brand); color: #fff; }
.card__link svg { transition: transform 0.25s var(--ease); }
.card:hover .card__link svg { transform: translate(2px, -2px); }
.card__link.is-none { visibility: hidden; }          /* keeps cards the same height until a URL is added */
a.card__link:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.empty { padding-block: clamp(3rem, 8vw, 5rem); }
.empty h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.empty p { margin-block: 0.6rem 1.4rem; color: var(--muted); }
.noscript-note { padding-block: 1rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { margin-block-start: clamp(2.25rem, 5vw, 3.5rem); display: grid; gap: 0.9rem; }
.step { padding: 1.75rem; background: var(--bg-alt); border-radius: var(--radius); }
.step .idx {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--bg); box-shadow: var(--shadow-sm); color: var(--gold-text);
  font-size: 0.85rem; font-weight: 600;
}
.step h3 { margin-block: 1.25rem 0.5rem; font-size: 1.5rem; letter-spacing: -0.025em; color: var(--brand); }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* ---------- Contact ---------- */
.contact-body { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.mail-link {
  display: inline-block; margin-block-start: 2rem;
  font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.15rem, 0.5rem + 1.8vw, 1.9rem);
  line-height: 1.2; overflow-wrap: anywhere;
  color: var(--brand);
  transition: color 0.2s;
}
.mail-link:hover { color: var(--gold-text); }
.contact-details { margin-block-start: 2rem; }
.contact-details dt { color: var(--muted); margin-block-end: 0.2rem; }
.contact-details dd { font-size: 1.1rem; font-weight: 500; }

.contact-form { display: grid; gap: 1.25rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.field { display: grid; gap: 0.4rem; }
.field label { color: var(--muted-2); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1.1rem;
  background: var(--bg); border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  font-size: 1rem; resize: vertical;
  transition: border-color 0.2s;
}
.field textarea { min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--radius-sm); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.contact-form .btn { justify-self: start; margin-block-start: 0.4rem; }
.form-note { font-size: 0.88rem; color: var(--muted-2); }
.form-status { min-height: 1.4em; font-size: 0.92rem; color: var(--brand); font-weight: 500; }
.form-status.is-error { color: #b3261e; }
@media (min-width: 1100px) { .contact-body { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; background: var(--tint-brand); }
.footer-top { display: grid; gap: 2rem; }
.footer-logo { height: 88px; width: auto; }
.footer-tagline { margin-block-start: 1.25rem; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; max-width: 20em; color: var(--brand); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.footer-nav a { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; color: var(--text); font-size: 0.95rem; transition: background-color 0.2s, color 0.2s; }
.footer-nav a:hover { background: var(--bg); color: var(--brand); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto; align-items: end; } }
.footer-legal { margin-block-start: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; font-size: 0.88rem; line-height: 1.7; color: var(--muted-2); }
.footer-bottom { display: grid; gap: 0.5rem; margin-block-start: 1.25rem; font-size: 0.85rem; color: var(--muted-2); }
@media (min-width: 760px) { .footer-bottom { grid-template-columns: 1fr auto; gap: 2rem; } }

/* ---------- Scroll reveal (JS only) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), background-color 0.3s, box-shadow 0.3s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hold-row.reveal.is-visible:hover { transform: translateY(-3px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .ticker__row { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .hold-row:hover, .card:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn--primary { border: 1px solid ButtonText; }
}
