
:root{
  --navy:#072f5f;
  --blue:#0a5aa6;
  --blue-2:#1577c8;
  --ink:#132033;
  --muted:#68758a;
  --line:#e5eaf0;
  --soft:#f4f7fa;
  --white:#fff;
  --radius:18px;
  --shadow:0 18px 50px rgba(6,35,66,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{background:#061f3c;color:#dce9f7;font-size:13px}
.topbar .container{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:8px 0}
.topbar-links{display:flex;flex-wrap:wrap;gap:22px}
.topbar a:hover{color:#fff}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid rgba(8,47,95,.08)}
.nav-wrap{height:84px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo img{width:190px;height:auto}
.nav{display:flex;align-items:center;gap:8px}
.nav>a,.dropbtn{padding:28px 12px;font-size:14px;font-weight:700;color:#26384f;background:none;border:0;cursor:pointer}
.nav>a:hover,.dropbtn:hover,.nav .active{color:var(--blue)}
.dropdown{position:relative}
.dropdown-menu{display:none;position:absolute;top:74px;left:0;min-width:230px;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:8px}
.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:10px 12px;border-radius:8px;font-size:14px}
.dropdown-menu a:hover{background:var(--soft);color:var(--blue)}
.menu-btn{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:23px}
.hero{position:relative;min-height:650px;display:grid;align-items:center;overflow:hidden;background:#071b34}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:opacity .7s ease,transform 8s ease;opacity:.55;transform:scale(1.03)}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,22,45,.94) 0%,rgba(3,22,45,.72) 48%,rgba(3,22,45,.24) 100%);z-index:1}
.hero .container{position:relative;z-index:2}
.hero-content{max-width:720px;color:white;padding:85px 0}
.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;color:#7fc2ff;margin-bottom:18px}
.eyebrow:before{content:"";width:32px;height:2px;background:#4da8f0}
.hero h1{font-size:clamp(42px,6vw,78px);line-height:1.02;margin:0 0 22px;letter-spacing:-.045em}
.hero p{font-size:18px;max-width:650px;color:#d7e3ef;margin:0 0 30px}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;border-radius:10px;font-weight:800;font-size:14px;border:1px solid transparent;transition:.2s}
.btn-primary{background:#fff;color:var(--navy)}
.btn-primary:hover{transform:translateY(-2px)}
.btn-outline{border-color:rgba(255,255,255,.45);color:white}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.stats{position:relative;z-index:4;margin-top:-57px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.stat{padding:28px 32px;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat strong{display:block;color:var(--navy);font-size:25px;margin-bottom:3px}
.stat span{font-size:13px;color:var(--muted)}
.section{padding:95px 0}
.section.soft{background:var(--soft)}
.section-head{max-width:740px;margin-bottom:42px}
.section-head.center{text-align:center;margin:0 auto 46px}
.kicker{color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
h2{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-.035em;margin:9px 0 16px}
h3{line-height:1.25}
.lead{font-size:17px;color:var(--muted)}
.glance{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:center}
.feature-image{position:relative}
.feature-image img{width:100%;height:510px;object-fit:cover;border-radius:20px;box-shadow:var(--shadow)}
.feature-image .badge{position:absolute;right:-18px;bottom:26px;background:#fff;border-radius:14px;padding:18px 22px;box-shadow:var(--shadow);max-width:235px}
.feature-image .badge strong{display:block;color:var(--navy);font-size:25px}
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-top:26px}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:650;font-size:14px}
.check:before{content:"✓";display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e7f3ff;color:var(--blue);font-weight:900}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s;position:relative}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center}
.card-body{padding:25px}
.card h3{font-size:20px;margin:0 0 8px}
.card p{color:var(--muted);font-size:14px;margin:0}
.card-link{display:inline-block;margin-top:16px;color:var(--blue);font-size:13px;font-weight:900}
.profile-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dfe6ef;border-radius:18px;overflow:hidden}
.profile-item{background:#fff;padding:33px}
.profile-item .icon{font-size:26px;margin-bottom:11px}
.profile-item h3{margin:0 0 8px;font-size:18px}
.profile-item p{margin:0;color:var(--muted);font-size:14px}
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;counter-reset:steps}
.step{background:white;padding:25px 20px;border-radius:15px;border:1px solid var(--line);counter-increment:steps}
.step:before{content:"0" counter(steps);font-size:12px;color:var(--blue);font-weight:900;letter-spacing:.14em}
.step h3{font-size:16px;margin:10px 0 0}
.fabric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.fabric{aspect-ratio:4/3;position:relative;overflow:hidden;border-radius:16px}
.fabric img{width:100%;height:100%;object-fit:cover;transition:.4s}
.fabric:hover img{transform:scale(1.06)}
.fabric:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.fabric span{position:absolute;z-index:2;bottom:17px;left:18px;color:#fff;font-weight:900}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.person{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.person img{width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;object-position:top center}
.person-info{padding:20px}
.person-info h3{margin:0 0 3px;font-size:18px}
.person-info p{margin:0;color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.08em}
.cta{background:linear-gradient(120deg,#072e5e,#0c5ca5);color:white;border-radius:22px;padding:48px 54px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta h2{font-size:36px;margin:0 0 8px}
.cta p{color:#d7e5f4;margin:0}
.footer{background:#061a30;color:#b8c7d7;padding:70px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.25fr .8fr 1fr;gap:60px}
.footer-logo{width:190px;margin-bottom:20px}
.footer h3{color:white;font-size:15px;margin:0 0 18px}
.footer p,.footer li{font-size:14px}
.footer ul{list-style:none;margin:0;padding:0}
.footer li{margin:9px 0}
.footer a:hover{color:white}
.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:42px;padding-top:22px;font-size:12px;display:flex;justify-content:space-between;gap:20px}
.page-hero{background:#061c34;color:white;padding:88px 0 72px;position:relative;overflow:hidden}
.page-hero:after{content:"";position:absolute;right:-100px;top:-200px;width:520px;height:520px;border-radius:50%;border:110px solid rgba(255,255,255,.035)}
.page-hero h1{font-size:clamp(38px,5vw,62px);margin:0 0 10px;letter-spacing:-.04em}
.breadcrumb{font-size:13px;color:#a9c5df}
.content-grid{display:grid;grid-template-columns:1fr 330px;gap:50px}
.prose p{color:#56657a;margin:0 0 18px}
.sidebar{border:1px solid var(--line);border-radius:16px;padding:25px;align-self:start;position:sticky;top:110px}
.sidebar h3{margin-top:0}
.side-links{display:grid;gap:6px}
.side-links a{padding:10px 11px;border-radius:8px;font-size:14px;font-weight:700}
.side-links a:hover,.side-links .active{background:var(--soft);color:var(--blue)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center;border-radius:14px;border:1px solid var(--line)}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px}
.contact-list{display:grid;gap:18px}
.contact-item{padding:20px;border:1px solid var(--line);border-radius:14px}
.contact-item strong{display:block;margin-bottom:4px}
.contact-item span{color:var(--muted);font-size:14px}
.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form .full{grid-column:1/-1}
.form input,.form textarea{width:100%;padding:14px 15px;border:1px solid #d8e0e9;border-radius:10px;font:inherit}
.form textarea{min-height:150px;resize:vertical}
.form button{background:var(--navy);color:#fff;border:0;padding:14px 20px;border-radius:10px;font-weight:900;cursor:pointer}
.form-note{font-size:12px;color:var(--muted);margin-top:12px}
.notice{padding:16px 18px;background:#edf7ff;border:1px solid #cfe9ff;border-radius:12px;color:#244b70;font-size:13px}
.mobile-panel{display:none}

@media(max-width:980px){
 .nav{display:none}
 .menu-btn{display:block}
 .mobile-panel.open{display:block;position:fixed;top:84px;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:18px 20px;z-index:80;box-shadow:var(--shadow);max-height:calc(100vh - 84px);overflow:auto}
 .mobile-panel a{display:block;padding:12px 8px;border-bottom:1px solid var(--line);font-weight:750}
 .glance,.content-grid,.contact-grid{grid-template-columns:1fr}
 .feature-image .badge{right:12px}
 .cards,.team-grid{grid-template-columns:repeat(2,1fr)}
 .process{grid-template-columns:repeat(3,1fr)}
 .fabric-grid{grid-template-columns:repeat(2,1fr)}
 .sidebar{position:static}
}
@media(max-width:700px){
 .container{width:min(100% - 28px,1180px)}
 .topbar .container{justify-content:center}
 .topbar-links span:nth-child(2){display:none}
 .nav-wrap{height:72px}
 .logo img{width:155px}
 .mobile-panel.open{top:72px}
 .hero{min-height:600px}
 .hero-content{padding:70px 0}
 .hero h1{font-size:45px}
 .stats{margin-top:-35px}
 .stats-grid{grid-template-columns:1fr 1fr}
 .stat:nth-child(2){border-right:0}
 .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
 .section{padding:70px 0}
 .cards,.team-grid,.gallery{grid-template-columns:1fr}
 .profile-strip{grid-template-columns:1fr}
 .process{grid-template-columns:1fr 1fr}
 .fabric-grid{grid-template-columns:1fr 1fr}
 .cta{padding:34px 28px;align-items:flex-start;flex-direction:column}
 .footer-grid{grid-template-columns:1fr;gap:30px}
 .copyright{flex-direction:column}
 .form{grid-template-columns:1fr}
}
@media(max-width:460px){
 .stats-grid,.process,.fabric-grid{grid-template-columns:1fr}
 .stat{border-right:0;border-bottom:1px solid var(--line)}
 .hero h1{font-size:39px}
}

/* --- Contact links & direct contact layout --- */
.contact-link{
  color:inherit;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.contact-link:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.topbar a{
  color:#dce9f7;
}
.contact-direct{
  max-width:1050px;
}
.contact-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.contact-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:28px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 30px rgba(6,35,66,.05);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contact-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#c7d8e8;
}
.contact-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#edf6ff;
  color:var(--blue);
  font-size:20px;
  margin-bottom:18px;
}
.contact-card strong{
  color:var(--navy);
  font-size:18px;
  margin-bottom:6px;
}
.contact-card span:not(.contact-icon){
  color:var(--muted);
  font-size:14px;
  overflow-wrap:anywhere;
}
.contact-card em{
  margin-top:16px;
  color:var(--blue);
  font-size:13px;
  font-style:normal;
  font-weight:900;
}

/* Prevent media from stretching on small screens */
.card img,
.gallery img,
.person img,
.fabric img,
.feature-image img,
.logo img,
.footer-logo{
  max-width:100%;
}

/* Better mobile tap targets and wrapping */
@media(max-width:980px){
  .nav-wrap{min-height:72px}
  .menu-btn{flex:0 0 44px}
  .mobile-panel a{
    min-height:46px;
    display:flex;
    align-items:center;
  }
}

@media(max-width:700px){
  body{overflow-x:hidden}
  .topbar .container{
    gap:10px;
    padding:9px 0;
  }
  .topbar .container>div:first-child{
    display:none;
  }
  .topbar-links{
    width:100%;
    justify-content:center;
    gap:8px 14px;
  }
  .topbar-links a{
    font-size:12px;
    white-space:nowrap;
  }
  .hero{
    min-height:560px;
  }
  .hero-content{
    padding:58px 0 74px;
  }
  .hero p{
    font-size:16px;
  }
  .actions{
    width:100%;
  }
  .actions .btn{
    flex:1 1 100%;
  }
  .stats{
    margin-top:-26px;
  }
  .stat{
    padding:20px 18px;
  }
  .feature-image img{
    height:auto;
    aspect-ratio:4/3;
    object-fit:cover;
  }
  .feature-image .badge{
    position:relative;
    right:auto;
    bottom:auto;
    margin:-20px 14px 0;
    max-width:none;
  }
  .contact-cards{
    grid-template-columns:1fr;
  }
  .contact-card{
    padding:22px;
  }
  .gallery{
    gap:14px;
  }
  .page-hero{
    padding:64px 0 54px;
  }
  .section-head{
    margin-bottom:30px;
  }
  .footer{
    padding-top:55px;
  }
}

@media(max-width:460px){
  .topbar-links a:nth-child(1){
    display:none;
  }
  .logo img{
    width:145px;
  }
  .hero h1{
    font-size:36px;
  }
  .section{
    padding:58px 0;
  }
  .card-body,
  .profile-item,
  .person-info{
    padding:19px;
  }
  .contact-card strong{
    font-size:17px;
  }
}

/* Responsive Google Map */
.map-embed{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#e9eef4;
}
.map-embed iframe{
  display:block;
  width:100%;
  height:480px;
  border:0;
}
.map-actions{
  margin-top:20px;
  text-align:center;
}
@media(max-width:700px){
  .map-embed iframe{
    height:360px;
  }
  .map-actions .btn{
    width:100%;
  }
}
@media(max-width:460px){
  .map-embed iframe{
    height:300px;
  }
}


/* =========================================================
   V5 — image proportion + responsive layout corrections
   ========================================================= */

/* Never allow the page to create sideways scrolling. */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
.container,
.glance,
.glance > *,
.feature-image,
.team-grid,
.person{
  min-width:0;
}

/* Factory/profile image:
   keep the image's original intrinsic ratio; do not force 510px height. */
.feature-image img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}

/* Team source files are square. Keep them square/natural instead of 4:5 portrait crop. */
.person img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#eef2f5;
}

/* Keep team cards clean even with native image dimensions. */
.person{
  overflow:hidden;
}
.team-grid{
  align-items:start;
}

/* Improve the two-column company section at intermediate widths. */
@media (max-width:1100px){
  .glance{
    gap:38px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
}

/* Tablet: stack the text and image before either becomes cramped. */
@media (max-width:860px){
  .glance{
    grid-template-columns:1fr !important;
    gap:34px;
  }
  .feature-image{
    width:100%;
    max-width:720px;
    margin:0 auto;
  }
  .feature-image .badge{
    right:18px;
    bottom:18px;
  }
}

/* Mobile: keep overlays inside the image width and preserve natural image ratio. */
@media (max-width:700px){
  .feature-image img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
  }

  .feature-image .badge{
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    margin:-18px 12px 0 !important;
    max-width:none !important;
    width:calc(100% - 24px);
  }

  .team-grid{
    grid-template-columns:1fr !important;
    gap:18px;
  }

  .person{
    width:100%;
    max-width:520px;
    margin-inline:auto;
  }

  .person img{
    width:100% !important;
    height:auto !important;
  }

  .map-embed iframe{
    width:100% !important;
    min-height:340px;
  }
}

@media (max-width:460px){
  .feature-image .badge{
    padding:16px 17px;
  }
  .feature-image .badge strong{
    font-size:21px;
  }
  .map-embed iframe{
    min-height:300px;
  }
}

/* Exact SM Textiles Google Maps embed */
.map-embed{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#e9eef4;
}
.map-embed iframe{
  display:block;
  width:100% !important;
  height:450px !important;
  border:0 !important;
}
@media(max-width:700px){
  .map-embed iframe{
    height:360px !important;
  }
}
@media(max-width:460px){
  .map-embed iframe{
    height:300px !important;
  }
}


/* =========================================================
   V7 PROFESSIONAL LAYOUT REFINEMENT
   ========================================================= */

/* Tighter vertical rhythm across the whole site */
.section{
  padding:64px 0 !important;
}
.section-head{
  margin-bottom:32px !important;
}
.section-head.center{
  margin-bottom:34px !important;
}
h2{
  font-size:clamp(30px,3.2vw,44px) !important;
  margin:8px 0 13px !important;
}
.lead{
  font-size:16px !important;
  line-height:1.65;
}
.cta-section{
  padding:46px 0 !important;
}
.cta{
  padding:38px 44px !important;
  border-radius:18px !important;
}
.cta h2{
  font-size:clamp(28px,2.6vw,38px) !important;
  margin-bottom:5px !important;
}

/* Factory image: proper visual height without image distortion */
.glance{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
  gap:46px !important;
}
.feature-image{
  width:100%;
}
.feature-image img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:18px !important;
}
.feature-image .badge{
  right:18px !important;
  bottom:18px !important;
  padding:18px 22px !important;
  max-width:270px !important;
}
.feature-image .badge strong{
  font-size:25px !important;
}

/* Production cards are slightly more compact */
.cards{
  gap:20px !important;
}
.card img{
  aspect-ratio:16/10 !important;
  height:auto !important;
  object-fit:cover !important;
}
.card-body{
  padding:21px 22px !important;
}

/* Company profile: balanced cards with larger professional icons */
.profile-section{
  padding:58px 0 !important;
}
.profile-heading{
  max-width:760px;
  margin-bottom:28px !important;
}
.profile-strip{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  background:transparent !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.profile-item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px 26px !important;
  background:#fff;
  min-height:220px;
  box-shadow:0 8px 28px rgba(6,35,66,.045);
}
.profile-item .icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#edf6ff;
  color:var(--navy);
  font-size:30px !important;
  line-height:1;
  margin-bottom:20px !important;
}
.profile-item h3{
  margin:0 0 8px !important;
  font-size:19px !important;
}
.profile-item p{
  line-height:1.65 !important;
}

/* Redesigned production process */
.process-section{
  padding:60px 0 !important;
  overflow:hidden;
}
.process-heading{
  max-width:780px !important;
}
.process{
  position:relative;
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:14px !important;
  counter-reset:none !important;
}
.process::before{
  content:"";
  position:absolute;
  top:31px;
  left:5%;
  right:5%;
  height:2px;
  background:linear-gradient(90deg,#c5d8eb,#6fa9dc,#c5d8eb);
  z-index:0;
}
.step{
  position:relative;
  z-index:1;
  padding:24px 20px 22px !important;
  min-height:190px;
  border:1px solid #dbe4ed !important;
  border-radius:15px !important;
  background:#fff !important;
  box-shadow:0 10px 30px rgba(6,35,66,.05);
}
.step::before{
  content:none !important;
}
.step-number{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  margin-bottom:20px;
  background:var(--navy);
  color:#fff;
  border:5px solid var(--soft);
  box-shadow:0 0 0 1px #bcd0e3;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.step h3{
  font-size:16px !important;
  margin:0 0 8px !important;
}
.step p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* Team cards: substantially smaller visual footprint, no stretching */
.team-grid{
  gap:20px !important;
}
.person{
  border-radius:15px !important;
}
.person img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:top center !important;
  background:#eef2f5;
}
.person-info{
  padding:18px 20px !important;
}
.person-info h3{
  font-size:17px !important;
}
.person-info p{
  font-size:11px !important;
}

/* Fabrics: reduce vertical footprint */
.fabric{
  aspect-ratio:16/10 !important;
}

/* Footer: clean four-column structure */
.footer{
  padding:48px 0 18px !important;
}
.footer-grid{
  display:grid !important;
  grid-template-columns:1.2fr .72fr .9fr 1.22fr !important;
  gap:34px !important;
  align-items:start;
}
.footer-logo{
  width:180px !important;
  max-width:100%;
  margin-bottom:15px !important;
}
.footer-brand p{
  max-width:310px;
  margin:0;
}
.footer h3{
  margin:0 0 14px !important;
  font-size:14px !important;
  letter-spacing:.02em;
}
.footer p,
.footer li{
  font-size:13px !important;
  line-height:1.65;
}
.footer li{
  margin:6px 0 !important;
}
.footer-contact{
  display:grid;
  gap:3px;
}
.copyright{
  margin-top:30px !important;
  padding-top:16px !important;
  font-size:11px !important;
  align-items:center;
}
.powered{
  font-size:10px;
  opacity:.68;
}
.powered a{
  color:#fff;
}
.powered a:hover{
  opacity:1;
  text-decoration:underline;
}

/* Keep other page sections compact too */
.page-hero{
  padding:66px 0 56px !important;
}
.gallery{
  gap:14px !important;
}
.gallery img{
  aspect-ratio:16/10 !important;
  object-fit:cover !important;
}

/* Desktop/tablet responsiveness */
@media(max-width:1100px){
  .footer-grid{
    grid-template-columns:1.15fr .8fr .9fr 1.15fr !important;
    gap:24px !important;
  }
  .process{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .process::before{
    display:none;
  }
}

@media(max-width:900px){
  .section{
    padding:54px 0 !important;
  }
  .glance{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .feature-image{
    max-width:720px !important;
  }
  .feature-image img{
    aspect-ratio:16/10 !important;
  }
  .profile-strip{
    grid-template-columns:1fr 1fr !important;
  }
  .footer-grid{
    grid-template-columns:1fr 1fr !important;
    gap:28px 36px !important;
  }
}

@media(max-width:700px){
  .section{
    padding:46px 0 !important;
  }
  .section-head,
  .section-head.center{
    margin-bottom:25px !important;
  }
  h2{
    font-size:clamp(28px,8vw,36px) !important;
  }

  .feature-image img{
    aspect-ratio:4/3 !important;
    object-fit:cover !important;
  }
  .feature-image .badge{
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    width:calc(100% - 24px) !important;
    max-width:none !important;
    margin:-18px 12px 0 !important;
  }

  .profile-strip{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .profile-item{
    min-height:0;
    padding:22px !important;
  }
  .profile-item .icon{
    width:52px;
    height:52px;
    font-size:26px !important;
    margin-bottom:15px !important;
  }

  .process{
    grid-template-columns:1fr 1fr !important;
    gap:12px !important;
  }
  .step{
    min-height:170px;
    padding:20px 17px !important;
  }

  .team-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .person{
    max-width:500px !important;
  }
  .person img{
    aspect-ratio:4/3 !important;
  }

  .cta-section{
    padding:36px 0 !important;
  }
  .cta{
    padding:29px 24px !important;
  }

  .footer{
    padding:40px 0 16px !important;
  }
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:26px !important;
  }
  .footer-brand p{
    max-width:none;
  }
  .copyright{
    margin-top:24px !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:5px !important;
  }
}

@media(max-width:480px){
  .section{
    padding:40px 0 !important;
  }
  .process{
    grid-template-columns:1fr !important;
  }
  .step{
    min-height:0;
    display:grid;
    grid-template-columns:46px 1fr;
    column-gap:12px;
    align-items:start;
  }
  .step-number{
    grid-row:1 / span 2;
    margin:0 !important;
  }
  .step h3{
    margin-top:3px !important;
  }
  .step p{
    grid-column:2;
  }
  .feature-image img{
    aspect-ratio:1/1 !important;
  }
}


/* =========================================================
   V8 HOMEPAGE FEATURE IMAGE QUALITY FIX
   ========================================================= */

.feature-image-home{
  position:relative;
  max-width:100%;
}

.feature-image-home img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/10 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(6,35,66,.10) !important;
  background:#e9eef4;
  image-rendering:auto;
}

.feature-image-home::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(6,35,66,.08) 100%);
  pointer-events:none;
}

.feature-image-home .badge{
  z-index:2;
  right:24px !important;
  bottom:24px !important;
  background:rgba(255,255,255,.96) !important;
  box-shadow:0 14px 34px rgba(6,35,66,.12) !important;
}

@media(max-width:900px){
  .feature-image-home img{
    aspect-ratio:4/3 !important;
  }
}

@media(max-width:700px){
  .feature-image-home img{
    aspect-ratio:4/3 !important;
    min-height:320px;
  }
  .feature-image-home .badge{
    width:calc(100% - 24px) !important;
    margin:-18px 12px 0 !important;
    right:auto !important;
    bottom:auto !important;
  }
}

@media(max-width:480px){
  .feature-image-home img{
    min-height:280px;
  }
}


/* =========================================================
   V11 FINAL LAYOUT / CONTACT / IMAGE CLEANUP
   ========================================================= */

/* Tighter page rhythm */
.section{
  padding:48px 0 !important;
}
.page-hero{
  padding:48px 0 42px !important;
}
.section-head,
.section-head.center{
  margin-bottom:26px !important;
}
.cta-section{
  padding:24px 0 30px !important;
}
.cta{
  padding:32px 38px !important;
}
.team-section{
  padding:44px 0 36px !important;
}

/* ---------------------------------------------------------
   Three-image production collage:
   each low-resolution image stays relatively small so it
   does not get visibly enlarged/pixelated.
   --------------------------------------------------------- */
.production-collage{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  grid-template-rows:1fr 1fr;
  gap:10px;
  width:100%;
  height:430px;
  overflow:hidden;
  border-radius:20px;
  background:#e9eef4;
  box-shadow:0 16px 40px rgba(6,35,66,.10);
}
.production-shot{
  position:relative;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.production-shot-main{
  grid-row:1 / 3;
}
.production-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  image-rendering:auto;
}
.production-shot::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,30,58,0) 55%,rgba(4,30,58,.10));
  pointer-events:none;
}
.production-badge{
  position:absolute;
  right:18px;
  bottom:18px;
  z-index:3;
  width:min(285px,calc(100% - 36px));
  padding:18px 20px;
  border-radius:15px;
  background:rgba(255,255,255,.97);
  box-shadow:0 14px 32px rgba(6,35,66,.14);
}
.production-badge strong{
  display:block;
  color:var(--navy);
  font-size:24px;
  line-height:1.2;
  margin-bottom:6px;
}
.production-badge span{
  color:#26384f;
  font-size:14px;
  line-height:1.5;
}

/* ---------------------------------------------------------
   Smaller team cards
   --------------------------------------------------------- */
.team-section .container{
  width:min(1020px,calc(100% - 40px)) !important;
}
.team-section .team-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  max-width:960px;
  margin-inline:auto;
  gap:18px !important;
}
.team-section .person{
  border-radius:14px !important;
}
.team-section .person img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  object-position:top center !important;
}
.team-section .person-info{
  padding:15px 17px !important;
}
.team-section .person-info h3{
  font-size:16px !important;
}
.team-section .person-info p{
  font-size:10px !important;
}

/* ---------------------------------------------------------
   Contact page - cards are intentionally strong selectors
   so older cached rules cannot collapse the layout.
   --------------------------------------------------------- */
.contact-info-section{
  padding:42px 0 38px !important;
}
.contact-direct{
  width:min(1120px,calc(100% - 40px)) !important;
  max-width:1120px !important;
}
.contact-info-section .section-head{
  max-width:780px;
}
.contact-cards-v11{
  display:grid !important;
  grid-template-columns:1.55fr 1fr 1fr 1fr !important;
  gap:14px !important;
  width:100%;
}
.contact-cards-v11 .contact-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  min-width:0 !important;
  min-height:170px;
  padding:21px !important;
  border:1px solid #dbe4ed !important;
  border-radius:15px !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(6,35,66,.055) !important;
  text-decoration:none !important;
}
.contact-cards-v11 .contact-card:hover{
  transform:translateY(-2px);
  border-color:#b9d2e8 !important;
}
.contact-icon-v11{
  display:grid !important;
  place-items:center !important;
  width:44px;
  height:44px;
  flex:0 0 44px;
  margin-bottom:15px;
  border-radius:12px;
  background:#edf6ff;
  color:var(--navy);
}
.contact-icon-v11 svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.contact-card-copy{
  display:flex !important;
  flex-direction:column !important;
  min-width:0;
  width:100%;
}
.contact-cards-v11 .contact-card strong{
  display:block !important;
  margin:0 0 6px !important;
  color:var(--navy) !important;
  font-size:17px !important;
}
.contact-cards-v11 .contact-card .contact-card-copy > span{
  display:block !important;
  color:var(--muted) !important;
  font-size:13px !important;
  line-height:1.55 !important;
  overflow-wrap:anywhere;
}
.contact-cards-v11 .contact-card em{
  display:block !important;
  margin-top:auto !important;
  padding-top:14px;
  color:var(--blue) !important;
  font-size:12px !important;
  font-style:normal !important;
  font-weight:900 !important;
}

/* Map section kept compact */
.contact-map-section{
  padding:40px 0 44px !important;
}
.contact-map-section .section-head{
  margin-bottom:22px !important;
}
.contact-map-section .map-embed iframe{
  height:350px !important;
}
.contact-map-section .map-actions{
  margin-top:14px !important;
}

/* Remove oversized gaps around the final homepage CTA */
.team-section + .cta-section{
  padding-top:22px !important;
}
.cta-section + .footer{
  margin-top:0 !important;
}

/* Tablet */
@media(max-width:1000px){
  .contact-cards-v11{
    grid-template-columns:1fr 1fr !important;
  }
  .contact-cards-v11 .contact-card{
    min-height:155px;
  }
  .production-collage{
    height:390px;
  }
}

/* Mobile */
@media(max-width:700px){
  .section{
    padding:40px 0 !important;
  }
  .page-hero{
    padding:40px 0 35px !important;
  }

  .production-collage{
    height:390px;
    grid-template-columns:1fr 1fr;
    grid-template-rows:1.15fr .85fr;
  }
  .production-shot-main{
    grid-column:1 / 3;
    grid-row:1;
  }
  .production-badge{
    right:12px;
    bottom:12px;
    width:calc(100% - 24px);
    padding:15px 17px;
  }
  .production-badge strong{
    font-size:21px;
  }

  .team-section{
    padding:36px 0 30px !important;
  }
  .team-section .container{
    width:min(100% - 28px,1020px) !important;
  }
  .team-section .team-grid{
    grid-template-columns:1fr !important;
    max-width:390px;
    gap:14px !important;
  }

  .contact-info-section{
    padding:34px 0 32px !important;
  }
  .contact-direct{
    width:min(100% - 28px,1120px) !important;
  }
  .contact-cards-v11{
    grid-template-columns:1fr !important;
    gap:11px !important;
  }
  .contact-cards-v11 .contact-card{
    min-height:0;
    padding:18px !important;
  }
  .contact-card-location{
    min-height:0 !important;
  }
  .contact-map-section{
    padding:34px 0 38px !important;
  }
  .contact-map-section .map-embed iframe{
    height:300px !important;
  }

  .cta-section{
    padding:18px 0 24px !important;
  }
}

@media(max-width:450px){
  .production-collage{
    height:360px;
  }
  .production-badge span{
    font-size:13px;
  }
}
