/* =========================================================
   VIDEO EDITOR PORTFOLIO — Dark / Cinematic theme
   Change the main colors below in :root
   ========================================================= */

:root {
  --bg:        #0a0a0c;   /* main background */
  --bg-alt:    #101014;   /* alternate section background */
  --surface:   #16161c;   /* cards */
  --border:    #26262f;
  --text:      #f4f4f6;
  --muted:     #9a9aa8;
  --accent:    #ff4d3d;   /* highlight color (change freely) */
  --accent-2:  #ff8a3d;
  --radius:    16px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, .nav__logo, .footer__logo { font-family: 'Sora', sans-serif; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: .98rem;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 1px solid transparent;
}
.btn--primary { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 30px -8px var(--accent); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -8px var(--accent); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-solid {
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-weight: 800; font-size: 1.25rem; }
.nav__logo-dot { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--text); }
.nav__cta {
  color: var(--text) !important; border: 1px solid var(--border);
  padding: 9px 20px; border-radius: 100px; transition: border-color .2s, background .2s;
}
.nav__cta:hover { border-color: var(--accent); background: rgba(255,77,61,.1); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 75% 20%, rgba(255,77,61,.18), transparent 70%),
    radial-gradient(50% 50% at 15% 85%, rgba(255,138,61,.14), transparent 70%),
    var(--bg);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px 80px; }
.hero__eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .25em; font-size: .8rem; margin-bottom: 22px; }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; line-height: 1.02; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 620px; margin: 26px 0 34px; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.stat__num::after { content: '+'; color: var(--accent); }
.stat__label { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; display: flex; justify-content: center; }
.hero__scroll span { width: 4px; height: 8px; background: var(--accent); border-radius: 4px; margin-top: 8px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Page header (sub-pages) ---------- */
.page-hero { position: relative; padding: 150px 0 60px; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 80% at 80% 0%, rgba(255,77,61,.16), transparent 70%),
    var(--bg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .22em; font-size: .78rem; margin-bottom: 14px; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.page-hero__desc { color: var(--muted); max-width: 620px; margin-top: 16px; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 60px 0 110px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .22em; font-size: .78rem; margin-bottom: 14px; }
.section__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.section__desc { color: var(--muted); margin-top: 16px; }

/* ---------- Collection cards (home -> sub-pages) ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.collection {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); aspect-ratio: 4 / 3;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.collection:hover { transform: translateY(-6px); border-color: rgba(255,77,61,.5); box-shadow: 0 22px 55px -22px rgba(255,77,61,.55); }
.collection__img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #000; transition: transform .5s var(--ease); }
.collection:hover .collection__img { transform: scale(1.06); }
.collection__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.85) 100%); }
.collection__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.collection__count { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.collection__title { font-size: 1.5rem; font-weight: 800; margin: 6px 0 4px; }
.collection__desc { color: var(--muted); font-size: .92rem; }
.collection__arrow { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 1.1rem; transition: background .3s, transform .3s; }
.collection:hover .collection__arrow { background: var(--accent); transform: translate(2px,-2px); }

/* ---------- Video / image grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--wide { grid-template-columns: repeat(2, 1fr); }        /* long-form 16:9 */
.grid--vertical { grid-template-columns: repeat(4, 1fr); }    /* shorts 9:16 */
.grid--thumbs { grid-template-columns: repeat(3, 1fr); }      /* thumbnails 16:9 */

.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  aspect-ratio: 16 / 9; cursor: pointer;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card--vertical { aspect-ratio: 9 / 16; }
.card:hover { transform: translateY(-6px); border-color: rgba(255,77,61,.5); box-shadow: 0 20px 50px -20px rgba(255,77,61,.5); }
.card__video, .card__img { width: 100%; height: 100%; object-fit: cover; background: #000; }

.card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s;
}
.card__play::before { content: ''; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.card:hover .card__play { background: var(--accent); transform: translate(-50%,-50%) scale(1.1); }
.card.is-playing .card__play { opacity: 0; pointer-events: none; }

.card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  transition: opacity .3s; pointer-events: none;
}
.card.is-playing .card__meta { opacity: 0; }
.card__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.card__title { font-size: 1.02rem; font-weight: 600; }

/* zoom icon for thumbnail cards */
.card__zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; transition: opacity .3s, background .3s; }
.card:hover .card__zoom { opacity: 1; }
.card:hover .card__zoom { background: var(--accent); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background-size: cover; background-position: center;
  background-color: var(--surface); border: 1px solid var(--border);
}
.about__glow { position: absolute; inset: -20% -10% -10% -20%; z-index: -1; background: radial-gradient(circle, rgba(255,77,61,.25), transparent 65%); filter: blur(40px); }
.about__text { color: var(--muted); margin-bottom: 18px; max-width: 560px; }
.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.skills li { background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px; font-size: .86rem; color: var(--text); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .3s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(255,77,61,.5); }
.service__icon { font-size: 2rem; margin-bottom: 16px; }
.service h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .94rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; max-width: 720px; margin: 0 auto; }
.contact__desc { color: var(--muted); margin: 16px 0 40px; }
.contact__actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.contact__btn {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 28px; transition: transform .3s var(--ease), border-color .3s; min-width: 280px;
}
.contact__btn:hover { transform: translateY(-4px); border-color: var(--accent); }
.contact__btn-icon { font-size: 1.6rem; }
.contact__btn span { display: flex; flex-direction: column; font-weight: 600; }
.contact__btn small { color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { font-weight: 800; font-size: 1.1rem; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: .86rem; }

/* ---------- Lightbox (thumbnails) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(5,5,7,.92); backdrop-filter: blur(6px); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__close { position: absolute; top: 24px; right: 30px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.4rem; cursor: pointer; transition: border-color .2s, transform .2s; }
.lightbox__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .collections { grid-template-columns: 1fr; }
  .grid--wide { grid-template-columns: 1fr; }
  .grid--vertical { grid-template-columns: repeat(2, 1fr); }
  .grid--thumbs { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 380px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(10,10,12,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0; transform: translateY(-120%); transition: transform .35s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 24px; }
  .nav__cta { margin: 8px 24px; text-align: center; }
  .nav__burger { display: flex; }

  .grid--vertical { grid-template-columns: 1fr; }
  .card--vertical { max-width: 340px; margin: 0 auto; width: 100%; }
  .grid--thumbs { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .hero__stats { gap: 32px; }
  .contact__btn { min-width: 100%; }
  .section { padding: 80px 0; }
}

/* =========================================================
   PROTECTED YOUTUBE EMBEDS
   ========================================================= */
.card[data-yt] { user-select: none; }
/* The YouTube iframe sits at the BOTTOM; the poster covers it (z-index 2)
   whenever the video is not actively playing, so YouTube's own title,
   channel name, share / "more videos" buttons and pause screen never show. */
/* Overscan-CLIP (not zoom): the iframe is made taller than the card and
   shifted up, so YouTube's top title/channel bar and bottom logo/buttons
   fall OUTSIDE the card and get clipped — the video itself stays full,
   uncropped and unzoomed (YouTube letterboxes it inside the taller frame).
   --yt-clip = how much of the top & bottom to hide. Raise it if any
   YouTube chrome still peeks in; lower it toward 0% to disable. */
/* Fixed-pixel clip: YouTube's chrome is a roughly fixed height, so a pixel
   value hides it on small AND large cards (a % was too small on small ones).
   No video is lost — only the empty letterbox band is clipped. */
.card { --yt-clip: max(82px, 13%); }
.card__player {
  position: absolute; left: 0; width: 100%;
  top: calc(-1 * var(--yt-clip));
  height: calc(100% + (var(--yt-clip) * 2));
  z-index: 1; background: #000;
}
.card__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.card__poster {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  background-size: cover; background-position: center; background-color: #000;
  -webkit-user-drag: none; transition: opacity .35s var(--ease);
}
/* Some YouTube thumbnails have thin black bars baked in. Add class
   "card--fill" to that <article> to zoom the poster slightly and crop them. */
.card--fill .card__poster { transform: scale(1.05); }
.card__shield { position: absolute; inset: 0; z-index: 3; display: none; cursor: pointer; background: transparent; }

/* Play button in the bottom-left corner (smaller) */
.card__play { top: auto; left: 14px; bottom: 14px; transform: none; width: 46px; height: 46px; z-index: 4; }
.card:hover .card__play { transform: scale(1.08); }

/* Loading spinner — immediate feedback while the player loads */
.card.is-loading .card__play { opacity: 1; pointer-events: none; background: transparent; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; animation: card-spin .8s linear infinite; }
.card.is-loading .card__play::before { display: none; }
@keyframes card-spin { to { transform: rotate(360deg); } }

/* Controls row BELOW the video (progress + volume), outside the player so
   nothing overlaps it. */
.vid__controls { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; }

/* --- volume --- */
.vid__vol { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.vid__vol-btn {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  cursor: pointer; transition: color .2s, background .2s;
}
.vid__vol-btn:hover { color: var(--text); background: rgba(255,255,255,.08); }
.vid__vol-bar { position: relative; width: 72px; height: 16px; cursor: pointer; touch-action: none; }
.vid__vol-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; margin-top: -2px; border-radius: 3px; background: rgba(255,255,255,.16); }
.vid__vol-fill { position: absolute; top: 50%; left: 0; height: 4px; margin-top: -2px; width: 100%; border-radius: 3px; background: var(--muted); pointer-events: none; }
.vid__vol-knob { position: absolute; top: 50%; left: 100%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--text); pointer-events: none; transition: transform .12s var(--ease); }
.vid__vol:hover .vid__vol-fill { background: var(--accent); }
.vid__vol-bar:hover .vid__vol-knob { transform: scale(1.25); }

/* --- progress (takes the remaining width) --- */
.vid__progress { position: relative; flex: 1 1 auto; height: 16px; cursor: pointer; touch-action: none; }
.vid__progress-track { position: absolute; top: 50%; left: 0; right: 0; height: 5px; margin-top: -2.5px; border-radius: 3px; background: rgba(255,255,255,.16); }
.vid__progress-fill { position: absolute; top: 50%; left: 0; height: 5px; margin-top: -2.5px; width: 0; border-radius: 3px; background: var(--accent); pointer-events: none; }
.vid__progress-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 1px 6px rgba(0,0,0,.55); pointer-events: none; transition: transform .12s var(--ease); }
.vid__progress:hover .vid__progress-track,
.vid__progress:hover .vid__progress-fill { height: 7px; margin-top: -3.5px; }
.vid__progress:hover .vid__progress-knob { transform: scale(1.25); }

/* Only while ACTUALLY playing: reveal the video, show shield + progress */
.card.is-playing .card__poster { opacity: 0; pointer-events: none; }
.card.is-playing .card__play { opacity: 0; pointer-events: none; }
.card.is-playing .card__shield { display: block; }

/* ---------- Contact: split Discord button (link + copy) ---------- */
.contact__btn--split { padding: 0; gap: 0; align-items: stretch; overflow: hidden; }
.contact__btn--split .contact__link {
  display: flex; align-items: center; gap: 16px; flex: 1;
  padding: 20px 24px; color: inherit;
}
.contact__copy {
  border: 0; border-left: 1px solid var(--border); background: transparent;
  color: var(--muted); cursor: pointer; padding: 0 20px; font-size: 1.15rem;
  transition: color .2s, background .2s; font-family: inherit;
}
.contact__copy:hover { color: var(--text); background: rgba(255,255,255,.05); }
.contact__copy.is-copied { color: var(--accent); }

/* =========================================================
   SHOWCASE — featured video + smaller ones, titles below
   ========================================================= */
.showcase { display: flex; flex-direction: column; gap: 44px; }
.showcase--center { align-items: center; }

.vid { margin: 0; }
.vid .card { width: 100%; }
.vid__cap { padding-top: 14px; }
.vid__cap--center { text-align: center; }
.vid__tag { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.vid__title { font-size: 1.05rem; font-weight: 600; margin-top: 4px; line-height: 1.3; }

/* Long-form: big featured + two smaller below */
.vid--featured { max-width: 900px; width: 100%; margin: 0 auto; }
.vid--featured .vid__title { font-size: 1.6rem; }
.showcase__row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 900px; width: 100%; margin: 0 auto; }

/* Shorts: featured 9:16 + row of three below */
.vid--featured-short { width: 330px; max-width: 100%; }
.vid--featured-short .vid__title { font-size: 1.35rem; }
.showcase__row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 720px; width: 100%; }

@media (max-width: 760px) {
  .showcase__row2 { grid-template-columns: 1fr; }
  .showcase__row3 { gap: 12px; }
  .vid--featured-short { width: 260px; }
  .vid--featured .vid__title { font-size: 1.35rem; }
}
@media (max-width: 460px) {
  .showcase__row3 { grid-template-columns: 1fr; max-width: 300px; justify-items: center; }
}

/* Fallback note when a video refuses to embed (YouTube error 101/150) */
.card__err {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 6; padding: 8px 14px; border-radius: 100px; white-space: nowrap;
  background: rgba(0,0,0,.78); color: #fff; font-size: .78rem; font-weight: 500;
  backdrop-filter: blur(6px); border: 1px solid var(--border);
}
