/* IBM Plex Sans Arabic is distributed under the SIL Open Font License.
   The unmodified fonts and their license are bundled in ../fonts/. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101216;
  --surface: #191c22;
  --surface-raised: #22262e;
  --surface-soft: #16191e;
  --header: rgba(16, 18, 22, .94);
  --text: #f4f3f0;
  --text-soft: #b6bac3;
  --text-faint: #9a9faa;
  --border: #2d313a;
  --border-strong: #4d525e;
  --accent: #ff927d;
  --accent-fill: #ff8d76;
  --accent-ink: #301910;
  --focus: #ffb8a6;
  --shadow: 0 24px 64px rgba(0, 0, 0, .18);
  --shell: min(1184px, calc(100% - 80px));
  --header-height: 80px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #fff;
  --surface-raised: #edf0f3;
  --surface-soft: #f2f3f5;
  --header: rgba(250, 250, 250, .95);
  --text: #20232a;
  --text-soft: #515964;
  --text-faint: #626b78;
  --border: #dfe2e7;
  --border-strong: #a7aeb9;
  --accent: #b63e28;
  --accent-fill: #ff8d76;
  --focus: #a33c26;
  --shadow: 0 24px 64px rgba(33, 42, 53, .08);
}

* { box-sizing: border-box; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button, input, select { border: 0; }
button { background: none; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 600; letter-spacing: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { color: #211612; background: #ffc8b9; }
.shell { width: var(--shell); 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;
}
.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; color: var(--accent-ink);
  background: var(--accent-fill); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

/* A quiet, legible navigation bar, with a usable name at every width. */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-height);
  border-bottom: 1px solid var(--border); background: var(--header);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-header.is-scrolled { box-shadow: 0 4px 22px rgba(0, 0, 0, .07); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 10px 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 13px; background: var(--accent-fill); color: var(--accent-ink);
  font: 700 24px/1 Arial, sans-serif;
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-size: 1.125rem; line-height: 1.5; font-weight: 600; }
.brand-copy small { font-size: .75rem; color: var(--text-faint); line-height: 1.6; }
.main-nav { display: flex; align-items: center; gap: 30px; color: var(--text-soft); font-size: .9375rem; }
.main-nav a { padding-block: 12px; position: relative; }
.main-nav a:hover, .main-nav .is-current { color: var(--text); }
.main-nav .is-current::after {
  content: ""; position: absolute; height: 3px; width: 16px;
  bottom: 2px; left: calc(50% - 8px); border-radius: 4px; background: var(--accent);
}
.header-actions, .hero-actions, .dialog-actions { display: flex; align-items: center; gap: 12px; }
.icon-button {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%; background: var(--surface);
}
.icon-button:hover { border-color: var(--border-strong); background: var(--surface-raised); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun, html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; max-width: 100%; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 10px;
  font-size: .9375rem; line-height: 1.6; font-weight: 600; text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--accent-ink); background: var(--accent-fill); }
.button-primary:hover { background: #ffa18d; }
.button-ghost, .button-more { border-color: var(--border); background: var(--surface); }
.button-ghost:hover, .button-more:hover { border-color: var(--border-strong); background: var(--surface-raised); }
.button-text { padding-inline: 12px; color: var(--text-soft); }
.button-text:hover { color: var(--text); background: var(--surface-soft); }
.button-small { min-height: 42px; padding: 8px 16px; font-size: .875rem; }
.button-youtube { color: var(--text); border-color: var(--border); background: var(--surface); }
.button-youtube:hover { border-color: var(--border-strong); }
.button-youtube svg { width: 20px; fill: #ff5e68; stroke: none; }

/* The title fits its column; Arabic letter spacing is never compressed. */
.hero {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: 44px;
}
.hero > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--text-soft); font-weight: 500; }
.eyebrow > span { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.hero h1 { margin: 18px 0; font-size: clamp(2.5rem, 1.5rem + 2vw, 3.375rem); line-height: 1.42; font-weight: 700; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-intro { margin: 0; max-width: 450px; color: var(--text-soft); font-size: 1.0625rem; line-height: 1.95; }
.hero-actions { margin-top: 26px; flex-wrap: wrap; gap: 8px; }
.play-dot { font-size: .75rem; line-height: 1; }
.hero-signature { display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: .8125rem; margin: 24px 0 0; }
.hero-signature > span { display: block; height: 1px; width: 24px; background: var(--border-strong); }

.featured-video {
  display: block; padding: 10px; border: 1px solid var(--border);
  border-radius: 20px; background: var(--surface); box-shadow: var(--shadow);
  transition: border-color 180ms ease, transform 180ms ease;
}
.featured-video:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.feature-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 8px 12px; color: var(--text-soft); font-size: .8125rem; }
.feature-heading > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.feature-number { color: var(--text-faint); font-size: .75rem; font-variant-numeric: tabular-nums; }
.featured-media, .video-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #08090b; }
.featured-media { border-radius: 12px; }
.featured-media > img, .video-thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.featured-video:hover .featured-media > img, .video-card-link:hover .video-thumb img { transform: scale(1.025); }
.duration-badge {
  position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 2;
  padding: 2px 7px; border-radius: 5px; color: #fff; background: rgba(0, 0, 0, .82);
  font-size: .8125rem; font-weight: 500; direction: ltr; line-height: 1.6; font-variant-numeric: tabular-nums;
}
.feature-play, .card-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  width: 54px; height: 54px; margin: auto; border-radius: 50%;
  color: #28201b; background: rgba(255, 255, 255, .96); box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  transition: transform 200ms ease;
}
.feature-play svg { width: 30px; height: 30px; fill: currentColor; }
.featured-video:hover .feature-play { transform: scale(1.08); }
.featured-caption { display: flex; align-items: center; gap: 18px; padding: 16px 10px 8px; }
.featured-caption > div { min-width: 0; flex: 1; }
.featured-caption h2 { font-size: 1.125rem; line-height: 1.65; margin: 5px 0 7px; font-weight: 600; }
.featured-caption p { color: var(--text-faint); font-size: .8125rem; line-height: 1.8; margin: 0; }
.feature-arrow { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--text-soft); }
.feature-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.topic-label { display: inline-flex; align-self: flex-start; color: var(--accent); font-size: .8125rem; font-weight: 500; line-height: 1.6; }

.channel-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 24px; border-block: 1px solid var(--border); }
.channel-strip-label { display: flex; align-items: center; gap: 14px; font-size: .9375rem; font-weight: 500; }
.strip-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text-soft); font: 600 1.125rem Arial, sans-serif; }
.channel-strip-label small { display: block; color: var(--text-faint); font-size: .75rem; font-weight: 400; }
.channel-stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; }
.channel-stats > div { display: flex; align-items: baseline; gap: 8px; }
.channel-stats dt { font-size: 1.5rem; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.channel-stats dd { color: var(--text-faint); margin: 0; font-size: .875rem; }

.video-library { padding-block: 52px 32px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-kicker { font-size: .8125rem; color: var(--accent); font-weight: 500; }
.section-heading h2 { margin: 4px 0 0; font-size: 1.875rem; line-height: 1.5; }
.section-heading p { margin: 0 0 6px; font-size: .875rem; color: var(--text-faint); }
.section-heading p strong { color: var(--text-soft); font-weight: 500; }
.library-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
.search-field { display: flex; align-items: center; min-width: 0; gap: 12px; padding-inline: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.search-field:focus-within, .sort-field:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-field svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--text-faint); stroke-width: 1.6; stroke-linecap: round; }
.search-field input { width: 100%; min-width: 0; min-height: 52px; padding: 10px 0; background: none; outline: none; font-size: 1rem; }
.search-field input::placeholder { color: var(--text-faint); opacity: 1; }
.search-field kbd { display: grid; width: 24px; height: 25px; place-items: center; flex-shrink: 0; border: 1px solid var(--border); border-radius: 5px; color: var(--text-faint); font: 13px Arial, sans-serif; }
.sort-field { display: flex; align-items: center; gap: 10px; max-width: 100%; padding-inline: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: .875rem; }
.sort-field > span { color: var(--text-faint); }
.sort-field select { min-width: 0; min-height: 52px; appearance: none; padding: 8px 4px; outline: none; background: transparent; font-size: .875rem; }
.sort-field svg { width: 16px; height: 16px; pointer-events: none; fill: none; stroke: var(--text-faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 26px; }
.video-card { min-width: 0; }
.video-card-link { display: block; height: 100%; border-radius: 13px; transition: transform 180ms ease; }
.video-card-link:hover { transform: translateY(-3px); }
.video-thumb { border: 1px solid var(--border); border-radius: 12px; }
.video-card-body { padding: 16px 2px 0; }
.video-card h3 { margin: 7px 0 12px; font-size: 1.0625rem; line-height: 1.7; font-weight: 500; }
.video-card-link:hover h3 { color: var(--accent); }
.video-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: 7px; row-gap: 0; font-size: .8125rem; color: var(--text-faint); line-height: 1.8; }
.card-play { width: 44px; height: 44px; font-size: .75rem; opacity: 0; }
.video-card-link:hover .card-play, .video-card-link:focus-visible .card-play { opacity: 1; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.button-more { min-width: 164px; }
.empty-state { padding: 48px 20px; margin-top: 24px; border: 1px dashed var(--border-strong); border-radius: 12px; text-align: center; background: var(--surface-soft); }
.empty-state > span { color: var(--text-faint); font-size: 2.5rem; }
.empty-state h3 { margin: 8px 0; font-size: 1.25rem; }
.empty-state p { margin: 0 0 20px; color: var(--text-soft); }

.product-callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 24px; padding: 32px; margin-block: 48px 64px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
}
.callout-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #34235e; color: #e5d8ff; font: 700 1.4rem Arial, sans-serif; }
.callout-copy > span { color: var(--text-faint); font-size: .8125rem; }
.callout-copy h2 { margin: 4px 0 8px; font-size: 1.5rem; line-height: 1.6; }
.callout-copy p { margin: 0; font-size: 1rem; color: var(--text-soft); }
.button-light { color: var(--accent-ink); background: var(--accent-fill); }
.button-light svg { transform: rotate(180deg); }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 1rem; font-weight: 500; }
.footer-brand span { color: var(--text-faint); font-size: .8125rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: .875rem; color: var(--text-soft); }
.footer-links a:hover { color: var(--accent); }
.copyright { margin: 0; color: var(--text-faint); font-size: .75rem; }

.video-dialog {
  position: fixed; inset: 0; width: min(960px, calc(100% - 40px)); max-width: none;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding: 0; margin: auto; overflow: visible;
  border: 1px solid var(--border-strong); border-radius: 16px; color: var(--text);
  background: var(--surface); box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
.video-dialog::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(8px); }
.dialog-shell { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; border-radius: inherit; }
.dialog-close-form { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 4; margin: 0; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; color: #fff; background: #17191e; }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dialog-content { padding: 24px; }
.dialog-heading { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.dialog-heading > div:first-child { flex: 1 1 380px; min-width: 0; }
.dialog-heading h2 { font-size: 1.375rem; line-height: 1.65; margin: 8px 0; }
.dialog-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-faint); font-size: .875rem; margin: 0; }
.dialog-actions { flex-wrap: wrap; }
.dialog-description { margin: 20px 0 0; color: var(--text-soft); font-size: 1rem; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; width: max-content;
  max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid var(--border-strong);
  border-radius: 10px; color: var(--text); background: var(--surface-raised);
  box-shadow: var(--shadow); font-size: .9375rem; text-align: center;
  opacity: 0; pointer-events: none; transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Content stays visible even when JavaScript or animation support is absent. */
.reveal-item { opacity: 1; }
.reveal-item.is-visible { animation: reveal-in 450ms ease both; }
@keyframes reveal-in { from { opacity: .65; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1040px) {
  :root { --shell: calc(100% - 48px); }
  .hero { gap: 32px; }
  .hero h1 { font-size: 2.75rem; }
  .main-nav { gap: 20px; }
  .channel-stats { gap: 24px; }
  .channel-stats > div { flex-direction: column; gap: 0; align-items: center; }
  .product-callout { grid-template-columns: auto minmax(0, 1fr); }
  .product-callout > .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; --shell: calc(100% - 40px); }
  .main-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px; }
  .hero-copy { max-width: 580px; }
  .hero h1 { font-size: 2.625rem; margin-block: 12px; }
  .hero-intro { max-width: 100%; font-size: 1rem; }
  .hero-actions { margin-top: 20px; }
  .hero-signature { display: none; }
  .featured-video { width: 100%; }
  .channel-strip { gap: 20px; }
  .channel-strip-label { font-size: .875rem; }
  .strip-mark { display: none; }
  .channel-stats { flex: 1; justify-content: space-around; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .library-toolbar { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .sort-field > span { display: none; }
  .sort-field { gap: 2px; padding-inline: 10px; }
  .search-field kbd { display: none; }
}
@media (max-width: 520px) {
  :root { --shell: calc(100% - 36px); --header-height: 68px; }
  .header-inner { gap: 8px 12px; padding-block: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; font-size: 22px; border-radius: 11px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .75rem; }
  .header-actions { gap: 8px; }
  .button-youtube span { display: none; }
  .button-youtube { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .icon-button { width: 42px; height: 42px; }
  .hero { padding-top: 26px; gap: 24px; }
  .eyebrow { font-size: .875rem; }
  .hero h1 { font-size: clamp(2rem, 8.7vw, 2.375rem); line-height: 1.45; }
  .hero-intro { font-size: 1rem; line-height: 1.85; }
  .hero-intro br { display: none; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions > .button { padding-inline: 14px; font-size: .875rem; }
  .hero-actions > .button-text { padding-inline: 6px; gap: 6px; }
  .hero-actions > .button-text svg { width: 17px; }
  .featured-video { padding: 8px; border-radius: 16px; }
  .feature-heading { padding: 2px 6px 10px; }
  .featured-caption { padding: 12px 6px 6px; gap: 12px; }
  .featured-caption h2 { font-size: 1rem; margin: 5px 0; }
  .featured-caption p { font-size: .75rem; }
  .feature-arrow { width: 30px; height: 30px; }
  .feature-play { width: 48px; height: 48px; }
  .channel-strip { flex-direction: column; gap: 16px; padding-block: 20px; }
  .channel-strip-label { font-size: .875rem; width: 100%; justify-content: space-between; }
  .channel-strip-label > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; width: 100%; column-gap: 12px; }
  .channel-stats { width: 100%; gap: 16px 0; }
  .channel-stats > div { flex: 1 1 5rem; border-inline-start: 1px solid var(--border); }
  .channel-stats > div:first-child { border-inline-start: 0; }
  .channel-stats dt { font-size: 1.375rem; }
  .channel-stats dd { font-size: .8125rem; }
  .video-library { padding-top: 36px; }
  .section-heading { align-items: center; margin-bottom: 18px; gap: 12px; }
  .section-heading h2 { font-size: 1.5rem; }
  .section-heading p { font-size: .8125rem; max-width: 90px; margin: 16px 0 0; }
  .library-toolbar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sort-field { justify-self: start; min-width: 174px; padding-inline: 12px; }
  .sort-field > span { display: block; font-size: .8125rem; }
  .sort-field select { min-height: 42px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 22px; }
  .video-card-body { padding-top: 12px; }
  .video-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
  .video-meta { font-size: .8125rem; }
  .product-callout { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 18px; margin-block: 32px 40px; }
  .product-callout > .button { grid-column: 1; justify-self: stretch; }
  .callout-icon { width: 52px; height: 52px; border-radius: 13px; }
  .callout-copy h2 { font-size: 1.375rem; }
  .footer-inner { gap: 24px; padding-block: 28px; }
  .footer-brand, .footer-links, .copyright { width: 100%; }
  .footer-links { gap: 18px; }
  .video-dialog { width: calc(100% - 16px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .dialog-shell { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .dialog-content { padding: 18px; }
  .dialog-heading h2 { font-size: 1.25rem; }
  .dialog-actions { gap: 8px; }
  .dialog-actions .button { padding-inline: 14px; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
