/*
  Amar Industries — Static site theme
  Premium industrial: navy + forged steel + brass, Manrope + Fraunces
*/

:root{
  --bg: #e4e9f1;
  --bg-deep: #0c1628;
  --surface: #fbfcfe;
  --surface-2: #f1f4f9;
  --text: #0b1220;
  --muted: #4a5568;
  --border: rgba(15, 23, 42, 0.12);

  --navy: #0b1f3b;
  --steel: #3b4654;
  --brass: #c9a227;
  --brass-bright: #e3bc3c;
  --danger: #b91c1c;
  --brand-red: #b31217;
  --brand-red-deep: #7a0d11;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 22px 50px rgba(8, 15, 30, 0.14);
  --shadow-soft: 0 10px 28px rgba(8, 15, 30, 0.08);

  --container: 1140px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --mesh-lines: rgba(11, 31, 59, 0.045);

  /* Footer link hovers */
  --footer-link-hover: #c9b6ff;
  /* Powered-by (intelligenttech.in): bright blue so hover is obvious on navy */
  --footer-powered-link-hover: #5ddbff;
  --footer-powered-link-hover-fallback: #38b6ff;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -40%, rgba(179, 18, 23, 0.09), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(11, 31, 59, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(201, 162, 39, 0.06), transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      var(--mesh-lines) 11px,
      var(--mesh-lines) 12px
    );
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection{
  background: rgba(179, 18, 23, 0.2);
  color: var(--text);
}

@media (prefers-reduced-motion: no-preference){
  html{
    scroll-behavior: smooth;
  }
}

h1,h2,h3{
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  font-weight: 700;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

/* Keyboard focus — visible, on-brand */
:where(a, button, .btn):focus-visible{
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.topbar :where(a, button):focus-visible{
  outline-color: #fff;
  outline-offset: 3px;
}
.hero-side :where(a, button):focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

/* Small layout helpers (replaces scattered inline styles) */
.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.actions--push{ margin-top: 14px; }
.mt-sm{ margin-top: 10px; }
.mt-md{ margin-top: 12px; }
.mt-lg{ margin-top: 14px; }
.footer-heading{
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.text-lead{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.grid--tight{ gap: 10px; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Header */
.topbar{
  position: relative;
  /* Same brass / gold strip on every page (matches Wholesale B2B header) */
  background: linear-gradient(90deg, #6A5200, #8F6A00);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -1px 0 rgba(201, 162, 39, 0.35);
}
.topbar::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(227, 188, 60, 0.85), transparent);
  pointer-events: none;
}
.topbar .row{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0 11px;
  flex-wrap: wrap;
}
.topbar a{ color: rgba(255, 255, 255, 0.95); }
.topbar .pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
}
.topbar a.pill:hover{
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(8, 15, 30, 0.05);
  transition:
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}
.header.is-scrolled{
  background: rgba(251, 252, 254, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 40px rgba(8, 15, 30, 0.1);
}
.header-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 0 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
}
.header .brand{
  flex: 1 1 320px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo{
  display: block;
  height: 44px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}
.brand .text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-mark{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #14365E);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  color: white;
  font-weight: 800;
  letter-spacing: .5px;
  overflow: hidden;
}
.logo-mark.logo-wide{
  width: 168px;
  height: 50px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  flex: 0 0 auto;
}
/* Header logo: keep full artwork visible (no forced short box → clipped “Amar”) */
.header .logo-mark.logo-wide{
  width: auto;
  max-width: min(268px, 40vw);
  height: auto;
  max-height: 86px;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
@media (min-width: 1200px){
  .header .logo-mark.logo-wide{
    max-width: 292px;
    max-height: 92px;
  }
}
.logo-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.header .logo-mark.logo-wide img{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
}
@media (min-width: 1200px){
  .header .logo-mark.logo-wide img{
    max-height: 92px;
  }
}
.brand .name{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
  line-height: 1.1;
  color: var(--navy);
}
.brand .tag{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav{
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 244, 249, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 20px rgba(8, 15, 30, 0.05);
}
.nav a{
  padding: 9px 14px;
  border-radius: 10px;
  color: #1e293b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: background 0.18s var(--ease-standard), color 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard);
}
.nav a:hover{
  background: rgba(11, 31, 59, 0.06);
  color: var(--navy);
}
.nav a.active{
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  color: var(--brand-red);
  border: 1px solid rgba(179, 18, 23, 0.2);
  box-shadow: 0 8px 22px rgba(179, 18, 23, 0.12);
}
.nav a.active::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brass));
}

.header-ctas{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

@media (min-width: 981px){
  .header-inner{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 12px;
    align-items: center;
    justify-content: initial;
    flex-wrap: initial;
    padding: 16px 0 14px;
  }
  .header .brand{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    flex: initial;
    min-width: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .header-ctas{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .nav{
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    flex: initial;
    min-width: 0;
  }
}

@media (min-width: 981px) and (max-width: 1180px){
  .header .logo-mark.logo-wide{
    max-width: min(248px, 38vw);
    max-height: 80px;
  }
  .header .logo-mark.logo-wide img{
    max-height: 80px;
  }
  .brand .name{ font-size: 17px; }
  .nav a{
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .header-ctas .btn.secondary{
    display: none;
  }
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.1s var(--ease-standard),
    box-shadow 0.2s var(--ease-out),
    background 0.2s var(--ease-standard),
    border-color 0.2s var(--ease-standard),
    filter 0.2s var(--ease-standard);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn.primary{
  background: linear-gradient(165deg, var(--brass-bright) 0%, #c49a1c 48%, #a67c0a 100%);
  color: #140c00;
  border-color: rgba(106, 78, 0, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 14px 32px rgba(166, 124, 10, 0.35);
}
.btn.primary:hover{
  filter: brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 18px 40px rgba(166, 124, 10, 0.42);
}
.btn.secondary{
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border-color: rgba(11, 31, 59, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.btn.secondary:hover{
  background: #fff;
  border-color: rgba(11, 31, 59, 0.32);
  box-shadow: 0 10px 28px rgba(8, 15, 30, 0.08);
}
.btn.ghost{
  background: transparent;
  color: var(--navy);
  border-color: transparent;
}
.btn.ghost:hover{
  background: rgba(11, 31, 59, 0.06);
}

.menu-btn{
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,24,39,.16);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 44px;
  min-height: 44px;
  color: var(--navy);
  cursor: pointer;
}
.menu-btn:hover{
  background: rgba(11,31,59,.04);
}
.menu-icon{
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}

/* Hero */
.hero{
  padding: 34px 0 18px;
}
.hero--showcase{
  position: relative;
  isolation: isolate;
  padding: 44px 0 48px;
  margin-bottom: 8px;
}
.hero__mesh{
  position: absolute;
  inset: -40px -24px auto -24px;
  height: min(78vh, 640px);
  z-index: -1;
  border-radius: 0 0 48px 48px;
  background:
    radial-gradient(ellipse 100% 100% at 15% 0%, rgba(179, 18, 23, 0.22), transparent 52%),
    radial-gradient(ellipse 80% 70% at 95% 30%, rgba(201, 162, 39, 0.2), transparent 48%),
    linear-gradient(165deg, #050a14 0%, #0b1f3b 42%, #122a4a 100%);
  opacity: 1;
  pointer-events: none;
}
.hero__mesh::after{
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.02) 14px,
    rgba(255, 255, 255, 0.02) 15px
  );
  border-radius: inherit;
}
.hero--showcase .container{
  position: relative;
  z-index: 1;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: stretch;
}
.hero-card{
  position: relative;
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(179, 18, 23, 0.09), transparent 58%),
    radial-gradient(520px 280px at 100% 100%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 60px rgba(8, 15, 30, 0.16);
}
.hero-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--brand-red), var(--brass));
  opacity: 0.95;
}
.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 31, 59, 0.06);
  color: var(--brand-red);
  border: 1px solid rgba(179, 18, 23, 0.22);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1{
  margin: 18px 0 12px;
  line-height: 1.08;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  color: var(--bg-deep);
  text-wrap: balance;
}
.hero--showcase .hero__hl{
  display: block;
  margin-top: 0.06em;
  background: linear-gradient(105deg, var(--brand-red) 0%, #c41e24 40%, var(--brass-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p{
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 600;
  max-width: 52ch;
  line-height: 1.65;
}
.hero-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-meta{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.stat{
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
  overflow: hidden;
}
.stat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-red), var(--brass));
}
.stat .value{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.stat .label{
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}

.hero-side{
  background:
    radial-gradient(520px 320px at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(90, 10, 14, 0.98) 0%, rgba(11, 31, 59, 0.99) 55%, #04080f 100%);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 28px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  position: relative;
}
.hero-side:before{
  content: "";
  position: absolute;
  inset: -120px -160px auto auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 68%);
  transform: rotate(12deg);
}
.hero-side .title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  position: relative;
}
.hero-side .list{
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  font-weight: 600;
  font-size: 14px;
}
.hero-side .list li{ margin: 10px 0; }
.hero-side .list li::marker{ color: var(--brass-bright); }
.hero-side .card{
  position: relative;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}
.hero-side .card .small{
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-side .card .line{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
}
.hero-side .card .line a{
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.hero-side .card .line a:hover{
  color: #fff;
}

@media (prefers-reduced-motion: no-preference){
  @keyframes hero-rise{
    from{
      opacity: 0;
      transform: translateY(22px);
    }
    to{
      opacity: 1;
      transform: translateY(0);
    }
  }
  .hero--showcase .hero-card{
    animation: hero-rise 0.72s var(--ease-out) both;
  }
  .hero--showcase .hero-side{
    animation: hero-rise 0.78s var(--ease-out) 0.1s both;
  }
}

/* Sections */
.section{
  padding: 40px 0;
}
/* Tighter gap before site footer (CTA / last block sits closer to footer) */
main > section.section:last-child{
  padding-bottom: 18px;
}
main > section.section:nth-child(even){
  background: linear-gradient(180deg, rgba(11, 31, 59, 0.04) 0%, rgba(11, 31, 59, 0.02) 100%);
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}
.section .head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section h2{
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
  color: var(--bg-deep);
  position: relative;
  padding-bottom: 14px;
}
.section .head h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brass));
}
.section .sub{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.6;
}

.grid{
  display: grid;
  gap: 14px;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card{
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(8, 15, 30, 0.07);
  padding: 20px;
}
.card::before{
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, rgba(179, 18, 23, 0.35), rgba(201, 162, 39, 0.5));
  opacity: 0;
  transition: opacity 0.2s var(--ease-standard);
}
@media (hover: hover){
  .card:hover::before{
    opacity: 1;
  }
}
.card h2{ margin: 0 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.card > h2:first-child{ margin-top: 0; }
.card > h2:not(:first-child){ margin-top: 22px; }
.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); font-weight: 600; }
.card .meta{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card--media{
  padding: 0;
  overflow: hidden;
}
.card--media::before,
.card--flat::before,
.hero-side .card::before{
  display: none !important;
}
.card--media img{
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference){
  .card--media img{
    transition: transform 0.55s var(--ease-out);
  }
  .card--media:hover img{
    transform: scale(1.045);
  }
}
.card--flat{
  box-shadow: none;
}
@media (hover: hover){
  main .section > .container > .grid > .card:not(.card--media){
    transition:
      transform 0.22s var(--ease-out),
      box-shadow 0.22s var(--ease-out),
      border-color 0.22s var(--ease-standard);
  }
  main .section > .container > .grid > .card:not(.card--media):hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
    border-color: rgba(17, 24, 39, 0.12);
  }
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,31,59,.16);
  background: rgba(11,31,59,.05);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}
.chip.brass{
  border-color: rgba(201,162,39,.28);
  background: rgba(201,162,39,.12);
  color: #6A4E00;
}

.cta-band{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(179, 18, 23, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 244, 249, 0.98) 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 48px rgba(8, 15, 30, 0.1);
}
.cta-band::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brass), var(--brand-red));
  opacity: 0.85;
}
.cta-band .title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: -0.02em;
  color: var(--bg-deep);
}
.cta-band .desc{
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.cta-band > div:first-child{
  flex: 1 1 260px;
  min-width: 0;
}
.cta-band .actions,
.cta-band .product-cta-actions,
.cta-band .catalog-cta-actions{
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@media (max-width: 680px){
  .cta-band{
    flex-direction: column;
    align-items: stretch;
  }
  .cta-band .actions,
  .cta-band .product-cta-actions,
  .cta-band .catalog-cta-actions{
    margin-left: 0;
  }
  .cta-band .actions > .btn,
  .cta-band .product-cta-actions > .btn,
  .cta-band .catalog-cta-actions > .btn{
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Page header */
.page-hero{
  padding: 26px 0 10px;
}
.page-hero .wrap{
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f1f4f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 24px 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 50px rgba(8, 15, 30, 0.1);
}
.breadcrumbs{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.page-hero h1{
  margin: 10px 0 6px;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--bg-deep);
}
.page-hero p{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Forms */
form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
}
label{
  font-weight: 800;
  font-size: 13px;
  color: #1F2937;
}
input, select, textarea{
  font: inherit;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  outline: none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(11,31,59,.35);
  box-shadow: 0 0 0 4px rgba(11,31,59,.10);
}
textarea{ min-height: 120px; resize: vertical; }
.help{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

/* Footer */
.footer{
  position: relative;
  margin-top: 8px;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(179, 18, 23, 0.08), transparent 45%),
    linear-gradient(180deg, #040910 0%, #0a172a 38%, #050a12 100%);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brass), var(--navy));
  opacity: 0.95;
}
.footer .container{
  padding-top: 8px;
}
.footer-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 18px 22px;
  align-items: start;
}
@media (max-width: 1080px) and (min-width: 981px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child{
    grid-column: 1 / -1;
  }
}
.footer-address{
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}
.footer-connect-lead{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.footer-connect-lead strong{
  color: rgba(255, 255, 255, 0.98);
  font-weight: 800;
}
.footer .muted{ color: rgba(255,255,255,.74); font-weight: 600; }
.footer a{
  color: rgba(255,255,255,.88);
  transition: color 0.2s var(--ease-standard);
}
/* Not inside @media (hover: hover): on hybrid/touch-primary Windows laptops
   that query is false, so mouse hover would never change color. */
.footer a:hover{
  color: var(--footer-link-hover);
  text-decoration: underline;
}
.footer .brand{
  text-decoration: none;
  margin-bottom: 0;
}
.footer-brand-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer .footer-brand{
  min-width: 0;
}
.footer-brand-art{
  flex: 0 0 auto;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
}
.footer-brand-art__img{
  display: block;
  max-height: 76px;
  width: auto;
  max-width: min(300px, 72vw);
  object-fit: contain;
}
.footer .brand .tag{
  color: rgba(255,255,255,.78);
}
.footer .brand .name{
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--brand-red);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.footer a.footer-brand:hover{
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}
.footer a.footer-brand:hover .name,
.footer a.footer-brand:hover .tag{
  text-decoration: none;
}
.footer a.footer-brand:hover .name{
  color: var(--brand-red);
}
@media (max-width: 520px){
  .footer-brand-row{
    gap: 10px;
  }
  .footer-brand-art__img{
    max-height: 60px;
    max-width: min(220px, 78vw);
  }
}

/* ----------------------------
   Per-page visual themes
   (Same layout/components; different accent atmosphere)
---------------------------- */

body.page{
  background-repeat: no-repeat;
}

/* Home: balanced red + navy (default vibe, slightly richer) */
body.page--home{
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -30%, rgba(179, 18, 23, 0.11), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 10%, rgba(11, 31, 59, 0.07), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      var(--mesh-lines) 11px,
      var(--mesh-lines) 12px
    );
}
/* Products: cooler “catalog” steel tone */
body.page--products{
  background:
    radial-gradient(900px 520px at 10% -12%, rgba(59,70,84,.16), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(11,31,59,.10), transparent 58%),
    var(--bg);
}
body.page--products .hero-card,
body.page--products .page-hero .wrap{
  border-color: rgba(59,70,84,.14);
}
body.page--products .nav a.active{
  background: rgba(11,31,59,.10);
  color: var(--navy);
  border-color: rgba(11,31,59,.16);
}

/* Product detail: stronger red focus */
body.page--product-detail{
  background:
    radial-gradient(900px 520px at 14% -12%, rgba(179,18,23,.16), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(201,162,39,.10), transparent 58%),
    var(--bg);
}
body.page--product-detail .page-hero .wrap{
  box-shadow: 0 16px 40px rgba(179,18,23,.10);
}

/* Manufacturing: deep industrial navy */
body.page--manufacturing{
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(11,31,59,.18), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(59,70,84,.10), transparent 58%),
    var(--bg);
}
body.page--manufacturing .nav a.active{
  background: rgba(11,31,59,.10);
  color: var(--navy);
  border-color: rgba(11,31,59,.16);
}

/* Wholesale: “gold deal” warmth */
body.page--wholesale{
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(201,162,39,.18), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(11,31,59,.10), transparent 58%),
    var(--bg);
}
body.page--wholesale .cta-band{
  border-color: rgba(201,162,39,.34);
}

/* About: calmer, editorial */
body.page--about{
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(17,24,39,.08), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(179,18,23,.08), transparent 58%),
    var(--bg);
}
/* Contact: high-contrast “action” */
body.page--contact{
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(34,197,94,.10), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(179,18,23,.10), transparent 58%),
    var(--bg);
}

/* Legal: minimal */
body.page--legal{
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(17,24,39,.06), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(59,70,84,.06), transparent 58%),
    var(--bg);
}
/* ----------------------------
   Per-page layout accents (NOT just colors)
---------------------------- */

/* Home: showcase hero + section polish */
body.page--home .hero-card{
  border-radius: var(--radius-lg);
}
body.page--home .hero-side{
  border-radius: var(--radius-lg);
}
body.page--home .section .card{
  border-radius: calc(var(--radius) + 2px);
}
body.page--home .home-overview{
  padding-top: 2px;
}
body.page--home .home-overview__wrap{
  max-width: min(880px, 100%);
  margin: 0 auto;
}
body.page--home .home-overview h2#company-overview-heading,
body.page--home .home-overview h2{
  margin: 0 0 14px;
  font-size: clamp(22px, 2.3vw, 28px);
  letter-spacing: -0.02em;
}
body.page--home .home-overview h3{
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-sans);
  color: var(--navy);
  letter-spacing: -0.02em;
}
body.page--home .home-overview h3:first-of-type{
  margin-top: 18px;
}
body.page--home .home-overview .home-overview__prose{
  margin: 0 0 14px;
  line-height: 1.65;
  font-size: 15px;
}

body.page--home .home-global{
  padding-top: 0;
  background: linear-gradient(180deg, rgba(11, 31, 59, 0.035) 0%, rgba(255, 255, 255, 0) 78%);
  border-top: 1px solid rgba(11, 31, 59, 0.07);
}
body.page--home .home-global__wrap{
  max-width: min(880px, 100%);
  margin: 0 auto;
}
body.page--home .home-global__h{
  margin: 0 0 12px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
body.page--home .home-global__h--next{
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(11, 31, 59, 0.14);
}
body.page--home .home-global__prose{
  margin: 0 0 14px;
  line-height: 1.65;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}
body.page--home .home-global__prose:last-child{
  margin-bottom: 0;
}

/* Products: “catalog” — tighter, more technical */
body.page--products .page-hero .wrap{
  border-radius: 10px;
  border-left: 4px solid rgba(59,70,84,.55);
}
body.page--products .section .card{
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05);
}

/* Products listing: catalog hero + grid */
body.page--products .catalog-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 20px;
  align-items: start;
}
body.page--products .catalog-hero-main.wrap{
  margin: 0;
  max-width: none;
}
body.page--products .catalog-kicker{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
}
body.page--products .catalog-lead{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
  max-width: 58ch;
}
body.page--products .catalog-quick{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
body.page--products .catalog-quick a{
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  border-bottom: 2px solid rgba(11, 31, 59, 0.18);
  padding-bottom: 2px;
}
body.page--products .catalog-quick a:hover{
  border-bottom-color: var(--navy);
}
body.page--products .catalog-strip{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page--products .catalog-strip__item{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(59, 70, 84, 0.14);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}
body.page--products .catalog-strip__label{
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
body.page--products .catalog-strip__value{
  display: block;
  margin-top: 4px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}
body.page--products .catalog-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
body.page--products .catalog-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
body.page--products a.catalog-card{
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
body.page--products a.catalog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
}
body.page--products .catalog-card--featured{
  padding: 0;
  overflow: hidden;
}
body.page--products .catalog-card__media{
  margin: 0;
  padding: 18px 14px 14px;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(179, 18, 23, 0.12), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-sizing: border-box;
  flex: 0 0 auto;
  text-align: center;
}
body.page--products .catalog-card__media img{
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
body.page--products .catalog-card--featured .catalog-card__body{
  flex: 1;
  padding: 16px 16px 0;
}
body.page--products .catalog-card__body h3{
  margin-top: 0;
}
body.page--products .catalog-card--featured .catalog-card__cta{
  padding: 12px 16px 16px;
  margin-top: 0;
  font-weight: 900;
  font-size: 13px;
  color: var(--brand-red);
}
body.page--products .catalog-cta{
  margin-top: 18px;
}
@media (max-width: 920px){
  body.page--products .catalog-hero-inner{
    grid-template-columns: 1fr;
  }
  body.page--products .catalog-grid{
    grid-template-columns: 1fr;
  }
}

/* Product detail: “datasheet” — wider reading + spec emphasis */
body.page--product-detail .page-hero .wrap{
  border-radius: 12px;
  border: 1px solid rgba(179,18,23,.18);
  border-left: 6px solid rgba(179,18,23,.75);
}
body.page--product-detail .section .card{
  border-radius: 12px;
}
body.page--product-detail .grid.cols-2{
  align-items: start;
  gap: 18px;
}
body.page--product-detail .chip.brass{
  border-color: rgba(179,18,23,.22);
  background: rgba(179,18,23,.08);
  color: #7F0F13;
}

/* Product detail page layout */
body.page--product-detail .product-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 20px;
  align-items: start;
}
body.page--product-detail .product-hero-main.wrap{
  margin: 0;
  max-width: none;
}
body.page--product-detail .product-kicker{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7f0f13;
}
body.page--product-detail .product-lead{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
  max-width: 60ch;
}
body.page--product-detail .product-back{
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 13px;
  color: var(--steel);
  border-bottom: 2px solid rgba(59, 70, 84, 0.22);
  padding-bottom: 2px;
}
body.page--product-detail .product-back:hover{
  color: var(--navy);
  border-bottom-color: rgba(11, 31, 59, 0.4);
}
body.page--product-detail .product-hero-aside{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.page--product-detail .product-hero-chip{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(179, 18, 23, 0.22);
  background: rgba(179, 18, 23, 0.07);
  font-weight: 800;
  font-size: 12px;
  color: #5c0d11;
}
body.page--product-detail .product-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}
body.page--product-detail .product-media{
  padding: 0;
  overflow: hidden;
}
body.page--product-detail .product-media img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.page--product-detail .product-panel__h{
  margin-top: 0;
  font-size: 22px;
}
body.page--product-detail .product-panel__lead{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
body.page--product-detail .product-checklist{
  margin: 16px 0 0;
  padding: 12px 14px 12px 28px;
  border-left: 4px solid rgba(179, 18, 23, 0.45);
  border-radius: 0 12px 12px 0;
  background: rgba(245, 247, 250, 0.55);
  list-style: disc;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
}
body.page--product-detail .product-checklist li{
  margin: 8px 0;
}
body.page--product-detail .product-mini-grid{
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.page--product-detail .product-mini{
  box-shadow: none;
  padding: 12px;
  border-radius: 10px;
}
body.page--product-detail .product-mini h3{
  margin-top: 0;
  font-size: 14px;
}
body.page--product-detail .product-mini p{
  font-size: 13px;
}
body.page--product-detail .product-actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.page--product-detail .product-sizes{
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.92), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}
body.page--product-detail .product-size-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.page--product-detail .product-size-card{
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  /* Same neutral top bar for every size; only :target gets red */
  border-top: 4px solid rgba(11, 31, 59, 0.22);
}
body.page--product-detail .product-size-card__mm{
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(17, 24, 39, 0.07);
}
body.page--product-detail .product-size-card__unit{
  position: absolute;
  top: 46px;
  right: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
body.page--product-detail .product-size-card h3{
  margin-top: 0;
}
body.page--product-detail .product-size-lead{
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
}
body.page--product-detail .product-size-thumb{
  margin: 6px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
  background: linear-gradient(165deg, #c4161c 0%, var(--brand-red) 42%, #7a0d11 100%);
  padding: 16px 12px 14px;
  box-sizing: border-box;
  text-align: center;
}
body.page--product-detail .product-size-thumb img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
body.page--product-detail .product-size-spec{
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
body.page--product-detail .product-size-spec dt{
  margin: 0;
  font-weight: 800;
  color: var(--steel);
}
body.page--product-detail .product-size-spec dd{
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}
body.page--product-detail [id^="size-"]{
  scroll-margin-top: 104px;
}
/* Deep link (#size-70 / #size-80 / #size-90) — red ring + red top bar on selected only */
body.page--product-detail .product-size-card:target{
  border-top-color: var(--brand-red);
  box-shadow:
    0 0 0 3px var(--brand-red),
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 44px rgba(8, 15, 30, 0.12);
  border-color: rgba(179, 18, 23, 0.35);
}
@media (prefers-reduced-motion: reduce){
  body.page--product-detail .product-size-card:target{
    box-shadow:
      0 0 0 3px var(--brand-red),
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 14px 36px rgba(8, 15, 30, 0.07);
  }
}
/* Round pad lock — brochure (PDF) table + legal notes */
body.page--product-detail .brochure-prose{
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 600;
}
body.page--product-detail .brochure-prose strong{
  color: var(--text);
}
body.page--product-detail .trademark-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(179, 18, 23, 0.07);
  border: 1px solid rgba(179, 18, 23, 0.16);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
body.page--product-detail .terms-list{
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
body.page--product-detail .terms-list li{
  margin: 8px 0;
}
body.page--product-detail .brochure-table-wrap{
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
body.page--product-detail table.brochure-spec{
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
}
body.page--product-detail table.brochure-spec th,
body.page--product-detail table.brochure-spec td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}
body.page--product-detail table.brochure-spec th{
  background: rgba(179, 18, 23, 0.1);
  color: var(--brand-red);
  font-weight: 800;
  font-family: var(--font-sans);
}
body.page--product-detail table.brochure-spec tr:last-child td{
  border-bottom: 0;
}
body.page--product-detail table.brochure-spec td:first-child{
  font-weight: 800;
  color: var(--steel);
  white-space: nowrap;
  background: rgba(11, 31, 59, 0.04);
}
@media (max-width: 920px){
  body.page--product-detail .product-hero-inner{
    grid-template-columns: 1fr;
  }
  body.page--product-detail .product-layout{
    grid-template-columns: 1fr;
  }
  body.page--product-detail .product-mini-grid{
    grid-template-columns: 1fr;
  }
  body.page--product-detail .product-size-grid{
    grid-template-columns: 1fr;
  }
  body.page--product-detail .product-size-spec{
    grid-template-columns: 1fr;
  }
}

/* Manufacturing: “industrial” — slab headers + stronger separators */
body.page--manufacturing .page-hero .wrap{
  border-radius: 6px;
  border-left: 6px solid rgba(11,31,59,.85);
}
body.page--manufacturing .page-hero h1{
  letter-spacing: -0.03em;
}
body.page--manufacturing .section .head{
  border-bottom: 1px solid rgba(17,24,39,.10);
  padding-bottom: 10px;
}
body.page--manufacturing .section .card{
  border-radius: 8px;
}

/* Wholesale: “deal sheet” — warmer panels + stronger CTA framing */
body.page--wholesale .page-hero .wrap{
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #FFFBF0);
}
body.page--wholesale .section .card{
  border-radius: 18px;
}
body.page--wholesale .cta-band{
  border-radius: 18px;
}

/* About: editorial — softer cards (hero layout uses .about-hero-inner) */
body.page--about .section .card{
  border-radius: 22px;
}

/* Contact: “service desk” — form-forward framing */
body.page--contact .page-hero .wrap{
  border-radius: 16px;
  border: 1px solid rgba(15,81,50,.22);
  background: linear-gradient(180deg, #FFFFFF, #F4FFF8);
}
body.page--contact .section .card{
  border-radius: 16px;
}

/* Legal: “document” — crisp, minimal */
body.page--legal .page-hero .wrap{
  border-radius: 6px;
  border: 1px solid rgba(17,24,39,.12);
  box-shadow: none;
}
body.page--legal .section .card{
  border-radius: 6px;
  box-shadow: none;
}

body.page--legal .legal-pdf-actions{
  margin: 14px 0 16px;
}
body.page--legal .legal-pdf-download{
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  max-width: min(100%, 440px);
  padding: 14px 18px 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(11, 31, 59, 0.14);
  border-left: 4px solid rgba(179, 18, 23, 0.78);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-sans);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 28px rgba(8, 15, 30, 0.07);
  transition:
    border-color 0.2s var(--ease-standard),
    box-shadow 0.25s var(--ease-out),
    transform 0.2s var(--ease-out);
}
body.page--legal .legal-pdf-download:hover{
  border-color: rgba(179, 18, 23, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 36px rgba(8, 15, 30, 0.11);
  transform: translateY(-2px);
}
body.page--legal .legal-pdf-download:focus-visible{
  outline: 2px solid rgba(179, 18, 23, 0.45);
  outline-offset: 3px;
}
body.page--legal .legal-pdf-download__ic{
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: rgba(179, 18, 23, 0.92);
}
body.page--legal .legal-pdf-download__lines{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
body.page--legal .legal-pdf-download__kicker{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(179, 18, 23, 0.96);
}
body.page--legal .legal-pdf-download__title{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
}
body.page--legal .legal-pdf-download__sub{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce){
  body.page--legal .legal-pdf-download{
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  body.page--legal .legal-pdf-download:hover{
    transform: none;
  }
}

/* ----------------------------
   Per-page “rhythm” — clearly different layouts, not only accents
---------------------------- */

/* Wholesale: B2B “sheet” — warm bands + brass rail + sans headline */
body.page--wholesale .page-hero{
  padding-top: 22px;
}
body.page--wholesale .page-hero .wrap{
  border-left: 10px solid var(--brass);
  box-shadow: 0 18px 44px rgba(106, 82, 0, 0.10);
}
body.page--wholesale .page-hero h1{
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.045em;
}
body.page--wholesale main > section.section:nth-child(3){
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.10), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}
body.page--wholesale main > section.section:nth-child(2) .grid.cols-2 > .card:first-child{
  background: linear-gradient(180deg, #fffbf2, #ffffff);
  border-color: rgba(201, 162, 39, 0.34);
}
body.page--wholesale main > section.section:nth-child(2) .grid.cols-2 > .card:last-child{
  border-color: rgba(17, 24, 39, 0.10);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

/* About: split hero + asymmetric story + pillars */
body.page--about .page-hero.about-hero{
  padding-top: 30px;
}
body.page--about .about-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 22px;
  align-items: start;
}
body.page--about .about-hero-main.wrap{
  margin: 0;
  max-width: none;
  border-radius: 22px;
  border-top: 4px solid var(--brand-red);
  background: linear-gradient(180deg, #ffffff, #fbfbfc);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}
body.page--about .page-hero h1{
  font-size: clamp(2rem, 3.6vw, 2.65rem);
}
body.page--about .about-hero-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}
body.page--about .about-prose{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55;
  max-width: 65ch;
}
body.page--about .about-prose--tight{
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}
body.page--about .about-link-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
body.page--about .about-link-row a{
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-red);
  border-bottom: 2px solid rgba(179, 18, 23, 0.28);
  padding-bottom: 2px;
}
body.page--about .about-link-row a:hover{
  border-bottom-color: var(--brand-red);
}
body.page--about .about-facts{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page--about .about-fact{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}
body.page--about .about-fact__label{
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
body.page--about .about-fact__value{
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.3;
}

body.page--about .about-story-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: stretch;
}
body.page--about .about-story-main{
  border-left: 5px solid rgba(179, 18, 23, 0.58);
}
body.page--about .about-story-main__h{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}
body.page--about .about-values{
  background: linear-gradient(180deg, #fafafa, #ffffff);
  border: 1px solid rgba(17, 24, 39, 0.08);
}
body.page--about .about-values__h{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}
body.page--about .about-values-list{
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}
body.page--about .about-values-list li{
  margin: 8px 0;
}

body.page--about .about-gallery-head{
  margin-bottom: 6px;
}
body.page--about .about-gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}
body.page--about .about-gallery-card{
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body.page--about .about-gallery-frame{
  margin: 0;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.06);
}
body.page--about .about-gallery-frame img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 629;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s var(--ease-out);
}
body.page--about .about-gallery-card:hover .about-gallery-frame img{
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce){
  body.page--about .about-gallery-frame img{
    transition: none;
  }
  body.page--about .about-gallery-card:hover .about-gallery-frame img{
    transform: none;
  }
}
body.page--about .about-gallery-card figcaption{
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference){
  body.page--about .about-gallery-card{
    transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out);
  }
  body.page--about .about-gallery-card:hover{
    transform: translateY(-5px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 20px 48px rgba(8, 15, 30, 0.14);
  }
}
@media (max-width: 720px){
  body.page--about .about-gallery-grid{
    grid-template-columns: 1fr;
  }
}

body.page--about .about-location-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}
body.page--about .about-location__h{
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
}
body.page--about .about-address{
  margin: 14px 0 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
body.page--about .about-location-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.page--about .about-location-note__h{
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}
body.page--about .about-location-note{
  border: 1px dashed rgba(179, 18, 23, 0.22);
  background: linear-gradient(180deg, #fffdfd, #ffffff);
}

body.page--about .about-cta .about-cta-band{
  border-left: 5px solid rgba(179, 18, 23, 0.55);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

body.page--about .about-pillars{
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.045), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
body.page--about .about-pillar-grid{
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.page--about .about-pillar{
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 52px;
  border-radius: 22px;
}
body.page--about .about-pillar::before{
  content: "01";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand-red);
  background: rgba(179, 18, 23, 0.09);
  border: 1px solid rgba(179, 18, 23, 0.22);
}
body.page--about .about-pillar:nth-child(2)::before{
  content: "02";
}
body.page--about .about-pillar:nth-child(3)::before{
  content: "03";
}
body.page--about .about-pillar h3{
  margin-top: 0;
}

@media (max-width: 920px){
  body.page--about .about-hero-inner{
    grid-template-columns: 1fr;
  }
  body.page--about .about-facts{
    flex-direction: row;
    flex-wrap: wrap;
  }
  body.page--about .about-fact{
    flex: 1 1 140px;
  }
  body.page--about .about-story-inner{
    grid-template-columns: 1fr;
  }
  body.page--about .about-pillar-grid{
    grid-template-columns: 1fr;
  }
  body.page--about .about-location-inner{
    grid-template-columns: 1fr;
  }
}

/* Contact: “desk” — form card vs info card */
body.page--contact .page-hero{
  padding-top: 22px;
}
body.page--contact .page-hero h1{
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.04em;
}
body.page--contact main > section.section:nth-child(2) .grid.cols-2{
  align-items: stretch;
  gap: 18px;
}
body.page--contact main > section.section:nth-child(2) .grid.cols-2 > .card:first-child{
  border: 1px solid rgba(15, 81, 50, 0.28);
  background: linear-gradient(180deg, #f4fff8, #ffffff);
  box-shadow: 0 14px 34px rgba(15, 81, 50, 0.08);
}
body.page--contact main > section.section:nth-child(2) .grid.cols-2 > .card:last-child{
  border-style: dashed;
  border-color: rgba(15, 81, 50, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

body.page--contact .contact-card-section{
  padding-top: 24px;
  padding-bottom: 20px;
  scroll-margin-top: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(228, 233, 241, 0.95) 100%);
  border-top: 1px solid rgba(15, 81, 50, 0.14);
}
body.page--contact .contact-card-frame{
  margin: 0 auto;
  max-width: min(920px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 81, 50, 0.24);
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 56px rgba(8, 15, 30, 0.12);
}
body.page--contact .contact-card-frame img{
  width: 100%;
  height: auto;
  display: block;
}

/* Manufacturing: split hero + facility photos + capability grid + CTA */
body.page--manufacturing .page-hero.mfg-hero{
  padding-top: 20px;
}
body.page--manufacturing .mfg-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 270px);
  gap: 20px;
  align-items: stretch;
}
body.page--manufacturing .mfg-hero-main{
  min-width: 0;
}
body.page--manufacturing .mfg-stats{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page--manufacturing .mfg-stat{
  flex: 1;
  min-height: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, #0b1f3b, #14365e);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(11, 31, 59, 0.22);
}
body.page--manufacturing .mfg-stat__value{
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
}
body.page--manufacturing .mfg-stat__label{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

body.page--manufacturing .mfg-photos{
  padding-top: 10px;
}
body.page--manufacturing .mfg-capabilities{
  padding-top: 8px;
  padding-bottom: 6px;
  background: linear-gradient(180deg, rgba(11, 31, 59, 0.04) 0%, rgba(255, 255, 255, 0) 72%);
  border-top: 1px solid rgba(11, 31, 59, 0.08);
}
body.page--manufacturing .mfg-cap-intro{
  max-width: 760px;
  margin-bottom: 16px;
}
body.page--manufacturing .mfg-cap-intro__kicker{
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
body.page--manufacturing .mfg-cap-intro h2{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
body.page--manufacturing .mfg-cap-intro__lead{
  margin: 0;
  max-width: 640px;
}
body.page--manufacturing .mfg-cap-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 59, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f1f4f9 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
body.page--manufacturing .mfg-cap-nav a{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid rgba(11, 31, 59, 0.14);
  background: rgba(255, 255, 255, 0.92);
  transition:
    border-color 0.2s var(--ease-standard),
    box-shadow 0.2s var(--ease-out),
    transform 0.15s var(--ease-standard);
}
body.page--manufacturing .mfg-cap-nav a:hover{
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 8px 20px rgba(8, 15, 30, 0.08);
  transform: translateY(-1px);
}
body.page--manufacturing .mfg-cap-nav a:focus-visible{
  outline: 2px solid rgba(179, 18, 23, 0.45);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  body.page--manufacturing .mfg-cap-nav a{
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  body.page--manufacturing .mfg-cap-nav a:hover{
    transform: none;
  }
}
body.page--manufacturing .mfg-cap-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
body.page--manufacturing .mfg-cap-card{
  margin: 0;
  padding: 20px 20px 20px 22px;
  border-left: 4px solid rgba(201, 162, 39, 0.85);
  border-radius: calc(var(--radius) + 2px);
  scroll-margin-top: 100px;
}
body.page--manufacturing .mfg-cap-card::before{
  display: none !important;
}
body.page--manufacturing .mfg-cap-card__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
body.page--manufacturing .mfg-cap-card__step{
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(11, 31, 59, 0.75);
  background: rgba(11, 31, 59, 0.06);
  border: 1px solid rgba(11, 31, 59, 0.1);
}
body.page--manufacturing .mfg-cap-card h3{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-sans);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
body.page--manufacturing .mfg-cap-card .text-lead{
  margin: 0 0 12px;
  line-height: 1.62;
}
body.page--manufacturing .mfg-cap-card .text-lead:last-of-type{
  margin-bottom: 0;
}
body.page--manufacturing .mfg-cap-list{
  margin: 4px 0 14px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
}
body.page--manufacturing .mfg-cap-list li{
  margin: 7px 0;
}
@media (min-width: 860px){
  body.page--manufacturing .mfg-cap-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.page--manufacturing .mfg-photo-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}
body.page--manufacturing .mfg-photo-card{
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body.page--manufacturing .mfg-photo-frame{
  overflow: hidden;
  background: rgba(11, 31, 59, 0.06);
}
body.page--manufacturing .mfg-photo-frame img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 629;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s var(--ease-out);
}
body.page--manufacturing .mfg-photo-card:hover .mfg-photo-frame img{
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce){
  body.page--manufacturing .mfg-photo-frame img{
    transition: none;
  }
  body.page--manufacturing .mfg-photo-card:hover .mfg-photo-frame img{
    transform: none;
  }
}
body.page--manufacturing .mfg-photo-card figcaption{
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference){
  body.page--manufacturing .mfg-photo-card{
    transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out);
  }
  body.page--manufacturing .mfg-photo-card:hover{
    transform: translateY(-5px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 20px 48px rgba(8, 15, 30, 0.14);
  }
}
@media (max-width: 720px){
  body.page--manufacturing .mfg-photo-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px){
  body.page--manufacturing .mfg-hero-inner{
    grid-template-columns: 1fr;
  }
  body.page--manufacturing .mfg-stats{
    flex-direction: row;
    flex-wrap: wrap;
  }
  body.page--manufacturing .mfg-stat{
    flex: 1 1 160px;
  }
}

/* Products: catalog density — tighter hero + product band */
body.page--products .page-hero{
  padding-top: 18px;
}
body.page--products .page-hero .wrap{
  padding: 16px 16px 14px;
}
body.page--products main > section.catalog-section{
  padding-top: 26px;
}
body.page--products main > section.catalog-section .head{
  border-bottom: 1px dashed rgba(59, 70, 84, 0.22);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.footer .links{
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.footer .copy{
  margin-top: 26px;
  margin-bottom: 8px;
  padding-top: 18px;
  padding-right: max(0px, 58px - env(safe-area-inset-right, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 13px;
}
.footer .copy .copy-powered{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  flex: 1 1 280px;
}
.footer .copy .copy-powered a{
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(255, 255, 255, 0.95);
}
.footer .copy .copy-powered a:hover{
  color: var(--footer-powered-link-hover-fallback);
  color: var(--footer-powered-link-hover);
  text-decoration-thickness: 2px;
}
.footer .copy .copy-tagline{
  max-width: 46ch;
  text-align: right;
  color: rgba(227, 188, 60, 0.88);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
@media (max-width: 640px){
  .footer .copy{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer .copy .copy-tagline{
    text-align: left;
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 980px){
  .logo-mark.logo-wide{
    width: 170px;
    height: 50px;
  }
  /* Header logo: same natural sizing, slightly smaller cap on phones */
  .header .logo-mark.logo-wide{
    max-width: min(300px, 88vw);
    max-height: 78px;
  }
  .header .logo-mark.logo-wide img{
    max-height: 78px;
  }
  .header .brand{
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    text-align: left;
  }
  .header .brand .text{
    align-items: flex-start;
  }
  .brand-logo{
    height: 38px;
    max-width: 240px;
  }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero--showcase{
    padding: 28px 0 36px;
  }
  .hero__mesh{
    inset: -24px 0 auto 0;
    height: min(70vh, 520px);
    border-radius: 0 0 28px 28px;
  }
  .hero-meta{
    grid-template-columns: 1fr;
  }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .grid.cols-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }

  .menu-btn{
    display: inline-flex;
    order: -1;
    flex: 0 0 auto;
    margin-right: 4px;
    z-index: 52;
  }
  .header-inner .header-ctas{
    order: 1;
    flex: 0 0 auto;
  }
  .header-ctas .btn.secondary{ display: none; }

  /* Side drawer nav (mobile) */
  .nav-backdrop{
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(17, 24, 39, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }
  .nav-backdrop.is-visible{
    opacity: 1;
    visibility: visible;
  }

  .nav{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: 100%;
    margin: 0;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 24px;
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
    border-radius: 0;
    border: 0;
    border-right: 1px solid rgba(17, 24, 39, 0.12);
    background: #ffffff;
    box-shadow: 12px 0 40px rgba(17, 24, 39, 0.16);
    z-index: 51;
    transform: translateX(-104%);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open{
    transform: translateX(0);
  }

  .nav-drawer-head{
    position: relative;
    margin: 0 0 12px;
    padding: 6px 0 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    flex-shrink: 0;
  }
  .nav-drawer-brand{
    display: block;
    width: 100%;
    padding-right: 0;
    text-decoration: none;
    color: inherit;
  }
  .nav .nav-drawer-brand .logo-mark.logo-wide{
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav .nav-drawer-brand .logo-mark.logo-wide img{
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: contain;
    object-position: center center;
  }

  .nav a{
    text-align: left;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 15px;
  }
  .nav a.active{
    border-width: 1px;
  }

  body.nav-drawer-open{
    overflow: hidden;
    touch-action: none;
  }

  .header-inner{
    flex-wrap: wrap;
  }
}

@media (min-width: 981px){
  .nav-backdrop{
    display: none !important;
  }
  .nav-drawer-head{
    display: none !important;
  }
  body.nav-drawer-open{
    overflow: auto !important;
    touch-action: auto !important;
  }
}

/* Scroll-reveal (class added via main.js; no-JS = no class = no offset) */
@media (prefers-reduced-motion: no-preference){
  .reveal-on-scroll{
    transform: translateY(20px);
    opacity: 0.88;
    transition:
      transform 0.7s var(--ease-out),
      opacity 0.65s var(--ease-out);
    will-change: transform, opacity;
  }
  .reveal-on-scroll.is-revealed{
    transform: translateY(0);
    opacity: 1;
    will-change: auto;
  }
}

/* Back to top (button injected via main.js) */
.back-top{
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 59, 0.18);
  background: linear-gradient(165deg, #ffffff 0%, #eef2f7 100%);
  color: var(--navy);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px rgba(8, 15, 30, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.94);
  transition:
    opacity 0.3s var(--ease-out),
    visibility 0.3s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.25s var(--ease-standard),
    border-color 0.25s var(--ease-standard);
}
.back-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-top:hover{
  border-color: rgba(179, 18, 23, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 44px rgba(179, 18, 23, 0.15);
}
.back-top svg{
  width: 22px;
  height: 22px;
  display: block;
}
body.nav-drawer-open .back-top{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce){
  .back-top{
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

@media (hover: hover){
  .chip{
    transition: transform 0.16s var(--ease-standard), border-color 0.2s var(--ease-standard);
  }
  .chip:hover{
    transform: translateY(-1px);
    border-color: rgba(11, 31, 59, 0.26);
  }
}

.footer .links a{
  transition: color 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}
.footer .links a:hover{
  color: var(--footer-link-hover);
}
@media (hover: hover){
  .footer .links a:hover{
    transform: translateX(3px);
  }
}

