/* Namdaran homepage — English industrial landing preview.
   Red identity follows the owner's TDW reference; no remote assets or fonts. */
.home {
  --ink: #25292d;
  --ink-muted: #5b6269;
  --surface: #fff;
  --surface-soft: #f2f3f4;
  --line: #d9dcdf;
  --accent: #c8102e;
  --accent-deep: #a30e25;
  --night: #23282d;
  --pad: clamp(22px, 5.2vw, 86px);
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}
.home main { max-width: none; margin: 0; }
.home .utility, .home .footer-bar {
  min-height: 42px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  color: white;
  background: var(--accent);
}
.home .utility a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  color: var(--accent);
  background: white;
  font-size: .86rem;
  font-weight: 600;
}
.home .site-header {
  position: absolute;
  z-index: 10;
  inset: 42px 0 auto;
  min-height: 82px;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background: linear-gradient(180deg, rgb(13 17 20 / 67%), rgb(13 17 20 / 24%));
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}
.home .identity { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.home .identity strong { display: grid; gap: 3px; color: white; font-size: .95rem; line-height: 1.2; white-space: nowrap; }
.home .identity strong span { color: rgb(255 255 255 / 76%); font-size: .58rem; letter-spacing: .16em; }
.home .site-header .brand-logo {
  display: block;
  width: clamp(148px, 16vw, 202px);
  height: 72px;
  padding: 4px 9px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}
.home .menu-toggle { display: none; }
.home .site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.35vw, 34px); font-size: .86rem; font-weight: 600; }
.home .site-header nav > a, .home .site-header summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.home .site-header nav > a { border-bottom: 2px solid transparent; }
.home .site-header nav > a[aria-current="page"], .home .site-header nav > a:hover { border-color: white; text-decoration: none; }
.home .site-header summary { cursor: pointer; list-style: none; gap: 8px; }
.home .site-header summary::-webkit-details-marker { display: none; }
.home .site-header summary::after { content: "⌄"; font-size: .78rem; }
.home .site-header nav details { position: relative; }
.home .site-header nav details > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(290px, 82vw);
  padding: 9px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 18px 44px rgb(0 0 0 / 24%);
}
.home .site-header nav details a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 5px; }
.home .site-header nav details a:hover { color: var(--accent); background: var(--surface-soft); text-decoration: none; }
.home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(610px, calc(100svh - 42px), 900px);
  padding: 160px max(var(--pad), calc((100vw - 1440px) / 2)) 112px;
  color: white;
  background: #292e32 url("pig-launcher.webp") center 48% / cover no-repeat;
  overflow: hidden;
}
.home .home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(18 22 26 / 94%) 0%, rgb(18 22 26 / 82%) 33%, rgb(18 22 26 / 37%) 68%, rgb(18 22 26 / 18%) 100%), linear-gradient(0deg, rgb(12 15 18 / 55%), transparent 44%);
}
.home .hero-film { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.home .hero-copy { position: relative; z-index: 2; width: min(860px, 76vw); }
.home .hero-copy .en { margin-bottom: 22px; color: #f2c1c9; font: 700 .77rem/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: .17em; }
.home .hero-copy h1 { max-width: 16ch; margin: 0 0 22px; color: white; font-size: clamp(3rem, 6.1vw, 5.9rem); font-weight: 650; letter-spacing: -.055em; line-height: 1.02; }
.home .hero-copy p { max-width: 55ch; margin: 0; color: rgb(255 255 255 / 86%); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.8; }
.home .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home .btn, .home .secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.home .btn { color: white; background: var(--accent); }
.home .btn:hover { color: white; background: var(--accent-deep); transform: translateY(-2px); text-decoration: none; }
.home .secondary { color: white; border-color: rgb(255 255 255 / 68%); background: rgb(23 27 30 / 24%); }
.home .secondary:hover { color: white; border-color: white; background: rgb(255 255 255 / 12%); text-decoration: none; }
.home .hero-meta { position: absolute; z-index: 2; inset-inline-start: var(--pad); bottom: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; color: rgb(255 255 255 / 73%); font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.home .hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.home .film-toggle {
  position: absolute;
  z-index: 2;
  inset-inline-end: var(--pad);
  bottom: 20px;
  min-width: 118px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 13px;
  color: white;
  background: rgb(20 24 27 / 73%);
  border: 1px solid rgb(255 255 255 / 63%);
  border-radius: 999px;
  font: 600 .79rem/1.2 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.home .film-toggle:hover { background: var(--accent); border-color: var(--accent); }
.home .home-featured, .home .company-showcase, .home .home-paths, .home .family-directory, .home .catalog-tools, .home .family, .home .product-film { padding: clamp(58px, 7vw, 104px) var(--pad); scroll-margin-top: 24px; }
.home .home-featured, .home .family-directory { background: #f4f5f5; }
.home .company-showcase, .home .home-paths { background: white; }
.home .company-showcase > h2, .home .home-featured h2, .home .home-paths > h2, .home .family-directory > h2, .home .catalog-tools > h2, .home .family > h2, .home .product-film > h2 {
  width: fit-content;
  max-width: 100%;
  position: relative;
  margin: 0 auto clamp(28px, 4vw, 54px);
  padding-bottom: 13px;
  text-align: center;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.1vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.home .company-showcase > h2::after, .home .home-featured h2::after, .home .home-paths > h2::after, .home .family-directory > h2::after, .home .catalog-tools > h2::after, .home .family > h2::after, .home .product-film > h2::after {
  content: ""; position: absolute; width: 76px; height: 4px; inset-inline-start: 50%; bottom: 0; transform: translateX(-50%); background: var(--accent);
}
.home .section-lead { margin-bottom: 0; text-align: center; }
.home .section-lead h2 { margin-bottom: 0; }
.home .section-lead a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
.home .feature-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 34px); }
.home .feature-deck article { min-width: 0; padding: 0; overflow: hidden; background: white; border: 1px solid #dadddf; border-radius: 9px; box-shadow: 0 10px 26px rgb(21 27 32 / 9%); transition: transform 220ms ease, box-shadow 220ms ease; }
.home .feature-deck article:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgb(21 27 32 / 14%); }
.home .feature-deck a { height: 100%; display: flex; flex-direction: column; }
.home .feature-deck figure { position: relative; margin: 0; overflow: hidden; background: #e7e9ea; }
.home .feature-deck figure::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgb(21 25 28 / 66%)); pointer-events: none; }
.home .feature-deck img { display: block; width: 100%; height: clamp(230px, 25vw, 350px); object-fit: cover; transition: transform 350ms ease; }
.home .feature-deck article:hover img { transform: scale(1.035); }
.home .feature-deck a > div { min-height: 228px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; margin: 0; padding: 22px clamp(18px, 2.2vw, 28px) 24px; background: white; border-top: 1px solid #eceeef; }
.home .feature-deck h3 { margin: 0; color: var(--ink); font-size: clamp(1.2rem, 1.75vw, 1.6rem); font-weight: 650; line-height: 1.3; }
.home .feature-deck p { margin: 0 0 12px; color: var(--ink-muted); font-size: .94rem; line-height: 1.72; }
.home .feature-deck span { margin-top: auto; padding: 0; color: var(--accent); font-size: .87rem; font-weight: 700; }
.home .company-showcase { padding-block: clamp(62px, 7vw, 102px) clamp(46px, 5vw, 68px); }
.home .company-carousel { max-width: 1350px; margin: auto; padding: 0; border: 0; min-inline-size: 0; direction: ltr; }
.home .company-viewport { overflow: hidden; overflow: clip; }
.home #company-slides { display: grid; grid-template-columns: repeat(3, 100%); align-items: stretch; transition: transform 520ms cubic-bezier(.22,.75,.25,1); }
.home .company-slide { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(30px, 6vw, 88px); margin: 0; padding: 0; visibility: hidden; transition: visibility 0s 520ms; }
.home .company-slide img { display: block; width: 100%; aspect-ratio: 1.52; object-fit: cover; border-radius: 6px; }
.home .company-slide > div { max-width: 470px; }
.home .company-slide h3 { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.8rem, 3.8vw, 3.25rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.home .company-slide p { margin: 0 0 24px; color: var(--ink-muted); font-size: 1.04rem; line-height: 1.8; }
.home .company-slide .btn { min-height: 48px; padding-inline: 25px; }
.home #show-company-1:checked ~ .company-viewport { --offset: 0%; }
.home #show-company-2:checked ~ .company-viewport { --offset: -100%; }
.home #show-company-3:checked ~ .company-viewport { --offset: -200%; }
.home .company-viewport #company-slides { transform: translateX(var(--offset, 0%)); }
.home #show-company-1:checked ~ .company-viewport #company-1, .home #show-company-2:checked ~ .company-viewport #company-2, .home #show-company-3:checked ~ .company-viewport #company-3 { visibility: visible; transition-delay: 0s; }
.home .company-carousel .carousel-actions { display: none; min-height: 52px; margin-top: 28px; align-items: center; grid-template-columns: 48px minmax(120px, auto) 48px; justify-content: center; gap: 14px; color: var(--ink-muted); font-size: .86rem; font-weight: 600; }
.home .company-carousel .carousel-choice:focus-visible ~ .company-viewport { outline: 3px solid var(--focus); outline-offset: 5px; }
.home #show-company-1:checked ~ #company-controls-1, .home #show-company-2:checked ~ #company-controls-2, .home #show-company-3:checked ~ #company-controls-3 { display: grid; }
.home .carousel-actions button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; color: white; background: #4a5056; border: 0; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: background-color 170ms ease, transform 170ms ease; }
.home .carousel-actions button:hover { background: var(--accent); transform: scale(1.05); }
.home .home-paths > div { max-width: 1350px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 auto; text-align: start; }
.home .home-paths > div > a { min-height: 215px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 26px; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: white; transition: box-shadow 200ms ease, transform 200ms ease; }
.home .home-paths > div > a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(21 27 32 / 9%); text-decoration: none; }
.home .home-paths b { width: 42px; height: 42px; display: inline-grid; place-items: center; margin: 0 0 20px; color: var(--accent); background: #f9e7ea; border-radius: 50%; font-size: .87rem; }
.home .home-paths h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; }
.home .home-paths p { margin: 0; color: var(--ink-muted); }
.home .product-film { background: #eceeef; }
.home .product-film figure { max-width: 1200px; margin: 0 auto; }
.home .product-film video { display: block; width: 100%; aspect-ratio: 16/8.5; object-fit: cover; background: var(--night); border-radius: 8px; box-shadow: 0 16px 44px rgb(24 28 32 / 18%); }
.home .product-film figcaption { margin: 12px auto 0; color: var(--ink-muted); font-size: .88rem; }
.home .family-directory-grid { max-width: 1400px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding: 0; background: transparent; border: 0; }
.home .family-entry { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 7px; transition: box-shadow 200ms ease, transform 200ms ease; }
.home .family-entry:hover { transform: translateY(-4px); box-shadow: 0 15px 32px rgb(27 31 35 / 12%); text-decoration: none; }
.home .family-entry img { width: 100%; height: clamp(150px, 16vw, 215px); padding: 0; object-fit: cover; background: white; border-bottom: 1px solid var(--line); }
.home .family-entry > div { min-height: 208px; display: flex; flex: 1; flex-direction: column; padding: 18px; border: 0; }
.home .family-entry h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.home .family-entry p { margin: 0 0 16px; color: var(--ink-muted); font-size: .89rem; line-height: 1.65; }
.home .family-entry strong { display: block; margin-top: auto; padding: 10px 0 0; color: var(--accent); border-top: 1px solid var(--line); font-size: .86rem; }
.home .catalog-tools { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .catalog-tools { background: #f2f3f4; }
.home .catalog-tools > h2 { margin-bottom: 8px; }
.home .catalog-intro { max-width: 650px; margin: 0 auto 24px; color: var(--ink-muted); text-align: center; font-size: .94rem; }
.home .catalog-tools > label { display: block; max-width: 900px; margin: 0 auto 7px; font-size: .88rem; font-weight: 700; }
.home #equipment-search { width: min(900px, 100%); min-height: 54px; display: block; margin: 0 auto 18px; padding: 12px 17px; color: var(--ink); background: #f8f9f9; border: 1px solid #abb1b5; border-radius: 4px; font: inherit; }
.home #equipment-search:focus-visible { outline: 3px solid rgb(200 16 46 / 36%); border-color: var(--accent); }
.home .catalog-tools .bar { max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 auto; }
.home .catalog-tools .bar a { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 14px; color: var(--ink); background: #f2f3f4; border: 1px solid #d9dcdf; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.home .catalog-tools .bar a:hover { color: var(--accent); background: white; border-color: var(--accent); text-decoration: none; }
.home #search-status { min-height: 1.6em; margin: 12px auto 0; text-align: center; color: var(--ink-muted); font-size: .86rem; }
.home .family { background: white; border-bottom: 1px solid var(--line); }
.home .family:nth-of-type(even) { background: #f5f6f6; }
.home .family > h2 { width: fit-content; margin-inline: 0; text-align: start; }
.home .family > h2::after { inset-inline-start: 0; transform: none; }
.home .family .grid { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 18px; }
.home .family .card { max-width: none; overflow: hidden; background: white; border: 1px solid #dadddf; border-radius: 6px; box-shadow: 0 5px 17px rgb(20 25 29 / 5%); transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease; }
.home .family .card:hover { transform: translateY(-3px); border-color: #c2c6ca; box-shadow: 0 13px 27px rgb(20 25 29 / 10%); }
.home .family .card img { width: 100%; height: clamp(165px, 17vw, 220px); padding: 12px; object-fit: contain; background: #f1f2f2; border: 0; transition: transform 200ms ease; }
.home .family .card:hover img { transform: scale(1.025); }
.home .family .card div { min-height: 175px; display: flex; flex-direction: column; align-items: flex-start; padding: 17px 18px 19px; border-top: 1px solid var(--line); }
.home .family .card h3 { margin: 0 0 7px; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.home .family .card p { margin: 0 0 13px; color: var(--ink-muted); font-size: .87rem; line-height: 1.65; }
.home .family .card span { margin-top: auto; color: var(--accent); font-size: .83rem; font-weight: 700; }
.home .home-footer { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 28px; padding: 54px var(--pad) 46px; color: white; background: #41474d; }
.home .home-footer > div { min-width: 0; }
.home .home-footer strong { font-size: 1rem; }
.home .home-footer p { max-width: 28ch; margin-top: 12px; color: #e1e4e6; font-size: .87rem; }
.home .home-footer a { width: fit-content; display: block; margin-top: 8px; color: #e9eaeb; font-size: .87rem; }
.home .home-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.home .footer-bar { justify-content: space-between; min-height: 48px; font-size: .78rem; }
.home .footer-bar a { min-height: 44px; display: inline-flex; align-items: center; color: white; }
.home .skip { z-index: 30; color: var(--ink); background: white; }
.home [hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .home .hero-copy .en, .home .hero-copy h1, .home .hero-copy p, .home .hero-actions { animation: hero-arrive 700ms cubic-bezier(.2,.7,.2,1) both; }
  .home .hero-copy h1 { animation-delay: 90ms; }
  .home .hero-copy p { animation-delay: 180ms; }
  .home .hero-actions { animation-delay: 270ms; }
  @keyframes hero-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 980px) {
  .home .site-header { gap: 18px; }
  .home .site-header nav { gap: 16px; }
  .home .family-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .feature-deck img { height: clamp(220px, 28vw, 300px); }
}
@media (max-width: 760px) {
  .home { --pad: 22px; }
  .home .utility { min-height: 38px; }
  .home .utility a { min-height: 38px; }
  .home .site-header { inset-block-start: 38px; min-height: 76px; gap: 14px; padding-block: 8px; }
  .home .site-header .brand-logo { width: 150px; height: 58px; }
  .home .menu-toggle { min-width: 84px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; background: rgb(20 24 27 / 50%); border: 1px solid rgb(255 255 255 / 64%); border-radius: 4px; font: 600 .84rem "Segoe UI", Arial, sans-serif; cursor: pointer; }
  .home .menu-icon, .home .menu-icon::before, .home .menu-icon::after { width: 17px; height: 2px; display: block; background: currentColor; }
  .home .menu-icon { position: relative; }
  .home .menu-icon::before, .home .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
  .home .menu-icon::before { top: -6px; }
  .home .menu-icon::after { top: 6px; }
  .home .site-header nav { position: absolute; inset: 100% 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px var(--pad) 16px; color: white; background: #262b30; box-shadow: 0 18px 25px rgb(0 0 0 / 22%); }
  .home .site-header nav.is-open { display: flex; }
  .home .site-header nav > a, .home .site-header summary { width: 100%; min-height: 48px; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 17%); }
  .home .site-header nav details > div { position: static; width: 100%; padding: 3px 7px 8px; color: white; background: #31373d; border: 0; border-radius: 0; box-shadow: none; }
  .home .site-header nav details a { color: white; }
  .home .home-hero { min-height: min(760px, max(670px, 100svh - 38px)); align-items: flex-end; padding: 156px var(--pad) 112px; }
  .home .home-hero::before { background: linear-gradient(0deg, rgb(18 22 26 / 96%) 0%, rgb(18 22 26 / 85%) 35%, rgb(18 22 26 / 52%) 70%, rgb(18 22 26 / 30%) 100%); }
  .home .hero-film { object-position: 55% center; }
  .home .hero-copy { width: 100%; }
  .home .hero-copy .en { margin-bottom: 14px; font-size: .68rem; }
  .home .hero-copy h1 { max-width: 12ch; font-size: clamp(2.7rem, 10.5vw, 4.2rem); }
  .home .hero-copy p { max-width: 43ch; font-size: 1rem; line-height: 1.7; }
  .home .hero-actions { gap: 8px; margin-top: 23px; }
  .home .hero-actions .btn, .home .hero-actions .secondary { min-height: 48px; padding-inline: 17px; font-size: .86rem; }
  .home .hero-meta { inset-inline-start: var(--pad); bottom: 17px; max-width: calc(100% - 168px); gap: 8px; font-size: .56rem; letter-spacing: .09em; }
  .home .film-toggle { inset-inline-end: var(--pad); bottom: 13px; min-width: 44px; padding-inline: 11px; }
  .home .film-toggle-label { display: none; }
  .home .home-featured, .home .company-showcase, .home .home-paths, .home .family-directory, .home .catalog-tools, .home .family, .home .product-film { padding: 58px var(--pad); }
  .home .feature-deck { grid-template-columns: 1fr; max-width: 570px; margin-inline: auto; }
  .home .feature-deck article { min-height: 0; }
  .home .feature-deck img { height: auto; aspect-ratio: 16/9; }
  .home .feature-deck a > div { min-height: 0; }
  .home .company-slide { grid-template-columns: 1fr; gap: 22px; }
  .home .company-slide img { aspect-ratio: 1.45; }
  .home .company-slide > div { max-width: none; }
  .home .company-slide h3 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .home .company-slide p { margin-bottom: 16px; font-size: .95rem; }
  .home .company-carousel .carousel-actions { margin-top: 20px; }
  .home .home-paths > div { grid-template-columns: 1fr; gap: 12px; }
  .home .home-paths > div > a { min-height: 174px; }
  .home .product-film video { aspect-ratio: 16/10; }
  .home .family-directory-grid { grid-template-columns: 1fr; max-width: 540px; }
  .home .family-entry { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; }
  .home .family-entry img { height: 100%; min-height: 178px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .home .family-entry > div { min-height: 0; padding: 16px; }
  .home .family .grid { grid-template-columns: 1fr; }
  .home .family .card { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; }
  .home .family .card img { height: 100%; min-height: 180px; border-inline-end: 1px solid var(--line); }
  .home .family .card div { min-height: 0; padding: 15px; border-top: 0; }
  .home .home-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; padding-block: 38px; }
}
@media (max-width: 420px) {
  .home .family-entry, .home .family .card { grid-template-columns: 1fr; }
  .home .family-entry img, .home .family .card img { width: 100%; height: auto; aspect-ratio: 16/9; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .home .home-footer { grid-template-columns: 1fr; }
  .home .hero-actions { align-items: stretch; flex-direction: column; }
  .home .hero-actions .btn, .home .hero-actions .secondary { width: 100%; }
  .home .hero-meta { max-width: calc(100% - 110px); font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .home .hero-film { display: none; }
  .home .feature-deck article:hover, .home .family-entry:hover, .home .family .card:hover, .home .home-paths > div > a:hover { transform: none; }
}


/* Fluxora layout adaptation: preserve the reference's full-bleed, measured hero
   hierarchy while using Namdaran's approved red identity and local media. */
.home .utility { display: none; }
.home .site-header {
  inset: 0 0 auto;
  min-height: 82px;
  padding: 14px var(--pad);
  background: linear-gradient(180deg, rgb(11 15 18 / 74%), rgb(11 15 18 / 10%));
  border-bottom: 0;
}
.home .identity { gap: 11px; }
.home .identity strong { font-size: .88rem; }
.home .identity strong span { font-size: .56rem; }
.home .site-header .brand-logo { width: clamp(124px, 14vw, 164px); height: 58px; padding: 4px 8px; border-radius: 7px; }
.home .site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px;
  color: white;
  background: rgb(24 29 33 / 54%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 14px;
  box-shadow: 0 10px 32px rgb(0 0 0 / 16%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-size: .81rem;
}
.home .site-header nav > a,
.home .site-header nav summary {
  min-height: 40px;
  justify-content: center;
  gap: 7px;
  padding: 7px 13px;
  color: rgb(255 255 255 / 88%);
  border: 0;
  border-radius: 9px;
  white-space: nowrap;
}
.home .site-header nav > a:hover,
.home .site-header nav details[open] > summary,
.home .site-header nav > a[aria-current="page"] {
  color: white;
  background: rgb(255 255 255 / 13%);
  text-decoration: none;
}
.home .site-header nav summary::after { color: rgb(255 255 255 / 75%); }
.home .site-header nav details > div {
  top: calc(100% + 11px);
  padding: 8px;
  color: var(--ink);
  border-color: rgb(255 255 255 / 24%);
  border-radius: 12px;
  box-shadow: 0 22px 52px rgb(0 0 0 / 32%);
}
.home .site-header nav details a { min-height: 42px; border-radius: 7px; }
.home .header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  color: #202428;
  background: white;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 999px;
  box-shadow: 0 9px 25px rgb(0 0 0 / 20%);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 220ms ease, background-color 220ms ease;
}
.home .header-cta:hover { color: var(--accent); background: #fff; transform: translateY(-1px); text-decoration: none; }
.home .mobile-nav-cta { display: none !important; }
.home .menu-toggle { display: none; }
.home .home-hero {
  min-height: 100svh;
  align-items: stretch;
  flex-direction: column;
  padding: 86px max(var(--pad), calc((100vw - 1440px) / 2)) 16px;
  background-color: #15191d;
  background-image: url("pig-launcher.webp");
  background-position: center 48%;
  background-size: cover;
}
.home .home-hero::before {
  z-index: 1;
  background:
    linear-gradient(96deg, rgb(11 15 18 / 92%) 0%, rgb(13 17 20 / 82%) 36%, rgb(17 21 24 / 43%) 69%, rgb(14 17 20 / 56%) 100%),
    linear-gradient(0deg, rgb(12 15 18 / 83%) 0%, rgb(12 15 18 / 17%) 32%, transparent 52%),
    linear-gradient(180deg, rgb(8 11 13 / 37%) 0%, transparent 23%);
}
.home .hero-film {
  z-index: 0;
  object-position: 58% center;
  opacity: .94;
  transform: scale(1.025);
  animation: film-arrive 1.2s cubic-bezier(.16, 1, .3, 1) both;
}
.home .hero-rules {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 30%;
  pointer-events: none;
}
.home .hero-rules span { width: 1px; background: rgb(255 255 255 / 5%); }
.home .hero-rules span:nth-child(2) { margin-inline-start: 14px; }
.home .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
}
.home .hero-copy { width: min(640px, 100%); max-width: 640px; }
.home .hero-copy .hero-note {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  color: rgb(255 255 255 / 78%);
  border-top: 1px solid rgb(255 255 255 / 20%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
}
.home .hero-note-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font: 700 .72rem/1 Arial, sans-serif;
  letter-spacing: 0;
}
.home .hero-copy h1 {
  max-width: 18ch;
  margin: 22px 0 0;
  color: white;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .94;
  text-shadow: 0 6px 40px rgb(0 0 0 / 38%);
}
.home .hero-copy h1 em {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.035em;
}
.home .hero-copy .hero-sub {
  max-width: 43ch;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.65;
}
.home .hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.home .hero-primary {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 7px 8px 7px 21px;
  color: white;
  background: linear-gradient(100deg, var(--accent) 0%, #db1635 100%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgb(200 16 46 / 34%);
  font-size: .93rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 240ms cubic-bezier(.16, 1, .3, 1), box-shadow 240ms ease;
}
.home .hero-primary:hover { color: white; transform: translateY(-2px); box-shadow: 0 17px 40px rgb(200 16 46 / 45%); text-decoration: none; }
.home .hero-primary-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #202428;
  background: white;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform 240ms ease;
}
.home .hero-primary:hover .hero-primary-arrow { transform: translateX(2px); }
.home .hero-proof { display: flex; align-items: center; gap: 11px; }
.home .hero-family-marks { display: flex; padding-inline-start: 3px; }
.home .hero-family-marks i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-inline-start: -8px;
  color: white;
  background: linear-gradient(140deg, #cd1933, #76212d);
  border: 2px solid rgb(25 19 20 / 88%);
  border-radius: 50%;
  font: 700 .55rem/1 Arial, sans-serif;
  font-style: normal;
}
.home .hero-family-marks i:nth-child(2) { background: linear-gradient(140deg, #6c747b, #343a40); }
.home .hero-family-marks i:nth-child(3) { background: linear-gradient(140deg, #afb4b6, #626a70); }
.home .hero-family-marks i:nth-child(4) { background: linear-gradient(140deg, #bd625c, #81313b); }
.home .hero-proof > span { display: grid; color: rgb(255 255 255 / 73%); font-size: .65rem; line-height: 1.42; }
.home .hero-proof strong { color: white; font-size: .77rem; font-weight: 650; }
.home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.home .hero-stats li {
  position: relative;
  min-width: 175px;
  min-height: 86px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 15px 18px;
  color: white;
  background: rgb(38 43 47 / 70%);
  border: 1px solid rgb(255 255 255 / 23%);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  backdrop-filter: blur(15px) saturate(1.08);
  -webkit-backdrop-filter: blur(15px) saturate(1.08);
}
.home .hero-stats li:nth-child(2) { background: linear-gradient(145deg, rgb(117 26 40 / 72%), rgb(42 25 29 / 72%)); }
.home .hero-stat-value { font-size: clamp(1.65rem, 2.1vw, 2.15rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.home .hero-stat-label { color: rgb(255 255 255 / 76%); font-size: .73rem; }
.home .hero-stat-rule { position: absolute; inset-inline-end: 17px; top: 20px; width: 17px; height: 1px; background: rgb(255 255 255 / 35%); }
.home .hero-insight {
  display: none;
  align-self: start;
  width: min(100%, 340px);
  margin-top: 60px;
  padding: 22px;
  color: white;
  background: rgb(25 30 34 / 67%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 16px;
  box-shadow: 0 20px 54px rgb(0 0 0 / 17%), inset 0 1px 0 rgb(255 255 255 / 8%);
  backdrop-filter: blur(19px) saturate(1.08);
  -webkit-backdrop-filter: blur(19px) saturate(1.08);
}
.home .hero-insight-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / 16%); color: rgb(255 255 255 / 70%); font-size: .58rem; font-weight: 700; letter-spacing: .11em; }
.home .hero-insight h2 { margin: 17px 0 4px; color: white; font-size: 1.24rem; font-weight: 600; letter-spacing: -.025em; }
.home .hero-insight > p { margin: 0 0 14px; color: rgb(255 255 255 / 74%); font-size: .78rem; line-height: 1.5; }
.home .hero-family-index { margin: 0; padding: 0; list-style: none; }
.home .hero-family-index li + li { border-top: 1px solid rgb(255 255 255 / 12%); }
.home .hero-family-index a { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 26px; align-items: center; gap: 4px 10px; padding: 8px 1px; color: rgb(255 255 255 / 90%); font-size: .76rem; }
.home .hero-family-index a:hover { color: white; text-decoration: none; }
.home .hero-family-count { color: rgb(255 255 255 / 71%); font-variant-numeric: tabular-nums; text-align: end; font-size: .68rem; }
.home .hero-family-track { grid-column: 1 / -1; height: 2px; overflow: hidden; background: rgb(255 255 255 / 15%); }
.home .hero-family-track i { width: 50%; height: 100%; display: block; background: linear-gradient(90deg, var(--accent), #f07584); }
.home .hero-family-index li:nth-child(1) .hero-family-track i { width: 100%; }
.home .hero-family-index li:nth-child(2) .hero-family-track i { width: 89%; }
.home .hero-family-index li:nth-child(3) .hero-family-track i { width: 45%; }
.home .hero-family-index li:nth-child(4) .hero-family-track i { width: 78%; }
.home .hero-insight-link { min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-top: 9px; padding: 5px 2px 0; color: white; border-top: 1px solid rgb(255 255 255 / 16%); font-size: .76rem; font-weight: 650; }
.home .hero-insight-link:hover { color: #ffd9df; text-decoration: none; }
.home .hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 10px;
}
.home .hero-watermark { color: rgb(255 255 255 / 9%); font-size: clamp(2.6rem, 7vw, 5.7rem); font-weight: 700; letter-spacing: -.065em; line-height: .84; user-select: none; }
.home .hero-family-links { display: grid; justify-items: end; gap: 8px; color: rgb(255 255 255 / 72%); font-size: .68rem; }
.home .hero-family-links > span { font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.home .hero-family-links ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px clamp(14px, 1.9vw, 27px); margin: 0; padding: 0; list-style: none; }
.home .hero-family-links a { min-height: 34px; display: inline-flex; align-items: center; color: rgb(255 255 255 / 88%); font-weight: 550; }
.home .hero-family-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.home .film-toggle { bottom: 96px; min-width: 106px; border-radius: 999px; background: rgb(20 24 27 / 78%); backdrop-filter: blur(9px); }
.home .film-toggle:hover { color: white; background: var(--accent); border-color: var(--accent); }
.home .mobile-nav-cta { display: none !important; }
@media (min-width: 980px) {
  .home .hero-inner { width: 100%; grid-template-columns: minmax(0, min(640px, calc(100% - 380px))) minmax(0, 1fr); align-items: start; gap: clamp(28px, 3.5vw, 48px); }
  .home .hero-cta-row { flex-wrap: wrap; gap: 15px; }
  .home .hero-insight { display: block; }
}
@media (max-width: 979px) {
  .home .site-header { gap: 14px; }
  .home .site-header nav { gap: 2px; }
  .home .site-header nav > a, .home .site-header nav summary { padding-inline: 9px; font-size: .76rem; }
  .home .header-cta { padding-inline: 12px; font-size: .76rem; }
}
@media (max-width: 760px) {
  .home { --pad: 22px; }
  .home .site-header { min-height: 76px; gap: 10px; padding-block: 9px; }
  .home .site-header .brand-logo { width: 132px; height: 54px; }
  .home .identity strong { font-size: .78rem; }
  .home .identity strong span { font-size: .52rem; }
  .home .header-cta { display: none; }
  .home .menu-toggle { min-width: 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: white; background: rgb(27 31 35 / 55%); border: 1px solid rgb(255 255 255 / 45%); border-radius: 12px; }
  .home .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .home .menu-icon, .home .menu-icon::before, .home .menu-icon::after { width: 17px; height: 2px; display: block; background: currentColor; }
  .home .menu-icon { position: relative; }
  .home .menu-icon::before, .home .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
  .home .menu-icon::before { top: -6px; }
  .home .menu-icon::after { top: 6px; }
  .home .site-header nav,
  .home .site-header nav.is-open {
    position: absolute;
    inset: 100% var(--pad) auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    color: white;
    background: rgb(24 29 33 / 97%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgb(0 0 0 / 36%);
  }
  .home .site-header nav.is-open { display: flex; }
  .home .site-header nav > a, .home .site-header nav summary { min-height: 46px; justify-content: space-between; padding-inline: 12px; font-size: .9rem; border-radius: 8px; }
  .home .site-header nav details { width: 100%; }
  .home .site-header nav details > div { position: static; width: 100%; margin: 4px 0 8px; padding: 4px 7px 8px; color: white; background: rgb(255 255 255 / 7%); border: 0; box-shadow: none; }
  .home .site-header nav details a { min-height: 42px; color: white; }
  .home .site-header nav .mobile-nav-cta { display: flex !important; align-items: center; justify-content: space-between; margin-top: 7px; padding-inline: 13px; color: white; background: var(--accent); border-radius: 9px; font-weight: 700; }
  .home .home-hero { min-height: max(760px, 100svh); align-items: stretch; padding: 112px var(--pad) 18px; }
  .home .home-hero::before { background: linear-gradient(0deg, rgb(13 17 20 / 96%) 0%, rgb(13 17 20 / 90%) 39%, rgb(13 17 20 / 59%) 72%, rgb(13 17 20 / 40%) 100%); }
  .home .hero-film { object-position: 58% center; }
  .home .hero-inner { align-content: center; gap: 22px; }
  .home .hero-copy { max-width: 590px; }
  .home .hero-copy .hero-note { font-size: .64rem; }
  .home .hero-copy h1 { max-width: 10ch; margin-top: 18px; font-size: clamp(2.9rem, 10.7vw, 4.65rem); line-height: .97; }
  .home .hero-copy .hero-sub { max-width: 45ch; margin-top: 16px; font-size: .96rem; line-height: 1.62; }
  .home .hero-cta-row { gap: 13px 19px; margin-top: 20px; }
  .home .hero-primary { min-height: 53px; padding-inline-start: 17px; font-size: .86rem; }
  .home .hero-primary-arrow { width: 39px; height: 39px; }
  .home .hero-stats { gap: 9px; margin-top: 20px; }
  .home .hero-stats li { flex: 1 1 135px; min-width: 0; min-height: 82px; padding: 13px 14px; }
  .home .hero-foot { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 16px; }
  .home .hero-watermark { font-size: 2.7rem; }
  .home .hero-family-links { width: 100%; justify-items: start; gap: 4px; font-size: .62rem; }
  .home .hero-family-links ul { justify-content: flex-start; gap: 3px 14px; }
  .home .hero-family-links a { min-height: 30px; }
  .home .film-toggle { min-width: 44px; min-height: 44px; bottom: 22px; padding-inline: 10px; }
  .home .film-toggle-label { display: none; }
}
@media (max-width: 420px) {
  .home .site-header .brand-logo { width: 118px; }
  .home .identity strong { display: none; }
  .home .hero-cta-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .home .hero-stats li { flex-basis: 0; }
  .home .hero-family-links ul { column-gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .home .hero-note, .home .hero-copy h1, .home .hero-sub, .home .hero-cta-row, .home .hero-stats, .home .hero-insight, .home .hero-foot { animation: namdaran-rise 820ms cubic-bezier(.16, 1, .3, 1) both; }
  .home .hero-copy h1 { animation-delay: 70ms; }
  .home .hero-sub { animation-delay: 140ms; }
  .home .hero-cta-row { animation-delay: 210ms; }
  .home .hero-stats { animation-delay: 270ms; }
  .home .hero-insight { animation-delay: 200ms; }
  .home .hero-foot { animation-delay: 340ms; }
  @keyframes namdaran-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes film-arrive { from { opacity: .35; transform: scale(1.035); } to { opacity: .94; transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .home .hero-film { display: none; }
  .home .home-hero { background-image: url("pig-launcher.webp"); }
  .home .hero-primary:hover, .home .header-cta:hover { transform: none; }
}


@media (max-width: 940px) and (min-width: 761px) {
  .home .site-header { gap: 12px; }
  .home .site-header .brand-logo { width: 132px; height: 54px; }
  .home .identity strong { font-size: .78rem; }
  .home .identity strong span { font-size: .52rem; }
  .home .header-cta { display: none; }
  .home .menu-toggle { min-width: 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: white; background: rgb(27 31 35 / 55%); border: 1px solid rgb(255 255 255 / 45%); border-radius: 12px; }
  .home .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .home .menu-icon, .home .menu-icon::before, .home .menu-icon::after { width: 17px; height: 2px; display: block; background: currentColor; }
  .home .menu-icon { position: relative; }
  .home .menu-icon::before, .home .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
  .home .menu-icon::before { top: -6px; }
  .home .menu-icon::after { top: 6px; }
  .home .site-header nav, .home .site-header nav.is-open { position: absolute; inset: calc(100% + 8px) var(--pad) auto auto; width: min(360px, calc(100vw - 2 * var(--pad))); display: none; align-items: stretch; flex-direction: column; gap: 2px; padding: 12px; color: white; background: rgb(24 29 33 / 97%); border: 1px solid rgb(255 255 255 / 22%); border-radius: 14px; box-shadow: 0 18px 45px rgb(0 0 0 / 36%); }
  .home .site-header nav.is-open { display: flex; }
  .home .site-header nav > a, .home .site-header nav summary { min-height: 46px; justify-content: space-between; padding-inline: 12px; font-size: .9rem; border-radius: 8px; }
  .home .site-header nav details { width: 100%; }
  .home .site-header nav details > div { position: static; width: 100%; margin: 4px 0 8px; padding: 4px 7px 8px; color: white; background: rgb(255 255 255 / 7%); border: 0; box-shadow: none; }
  .home .site-header nav details a { min-height: 42px; color: white; }
  .home .site-header nav .mobile-nav-cta { display: flex !important; align-items: center; justify-content: space-between; margin-top: 7px; padding-inline: 13px; color: white; background: var(--accent); border-radius: 9px; font-weight: 700; }
}
