:root {
  --text: #0f172a;

  /* Red accents (Apple tone) */
  --blue: #c60156;   /* Used for buttons, hover, highlights */
  --teal: #c60156;   /* Keep same accent tone */

  /* Light blue-teal background */
  --bg-top: #f0f7ff;     /* soft blue at top */
  --bg-mid: #e9fffb;     /* gentle teal in middle */
  --bg-bottom: #ffffff;  /* white at bottom */
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(14,165,233,.15), transparent 60%),
    radial-gradient(1000px 500px at 85% 0%, rgba(20,184,166,.16), transparent 60%),
    linear-gradient(to bottom, var(--bg-top), var(--bg-mid), var(--bg-bottom));
  background-attachment: fixed;
}


/* links, remove UA underlines everywhere */
a{ color:inherit; text-decoration:none; }

/* ===== NAVBAR: larger bold menu, no underlines ===== */
.navbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);border-bottom:1px solid #e5e7eb}
.navbar .row{display:flex;align-items:center;justify-content:space-between;padding:12px 0}

.navlinks{
  display:flex;
  align-items:center;
  gap:32px;
}
.navlinks a{
  text-decoration:none;
  font-weight:700;
  font-size: 14px;
  letter-spacing:.2px;
  color:#0f172a;
  opacity:.95;
  transition:color .2s ease, opacity .2s ease, transform .08s ease;
}
.navlinks a:hover,
.navlinks a.active{
  opacity:1;
  color:var(--blue);
  transform:translateY(-1px);
}

/* layout */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700}
.badge{display:inline-block;background:var(--blue);color:#fff;border-radius:999px;font-size:12px;padding:2px 8px}

.btn{display:inline-block;padding:12px 16px;border-radius:16px;text-decoration:none;font-size:14px;transition:transform .12s ease, box-shadow .12s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.btn.primary{
  background:var(--blue);
  color:#fff;
}
.btn.outline{
  border:1px solid var(--blue);
  color:var(--blue);
  background:transparent;
}

.hero{padding:72px 0}
.grid{display:grid;gap:24px}
.hero .grid{grid-template-columns:1fr}
@media(min-width:980px){ .hero .grid{grid-template-columns:1.1fr .9fr} }

.card{
  background:rgba(255,255,255,.9);
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(0,0,0,.12)}
.float{position:relative;overflow:hidden}
.float::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(400px 200px at 100% 0%, rgba(14,165,233,.08), transparent 60%);
  pointer-events:none;
}

img.resp{width:100%;height:auto;display:block;border-radius:16px;object-fit:cover}
.tag{position:absolute;right:16px;bottom:16px;font-size:12px;background:#fff;padding:6px 10px;border-radius:12px;box-shadow:0 6px 14px rgba(0,0,0,.08)}

h1{font-size:56px;line-height:1.03;margin:0}
h2{font-size:32px;margin:0 0 8px}
p.lead{font-size:18px;opacity:.9;margin:16px 0 0}
.cta-row{margin-top:28px;display:flex;gap:12px}

.metrics{margin-top:36px;display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.metric h3{margin:0;font-size:28px;font-weight:700}
.metric p{margin:4px 0 0;font-size:12px;opacity:.7}

.section{padding:64px 0}
.soft-grad{background:linear-gradient(180deg, rgba(14,165,233,.06), rgba(20,184,166,.06) 60%, transparent)}
.section-title{text-align:center;max-width:800px;margin:0 auto 24px}
.eyebrow {
  font-size: 15px;          /* was 12px */
  letter-spacing: 2px;      /* more breathing space */
  color: var(--blue);       /* keeps your accent red */
  text-transform: uppercase;
  font-weight: 600;         /* gives it authority */
  margin-bottom: 10px;      /* slight lift from heading */
}
.eyebrow {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp .8s ease forwards .3s;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}


.cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card-title{font-weight:600;margin-bottom:8px}
.card-copy{font-size:14px;opacity:.9}
.list{margin:0;padding-left:16px}
.list-tight > div{margin:6px 0}
.catalog-cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.catalog-card img{height:160px;object-fit:contain;background:#fff;border-radius:8px}
.mt{margin-top:10px}

.leaders{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.leader{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:start}
.avatar{width:76px;height:76px;border-radius:50%;object-fit:cover}
.leader-name{margin:0;font-size:18px;font-weight:600}
.leader-role{font-size:14px;opacity:.9}
.leader-sub{font-size:12px;opacity:.7;margin-top:4px}
.leader-bio{font-size:14px;opacity:.9;margin:8px 0 0}

.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
label{font-size:12px;opacity:.8;display:block;margin-bottom:6px}
.input, textarea{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;font-size:14px}
.form-actions{margin-top:16px;display:flex;align-items:center;justify-content:space-between}
.note{font-size:12px;opacity:.7}

.footer{padding:24px 0;border-top:1px solid #e5e7eb;background:rgba(255,255,255,.92);margin-top:40px}
.foot{font-size:14px;opacity:.8}

/* motion */
.fade-in{opacity:0;transform:translateY(8px);animation:fadeIn .6s ease forwards}
@keyframes fadeIn{to{opacity:1;transform:none}}


/* =========================
   RESPONSIVE LAYOUT
   ========================= */

/* Large tablets / small laptops */
@media (max-width: 1200px){
  .container{ max-width: 100%; padding: 0 20px; }
  .navlinks{ gap: 24px; }
  h1{ font-size: 48px; }
}

/* Tablets */
@media (max-width: 980px){
  /* Hero stacks, image drops below text */
  .hero{ padding: 56px 0; }
  .hero .grid{ grid-template-columns: 1fr; }
  .hero .grid > .card{ order: 2; margin-top: 20px; }
  .hero .grid > div:first-child{ order: 1; }
  h1{ font-size: 42px; line-height: 1.08; }
  p.lead{ font-size: 16px; }

  .metrics{ gap: 20px; }
  .metric h3{ font-size: 24px; }

  .cards{ grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
  .catalog-cards{ grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
  .catalog-card img{ height: 140px; }

  .leaders{ grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
}

/* Phones (keeps nav readable without HTML changes) */
@media (max-width: 768px){
  /* Navbar: make links horizontally scrollable like tabs */
  .navbar .row{ gap: 12px; }
  .brand{ font-size: 16px; }
  .badge{ font-size: 11px; padding: 2px 8px; }

  .navlinks{
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin: 0 -12px;
    padding-left: 12px;
  }
  .navlinks a{
    font-size: 15.5px;
    scroll-snap-align: center;
  }

  .btn{ padding: 10px 14px; border-radius: 14px; font-size: 14px; }
  .btn.primary{ /* keep strong presence but smaller pill */ }
  .cta-row{ gap: 10px; }

  h1{ font-size: 34px; }
  h2{ font-size: 26px; }
  .section{ padding: 48px 0; }

  .card{ padding: 14px; border-radius: 14px; }
  .tag{ right: 12px; bottom: 12px; }

  .catalog-card img{ height: 120px; }
  .leaders{ grid-template-columns: 1fr; }
  .leader{ grid-template-columns: 64px 1fr; }
  .avatar{ width: 64px; height: 64px; }

  .form-grid{ grid-template-columns: 1fr; }
  .form-actions{ flex-direction: column; gap: 10px; align-items: stretch; }
  .note{ text-align: center; }
}

/* Small phones */
@media (max-width: 480px){
  .navlinks{ gap: 16px; }
  .navlinks a{ font-size: 15px; }
  h1{ font-size: 30px; }
  p.lead{ font-size: 15px; }
  .metrics{ gap: 16px; }
  .metric h3{ font-size: 22px; }
  .catalog-card img{ height: 110px; }
}
/* spacing guard on small screens */
@media (max-width: 1200px){
  .container{ max-width: 100%; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 980px){
  .container{
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .section{ padding-left: 0; padding-right: 0; }
}

/* hamburger button */
.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0 10px;
}
.nav-toggle .bar{ width: 20px; height: 2px; background: #0f172a; display: block; }
.nav-toggle .bar:nth-child(2){ opacity:.85; }

/* mobile drawer and backdrop */
.mobile-backdrop{
  position: fixed; inset: 0; background: rgba(0,0,0,.28);
  display: none; z-index: 60;
}
.mobile-menu{
  position: fixed; top: 64px; right: 16px; left: 16px;
  background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  display: none; flex-direction: column; gap: 8px; z-index: 70;
}
.mobile-menu a{
  padding: 12px; border-radius: 10px;
  font-weight: 600; font-size: 16px; color: #0f172a;
}
.mobile-menu a:hover{ background: rgba(0,0,0,.04); }
.mobile-menu .btn.primary{ text-align: center; margin-top: 4px; }

/* show hamburger on mobile, hide desktop nav */
@media (max-width: 980px){
  .navlinks{ display: none; }
  .hide-on-mobile{ display: none; }
  .nav-toggle{ display: inline-flex; }
}

/* hero and content stacking on mobile, keep air on sides */
@media (max-width: 980px){
  .hero{ padding: 56px 0; }
  .hero .grid{ grid-template-columns: 1fr; }
  .hero .grid > .card{ order: 2; margin-top: 16px; }
  .hero .grid > div:first-child{ order: 1; }
  h1{ font-size: 36px; line-height: 1.1; }
  p.lead{ font-size: 16px; }
}
@media (max-width: 768px){
  .cards{ grid-template-columns: 1fr; }
  .catalog-cards{ grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
  .leader{ grid-template-columns: 64px 1fr; }
  .avatar{ width: 64px; height: 64px; }
  .form-grid{ grid-template-columns: 1fr; }
  .form-actions{ flex-direction: column; gap: 10px; align-items: stretch; }
}

/* active link highlight on desktop remains red */
.navlinks a:hover,
.navlinks a.active{ color: var(--blue); }


.section{ position: relative; }

/* Seamless page background: remove section overlays */
.soft-grad{
  background: transparent !important;
}

/* Metrics reveal and count styling */
.metrics .metric{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: transform, opacity;
}
.metrics .metric.reveal{
  opacity: 1;
  transform: none;
}
.metrics .metric:nth-child(2){ transition-delay: .08s; }
.metrics .metric:nth-child(3){ transition-delay: .16s; }

/* Reduce Motion support */
@media (prefers-reduced-motion: reduce){
  .metrics .metric{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* Metrics reveal and count styling */
.metrics .metric{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: transform, opacity;
}
.metrics .metric.reveal{
  opacity: 1;
  transform: none;
}
.metrics .metric:nth-child(2){ transition-delay: .08s; }
.metrics .metric:nth-child(3){ transition-delay: .16s; }

/* Reduce Motion support */
@media (prefers-reduced-motion: reduce){
  .metrics .metric{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* Bigger metric typography */
.metric h3{ font-size: 36px; font-weight: 800; }
.metric p{ font-size: 14.5px; }

@media (max-width: 980px){
  .metric h3{ font-size: 30px; }
  .metric p{ font-size: 14px; }
}
@media (max-width: 480px){
  .metric h3{ font-size: 28px; }
}

/* Parallax card safety */
.parallax{ will-change: transform; transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce){
  .parallax{ transition: none !important; transform: none !important; }
}

/* Apple-style feature cards */
.features.apple{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.feature-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 22px 22px;
  min-height: 170px;              /* equal feel even with short copy */
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  border-color: rgba(15,23,42,.12);
}

.feature-icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(198,1,86,.08);   /* uses your red accent */
  color: #c60156;                   /* icon stroke */
  margin-bottom: 10px;
}

.feature-card h3{
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.feature-card p{
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(15,23,42,.78);
}

/* Responsive */
@media (max-width: 980px){
  .features.apple{ grid-template-columns: 1fr; gap: 14px; }
  .feature-card{ min-height: 0; padding: 18px; }
  .feature-card h3{ font-size: 18px; }
  .feature-card p{ font-size: 15px; }
}


/* Plain text Apple-style features */
.plain-features{
  padding: 80px 0;
}
.plain-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  margin-top: 40px;
}
.plain-grid h3{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}
.plain-grid p{
  font-size: 17px;
  line-height: 1.6;
  color: rgba(15,23,42,.8);
}

/* For mobile */
@media (max-width: 980px){
  .plain-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .plain-grid h3{ font-size: 20px; }
  .plain-grid p{ font-size: 16px; }
}

/* ===== Catalog slider ===== */
.carousel{
  --caro-gap: 18px;
  position: relative;
  margin-top: 20px;
}
.caro-viewport{
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px; /* room for shadow fade */
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.caro-track{
  display: flex;
  gap: var(--caro-gap);
}
.caro-track .catalog-card{
  flex: 0 0 calc(25% - var(--caro-gap)*0.75);  /* 4-up desktop */
  scroll-snap-align: start;
  border-radius: 18px;
}
.caro-track .catalog-card img{
  height: 180px; object-fit: contain; background:#fff; border-radius: 10px;
}

/* Arrow buttons */
.caro-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color:#0f172a; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s ease;
  z-index: 5;
}
.caro-btn:hover{ transform: translateY(-50%) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.caro-btn:disabled{ opacity: .4; pointer-events: none; }
.caro-btn.prev{ left: -4px; }
.caro-btn.next{ right: -4px; }

/* Responsive: 3-up, 2-up, 1-up */
@media (max-width: 1200px){
  .caro-track .catalog-card{ flex-basis: calc(33.333% - var(--caro-gap)*0.66); }
}
@media (max-width: 980px){
  .caro-track .catalog-card{ flex-basis: calc(50% - var(--caro-gap)*0.5); }
  .caro-btn.prev{ left: 6px; } .caro-btn.next{ right: 6px; }
}
@media (max-width: 640px){
  .caro-track .catalog-card{ flex-basis: calc(100% - var(--caro-gap)); }
  .caro-track .catalog-card img{ height: 160px; }
}

/* Reduce motion: still scroll-snap, no animated transforms */
@media (prefers-reduced-motion: reduce){
  .caro-btn{ transition: none; }
}

/* Catalog text intro (Apple-style, no boxes) */
/* Catalog text intro - alignment fix and spacing */
.catalog-intro{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:24px 48px;
  margin: 40px auto 48px;          /* spacing above and below */
  max-width: 1100px;               /* matches slider width nicely */
  padding: 0 20px;                 /* ensures alignment with container padding */
}

.catalog-intro h3{
  margin:0 0 10px;
  font-size:20px;
  font-weight:700;
  color:#0f172a;
}

.catalog-intro ul{
  margin:0;
  padding-left:18px;
  color:rgba(15,23,42,.82);
  font-size:16px;
  line-height:1.6;
}

@media (max-width:980px){
  .catalog-intro{
    grid-template-columns:1fr;
    gap:20px;
    margin: 30px 0 40px;
    max-width: 90%;
  }
  .catalog-intro h3{ font-size:18px; }
  .catalog-intro ul{ font-size:15.5px; }
}

/* Align slider visually with text grid */
.carousel{
  margin-top: 0;      /* they’ll sit snug under the text grid */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}


/* Split checklist table */
.checklist-table{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  align-items: start;
  margin: 18px 0 8px;
}

.cl-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.cl-list li{
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(15,23,42,.9);
}

/* accent bullet */
.cl-list li::before{
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);           /* your Apple-red accent */
  box-shadow: 0 0 0 4px rgba(198,1,86,.08);  /* soft halo */
}

/* subtle separators like a table without boxes */
.cl-list li + li{
  border-top: 1px dashed rgba(15,23,42,.12);
  padding-top: 14px;
  margin-top: 6px;
}

/* responsive stack */
@media (max-width: 980px){
  .checklist-table{ grid-template-columns: 1fr; gap: 24px; }
  .cl-list li{ font-size: 16px; }
}


/* swap dots for check icons */
.cl-list li::before{
  content: "✓";
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--blue);
  position: absolute; left: 0; top: .25em;
}

/* column divider on desktop */
.checklist-table{
  position: relative;
}
@media (min-width: 981px){
  .checklist-table::before{
    content: "";
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(15,23,42,.12) 12%, rgba(15,23,42,.12) 88%, transparent);
    transform: translateX(-0.5px);
  }
}


/* Leadership section cleanup */
.leaders{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.leader.card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
    overflow: hidden;
}

.leader.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.leader-info{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leader-name{
  font-size: 20px;
  margin-bottom: 4px;
  color: #0f172a;
}

.leader-role{
  font-size: 16px;
  font-weight: 500;
  color: rgba(15,23,42,0.85);
  margin-bottom: 2px;
}

.leader-sub{
  font-size: 15px;
  color: rgba(15,23,42,0.65);
  margin-bottom: 14px;
}

.leader-bio {
  flex-grow: 1;
  display: flex;
  align-items: center;       /* centers short text vertically */
}

/* Align avatar and create consistent spacing */
.avatar{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
}

/* Responsive spacing */
@media (max-width: 900px){
  .leader.card{
    padding: 20px;
  }
  .leader-name{ font-size: 18px; }
  .leader-bio{ font-size: 15px; }
}


.leader.card::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}

/* ---------- Factory gallery ---------- */
.cards.cards-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
@media(max-width:900px){.cards.cards-2col{grid-template-columns:1fr}}

.factory-gallery{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  margin-top:12px;
}
.fg-item{
  grid-column:span 4;                  /* 3-up on desktop */
  background:rgba(255,255,255,.92);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.fg-item.wide{ grid-column:span 8; }   /* hero-like wide tile */
.fg-item img{
  width:100%;height:260px;object-fit:cover;display:block;
  transform:scale(1.001);
}
.fg-item:hover{ transform:translateY(-2px); box-shadow:0 16px 36px rgba(0,0,0,.12); filter:saturate(1.03); }

@media(max-width:1200px){
  .fg-item{ grid-column:span 6; }      /* 2-up */
  .fg-item.wide{ grid-column:span 12; }
  .fg-item img{ height:240px; }
}
@media(max-width:720px){
  .factory-gallery{ gap:10px; }
  .fg-item, .fg-item.wide{ grid-column:span 12; }
  .fg-item img{ height:220px; }
}

/* Lightbox */
.fg-modal{
  position:fixed; inset:0; display:none; place-items:center;
  background:rgba(15,23,42,.8); z-index:1000; padding:24px;
}
.fg-modal[aria-hidden="false"]{ display:grid; }
.fg-modal img{ max-width:min(1100px,95vw); max-height:85vh; border-radius:16px; box-shadow:0 18px 48px rgba(0,0,0,.45); }
.fg-close{
  position:absolute; top:16px; right:16px; border:0; background:#fff;
  width:40px;height:40px;border-radius:12px;font-size:26px;line-height:40px;cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

/* Minor polish: align section spacing slightly tighter above gallery on phone */
#factory .section-title{ margin-bottom:18px; }

/* --- Scope factory-only grid so it doesn't touch other .cards groups --- */
#factory .cards.cards-2col{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px;
}
@media(max-width:900px){
  #factory .cards.cards-2col{ grid-template-columns:1fr; }
}

/* --- Leadership: restore spacing, sizes, line-height --- */
#leadership .leaders{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

#leadership .leader{
  padding:24px 28px;          /* ensures consistent inner spacing */
}

#leadership .leader .leader-name{
  font-weight:700;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-0.01em;
  margin:16px 0 6px;
}

#leadership .leader .leader-role{
  font-size:18px;
  font-weight:600;
  margin:0 0 6px;
}

#leadership .leader .leader-sub{
  font-size:16px;
  color:#64748b;              /* subtle secondary */
  margin:0 0 14px;
}

#leadership .leader .leader-bio{
  font-size:16px;
  line-height:1.6;
  margin:0;
}

@media (min-width:1000px){
  #leadership .leader .leader-name{ font-size:30px; }
}

/* ---------- Factory info band (replaces the two small boxes) ---------- */
#factory .cards{
  /* turn the wrapper into the band itself */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px 28px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid #e8eef4;
  box-shadow: 0 10px 30px rgba(16,24,40,.06);
  margin-top: 20px;
}

/* remove “card” styling inside the band */
#factory .cards > .card{
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  border: 0;
}

/* tidy up the text rhythm */
#factory .cards > .card .card-title{
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
}

#factory .cards > .card .card-copy{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Make phone/email lines feel like lines rather than paragraphs */
#factory .cards > .card .card-copy br{ line-height: 1.2; }

/* subtle divider on large screens only (between the two columns) */
@media (min-width: 980px){
  #factory .cards{
    position: relative;
  }
  #factory .cards::before{
    content:"";
    position:absolute;
    top:20px; bottom:20px; left:50%;
    width:1px;
    background: linear-gradient(to bottom, transparent, #e8eef4, transparent);
    transform: translateX(-0.5px);
  }
}

/* mobile: stack and increase padding a bit */
@media (max-width: 979px){
  #factory .cards{
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  #factory .cards::before{ display:none; }
  #factory .cards > .card .card-title{ font-size: 20px; }
}

/* tighten the subtitle paragraph under the main heading */
#factory .section-title + p.lead,
#factory .section .section-title + .lead{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Spec chips for Factory ---------- */
#factory #factory-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  justify-content:center;
  margin: 12px auto 18px;
}

#factory #factory-chips .chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  color:#0f172a;
  background: rgba(255,255,255,.9);
  border:1px solid #e8eef4;
  box-shadow: 0 4px 14px rgba(16,24,40,.06);
  letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .12s ease;
}

#factory #factory-chips .chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(16,24,40,.08);
}

/* match spacing with the band below */
#factory .chips + .cards{ margin-top: 10px; }

/* mobile tweaks */
@media (max-width: 600px){
  #factory #factory-chips .chip{
    font-size:13px;
    padding:7px 10px;
  }
}

.foot-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.foot-right a{
  text-decoration:none;
  font-weight:600;
  color:#0f172a;
  opacity:.85;
}
.foot-right a:hover{ opacity:1; }
@media (max-width:700px){
  .foot-row{ flex-direction:column; align-items:flex-start; }
}



