/* ============================================================
   WEITE Hardware — homepage styles
   Design tokens first; mobile-first responsive; BEM-ish naming.
   ============================================================ */

:root {
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #AEAEB2;
  --bg: #FFFFFF;
  --bg-gray: #FAFAFC;
  --bg-gray-2: #F5F5F7;
  --bg-dark: #161617;
  --bg-dark-2: #1D1D1F;
  --bg-black: #000000;
  --line: #E5E5EA;
  --line-dark: #D2D2D7;
  --accent: #F4A108;
  --accent-deep: #D98E06;
  --accent-dark: #B37405;
  --dark-txt: #86868B;
  --radius-card: 24px;
  --radius-tile: 16px;
  --radius-input: 14px;
  --font: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --pad-x: clamp(20px, 9.7vw, 140px);
  --pad-y: clamp(64px, 9vw, 130px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; padding: 0; }

/* ---------- shared type ---------- */
.h2 { font-size: clamp(34px, 4.5vw, 64px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; text-align: center; }
.h2--light { color: #F5F5F7; }
.h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(16px, 1.5vw, 21px); color: var(--ink-2); line-height: 1.6; max-width: 680px; text-align: center; margin-top: 18px; }
.lead--dark { color: var(--dark-txt); }
.alink { font-size: 16px; font-weight: 500; }
.alink--lg { font-size: 17px; margin-top: 44px; display: inline-block; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 100; }
.nav__bar {
  background: var(--bg-dark); height: 52px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--pad-x); position: relative; z-index: 2;
}
.nav__logo img { height: 22px; width: auto; display: block; }
.nav__links { display: flex; gap: clamp(18px, 2.8vw, 40px); align-items: center; }
.nav__link { color: var(--line-dark); font-size: 13px; font-weight: 400; transition: color .2s; }
.nav__link:hover { color: #FFFFFF; }
.nav__link--btn { color: #FFFFFF; }
.nav__lang { display: flex; gap: 8px; align-items: center; color: var(--line-dark); font-size: 13px; }
.chev { font-size: 11px; }
.langmenu {
  position: absolute; top: 52px; right: var(--pad-x); z-index: 90;
  background: var(--bg-dark-2); border-radius: 0 0 14px 14px; min-width: 170px;
  display: none; flex-direction: column; padding: 6px 0;
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.5);
}
.langmenu.is-open { display: flex; }
.langmenu a { padding: 12px 20px; font-size: 13px; color: #F5F5F7; }
.langmenu a:hover { background: #2A2A2C; color: #FFFFFF; }
.langmenu a.is-active { color: var(--accent); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 20px; height: 2px; background: #FFFFFF; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 52px;
  background: var(--bg-dark-2);
  box-shadow: 0 40px 60px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__inner {
  display: flex; gap: clamp(40px, 6vw, 90px);
  padding: 44px var(--pad-x) 52px;
}
.mega__col { display: flex; flex-direction: column; gap: 12px; }
.mega__col h4 { font-size: 12px; font-weight: 400; color: var(--dark-txt); }
.mega__gap { margin-top: 14px; }
.mega__col a { font-size: 15px; font-weight: 500; color: #F5F5F7; }
.mega__col a:hover { color: var(--accent); }
.mega__all { color: var(--accent-deep) !important; font-size: 13px !important; margin-top: 14px; }

/* ============================================================
   HERO + CAROUSEL
   ============================================================ */
.hero {
  background: var(--bg-gray);
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(24px, 3vw, 44px) 20px 28px; text-align: center;
}
.hero__eyebrow { font-size: clamp(12px, 1vw, 14px); font-weight: 600; letter-spacing: 2.5px; color: var(--accent-deep); min-height: 1.4em; }
.hero__title { font-size: clamp(38px, 5.4vw, 74px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 12px; min-height: 1.1em; }
.hero__sub { font-size: clamp(15px, 1.5vw, 21px); color: var(--ink-2); margin-top: 10px; max-width: 700px; line-height: 1.5; min-height: 1.5em; }
.hero__links { display: flex; gap: 36px; margin-top: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero__links .alink { font-size: clamp(16px, 1.4vw, 19px); }
.hero__hint { font-size: 12px; color: var(--ink-3); margin-top: 10px; padding-bottom: 14px; }

.carousel {
  position: relative; width: min(1000px, 100%); height: clamp(290px, 36vw, 500px);
  margin-top: 10px; perspective: 1400px; touch-action: pan-y;
}
.carousel__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s ease-out; }
.carousel__float { position: absolute; inset: 0; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .carousel__float { animation: none; } }
.carousel__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(48px); pointer-events: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.carousel__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.carousel__slide.is-left { transform: translateX(-48px); }
.carousel__slide img {
  max-width: min(540px, 74%); max-height: 92%; width: auto; height: auto;
  filter: drop-shadow(0 50px 60px rgba(0,0,0,.28));
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.06); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.carousel__btn:hover { background: rgba(0,0,0,.14); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__dots { display: flex; gap: 12px; margin-top: 12px; justify-content: center; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line-dark);
  transition: background .25s, transform .25s; padding: 0;
}
.carousel__dots button:hover { background: var(--ink-3); }
.carousel__dots button.is-active { background: var(--ink); transform: scale(1.15); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--pad-y) var(--pad-x);
}
.section--white { background: var(--bg); }
.section--gray  { background: var(--bg-gray); }
.section--black { background: var(--bg-black); }
.section--dark  { background: var(--bg-dark); }
.section--band  { padding: clamp(48px, 6vw, 90px) var(--pad-x); }

/* media cards */
.media-card {
  position: relative; width: min(1000px, 100%); aspect-ratio: 1000 / 520;
  border-radius: var(--radius-card); overflow: hidden; background: #0D0D0E;
  margin-top: clamp(36px, 5vw, 60px);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
}
.media-card__ph { font-size: 13px; letter-spacing: 1.5px; color: #48484A; text-align: center; padding: 0 16px; }
.media-card__tag { position: absolute; left: clamp(16px, 4vw, 40px); bottom: clamp(14px, 3vw, 32px); font-size: 14px; font-weight: 600; letter-spacing: 2px; color: var(--accent); }
.media-card--crop img.crop-damper {
  position: absolute; width: 227%; max-width: none; left: 24%; top: -251%;
}

/* stats */
.stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 8vw, 130px); margin-top: clamp(36px, 5vw, 56px); text-align: center;
}
.stats li { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.stats strong { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.stats span { font-size: 15px; color: var(--ink-2); }
.stats--dark { margin-top: 0; }
.stats--dark strong { font-size: clamp(34px, 3.6vw, 52px); }

/* certs */
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.certs span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg); }

/* big number feature */
.bignum { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 7vw, 110px); flex-wrap: wrap; }
.bignum__num { font-size: clamp(96px, 14vw, 200px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.bignum__num span { color: var(--accent); }
.bignum__txt { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.bignum__txt p { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.65; }

/* tiles */
.tiles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; width: 100%; margin-top: clamp(40px, 6vw, 70px);
}
.tile {
  background: var(--bg-gray-2); border-radius: var(--radius-card); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.tile:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 60px -30px rgba(0,0,0,.18); }
.tile h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.015em; }
.tile p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.tile .alink { font-size: 15px; }
.tile__media { align-self: center; margin-top: 14px; height: 170px; display: flex; align-items: center; justify-content: center; }
.tile__media img { max-width: 250px; max-height: 170px; width: auto; height: auto; }
.tile__media--ph { width: min(250px, 100%); border-radius: var(--radius-tile); background: #EBEBED; font-size: 12px; color: var(--ink-3); }

/* applications */
.apps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px; width: 100%; margin-top: clamp(40px, 6vw, 60px);
}
.app {
  background: var(--bg-dark-2); border-radius: var(--radius-card); height: clamp(140px, 14vw, 190px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s;
}
.app:hover { transform: translateY(-8px); background: #2A2A2C; }
.app span { font-size: 16px; font-weight: 600; color: #F5F5F7; }

/* blog */
.posts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px; width: 100%; margin-top: clamp(36px, 5vw, 56px);
}
.post {
  background: var(--bg); border-radius: var(--radius-card); padding: clamp(26px, 2.6vw, 36px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.post:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.15); }
.post__cat { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--accent-deep); }
.post h3 { font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.post time { font-size: 13px; color: var(--ink-3); }

/* inquiry */
.inquiry { width: min(760px, 100%); margin-top: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.inquiry__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inquiry input, .inquiry select, .inquiry textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-input);
  padding: 17px 20px; width: 100%; outline: none; transition: border-color .2s;
}
.inquiry input::placeholder, .inquiry textarea::placeholder { color: var(--ink-3); }
.inquiry select:invalid { color: var(--ink-3); }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { border-color: var(--accent); }
.inquiry textarea { resize: vertical; }
.pill {
  background: var(--accent); color: var(--ink); font-weight: 600; font-size: 16px;
  padding: 14px 30px; border-radius: 999px; align-self: center; margin-top: 12px;
  transition: filter .2s, transform .2s;
}
.pill:hover { filter: brightness(1.07); transform: translateY(-1px); }
.pill--sm { padding: 12px 24px; font-size: 14px; margin-top: 0; }
.newsletter { display: flex; gap: 12px; align-items: center; margin-top: clamp(36px, 5vw, 56px); flex-wrap: wrap; justify-content: center; }
.newsletter span { font-size: 15px; color: var(--ink-2); }
.newsletter form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.newsletter input {
  font-family: inherit; font-size: 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px; width: 240px; outline: none;
}
.newsletter input:focus { border-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-gray-2); padding: clamp(36px, 5vw, 56px) var(--pad-x) 40px; }
.footer__cols { display: flex; gap: clamp(32px, 5.5vw, 80px); flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; width: 300px; }
.footer__brand img { height: 30px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 130px; }
.footer__col h4 { font-size: 12px; font-weight: 600; color: var(--ink); }
.footer__col a { font-size: 12px; color: var(--ink-2); }
.footer__col a:hover, .footer__col a.is-active { color: var(--accent-deep); }
.footer__bar {
  border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-2);
}
.footer__bar a { color: var(--ink-2); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs em { font-style: normal; color: var(--ink-2); font-weight: 500; }

.phero { background: var(--bg-gray); padding: 28px var(--pad-x) clamp(40px, 5vw, 64px); }
.phero__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px); align-items: center; margin-top: 24px;
}
.phero__gallery { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pd-stage { position: relative; width: 100%; aspect-ratio: 660 / 540; perspective: 1400px; cursor: zoom-in; }
.pd-stage.is-zoom { cursor: zoom-out; }
.pd-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s ease-out; }
.pd-view {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.97); pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.pd-view.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pd-stage.is-zoom .pd-view.is-active { transform: scale(1.25); }
.pd-view img { max-width: 84%; max-height: 88%; width: auto; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.24)); }
.pd-view--crop { border-radius: var(--radius-card); overflow: hidden; background: var(--bg); border: 1px solid #EDEDF0; }
.pd-view--crop img { position: absolute; max-width: none; max-height: none; filter: none; }
.pd-view--crop img.crop--damper { width: 220%; left: 23.6%; top: -135%; }
.pd-view--crop img.crop--cup { width: 220%; left: -112.8%; top: 13%; }
.pd-view--crop figcaption {
  position: absolute; left: 24px; bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--accent-deep);
}
.pd-thumbs { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.pd-thumb {
  position: relative; width: 96px; height: 76px; border-radius: var(--radius-tile);
  border: 1px solid var(--line); background: var(--bg); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.pd-thumb:hover { border-color: var(--ink-3); }
.pd-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pd-thumb span {
  position: absolute; left: 0; right: 0; bottom: 3px;
  font-size: 10px; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 1px 0;
}
.phero__info { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.phero__info h1 { font-size: clamp(44px, 4vw, 54px); font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.phero__name { font-size: clamp(20px, 2vw, 25px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.phero__sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-2); line-height: 1.55; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips span {
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
}
.copt { display: flex; flex-direction: column; gap: 10px; }
.copt h4 { font-size: 14px; font-weight: 600; }
.copt__row { display: flex; gap: 12px; flex-wrap: wrap; }
.fchip {
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 11px 22px;
  font-size: 14px; font-weight: 500; color: var(--ink); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.fchip small { color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.fchip:hover { border-color: var(--ink-3); }
.fchip.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.phero__meta { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.phero__meta strong { color: var(--ink); font-weight: 600; }
.phero__cta { display: flex; gap: 24px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.phero__cta .pill { margin-top: 0; }
.phero__cta .alink { font-size: 17px; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 60px); width: 100%; max-width: 1160px; }
.trio__item { display: flex; flex-direction: column; gap: 12px; }
.trio__item h3 { font-size: 19px; font-weight: 600; }
.trio__item p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

.spec-table { width: min(800px, 100%); margin: clamp(28px, 4vw, 50px) 0 0; }
.spec-table > div {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 17px 8px; border-bottom: 1px solid var(--line);
}
.spec-table dt { font-size: 15px; color: var(--ink-2); }
.spec-table dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; }
.dl-row { display: flex; gap: 20px; margin-top: clamp(28px, 4vw, 44px); flex-wrap: wrap; justify-content: center; }
.dl {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border-radius: var(--radius-tile); padding: 20px 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04); transition: transform .25s, box-shadow .25s;
}
.dl:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.18); }
.dl strong { display: block; font-size: 15px; color: var(--ink); }
.dl small { font-size: 12px; color: var(--ink-3); }
.tiles--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   CATEGORY (PLP)
   ============================================================ */
.plp-head { background: var(--bg-gray); padding: 28px var(--pad-x) 28px; }
.plp-head h1 { margin-top: 22px; }
.plp-head__lead { font-size: clamp(15px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.6; max-width: 640px; margin-top: 12px; }
.fbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-bottom: 8px; }
.plp { background: var(--bg-gray); padding: 12px var(--pad-x) var(--pad-y); }
.plp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard {
  background: var(--bg); border-radius: var(--radius-card); padding: 22px;
  display: flex; flex-direction: column; gap: 8px; color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.18); color: var(--ink); }
.pcard__media {
  height: 210px; border-radius: var(--radius-tile); background: var(--bg-gray-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.pcard__media img { max-width: 78%; max-height: 180px; width: auto; height: auto; }
.pcard__media--ph { font-size: 12px; color: var(--ink-3); }
.pcard h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.pcard .alink { font-size: 14px; margin-top: 2px; }
.plp__empty { text-align: center; color: var(--ink-3); padding: 40px 0; }
.cta-band {
  background: var(--bg-black); color: #F5F5F7; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(56px, 7vw, 100px) var(--pad-x);
}
.cta-band p { color: var(--dark-txt); font-size: clamp(15px, 1.4vw, 19px); max-width: 560px; line-height: 1.6; }
.cta-band .pill { margin-top: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__inner { flex-wrap: wrap; gap: 32px 48px; }
  .phero__grid { grid-template-columns: 1fr; }
  .plp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: 1fr; max-width: 560px; }
  .tiles--related { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 52px;
    background: var(--bg-dark-2); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 0 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links .nav__link { padding: 12px 24px; font-size: 15px; width: 100%; text-align: left; }
  .mega { position: static; box-shadow: none; display: none; opacity: 1; transform: none; pointer-events: auto; transition: none; }
  .mega.is-open { display: block; }
  .mega__inner { flex-direction: column; gap: 24px; padding: 8px 24px 24px; }

  .carousel__btn { width: 40px; height: 40px; background: rgba(0,0,0,.08); }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 28px 40px; }
  .stats li { flex: 1 1 38%; }
  .inquiry__row { grid-template-columns: 1fr; }
  .bignum { flex-direction: column; text-align: center; }
  .bignum__txt { align-items: center; }
  .footer__cols { flex-direction: column; gap: 28px; }
  .footer__brand { width: auto; }
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .hero__links { gap: 20px; }
  .plp__grid { grid-template-columns: 1fr; }
  .spec-table > div { flex-direction: column; gap: 4px; }
  .spec-table dd { text-align: left; }
}

/* ============================================================
   RTL (Arabic) — keep glyph joining intact, mirror layout
   ============================================================ */
html[dir="rtl"] body { letter-spacing: 0; }
html[dir="rtl"] .hero__eyebrow, html[dir="rtl"] .post__cat, html[dir="rtl"] .media-card__tag,
html[dir="rtl"] .h2, html[dir="rtl"] .h3, html[dir="rtl"] .hero__title,
html[dir="rtl"] .tile h3, html[dir="rtl"] .pcard h3, html[dir="rtl"] .phero__info h1 { letter-spacing: 0; }

/* CSS fallback: language menu opens on focus even if JS hasn't loaded */
.langwrap:focus-within .langmenu { display: flex; }
