/* =======================================================================
   Infinity Turnkey Interior Decoration L.L.C — brand stylesheet
   Colours and type sampled from the 2026 Corporate Capability + PQL book.
   ======================================================================= */

:root{
  --navy:#0B3857;
  --navy-2:#0E2A42;
  --accent:#E2E9EF;      /* light steel-blue wash, replaces the old teal/sage */
  --steel:#4A7FA8;        /* mid steel-blue, sampled from the logo mark, for small accents */
  --slate:#5B7489;
  --bg:#F4F3EE;
  --ink:#2B3A42;
  --line:#DBD6C9;
  --gold:#A9823C;      /* warm bronze accent, replaces the earlier red */
  --gold-light:#E3B662; /* brighter gold for legibility over dark photo heroes */
  --max:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Source Serif 4',Georgia,serif;
  color:var(--navy);
  margin:0;
  font-weight:700;
  letter-spacing:-.01em;
}
p{line-height:1.65;margin:0;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}

.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}
.cap{
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--navy);
}
.rule{width:52px;height:3px;background:var(--gold);}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;font-size:14px;font-weight:600;border-radius:2px;
  transition:opacity .15s ease;white-space:nowrap;
}
.btn:hover{opacity:.85;}
.btn-primary{background:var(--navy);color:#fff;}
.btn-outline{border:1.5px solid var(--navy);color:var(--navy);}
.btn-outline-light{border:1.5px solid rgba(255,255,255,.6);color:#fff;}
.btn-cta{background:var(--gold);color:#fff;}

/* Nav */
.site-nav{
  position:sticky;top:0;z-index:50;background:var(--bg);
  border-bottom:1px solid var(--line);
}
.site-nav .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:12px;padding-bottom:12px;
}
.site-nav img.logo{height:104px;}  /* enlarged logo, approx. 3x5cm at screen scale */
@media (max-width:600px){
  .site-nav img.logo{height:64px;}
}
.site-nav nav{display:flex;gap:28px;align-items:center;}
.site-nav nav a{font-size:13.5px;font-weight:600;color:var(--navy);}
.site-nav .nav-toggle{display:none;}

@media (max-width:860px){
  .site-nav nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;background:var(--bg);border-bottom:1px solid var(--line);
    padding:16px 24px 24px;gap:16px;
  }
  .site-nav nav.open{display:flex;}
  .site-nav .nav-toggle{
    display:flex;background:none;border:none;cursor:pointer;padding:6px;
  }
}

/* Chip */
.chip{
  display:inline-block;padding:4px 12px;border:1px solid var(--navy);
  border-radius:20px;font-size:10.5px;letter-spacing:.04em;color:var(--navy);
  font-weight:600;
}

/* Cards */
.card{border:1px solid var(--line);background:var(--bg);overflow:hidden;}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--accent);}
.card .card-body{padding:16px 18px 18px;}
.card .card-title{font-weight:600;color:var(--navy);font-size:15px;margin-top:8px;}
.card .card-meta{font-size:12px;color:var(--slate);margin-top:4px;}

/* Stat band */
.stat-band{background:var(--navy);color:#fff;}
.stat-band .grid{
  display:grid;grid-template-columns:repeat(4,1fr);
}
.stat-band .stat{
  padding:30px 28px;border-right:1px solid rgba(255,255,255,.18);
}
.stat-band .stat:last-child{border-right:none;}
.stat-band .stat .num{font-family:'Source Serif 4',serif;font-size:30px;color:#fff;}
.stat-band .stat .label{
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.65);margin-top:6px;font-weight:600;
}
@media (max-width:760px){
  .stat-band .grid{grid-template-columns:repeat(2,1fr);}
  .stat-band .stat{border-bottom:1px solid rgba(255,255,255,.18);}
}

/* Section spacing */
.section{padding:72px 0;}
.section-tight{padding:48px 0;}
@media (max-width:760px){
  .section{padding:48px 0;}
}

/* Footer */
.site-footer{background:var(--bg);border-top:1px solid var(--line);padding:40px 0;}
.site-footer .grid{
  display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:24px;
}
.site-footer .meta{font-size:12.5px;color:var(--slate);line-height:1.9;}
.site-footer img.logo{height:64px;margin-bottom:10px;}

.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.caps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:760px){
  .projects-grid{grid-template-columns:1fr;}
  .caps-grid{grid-template-columns:1fr;}
}
@media (max-width:900px){
  .wrap[style*="grid-template-columns"]{grid-template-columns:1fr !important;}
}

table.fact-table{border-collapse:collapse;width:100%;margin-top:16px;}
table.fact-table td{padding:10px 14px;border-bottom:1px solid var(--line);font-size:13.5px;vertical-align:top;}
table.fact-table td:first-child{width:230px;font-weight:600;color:var(--navy);}

.breadcrumb{font-size:12px;color:var(--slate);}
.breadcrumb a{color:var(--navy);font-weight:600;}

/* Hero rotator (full-screen, used on sub-pages / fallback) */
.hero-rotator{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--navy);background:var(--navy-2);}
.hero-rotator img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity 1.2s ease;}
.hero-rotator img.active{opacity:1;}
.hero-rotator .cap-strip{
  position:absolute;left:0;right:0;bottom:0;padding:10px 16px;
  background:linear-gradient(transparent,rgba(11,56,87,.82));
  color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;
}

/* Full-screen homepage hero */
.hero-full{position:relative;width:100%;height:94vh;min-height:600px;max-height:980px;overflow:hidden;background:var(--navy-2);}
.hero-full-media{position:absolute;inset:0;}
.hero-full-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;opacity:0;transform:scale(1.04);transition:opacity 1.8s ease;will-change:transform,opacity;}
.hero-full-media img.active{opacity:1;}
.hero-full-media img.kb-a.active{animation:hero-kb-a 6.8s cubic-bezier(.25,.1,.25,1) forwards;}
.hero-full-media img.kb-b.active{animation:hero-kb-b 6.8s cubic-bezier(.25,.1,.25,1) forwards;}
@keyframes hero-kb-a{0%{transform:scale(1.04) translate(0,0);}100%{transform:scale(1.16) translate(-2.2%,-1.4%);}}
@keyframes hero-kb-b{0%{transform:scale(1.1) translate(1.6%,1%);}100%{transform:scale(1.02) translate(0,0);}}
.hero-full-scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(11,56,87,.82) 0%,rgba(11,56,87,.58) 32%,rgba(11,56,87,.18) 58%,rgba(11,56,87,.08) 100%),
    linear-gradient(180deg,rgba(11,56,87,.5) 0%,rgba(11,56,87,0) 22%,rgba(11,56,87,0) 72%,rgba(11,56,87,.88) 100%);
}
.hero-full-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:60px;}
.hero-full-content .cap{color:#fff;}
.hero-full-content h1{font-size:52px;line-height:1.12;color:#fff;max-width:700px;}
.hero-full-content p{color:rgba(255,255,255,.92);}
.hero-full-caption{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:16px 24px;font-size:12px;font-weight:600;letter-spacing:.03em;color:rgba(255,255,255,.82);
}
.hero-full-caption .dots{display:flex;gap:7px;}
.hero-full-caption .dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4);transition:background .2s ease;}
.hero-full-caption .dots span.active{background:#fff;}
@media (max-width:860px){
  /* On mobile the stacked hero content (mark, wordmark, headline, copy,
     buttons) can be taller than a fixed vh box - especially on shorter
     phone screens - which used to push the CTA buttons down into the
     absolutely-positioned caption strip at the bottom, overlapping them.
     Let the hero grow to fit its content instead of clipping to a
     viewport-height box, and let the caption sit in normal flow below it. */
  .hero-full{height:auto;min-height:auto;max-height:none;overflow:visible;}
  .hero-full-content{height:auto;justify-content:flex-start;padding-top:88px;padding-bottom:36px;}
  .hero-full-content h1{font-size:32px;}
  .hero-full-content p{font-size:14.5px;}
  .hero-full-scrim{background:linear-gradient(180deg,rgba(11,56,87,.6) 0%,rgba(11,56,87,.45) 22%,rgba(11,56,87,.6) 50%,rgba(11,56,87,.95) 100%);}
  .hero-full-caption{
    position:relative;z-index:2;flex-direction:row;flex-wrap:wrap;
    background:var(--navy-2);padding:14px 24px 18px;
  }
}

/* Sector grid */
.sector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.sector-card{position:relative;border:1px solid var(--line);overflow:hidden;aspect-ratio:4/3;background:var(--navy-2);}
.sector-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}
.sector-card:hover img{transform:scale(1.04);}
.sector-card .overlay{
  position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(11,56,87,.88));
  display:flex;align-items:flex-end;padding:16px;
}
.sector-card .overlay .name{color:#fff;font-family:'Source Serif 4',serif;font-size:19px;}
@media (max-width:760px){.sector-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:480px){.sector-grid{grid-template-columns:1fr;}}

/* Sector category tile - a real project photo from the sector, tinted navy,
   with a gold line-icon on top. The tint keeps a single client's project
   from reading as a literal stand-in for the whole market, while the photo
   gives the tile real texture instead of a flat gradient. */
.sector-visual{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);
  transition:transform .3s ease;
}
.sector-card:hover .sector-visual{transform:scale(1.04);}
.sector-visual-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:.5;filter:saturate(1.05) contrast(1.02);
  transition:opacity .35s ease,transform .5s ease;
  transform:scale(1.0);
}
.sector-card:hover .sector-visual-bg{opacity:.62;transform:scale(1.06);}
.sector-visual::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(135deg,rgba(11,56,87,.86) 0%,rgba(8,38,58,.82) 55%,rgba(11,56,87,.92) 100%);
}
.sector-visual::after{
  content:"";position:absolute;inset:0;z-index:0;
  background-image:radial-gradient(circle at 18% 18%, rgba(255,255,255,.1) 0, transparent 42%),
                    radial-gradient(circle at 82% 82%, rgba(169,130,60,.22) 0, transparent 48%);
}
.sector-visual svg{
  width:26%;max-width:72px;color:var(--gold-light);opacity:.96;position:relative;z-index:1;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.45));
}
.sector-visual--lg svg{max-width:112px;}

/* Guide-card tile - same brand pattern treatment, used for Insights articles
   that illustrate a topic rather than a specific project. */
.guide-visual{
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);
}
.guide-visual::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle at 18% 18%, rgba(255,255,255,.07) 0, transparent 42%),
                    radial-gradient(circle at 82% 82%, rgba(169,130,60,.18) 0, transparent 48%);
}
.guide-visual svg{width:26%;max-width:64px;color:var(--gold-light);opacity:.92;position:relative;z-index:1;}

/* Capability cards */
.cap-card{border:1px solid var(--line);background:var(--bg);}
.cap-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--accent);}
.cap-card .body{padding:18px 20px;}
.cap-card .num{font-family:'Source Serif 4',serif;color:var(--gold);font-size:13px;}
.cap-card h3{font-size:17px;margin-top:6px;}
.cap-card p{font-size:13px;color:var(--ink);margin-top:10px;}
.cap-card ul{margin:10px 0 0;padding-left:18px;font-size:12.5px;color:var(--slate);}
.cap-card li{margin-top:4px;}

/* Insights hub: project stories + guides */
.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:start;}
@media (max-width:980px){.insights-grid{grid-template-columns:1fr;}}
.insight-card{border:1px solid var(--line);background:var(--bg);height:100%;}
.insight-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--accent);display:block;}
.insight-card .guide-visual{width:100%;aspect-ratio:4/3;}
.insight-card-body{padding:20px 22px;}
.insight-card h3 a:hover{color:var(--gold);}
.insight-card p{line-height:1.55;}

/* Process loop */
.process-list{counter-reset:stage;}
.process-step{
  display:grid;grid-template-columns:1fr 64px;gap:18px;padding:18px 0;
  border-bottom:1px solid var(--line);align-items:center;
}
.process-step .icon{
  position:relative;width:64px;height:64px;border-radius:50%;
  background:var(--accent);display:flex;align-items:center;justify-content:center;
  color:var(--navy);flex-shrink:0;
}
.process-step .icon svg{width:30px;height:30px;}
.process-step .icon .n{
  position:absolute;bottom:-6px;right:-6px;background:var(--gold);color:#fff;
  font-family:'Source Serif 4',serif;font-size:11px;font-weight:600;
  width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;
}
.process-step h3{font-size:15.5px;}
.process-step p{font-size:12.5px;color:var(--slate);margin-top:4px;}
.process-step.has-photo{grid-template-columns:160px 1fr 64px;}
.process-step .step-photo{width:100%;height:100px;object-fit:cover;border:1px solid var(--line);display:block;}
@media (max-width:640px){
  .process-step{grid-template-columns:1fr 52px;}
  .process-step .icon{width:52px;height:52px;}
  .process-step .icon svg{width:24px;height:24px;}
  .process-step.has-photo{grid-template-columns:1fr 52px;grid-template-areas:"text icon" "photo photo";}
  .process-step.has-photo .icon{grid-area:icon;}
  .process-step.has-photo > div:nth-child(2){grid-area:text;}
  .process-step.has-photo .step-photo{grid-area:photo;height:160px;margin-top:0;}
}

/* Before / after */
.ba-pair{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid var(--navy);}
.ba-pair .ba-item{position:relative;}
.ba-pair img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;}
.ba-pair .tag{
  position:absolute;top:10px;right:10px;background:var(--gold);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.06em;padding:4px 10px;text-transform:uppercase;
}
@media (max-width:640px){.ba-pair{grid-template-columns:1fr;}}

.ref-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.ref-list .chip{border-color:var(--slate);color:var(--ink);}

/* Client / partner logo grid */
.logo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;}
.logo-tile{
  background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  height:132px;padding:16px;
}
.logo-tile img{max-width:100%;max-height:100%;object-fit:contain;}
@media (max-width:860px){.logo-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:520px){.logo-grid{grid-template-columns:repeat(2,1fr);}}

/* Homepage condensed band (8 logos, 4 cols desktop) */
.logo-grid-home{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media (max-width:640px){.logo-grid-home{grid-template-columns:repeat(3,1fr);}}
@media (max-width:420px){.logo-grid-home{grid-template-columns:repeat(2,1fr);}}

/* Logo tiles on the dark credentials band (homepage) */
.logo-tile-dark{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
  height:108px;padding:14px;
}
.logo-tile-dark img{max-width:100%;max-height:100%;object-fit:contain;}

/* Animated photo-mosaic brand mark, homepage hero - tiles are crops of our
   own project photography, assembled into our logo's two-loop shape, on a loop. */
.mosaic-logo-wrap{align-self:flex-start;margin-bottom:6px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;}
.mosaic-logo{position:relative;width:260px;height:156px;}
.mosaic-logo svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 6px 22px rgba(0,0,0,.5));}
.mosaic-logo .mosaic-tile-img{filter:saturate(.6) contrast(1.08) brightness(1.05);}
.mosaic-logo .photo-tile{
  transform-box:view-box;opacity:0;
  animation:m-tile-form var(--mosaic-cycle,12s) cubic-bezier(.22,.75,.25,1) infinite;
  animation-delay:var(--delay);
}
@keyframes m-tile-form{
  0%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.3);}
  6%{opacity:.5;transform:translate(var(--dx),var(--dy)) scale(.6);}
  20%,86%{opacity:1;transform:translate(0,0) scale(1);}
  100%{opacity:0;transform:translate(0,0) scale(.96);}
}
/* The top "cover" layer on every tile. On a photo-tile it starts solid
   (matching the plain brand mark), then - swept left-to-right across the
   mark via the per-tile --rdelay offset - fades away to reveal the tinted
   project-photo crop underneath, holds revealed, then covers again right
   before the loop fades out. A solid (non-photo) tile has no image under
   it, so its cover layer just stays fully opaque throughout. */
.mosaic-logo .photo-tile-blue{opacity:1;}
.mosaic-logo .photo-tile-blue.tile-photo{
  animation:m-tile-reveal var(--mosaic-cycle,12s) ease-in-out infinite;
  animation-delay:calc(var(--delay) + var(--rdelay,0s));
}
@keyframes m-tile-reveal{
  0%,32%{opacity:1;}
  42%{opacity:0;}
  80%{opacity:0;}
  90%,100%{opacity:1;}
}
.mosaic-logo-word{margin-top:16px;position:relative;}
.mosaic-logo-word img{
  display:block;width:336px;max-width:none;height:auto;opacity:0;
  filter:drop-shadow(0 4px 16px rgba(0,0,0,.55));
  animation:m-word-fade var(--mosaic-cycle,12s) ease-in-out infinite;
}
/* The two red accents on the i's drop in from above and bounce into place
   together, right as the wordmark settles each loop, then give a soft pulse
   while the photo-mosaic is fully revealed. */
.wordmark-dot-anchor{
  position:absolute;top:14.02%;transform:translate(-50%,-50%);
  width:2.3%;aspect-ratio:1;
}
.wordmark-dot{
  width:100%;height:100%;border-radius:50%;background:#FF3C3C;opacity:0;
  animation:m-dot-drop var(--mosaic-cycle,12s) ease-in infinite;
}
@keyframes m-dot-drop{
  0%,18%{opacity:0;transform:translateY(-500%) scale(1);box-shadow:0 0 0 rgba(255,60,60,0);}
  23%{opacity:1;transform:translateY(-500%) scale(1);}
  27%{transform:translateY(10%) scale(1);}
  30%{transform:translateY(-6%) scale(1);}
  33%,55%{transform:translateY(0) scale(1);opacity:1;box-shadow:0 0 0 rgba(255,60,60,0);}
  64%{box-shadow:0 0 10px 2px rgba(255,60,60,.55);transform:translateY(0) scale(1.18);}
  73%,86%{transform:translateY(0) scale(1);opacity:1;box-shadow:0 0 0 rgba(255,60,60,0);}
  100%{opacity:0;transform:translateY(-500%) scale(1);box-shadow:0 0 0 rgba(255,60,60,0);}
}
@keyframes m-word-fade{
  0%,16%{opacity:0;transform:translateY(6px);}
  26%,88%{opacity:1;transform:translateY(0);}
  100%{opacity:0;transform:translateY(0);}
}
@media (max-width:860px){
  .mosaic-logo{width:200px;height:120px;}
  .mosaic-logo-word img{width:258px;}
}
@media (max-width:480px){
  .mosaic-logo{width:150px;height:90px;}
  .mosaic-logo-word{margin-top:10px;}
  .mosaic-logo-word img{width:194px;}
}
@media (prefers-reduced-motion:reduce){
  .mosaic-logo .photo-tile{animation:none;opacity:1;transform:none;}
  .mosaic-logo .photo-tile-blue{animation:none;}
  .mosaic-logo .photo-tile-blue.tile-photo{opacity:0;}
  .mosaic-logo-word img{animation:none;opacity:1;transform:none;}
  .wordmark-dot{animation:none;opacity:1;transform:none;box-shadow:none;}
}

/* Continuous logo marquee - client/partner logos, transparent, right to left */
.logo-marquee{
  overflow:hidden;position:relative;width:100%;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
}
.logo-marquee-track{
  display:flex;align-items:center;gap:84px;width:max-content;
  animation:logo-marquee-scroll linear infinite;
  animation-duration:var(--marquee-duration,38s);
}
.logo-marquee:hover .logo-marquee-track{animation-play-state:paused;}
.logo-marquee-track img{
  height:138px;width:auto;max-width:450px;object-fit:contain;flex-shrink:0;
}
@keyframes logo-marquee-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (max-width:640px){
  .logo-marquee-track{gap:56px;}
  .logo-marquee-track img{height:108px;max-width:330px;}
}
@media (prefers-reduced-motion:reduce){
  .logo-marquee-track{animation:none;}
}
@media (prefers-reduced-motion:reduce){
  .hero-full-media img{transform:none;transition:opacity 1.2s ease;}
  .hero-full-media img.kb-a.active,.hero-full-media img.kb-b.active{animation:none;}
}

/* Project gallery - cinematic stage with crossfade + thumbnail filmstrip */
.project-gallery{margin-top:0;}
.pg-stage{
  position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;
  background:var(--navy-2);border:1px solid var(--navy);
}
.pg-stage img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .5s ease;
}
.pg-stage img.active{opacity:1;}
.pg-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:42px;height:42px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(11,56,87,.55);color:#fff;font-size:20px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease;
}
.pg-nav:hover{background:rgba(11,56,87,.85);}
.pg-prev{left:16px;}
.pg-next{right:16px;}
.pg-counter{
  position:absolute;right:16px;bottom:14px;z-index:3;
  background:rgba(11,56,87,.6);color:#fff;font-size:12px;font-weight:600;
  padding:4px 10px;letter-spacing:.03em;
}
.pg-thumbs{
  display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:4px;
  scrollbar-width:thin;
}
.pg-thumbs img{
  height:64px;width:96px;object-fit:cover;flex-shrink:0;cursor:pointer;
  opacity:.55;border:2px solid transparent;transition:opacity .15s ease,border-color .15s ease;
}
.pg-thumbs img:hover{opacity:.85;}
.pg-thumbs img.active{opacity:1;border-color:var(--gold);}
@media (max-width:640px){
  .pg-nav{width:36px;height:36px;font-size:17px;}
  .pg-thumbs img{height:50px;width:76px;}
}
