/* ============================================================
   EXELLICA HOME - core stylesheet
   Edit colours, fonts and spacing here. One place controls all pages.
   ============================================================ */

:root{
  /* ---- Brand palette (ivory / beige / espresso / warm gold) ---- */
  --ivory:        #F6EFE6;
  --cream:        #ECDFCE;
  --beige:        #DBC4A8;
  --espresso:     #3A2A20;
  --espresso-soft:#6B5141;
  --gold:         #B26B3F;
  --gold-soft:    #CE9468;
  --line:         rgba(58,42,32,0.16);
  --line-strong:  rgba(58,42,32,0.32);

  /* ---- Type ---- */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Raleway", "Helvetica Neue", Arial, sans-serif;

  /* ---- Layout ---- */
  --maxw: 3000px;
  --gut:  clamp(24px, 2vw, 30px);
  --radius: 10px;       /* general: buttons, inputs - soft, not pill */
  --radius-img: 6px;    /* sharper, premium corners on all photos / image frames / cards */

  /* ---- Motion: one language across the whole site ---- */
  --ease: cubic-bezier(.22, 1, .36, 1);   /* soft, slow ease-out */
  --dur: .7s;        /* base reveal / state change */
  --dur-img: 1s;     /* large-image uncover settle */
  --dur-hover: .45s; /* hover states */
}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--body);
  background:var(--ivory);
  color:var(--espresso);
  line-height:1.6;
  font-weight:300;
  letter-spacing:0.01em;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* subtle paper grain for depth */
body::before{
  content:"";
  position:fixed;inset:0;z-index:0;pointer-events:none;
  opacity:0.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Type scale ---- */
h1,h2,h3{font-family:var(--display);font-weight:500;line-height:1.05;letter-spacing:-0.01em}
.h-xl{font-size:clamp(2.6rem,7vw,5.4rem)}
.h-lg{font-size:clamp(2rem,4.5vw,3.4rem)}
.h-md{font-size:clamp(1.5rem,3vw,2.1rem)}
.eyebrow{
  font-family:var(--body);font-size:0.72rem;font-weight:400;
  letter-spacing:0.32em;text-transform:uppercase;color:var(--gold);
}
.lead{font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--espresso-soft);font-weight:300}

/* ---- Layout helpers ---- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gut);position:relative;z-index:1}
.section{padding-block:clamp(32px,3.6vw,40px)}
/* Tighten where content first begins: a comfortable ~48-56px gap below the
   marquee (home) and below the header (other pages), never a large void. */
.marquee + .section{padding-top:clamp(14px,1.6vw,20px)}
.site-header + .section:not(.rugs-head):not(.collection-head):not(:has(.product)){padding-top:clamp(48px,3.8vw,56px)}

/* Collection page hero: full-bleed photo banner with the collection name and
   lead overlaid (same treatment as the All Rugs header). Each collection page
   sets its own background-image inline. */
.collection-head{position:relative;isolation:isolate;background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden;padding-block:clamp(72px,12vw,140px)}
.collection-head::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(30,24,18,0.45),rgba(30,24,18,0.62))}
.collection-head .eyebrow{color:var(--gold-soft);text-shadow:0 1px 10px rgba(20,14,8,0.55)}
.collection-head h1,.collection-head .lead{color:var(--ivory)}
.collection-head h1{text-shadow:0 2px 18px rgba(20,14,8,0.4)}
.collection-head .lead{opacity:.95}
/* Product page: ~24px gap under the nav on desktop. The generic
   `.site-header + .section` rule above explicitly excludes :has(.product),
   so this is the only header-gap rule that applies to product pages and it
   can't be overridden by future :not() tweaks to that generic rule. */
.site-header + .section:has(.product){padding-top:clamp(14px,2.2vw,24px)}
.center{text-align:center}
.divider{height:1px;background:var(--line);border:0;margin-block:0}

/* Photo banners run full-bleed (edge to edge inside the site frame).
   Coloured bands stay inset with soft rounded corners. */
.hero{
  width:100%;
  border-radius:0;
  overflow:hidden;
}
.section--band{
  width:min(calc(var(--maxw) - 2 * var(--gut)), calc(100% - 2 * var(--gut)));
  margin-inline:auto;
  border-radius:6px;
  overflow:hidden;
  position:relative;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--ivory);
}

/* ---- HOME ONLY: transparent header floating over the full-screen hero ---- */
/* It does not reserve flow space (fixed), so the banner sits behind it on load. */
body[data-page="home"] .site-header{
  position:fixed;top:0;left:0;right:0;
  background:transparent;
}
/* soft dark gradient at the very top behind the header for legibility on the photo */
body[data-page="home"] .site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(18,13,8,0.58) 0%, rgba(18,13,8,0.24) 56%, rgba(18,13,8,0) 100%);
  transition:opacity .35s ease;
}
body[data-page="home"] .site-header .brand,
body[data-page="home"] .site-header .nav-links > li > a{color:var(--ivory)}
body[data-page="home"] .site-header .brand span{color:var(--gold-soft)}
body[data-page="home"] .site-header .nav-toggle span{background:var(--ivory)}

/* once scrolled, the home header becomes the same solid ivory bar as every page */
body[data-page="home"] .site-header.scrolled{
  background:var(--ivory);
}
body[data-page="home"] .site-header.scrolled::before{opacity:0}
body[data-page="home"] .site-header.scrolled .brand,
body[data-page="home"] .site-header.scrolled .nav-links > li > a{color:var(--espresso)}
body[data-page="home"] .site-header.scrolled .brand span{color:var(--gold)}
body[data-page="home"] .site-header.scrolled .nav-toggle span{background:var(--espresso)}
/* mobile menu opens as a solid ivory overlay - force dark text/toggle even on home */
body[data-page="home"] .site-header .nav-links.open > li > a{color:var(--espresso)}
body[data-page="home"] .site-header .nav-toggle.open span{background:var(--espresso)}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  height:72px;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gut);
}
.brand{
  font-family:var(--display);font-size:1.45rem;letter-spacing:0.18em;
  text-transform:uppercase;font-weight:500;
}
.brand span{color:var(--gold)}
.brand .brand-sub{font-family:var(--body);font-size:.56em;letter-spacing:.28em;font-weight:600;margin-left:.55em;color:inherit}
.nav-links{display:flex;gap:clamp(1rem,2.4vw,2.4rem);align-items:center;min-width:0}
.nav-links a{
  font-size:0.82rem;letter-spacing:0.16em;text-transform:uppercase;
  position:relative;padding-block:4px;
}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1px;
  background:var(--gold);transition:width var(--dur-hover) var(--ease);
}
.nav-links a:hover::after{width:100%}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;width:30px;height:22px;position:relative}
.nav-toggle span{position:absolute;left:0;width:100%;height:1.5px;background:var(--espresso);transition:.3s}
.nav-toggle span:nth-child(1){top:0}
.nav-toggle span:nth-child(2){top:50%;transform:translateY(-50%)}
.nav-toggle span:nth-child(3){bottom:0}
.nav-toggle.open span:nth-child(1){top:50%;transform:translateY(-50%) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){bottom:auto;top:50%;transform:translateY(-50%) rotate(-45deg)}

@media(max-width:640px){
  .nav-toggle{display:block;z-index:60}
  .nav-links{
    position:fixed;inset:0;background:var(--ivory);
    flex-direction:column;justify-content:center;gap:2.2rem;
    opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-links.open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .3s var(--ease)}
  .nav-links a{font-size:1.1rem}
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;min-height:min(86vh,760px);
  display:flex;align-items:center;
  background:var(--cream);
  overflow:hidden;
  margin-top:0;
}
/* background image on its own layer so it can zoom slowly (Ken Burns) */
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:url("../video/home-hero-poster.webp") center/cover no-repeat;
  transform:scale(1.03);transform-origin:50% 45%;
  animation:heroZoom 32s ease-in-out infinite alternate;
  will-change:transform;
}
/* soft dark gradient at the bottom so the heading + text stay readable */
.hero::after{
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(to top,
    rgba(28,22,17,0.72) 0%,
    rgba(28,22,17,0.45) 28%,
    rgba(28,22,17,0.12) 52%,
    rgba(28,22,17,0) 72%);
}
.hero-inner{position:relative;z-index:1;padding-block:clamp(48px,8vw,96px);max-width:560px;text-align:left}
.hero .eyebrow{display:block;margin-bottom:1.2rem;color:#A9824C}
.hero h1{margin-bottom:1.4rem;color:var(--ivory)}
/* no box/panel behind the heading - just a soft, subtle drop shadow applied to
   the text itself (via filter on .hero-title, which isn't clipped by the line
   masks) so the heading stays readable over the photo with no hard edges */
.hero-title{filter:drop-shadow(0 1px 2px rgba(20,15,10,0.35)) drop-shadow(0 3px 14px rgba(20,15,10,0.30))}
.hero-title .line-inner.gold{color:#E3D6C1}
.hero .lead{max-width:560px;margin-bottom:2.2rem;color:rgba(248,244,237,0.92)}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;
  font-family:var(--body);font-size:0.8rem;letter-spacing:0.18em;text-transform:uppercase;
  padding:1rem 1.9rem;border-radius:var(--radius);border:1px solid var(--espresso);
  background:var(--espresso);color:var(--ivory);
  transition:background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.btn:hover{background:transparent;color:var(--espresso)}
.btn-ghost{background:transparent;color:var(--espresso)}
.btn-ghost:hover{background:var(--espresso);color:var(--ivory)}
.btn-wa{background:#1f7a4d;border-color:#1f7a4d;color:#fff}
.btn-wa:hover{background:transparent;color:#1f7a4d;border-color:#1f7a4d}
.btn-wa svg{width:18px;height:18px;fill:currentColor}

/* Explore Collections (hero): keep the dark-brown default, fully invert
   to warm beige with dark-brown text on hover, quick + smooth */
.hero .btn{transition:background var(--dur-hover) var(--ease),color var(--dur-hover) var(--ease),border-color var(--dur-hover) var(--ease);font-size:14px;font-weight:400;letter-spacing:0.04em;padding:1rem 0.9rem;width:228px;height:60px;justify-content:center;box-sizing:border-box}
.hero .btn:hover{background:var(--ivory);border-color:var(--ivory);color:var(--espresso);transform:none;letter-spacing:0.04em}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee{
  position:relative;overflow:hidden;
  background:var(--espresso);
  border-block:1px solid rgba(255,255,255,.08);
}
.marquee-track{
  display:flex;width:max-content;
  padding-block:.5rem;
  will-change:transform;
}
.marquee[data-ready="true"] .marquee-track{animation:marquee var(--mq,26s) linear infinite}
.marquee-phrase{
  display:inline-flex;align-items:center;flex:0 0 auto;
  font-family:var(--body);font-weight:400;
  font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;
  color:var(--ivory);white-space:nowrap;
}
.marquee-phrase>span{padding-inline:1.15rem}
.marquee .dot{color:var(--gold-soft);font-style:normal;font-size:1.05em;opacity:.9}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .marquee[data-ready="true"] .marquee-track{animation:none}
}

/* ============================================================
   COLLECTION TILES (home)
   ============================================================ */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(max-width:640px){.tiles{grid-template-columns:repeat(2,1fr)}}
.tile{
  position:relative;display:block;aspect-ratio:4/5;overflow:hidden;
  background:var(--beige);border-radius:var(--radius-img);
}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-img) var(--ease)}
.tile:hover img{transform:scale(1.08)}
.tile-body{
  position:absolute;inset:auto 0 0 0;padding:2.4rem 1.8rem 1.6rem;
  background:linear-gradient(transparent,rgba(46,38,32,0.32) 42%,rgba(46,38,32,0.78));color:var(--ivory);
}
.tile-body h3{color:var(--ivory);transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.tile-body .eyebrow{color:#fff;text-shadow:0 1px 8px rgba(28,22,17,0.65)}
/* on hover the title nudges up a little to meet the lifting tile */
.tile:hover .tile-body h3{transform:translateY(-7px)}

/* ============================================================
   PRODUCT GRID (collection page)
   ============================================================ */
.section-head{display:flex;flex-direction:column;gap:.8rem;margin-bottom:clamp(22px,2.6vw,36px);max-width:60ch}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(max-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
.card{display:block}
.card-media{aspect-ratio:1/1;overflow:hidden;background:var(--beige);border-radius:var(--radius-img);margin-bottom:1rem}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-img) var(--ease)}
.card:hover .card-media img{transform:scale(1.05)}
.card h3{font-size:1.2rem;margin-bottom:.25rem}
.card .meta{font-size:.82rem;color:var(--espresso-soft);letter-spacing:.04em}
.card .price{font-size:.9rem;color:var(--espresso);margin-top:.35rem}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(24px,3.4vw,52px);align-items:start}
@media(max-width:640px){.product{grid-template-columns:1fr}}
.gallery{display:flex;flex-direction:column;gap:14px}
.gallery .main{aspect-ratio:1/1;background:var(--beige);border-radius:var(--radius-img);overflow:hidden}
.gallery .main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:flex;gap:10px}
.thumbs img{width:74px;height:74px;object-fit:cover;background:var(--beige);border-radius:12px;cursor:pointer;opacity:.7;transition:.25s}
.thumbs img:hover,.thumbs img.active{opacity:1;outline:1px solid var(--gold)}
.product-info{position:sticky;top:96px}
.product-info h1{margin:.6rem 0 1rem}
.price-range{font-size:1.25rem;color:var(--espresso);margin-bottom:1.6rem}
.field{margin-bottom:1.4rem}
.field label{display:block;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--espresso-soft);margin-bottom:.5rem}
.field select{
  width:100%;padding:.95rem 1rem;font-family:var(--body);font-size:.95rem;
  background:var(--ivory);border:1px solid var(--line-strong);border-radius:var(--radius);
  color:var(--espresso);appearance:none;cursor:pointer;
}
.spec{border-top:1px solid var(--line);margin-top:2rem;padding-top:1.6rem}
.spec dl{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1.6rem;font-size:.92rem}
.spec dt{color:var(--espresso-soft);letter-spacing:.04em}
.spec dd{color:var(--espresso)}
.note{font-size:.82rem;color:var(--espresso-soft);margin-top:1.2rem;line-height:1.5}

/* ============================================================
   PROSE (about) + FOOTER
   ============================================================ */
.prose{max-width:62ch}
.prose p{margin-bottom:1.2rem;color:var(--espresso-soft)}
.contact-row{display:flex;flex-wrap:wrap;gap:1rem 2.4rem;margin-top:1.6rem;font-size:.95rem}
.contact-row a{border-bottom:1px solid var(--gold);padding-bottom:2px}

.site-footer{background:var(--espresso);color:var(--cream);margin-top:0;
  border-top-left-radius:16px;border-top-right-radius:16px}
.site-footer .wrap{padding-block:clamp(32px,4vw,52px)}
.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.2fr;gap:clamp(24px,3vw,40px) clamp(22px,2.6vw,38px);align-items:start}
.footer-grid h3{color:var(--ivory);font-size:1.6rem;margin-bottom:.6rem}
.footer-grid .eyebrow{color:var(--gold-soft)}
/* left brand column: roomier vertical rhythm (the three link columns are unchanged) */
.footer-brand .eyebrow{display:block}
.footer-brand h3{margin-top:.55rem;margin-bottom:.65rem}
.footer-brand p{line-height:1.78}
.footer-brand .footer-origin{margin-top:.8rem}
.footer-links{display:flex;gap:1.6rem;flex-wrap:wrap}
.footer-links a{font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;opacity:.85;overflow-wrap:anywhere}
.footer-links a:hover{opacity:1;color:var(--gold-soft)}
.footer-bottom{margin-top:2rem;padding-top:1.3rem;border-top:1px solid rgba(255,255,255,.14);font-size:.78rem;opacity:.7;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.footer-bottom > :first-child{justify-self:start;text-align:left}
.footer-bottom .footer-legal{justify-self:center;text-align:center}
.footer-bottom > :last-child{justify-self:end;text-align:right}
/* extra room above the divider line over the copyright row */
.site-footer .footer-bottom{margin-top:1.9rem}
/* subtle, slightly smaller legal links centered in the bottom bar */
.footer-legal{display:inline-flex;align-items:center;gap:.55rem;font-size:.95em;opacity:.85}
.footer-legal a{color:inherit}
.footer-legal a:hover{color:var(--gold-soft);opacity:1}
.footer-legal .sep{opacity:.5}
@media(max-width:640px){
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:1 / -1}
  .footer-bottom{grid-template-columns:1fr;justify-items:center;text-align:center}
  .footer-bottom > :first-child,.footer-bottom > :last-child,.footer-bottom .footer-legal{justify-self:center;text-align:center}
}

/* ============================================================
   PLACEHOLDER STYLING - anything you still need to replace
   shows with a dotted gold outline so nothing is missed.
   Remove the .ph class once real content is in.
   ============================================================ */
.ph{}

/* ---- Page-load reveal ---- */
/* entrance slide uses the `translate` property so it never fights the
   `transform`-based hover lift on cards/tiles */
.reveal{opacity:0;translate:0 24px;transition:opacity var(--dur) var(--ease),translate var(--dur) var(--ease)}
.reveal.in{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;translate:none;transition:none}
  .hero-title .line-inner{transform:none;transition:none}
  .hero::before{animation:none;transform:none}
}

/* ============================================================
   MOTION LAYER
   ============================================================ */
body{animation:pageIn .7s ease both}
@keyframes pageIn{from{opacity:0}to{opacity:1}}

/* header condenses on scroll */
.site-header{transition:box-shadow .35s ease, background .35s ease, border-radius .35s ease}
.site-header.scrolled{box-shadow:0 10px 26px rgba(46,38,32,.16);background:var(--ivory);border-bottom-left-radius:16px;border-bottom-right-radius:16px}
.site-header.scrolled .nav{height:62px}
.nav{transition:height .35s ease}

/* staggered reveal (uses --d set per item) */
.reveal{transition-delay:var(--d,0s)}

/* hero entrance - premium, sequential reveal on page load */

/* 1) the big heading rises line-by-line from behind a hidden mask */
.hero-inner .hero-title.reveal{opacity:1;translate:none;transition:none}
.hero-title{line-height:1.04}
.hero-title .line{display:block;overflow:hidden;padding-bottom:.14em;padding-right:.3em;margin-bottom:-.08em;white-space:nowrap}
.hero-title .line-inner{
  display:block;transform:translateY(120%);
  transition:transform 1.15s var(--ease);
  transition-delay:var(--ld,0s);will-change:transform;
}
.hero-title.in .line-inner{transform:translateY(0)}
.hero-title .line:nth-child(1) .line-inner{--ld:.15s}
.hero-title .line:nth-child(2) .line-inner{--ld:.40s}
.hero-title .line:nth-child(3) .line-inner{--ld:.65s}

/* 2) eyebrow, paragraph and button flow in afterwards, one after another */
.hero-inner .reveal{
  translate:0 28px;
  transition:opacity 1s var(--ease), translate 1s var(--ease);
  transition-delay:var(--d,0s);
}
.hero-inner .reveal.in{translate:0 0}
.hero-inner .reveal:nth-child(1){--d:.70s}   /* eyebrow */
.hero-inner .reveal:nth-child(3){--d:.95s}   /* paragraph */
.hero-inner .reveal:nth-child(4){--d:1.20s}  /* button */

/* 3) the background image breathes with a slow continuous zoom */
@keyframes heroZoom{
  from{transform:scale(1.03)}
  to{transform:scale(1.13)}
}

/* lift on cards and tiles (hover = transform; reveal = opacity + translate) */
.card,.tile{transition:transform var(--dur-hover) var(--ease), opacity var(--dur) var(--ease), translate var(--dur) var(--ease)}

/* collection tiles fade + slide up with a slight stagger as they scroll in.
   delay list maps to [transform, opacity, translate] so hover stays instant */
.tiles .tile{transition-delay:0s, var(--d,0s), var(--d,0s)}
.tiles .tile:nth-child(2){--d:.09s}
.tiles .tile:nth-child(3){--d:.18s}
.tiles .tile:nth-child(4){--d:.27s}
.card:hover{transform:translateY(-5px)}
.tile:hover{transform:translateY(-4px)}

/* button micro-motion */
.btn{transition:background var(--dur-hover) var(--ease),color var(--dur-hover) var(--ease),transform var(--dur-hover) var(--ease),letter-spacing var(--dur-hover) var(--ease)}
.btn:hover{transform:translateY(-2px);letter-spacing:.22em}

/* price range dash spacing */
.price-range .dash{color:var(--espresso-soft);margin:0 .25rem}

@media(prefers-reduced-motion:reduce){
  body{animation:none}
  .card:hover,.tile:hover,.btn:hover{transform:none}
  .tile:hover img{transform:none}
  .tile:hover .tile-body h3{transform:none}
}

/* ============================================================
   ADDED SECTIONS: craftsmanship, reviews, size guide
   ============================================================ */

/* Craftsmanship / why-wool */
.craft-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,44px);margin-top:clamp(28px,4vw,52px)}
@media(max-width:640px){.craft-grid{grid-template-columns:1fr}}
.feature{border-top:1px solid var(--line);padding-top:1.2rem}
.feature .eyebrow{display:block;margin-bottom:.6rem}
.feature h3{font-size:1.3rem;margin-bottom:.5rem}
.feature p{color:var(--espresso-soft);font-size:.95rem}

/* Why Exellica - soft rounded panel, photo left / text right */
.why-panel{
  display:grid;grid-template-columns:55fr 45fr;
  gap:clamp(28px,4vw,56px);align-items:center;
  background:var(--cream);
  border-radius:6px;
  padding:clamp(10px,1.2vw,16px) clamp(22px,2.6vw,38px) clamp(10px,1.2vw,16px) 18px;
}
.why-media{
  position:relative;overflow:hidden;
  border-radius:var(--radius-img);
  background:var(--beige);
  /* fixed 4:5 portrait, height-driven so it stays compact and the text
     column sits beside it at its natural height */
  /* portrait frame, a touch wider than 4:5 */
  aspect-ratio:0.90;
  height:clamp(440px,50vw,580px);
  width:100%;
}
.why-media .img-ph{position:absolute;inset:0}
.why-media > img,
.why-media > video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* right column: heading, intro and the three points sit close together at a
   natural height beside the media (no stretch-to-fill) */
.why-body{display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1vw,11px)}
.why-body .section-head{margin-bottom:0}
.why-body .h-lg{line-height:1.02}
.why-body .feature{padding-top:clamp(.18rem,.28vw,.28rem)}
.why-body .feature h3{margin-bottom:.14rem}
.why-body .feature p{line-height:1.24}
.why-intro{margin-top:.5rem;color:var(--espresso-soft);font-size:1rem;line-height:1.24;max-width:46ch;text-wrap:pretty}
/* the section below the band sits with the band's own even spacing;
   overall section height trimmed ~15% via tighter outer padding + text spacing
   (video frame keeps its placement / 4:5 ratio) */
/* IG band owns the full 24px gap above its top divider via its own margin, so
   the Why section no longer adds bottom padding here. */
.section--why{padding-top:0;margin-top:0;padding-bottom:0}
/* Instagram panel sits close below the Why panel - ~22px gap */
/* IG band: cream fill, no divider lines. 24px of clear ivory above and below. */
.section--ig{
  background:#ECDFCE;
  margin-top:24px;
  margin-bottom:24px;
  padding-top:20px;
  padding-bottom:24px;
}
/* Reviews band: 24px clear space below it (to the footer); the 24px above is
   already supplied by the IG band's bottom margin. */
.section--ig + .section--band{
  margin-bottom:24px;
}
@media(max-width:640px){
  .why-panel{grid-template-columns:1fr;gap:clamp(20px,5vw,30px)}
  .why-media{width:100%;height:auto}
}

/* Reviews / testimonials */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,28px);margin-top:clamp(28px,4vw,52px)}
@media(max-width:640px){.reviews{grid-template-columns:1fr}}
.review-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-img);padding:1.8rem;display:flex;flex-direction:column;height:100%}
.review-card .stars{color:var(--gold);letter-spacing:.2em;font-size:.9rem;margin-bottom:.9rem}
.review-card .stars .star-half{position:relative;display:inline-block}
.review-card .stars .star-half::before{content:"\2606"}
.review-card .stars .star-half .star-half-fill{position:absolute;left:0;top:0;width:50%;overflow:hidden}
.review-card p{font-family:var(--display);font-size:1.12rem;line-height:1.5;color:var(--espresso);margin-bottom:1rem}
.review-card .who{margin-top:auto;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--espresso-soft)}

/* Size guide table */
.size-table{width:100%;border-collapse:collapse;margin-top:1.4rem;font-size:.95rem}
.size-table th,.size-table td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--line)}
.size-table th{font-family:var(--body);font-weight:500;letter-spacing:.06em;color:var(--espresso)}
.size-table td{color:var(--espresso-soft)}
.size-table tr:hover td{background:var(--cream)}

/* simple link used inline near sizes */
.text-link{color:var(--gold);border-bottom:1px solid var(--gold);padding-bottom:1px;font-size:.85rem}

/* ============================================================
   IMAGE PLACEHOLDER - subtle striped frame + monospace label,
   shown until a real photo is dropped in. Swap the inner
   <div class="img-ph"> for an <img> when you have the shot.
   ============================================================ */
.img-ph{
  position:absolute;inset:0;
  background:
    repeating-linear-gradient(45deg,
      rgba(46,38,32,0.045) 0 14px,
      rgba(46,38,32,0.085) 14px 28px),
    var(--beige);
  display:flex;align-items:center;justify-content:center;
}
.img-ph span{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--espresso-soft);
  background:rgba(248,244,237,0.78);padding:.42rem .72rem;border-radius:6px;
}

/* ---- Lifestyle band (full-width room photo + line + button) ---- */
/* sits closer to the collections grid above it */
#collections{padding-bottom:0}
#collections + .section{padding-top:clamp(22px,2.6vw,34px);padding-bottom:clamp(22px,2.6vw,34px)}
.lifestyle{
  position:relative;overflow:hidden;
  border-radius:0;
  min-height:clamp(374px,47.6vw,595px);
  display:flex;align-items:flex-end;
  background:var(--beige);
}
.lifestyle > img{
  position:absolute;inset:0;z-index:0;
  width:100%;height:100%;object-fit:cover;
}
.lifestyle::after{
  content:none;
}
.lifestyle > .wrap{width:100%}
/* Brighter photo, no tint - keep text + button readable with a soft drop shadow
   on the elements themselves (no box, no gradient, no whole-image tint). */
.lifestyle-inner h2{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,0.45),0 3px 16px rgba(0,0,0,0.40);
}
.lifestyle-inner .btn{
  color:#fff;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,0.40));
}
.lifestyle-inner{position:relative;z-index:2;padding:clamp(28px,4vw,56px);max-width:520px}
.lifestyle-inner h2{color:#fff;margin-bottom:1.6rem;text-wrap:balance}

/* ---- Instagram strip - full-width slider ---- */
/* Edge-to-edge band on the page ivory (no panel). The heading stays inside
   .wrap (normal page gutter); the slider itself spans the full viewport. */
.section--ig .section-head{margin-bottom:20px;max-width:none}
.section--ig .section-head h2{white-space:nowrap}
/* @exellicahome handle as a small, neat tappable chip - colour matches the
   main header brand/nav text (--espresso) */
.section--ig .text-link.ig-handle{
  border:1px solid var(--espresso);
  border-radius:999px;
  padding:.42rem .95rem;
  background:#F6EFE6;
  color:var(--espresso);
  line-height:1;
  transition:background-color .3s ease;
}
.section--ig .text-link.ig-handle:hover{
  background:var(--espresso);
  color:var(--ivory);
}

.ig-slider{position:relative;width:100%;overflow:hidden}
.ig-viewport{width:100%;overflow:hidden;touch-action:pan-y}
.ig-track{
  display:flex;gap:var(--ig-gap,10px);
  will-change:transform;
}
/* Portrait frames: same 8/9 ratio + same rounded corners as before, all the
   same height. Width is set per-slide by the slider script. */
.ig-slide{
  flex:0 0 auto;position:relative;display:block;
  aspect-ratio:8/9;overflow:hidden;
  border-radius:var(--radius-img);background:var(--beige);
}
.ig-slide img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.ig-slide .img-ph{transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.ig-slide:hover img,.ig-slide:hover .img-ph{transform:scale(1.04)}

/* Soft circular nav buttons overlaid near each edge */
.ig-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:clamp(40px,3.2vw,52px);aspect-ratio:1;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(248,244,237,0.92);color:var(--espresso);
  border:1px solid var(--line);cursor:pointer;z-index:3;
  font-family:var(--display);font-size:clamp(1.5rem,2vw,2rem);line-height:0;
  padding-bottom:.12em;
  box-shadow:0 6px 22px rgba(46,38,32,0.16);
  transition:background .3s ease,box-shadow .3s ease;
  -webkit-tap-highlight-color:transparent;
}
.ig-arrow:hover{background:var(--ivory);box-shadow:0 8px 28px rgba(46,38,32,0.22)}
.ig-arrow:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.ig-arrow--prev{left:clamp(12px,1.4vw,22px)}
.ig-arrow--next{right:clamp(12px,1.4vw,22px)}
@media(max-width:640px){.ig-arrow{display:none}}

/* Phone-only Instagram sizing. The desktop slider remains unchanged; on
   narrow screens the existing track becomes a compact, touch-scrollable row
   with roughly two square cards visible instead of one near-full-screen card. */
@media(max-width:767px){
  .section--ig{
    padding-top:16px;
    padding-bottom:18px;
    overflow:hidden;
  }
  .section--ig .section-head{margin-bottom:14px}
  .section--ig .ig-viewport{
    overflow-x:auto;
    overflow-y:hidden;
    touch-action:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .section--ig .ig-viewport::-webkit-scrollbar{display:none}
  .section--ig .ig-track{
    width:max-content;
    gap:10px;
    padding-inline:var(--gut);
    transform:none!important;
    transition:none!important;
    will-change:auto;
  }
  .section--ig .ig-slide{
    flex:0 0 min(42vw,180px)!important;
    width:min(42vw,180px);
    aspect-ratio:1/1;
    max-height:180px;
    scroll-snap-align:start;
  }
  .section--ig .ig-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .section--ig .ig-slide[data-clone="1"],
  .section--ig .ig-arrow{display:none}
}

/* ============================================================
   MOTION LAYER - unified, premium feel of motion across the site.
   All of this is gated on `html.js-motion` (added by chrome.js) and on
   `prefers-reduced-motion: no-preference`, so a no-JS or reduced-motion
   visitor sees everything normally with no fades, parallax or settle.
   ============================================================ */

/* Page cross-fade: each page eases in on load. The fade-out on navigation is
   driven by script.js (it clears this animation, then transitions opacity). */
@media(prefers-reduced-motion:no-preference){
  html.js-motion body{animation:pageIn var(--dur) var(--ease) both}
}
@keyframes pageIn{from{opacity:0}to{opacity:1}}

/* Large-image soft uncover: portrait media frames settle from 1.04 to 1.0 as
   they reveal. (Grid tiles keep their own hover zoom, so they are left out to
   avoid a transform clash.) */
@media(prefers-reduced-motion:no-preference){
  .reveal-media > img,
  .reveal-media > video,
  .reveal-media > .img-ph{
    transform:scale(1.04);
    transition:transform var(--dur-img) var(--ease);
    will-change:transform;
  }
  .reveal-media.in > img,
  .reveal-media.in > video,
  .reveal-media.in > .img-ph{transform:scale(1)}
}

/* Gentle depth: the hero photo and the full-width lifestyle bands drift a touch
   slower than the page. Inner fills are oversized so the drift never shows an
   edge. script.js sets --py per element from the scroll position. */
@media(prefers-reduced-motion:no-preference){
  html.js-motion .hero::before{
    background-position:center calc(50% + var(--py,0px));
  }
  html.js-motion .lifestyle > img,
  html.js-motion .about-band > .img-ph{
    height:118%;top:-9%;bottom:auto;
    transform:translate3d(0,var(--py,0px),0);
    will-change:transform;
  }
}


/* ==================================================================
   Post-launch fixes and the atelier section
   ================================================================== */

/* never allow sideways wiggle on phones */
html,body{overflow-x:clip}

.tiles > *,
.grid > *,
.product > *,
.craft-grid > *,
.why-panel > *,
.reviews > *,
.atelier-grid > *,
.info-grid > *,
.footer-grid > *,
.related-grid > *,
.order-row > *,
.video-grid > *{min-width:0}

/* hero headline: the first line leads, scales safely on phones
   (replaces the fixed 74px that was baked in by the editing tool) */
body[data-page="home"] .hero-title{font-size:clamp(2.6rem,6.6vw,74px)}
body[data-page="home"] .hero-title .line:first-child .line-inner{font-weight:500;color:#fff}

/* the catalogue eyebrow, as designed */
.catalogue-head{gap:.55rem;text-align:left;margin-bottom:14px}
.catalogue-head .eyebrow{
  font-family:var(--display);font-weight:300;
  font-size:clamp(15px,1.3vw,18px);letter-spacing:3.7px;
  margin:-2px 0 0;
}

/* ---- From our atelier ---- */
.section--atelier{background:var(--ivory)}
.atelier-intro{
  max-width:62ch;margin:1.1rem auto 0;text-align:center;
  color:var(--espresso-soft);font-size:1.08rem;line-height:1.65;text-wrap:pretty;
}
.atelier-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,2.4vw,28px);margin-top:clamp(28px,4vw,52px);
}
.atelier-item{margin:0}
.atelier-media{
  position:relative;overflow:hidden;border-radius:var(--radius-img);
  aspect-ratio:4/5;background:var(--beige);
}
.atelier-media img,.atelier-media video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform var(--dur-img) var(--ease);
}
.atelier-item:hover .atelier-media img{transform:scale(1.035)}
.atelier-item figcaption{
  padding:1rem .2rem 0;color:var(--espresso-soft);
  font-size:.97rem;line-height:1.55;
}
.atelier-item figcaption .eyebrow{display:block;margin-bottom:.35rem}
@media(max-width:640px){.atelier-grid{grid-template-columns:1fr;max-width:520px;margin-inline:auto}}

/* ==================================================================
   PORTED LAYOUTS - compact, premium interior pages
   (info-grid cards, photo page-heads, dark CTA bands, stitched seam)
   All in the Desert Clay palette. Added in one block so the whole
   site stays consistent. Margins all ride the standard .wrap gutter.
   ================================================================== */

/* ---- Interior photo banner: fills the top of a page, premium + full ---- */
.page-head{
  position:relative;overflow:hidden;
  min-height:clamp(290px,36vw,430px);
  display:flex;align-items:flex-end;
  background:var(--espresso);
  margin-bottom:clamp(30px,3.6vw,52px);
}
.page-head .ph-media{position:absolute;inset:0;z-index:0}
.page-head .ph-media img{width:100%;height:100%;object-fit:cover}
.page-head::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,
    rgba(28,20,14,0.82) 0%, rgba(28,20,14,0.46) 46%, rgba(28,20,14,0.16) 100%);
}
.page-head .wrap{position:relative;z-index:2;width:100%;padding-block:clamp(34px,4.4vw,62px)}
.page-head .eyebrow{display:block;margin-bottom:1rem;color:var(--gold-soft)}
.page-head h1{color:var(--ivory);max-width:22ch;text-wrap:balance;
  text-shadow:0 1px 2px rgba(20,15,10,.3),0 3px 16px rgba(20,15,10,.28)}
.page-head .lead{color:rgba(246,239,230,0.92);margin-top:1.1rem;max-width:56ch}

/* Compact text-only header - keeps a page "straight to the point" (FAQ) */
.page-head--plain{
  min-height:0;background:transparent;display:block;overflow:visible;
  margin-bottom:clamp(20px,2.4vw,30px);
}
.page-head--plain::after{display:none}
.page-head--plain .wrap{padding-top:clamp(48px,3.8vw,58px);padding-bottom:0}
.page-head--plain .eyebrow{color:var(--gold)}
.page-head--plain h1{color:var(--espresso);text-shadow:none}
.page-head--plain .lead{color:var(--espresso-soft)}

/* ---- Compact card grid: everything visible, no accordion, no long scroll ---- */
.info-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(22px,2.8vw,38px) clamp(34px,4vw,64px);
}
.info-grid--3{grid-template-columns:repeat(3,1fr)}
@media(max-width:640px){.info-grid,.info-grid--3{grid-template-columns:1fr}}
.info-item{position:relative;padding-top:1.4rem;border-top:1px solid var(--line)}
.info-item::before{
  content:"";position:absolute;top:-5px;left:0;
  width:9px;height:9px;border-radius:50%;background:var(--gold);
}
.info-item h3{
  font-family:var(--display);font-weight:500;
  font-size:clamp(1.3rem,1.9vw,1.55rem);line-height:1.16;
  color:var(--espresso);margin-bottom:.55rem;
}
.info-item p{color:var(--espresso-soft);font-size:1rem;line-height:1.6;text-wrap:pretty}
.info-item p + p{margin-top:.7rem}
.info-item p a{color:var(--gold);border-bottom:1px solid var(--gold);padding-bottom:1px}
.info-item .step-tag{
  display:block;font-family:var(--body);font-weight:500;font-size:.72rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem;
}
/* bulleted notes inside a card */
.info-item ul{margin-top:.6rem;display:flex;flex-direction:column;gap:.55rem}
.info-item ul li{position:relative;padding-left:1.1rem;color:var(--espresso-soft);
  font-size:.98rem;line-height:1.55;text-wrap:pretty}
.info-item ul li::before{content:"";position:absolute;left:0;top:.62em;
  width:5px;height:5px;border-radius:50%;background:var(--gold-soft)}

/* Group label above a grid (e.g. "The simple way") */
.grid-head{margin-bottom:clamp(18px,2.2vw,28px)}
.grid-head .eyebrow{display:block;margin-bottom:.6rem}
.grid-head h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}

/* ---- Dark closing band: inset, rounded, on-brand espresso ---- */
.cta-band{
  background:var(--espresso);color:var(--ivory);
  border-radius:var(--radius-img);
  padding:clamp(38px,5vw,74px) clamp(24px,4vw,56px);
  text-align:center;position:relative;overflow:hidden;
}
.cta-band .eyebrow{display:block;margin-bottom:1rem;color:var(--gold-soft)}
.cta-band h2{color:var(--ivory);margin-bottom:1rem}
.cta-band p{color:rgba(246,239,230,.85);max-width:58ch;margin:0 auto 1.9rem;
  font-size:1.08rem;line-height:1.62;text-wrap:pretty}
.cta-band .btn{background:var(--gold);border-color:var(--gold);color:var(--ivory)}
.cta-band .btn:hover{background:transparent;border-color:var(--ivory);color:var(--ivory)}
.cta-band .btn svg{width:18px;height:18px;fill:currentColor;margin-right:.1rem}

/* ---- Stitched seam: a dashed espresso frame (the craft nod).
   Used once per page on Custom + About only, never on home. ---- */
.stitch-panel{
  position:relative;border-radius:var(--radius-img);
  padding:clamp(26px,3.4vw,48px);
  background:rgba(255,255,255,.45);
}
.stitch-panel::before{
  content:"";position:absolute;inset:6px;border-radius:calc(var(--radius-img) - 4px);
  border:1.5px dashed var(--espresso);opacity:.55;pointer-events:none;
}

/* ---- Supporting photo band to fill space on lighter pages ---- */
.media-band{
  width:min(calc(var(--maxw) - 2 * var(--gut)), calc(100% - 2 * var(--gut)));
  margin-inline:auto;position:relative;overflow:hidden;
  border-radius:var(--radius-img);background:var(--beige);aspect-ratio:21/9;
}
.media-band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:640px){.media-band{aspect-ratio:16/10}}

/* ---- Section helpers ---- */
.section--cream{background:var(--cream)}
.section-head--center{margin-inline:auto;text-align:center;align-items:center}

/* Framed table card for the size guide */
.table-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-img);
  padding:clamp(8px,1.4vw,18px) clamp(14px,2vw,26px);overflow:hidden;
}
.table-card .size-table{margin-top:0}

/* ---- Soft focus arrival: story text drifts from blur to sharp (About) ---- */
@media(prefers-reduced-motion:no-preference){
  html.js-motion .reveal-focus{
    filter:blur(6px);
    transition:opacity var(--dur) var(--ease),translate var(--dur) var(--ease),filter 1.1s var(--ease);
  }
  html.js-motion .reveal-focus.in{filter:blur(0)}
}

/* ==================================================================
   THE ESPRESSO THREAD - ported from the Dye House build, recolored.
   One thread connects the page. A full-width serpentine sweeps side
   to side BEHIND the content (sections sit above it), drawing just
   ahead of your scroll, with a knot tied at every turn. It says:
   follow it, there is more below. Lives on Home, Custom and About.
   ================================================================== */
#thread{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}
#thread path{
  fill:none;stroke:var(--espresso);stroke-width:2;stroke-linecap:round;
  opacity:.5;
}
#thread .knotpt{
  fill:var(--ivory);stroke:var(--espresso);stroke-width:2;opacity:.6;
  transform-box:fill-box;transform-origin:center;transform:scale(0);
  transition:transform .6s var(--ease);
}
#thread .knotpt.on{transform:scale(1)}
/* the thread weaves UNDER everything: content rides above it */
main{position:relative;display:block}
main > *{position:relative;z-index:2}
@media(max-width:640px){#thread{display:none}}
@media(prefers-reduced-motion:reduce){
  #thread path{stroke-dashoffset:0!important}
  #thread .knotpt{transform:scale(1)}
}

/* ==================================================================
   BRAND SIGNATURE - the script logo as a quiet sign-off.
   Sits on an ivory band before the footer. "Writes itself" with a
   left-to-right mask wipe when scrolled into view.
   ================================================================== */
.brand-signature{padding:clamp(46px,6.5vw,92px) 0;text-align:center;background:var(--ivory)}
.brand-signature.on-cream{background:var(--cream)}
.brand-signature img{width:min(300px,60vw);height:auto;display:inline-block}
.brand-signature .sig-tag{
  display:block;margin-top:1.1rem;font-size:.72rem;letter-spacing:.32em;
  text-transform:uppercase;color:var(--gold);
}
@media(prefers-reduced-motion:no-preference){
  html.js-motion .reveal-write{
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 42%,transparent 60%);
            mask-image:linear-gradient(90deg,#000 0%,#000 42%,transparent 60%);
    -webkit-mask-size:230% 100%;        mask-size:230% 100%;
    -webkit-mask-position:100% 0;        mask-position:100% 0;
    -webkit-mask-repeat:no-repeat;       mask-repeat:no-repeat;
    transition:-webkit-mask-position 3.4s var(--ease),mask-position 3.4s var(--ease);
  }
  html.js-motion .reveal-write.in{-webkit-mask-position:0 0;mask-position:0 0}
}

/* ---- Footer social icon row ---- */
.footer-social{display:flex;gap:.55rem;margin-top:1rem}
.footer-social a{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(246,239,230,0.28);
  transition:background .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease);
}
.footer-social a:hover{background:var(--gold);border-color:var(--gold);transform:translateY(-2px)}
.footer-social svg{width:17px;height:17px;fill:rgba(246,239,230,0.82);transition:fill .3s var(--ease)}
.footer-social a:hover svg{fill:var(--ivory)}

/* ==================================================================
   EMAIL POPUP - first look + free shipping. Split: lifestyle photo
   beside a compact form. Desert Clay, matches the site.
   ================================================================== */
.ex-pop-overlay{
  position:fixed;inset:0;z-index:200;display:none;
  align-items:center;justify-content:center;padding:20px;
  background:rgba(28,20,14,0.55);backdrop-filter:blur(3px);
  opacity:0;transition:opacity .4s var(--ease);
}
.ex-pop-overlay.open{display:flex;opacity:1}
.ex-pop{
  position:relative;width:min(860px,100%);max-height:92vh;overflow:hidden;
  display:grid;grid-template-columns:1fr 1fr;
  background:var(--ivory);border-radius:var(--radius-img);
  box-shadow:0 30px 90px rgba(28,20,14,.4);
  transform:translateY(14px) scale(.985);transition:transform .5s var(--ease);
}
.ex-pop-overlay.open .ex-pop{transform:none}
.ex-pop-media{position:relative;background:var(--beige)}
.ex-pop-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
.ex-pop-body{padding:clamp(26px,3.4vw,42px);overflow-y:auto}
.ex-pop-close{
  position:absolute;top:12px;right:14px;z-index:3;width:34px;height:34px;border-radius:50%;
  border:none;cursor:pointer;background:rgba(246,239,230,.85);color:var(--espresso);
  font-size:1.3rem;line-height:1;display:flex;align-items:center;justify-content:center;
  transition:background .3s var(--ease)}
.ex-pop-close:hover{background:#fff}
.ex-pop .eyebrow{display:block;margin-bottom:.5rem;color:var(--gold)}
.ex-pop h2{font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.1;margin-bottom:.6rem}
.ex-pop .pop-sub{color:var(--espresso-soft);font-size:.98rem;line-height:1.55;margin-bottom:1.2rem;text-wrap:pretty}
.ex-pop .pop-seg{display:flex;gap:1.2rem;margin-bottom:1rem}
.ex-pop .pop-seg label{display:flex;align-items:center;gap:.45rem;font-size:.9rem;color:var(--espresso);cursor:pointer}
.ex-pop .pop-seg input{accent-color:var(--gold)}
.ex-pop .pop-fields{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.ex-pop .pop-fields .full{grid-column:1 / -1}
.ex-pop input[type=text],.ex-pop input[type=email],.ex-pop input[type=tel],.ex-pop select{
  width:100%;padding:.72rem .85rem;font-family:var(--body);font-size:.92rem;color:var(--espresso);
  background:#fff;border:1px solid var(--line);border-radius:8px;transition:border-color .3s var(--ease)}
.ex-pop input:focus,.ex-pop select:focus{outline:none;border-color:var(--gold)}
.ex-pop .pop-consent{display:flex;align-items:flex-start;gap:.5rem;margin:.9rem 0;font-size:.8rem;color:var(--espresso-soft);line-height:1.45}
.ex-pop .pop-consent input{margin-top:.15rem;accent-color:var(--gold)}
.ex-pop .pop-consent a{color:var(--gold);border-bottom:1px solid var(--gold)}
.ex-pop .btn{width:100%;justify-content:center}
.ex-pop .pop-foot{margin-top:.7rem;text-align:center;font-size:.74rem;color:var(--espresso-soft)}
.ex-pop .pop-thanks{display:none;text-align:center;padding:1.5rem 0}
.ex-pop .pop-thanks h2{margin-bottom:.6rem}
.ex-pop.done .pop-form{display:none}
.ex-pop.done .pop-thanks{display:block}
@media(max-width:640px){
  .ex-pop{grid-template-columns:1fr;max-height:90vh;overflow-y:auto}
  .ex-pop-media{min-height:150px;position:relative}
  .ex-pop-media img{position:absolute}
}

/* ==================================================================
   SLIDING CARDS - every collection + product card, Bluorng-style.
   Idle: just the photo with dots, name + price below. Hover: arrows
   appear; slides flip inside the card without leaving the page.
   Product card = that product's photos. Collection card = the first
   photo of every product in it. Swipe on touch screens.
   ================================================================== */
.pcard{display:block;transition:transform var(--dur-hover) var(--ease),opacity var(--dur) var(--ease),translate var(--dur) var(--ease)}
.pcard:hover{transform:translateY(-5px)}
.pcard-media{
  position:relative;aspect-ratio:4/5;overflow:hidden;
  border-radius:var(--radius-img);background:var(--beige);margin-bottom:.95rem;
}
.pcard--tall .pcard-media{aspect-ratio:4/5}
.pcard-media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .55s var(--ease),transform var(--dur-img) var(--ease);
}
.pcard-media img.active{opacity:1}
.pcard:hover .pcard-media img.active{transform:scale(1.045)}
.pc-arrow{
  position:absolute;top:50%;translate:0 -50%;z-index:3;
  width:38px;height:38px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(246,239,230,.92);color:var(--espresso);
  display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .3s var(--ease),background .3s var(--ease),transform .3s var(--ease);
}
.pc-arrow svg{width:16px;height:16px;fill:currentColor}
.pc-arrow.prev{left:10px}
.pc-arrow.next{right:10px}
.pc-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.06);translate:0 0}
.pcard-media:hover .pc-arrow,.lifestyle:hover .pc-arrow{opacity:1}
.pc-dots{
  position:absolute;left:50%;translate:-50% 0;bottom:10px;z-index:3;
  display:flex;gap:6px;pointer-events:none;
}
.pc-dots i{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.55);box-shadow:0 0 4px rgba(28,20,14,.35);
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.pc-dots i.on{background:#fff;transform:scale(1.2)}
.pcard-meta h3{font-size:1.18rem;margin-bottom:.15rem}
.pcard-sub{display:block;font-size:.8rem;color:var(--espresso-soft);letter-spacing:.04em}
.pcard-price{display:block;font-size:.9rem;color:var(--espresso);margin-top:.3rem}
@media(hover:none){.pc-arrow{display:none}}
/* stagger now applies to any card type inside .tiles */
.tiles > *{transition-delay:0s,var(--d,0s),var(--d,0s)}
.tiles > *:nth-child(2){--d:.09s}
.tiles > *:nth-child(3){--d:.18s}
.tiles > *:nth-child(4){--d:.27s}

/* ---- Lifestyle band as a Bluorng slider: text fixed, photo changes ---- */
.lifestyle .ls-slides{position:absolute;inset:0;z-index:0}
.lifestyle .ls-slides img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 1.1s var(--ease);
}
.lifestyle .ls-slides img.active{opacity:1}
@media(prefers-reduced-motion:no-preference){
  /* the living-photograph drift continues on whichever slide is active */
  html.js-motion .lifestyle .ls-slides img.active{animation:lsdrift 12s linear forwards}
}
@keyframes lsdrift{from{transform:scale(1)}to{transform:scale(1.055)}}
.lifestyle .pc-dots{bottom:18px}
.lifestyle .pc-arrow{z-index:3}

/* ==================================================================
   PRODUCT MEDIA - 6 photos + 1 video, all 4:5 portrait.
   Main viewer with a thumbnail strip; the video thumb plays the clip
   (muted, looping) inside the same 4:5 frame.
   ================================================================== */
/* MEDIA - single landscape slider, Bluorng-style. One big 5:4 photo fills the
   full width of the media column (no side gaps), with arrows + counter on it so
   it's clear there are more photos. Thumbnails sit below; scroll for the rest. */
.pgallery{display:flex;flex-direction:column;gap:14px}
.pg-main{position:relative;aspect-ratio:5/4;width:100%;background:var(--beige);border-radius:var(--radius-img);overflow:hidden}
.pg-stage{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s var(--ease)}
.pg-stage--canvas{object-fit:contain;background:#fff}
.pg-stage.active{opacity:1}
/* Slider controls on the main photo (arrows + counter), injected by cards.js */
.pg-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;
  border:none;border-radius:50%;cursor:pointer;color:var(--ivory);background:rgba(58,42,32,.55);
  display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
  opacity:.9;transition:background .25s var(--ease),opacity .25s var(--ease)}
.pg-nav:hover{background:rgba(58,42,32,.85);opacity:1}
.pg-prev{left:12px}
.pg-next{right:12px}
.pg-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pg-count{position:absolute;right:12px;bottom:12px;z-index:3;color:var(--ivory);background:rgba(58,42,32,.55);
  font-size:.72rem;letter-spacing:.08em;padding:.32rem .62rem;border-radius:999px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
@media(max-width:640px){.pg-nav{width:38px;height:38px}}
.pg-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.pg-thumb{position:relative;width:64px;height:80px;border:none;padding:0;border-radius:10px;
  overflow:hidden;cursor:pointer;background:var(--beige);opacity:.68;transition:opacity .25s var(--ease),outline-color .25s var(--ease);outline:1px solid transparent}
.pg-thumb img{width:100%;height:100%;object-fit:cover}
.pg-thumb:hover,.pg-thumb.active{opacity:1;outline:1px solid var(--gold)}
.pg-thumb--video .pg-badge{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(28,20,14,.34)}
.pg-badge svg{width:16px;height:16px;fill:#fff}
/* "video coming soon" state, shown when a video slot has no source yet */
.pg-empty{position:absolute;inset:0;z-index:2;display:none;flex-direction:column;align-items:center;justify-content:center;
  gap:.7rem;background:rgba(28,20,14,.30);color:var(--ivory);text-align:center;padding:1rem}
.pg-empty .ring{width:46px;height:46px;border-radius:50%;border:1px solid rgba(246,239,230,.7);display:flex;align-items:center;justify-content:center}
.pg-empty .ring svg{width:16px;height:16px;fill:var(--ivory)}
.pg-empty .lab{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase}
.show-empty > .pg-empty{display:flex}

/* Small breadcrumb, now inside the right info panel (moved off the top) */
.pcrumb{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--espresso-soft);margin:0 0 1rem}
.pcrumb a{color:var(--espresso-soft);transition:color .2s var(--ease)}
.pcrumb a:hover{color:var(--gold)}
.pcrumb span{margin:0 .35rem;opacity:.6}

/* Size selector as compact pills (Bluorng-style) - native select is kept in the
   DOM, hidden, and synced by cards.js so WhatsApp ordering keeps working. */
.field select.size-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.size-pills{display:flex;flex-wrap:wrap;gap:8px}
.size-pill{font-family:var(--body);font-size:.82rem;line-height:1.15;color:var(--espresso);
  background:var(--ivory);border:1px solid var(--line-strong);border-radius:var(--radius);
  padding:.6rem .8rem;cursor:pointer;text-align:left;transition:border-color .2s var(--ease),background .2s var(--ease),color .2s var(--ease)}
.size-pill .sp-cm{display:block;font-size:.66rem;letter-spacing:.02em;color:var(--espresso-soft);margin-top:.18rem}
.size-pill:hover{border-color:var(--gold-soft)}
.size-pill.active{background:var(--espresso);border-color:var(--espresso);color:var(--ivory)}
.size-pill.active .sp-cm{color:rgba(246,239,230,.78)}
.size-pill--custom{align-self:center}

/* ==================================================================
   IN-MOTION BAND - 4 designer/product videos, 4:5, muted + looping.
   Auto-pause when offscreen. Shows a poster until a clip is added.
   ================================================================== */
.video-band{padding:clamp(40px,5.5vw,84px) 0;background:var(--cream)}
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.4vw,18px)}
@media(max-width:640px){.video-grid{grid-template-columns:repeat(2,1fr)}}
.vclip{position:relative;aspect-ratio:4/5;border-radius:var(--radius-img);overflow:hidden;background:var(--beige)}
.vclip video,.vclip > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vclip--canvas{background:#fff}
.vclip--canvas video{object-fit:contain;background:#fff}

/* ==================================================================
   COOKIE CONSENT - slim bottom bar, Desert Clay. Blocks analytics
   until the visitor accepts. Required for EU / UK / Canada visitors.
   ================================================================== */
.ex-cookie{
  position:fixed;left:50%;translate:-50% 0;bottom:18px;z-index:180;
  width:min(880px,calc(100% - 32px));
  display:none;align-items:center;gap:1rem 1.4rem;flex-wrap:wrap;justify-content:space-between;
  padding:1rem 1.2rem;background:var(--espresso);color:var(--ivory);
  border-radius:var(--radius-img);box-shadow:0 18px 50px rgba(28,20,14,.34);
  opacity:0;transform:translateY(10px);transition:opacity .4s var(--ease),transform .4s var(--ease);
}
.ex-cookie.show{display:flex;opacity:1;transform:none}
.ex-cookie p{font-size:.86rem;line-height:1.5;color:rgba(246,239,230,.9);margin:0;flex:1 1 320px}
.ex-cookie a{color:var(--gold-soft);border-bottom:1px solid var(--gold-soft)}
.ex-cookie .ck-btns{display:flex;gap:.6rem;flex:0 0 auto}
.ex-cookie button{
  font-family:var(--body);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;
  padding:.7rem 1.2rem;border-radius:999px;cursor:pointer;border:1px solid transparent;transition:.25s var(--ease);
}
.ex-cookie .ck-accept{background:var(--gold);color:var(--ivory);border-color:var(--gold)}
.ex-cookie .ck-accept:hover{background:var(--gold-soft);border-color:var(--gold-soft)}
.ex-cookie .ck-decline{background:transparent;color:var(--ivory);border-color:rgba(246,239,230,.4)}
.ex-cookie .ck-decline:hover{border-color:var(--ivory)}
@media(max-width:640px){.ex-cookie{bottom:0;border-radius:var(--radius-img) var(--radius-img) 0 0}}

/* ==================================================================
   PRODUCT ACCORDION (cc-tapis style) + RELATED PRODUCTS
   ================================================================== */
.pacc{border-top:1px solid var(--line);margin-top:1.8rem}
.pacc-item{border-bottom:1px solid var(--line)}
.pacc-head{
  width:100%;background:none;border:none;cursor:pointer;
  display:flex;align-items:center;gap:.8rem;padding:1.1rem 0;
  font-family:var(--body);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--espresso);
}
.pacc-head .sign{color:var(--gold);font-size:1rem;width:1rem;display:inline-block;transition:transform .3s var(--ease)}
.pacc-panel{overflow:hidden;max-height:0;transition:max-height .45s var(--ease)}
.pacc-panel-inner{padding:0 0 1.4rem}
.pacc-panel-inner p{color:var(--espresso-soft);font-size:.98rem;line-height:1.62;margin-bottom:.8rem;text-wrap:pretty}
.pacc-spec{display:grid;grid-template-columns:auto 1fr;gap:.55rem 1.4rem;font-size:.92rem}
.pacc-spec dt{color:var(--espresso-soft);letter-spacing:.04em}
.pacc-spec dd{color:var(--espresso)}
.pacc-why{display:flex;flex-direction:column;gap:.55rem;margin-top:.3rem}
.pacc-why li{position:relative;padding-left:1.1rem;color:var(--espresso-soft);font-size:.96rem;line-height:1.5}
.pacc-why li::before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;background:var(--gold-soft)}
.pacc-item.open .sign{transform:rotate(45deg)}

.related{padding:clamp(44px,6vw,84px) 0;border-top:1px solid var(--line)}
.related .section-head{text-align:center;align-items:center;margin-inline:auto;margin-bottom:clamp(24px,3vw,40px)}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.6vw,22px)}
@media(max-width:640px){.related-grid{grid-template-columns:repeat(2,1fr)}}

/* ==================================================================
   GLASS - subtle Apple-style frosted glass. Header (when settled) and
   the round slider arrows. Solid fallback via @supports so browsers
   without backdrop-filter keep a clean opaque look, never broken.
   ================================================================== */
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))){
  /* interior headers always, and any header once scrolled, become frosted */
  body:not([data-page="home"]) .site-header,
  .site-header.scrolled{
    background:rgba(246,239,230,0.78);
    -webkit-backdrop-filter:saturate(150%) blur(18px);
            backdrop-filter:saturate(150%) blur(18px);
    border-bottom:1px solid rgba(58,42,32,0.07);
  }
  body[data-page="home"] .site-header.scrolled{
    background:rgba(246,239,230,0.78);
  }
  /* keep the rounded shoulders subtle on the frosted scrolled bar */
  .site-header.scrolled{box-shadow:0 8px 24px rgba(46,38,32,0.10)}

  /* slider + popup round controls: liquid-glass */
  .pc-arrow{
    background:rgba(246,239,230,0.55);
    -webkit-backdrop-filter:saturate(160%) blur(10px);
            backdrop-filter:saturate(160%) blur(10px);
    border:1px solid rgba(246,239,230,0.5);
  }
  .pc-arrow:hover{background:rgba(255,255,255,0.72)}
  .ex-pop-close{
    background:rgba(246,239,230,0.6);
    -webkit-backdrop-filter:saturate(160%) blur(10px);
            backdrop-filter:saturate(160%) blur(10px);
  }
  .ex-pop-close:hover{background:rgba(255,255,255,0.8)}
}

/* ==================================================================
   CUSTOM ORDERS - two ordering paths, each with a photo BESIDE the
   steps (not stacked on top), so the page does not get longer. Photo
   stretches to the height of the steps, staying portrait. Path one =
   photo on the right; path two = photo on the left.
   ================================================================== */
.order-row{display:grid;grid-template-columns:1.12fr 0.88fr;gap:clamp(26px,4vw,58px);align-items:stretch}
.order-row--medialeft{grid-template-columns:0.88fr 1.12fr}
.order-media{position:relative;border-radius:var(--radius-img);overflow:hidden;background:var(--beige);min-height:clamp(330px,40vw,480px)}
.order-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.order-copy{display:flex;flex-direction:column;justify-content:center}
.order-steps{display:flex;flex-direction:column;gap:clamp(13px,1.5vw,18px);margin-top:clamp(18px,2.2vw,28px)}
.order-step{display:flex;gap:.95rem;align-items:flex-start}
.order-step .n{flex:0 0 auto;width:30px;height:30px;border-radius:50%;border:1px solid var(--gold);color:var(--gold);
  display:flex;align-items:center;justify-content:center;font-size:.82rem;margin-top:.1rem}
.order-step h3{font-size:1.12rem;margin-bottom:.18rem}
.order-step p{color:var(--espresso-soft);font-size:.95rem;line-height:1.55;margin:0}
@media(max-width:640px){
  .order-row,.order-row--medialeft{grid-template-columns:1fr;gap:20px}
  .order-media{order:-1;min-height:0;aspect-ratio:4/5;max-height:60vh}
}

/* ==================================================================
   PHONE OPTIMISATION (<=640px)
   Image-first and intentional, not a squeezed desktop: tighter side
   margins so the photography reads larger, a full-bleed product hero,
   single-column collection galleries, tidy size pills and a full-width
   order button. Fully scoped to phones - desktop/tablet are untouched.
   ================================================================== */
@media(max-width:640px){
  /* tighter side margins so the rugs read larger on screen */
  :root{ --gut:16px; }

  /* COLLECTION + CATEGORY pages: one large, editorial image per row */
  .grid{ grid-template-columns:1fr; gap:clamp(20px,5.5vw,26px); }
  .grid .pcard-meta h3{ font-size:1.35rem; margin-bottom:.2rem; }
  .grid .pcard-sub{ font-size:.82rem; }
  .grid .pcard-price{ font-size:.96rem; margin-top:.35rem; }

  /* ALL RUGS stays a clean two-up catalogue (just larger via the gutter) */
  .grid--rugs .pcard-meta h3{ font-size:1.04rem; }
  .grid--rugs .pcard-sub{ font-size:.74rem; }

  /* PRODUCT DETAIL - make the product section gutter-less so the hero photo
     is edge-to-edge *naturally* (no 100vw / negative-margin tricks, which
     overflow on real phones). Only the main photo is full-bleed; the
     thumbnails and the info column keep their own inset. */
  .wrap:has(.product){ padding-inline:0; }
  /* minmax(0,1fr) stops the thumbnail row's natural width from forcing the
     column (and the whole page) wider than the screen. */
  .product{ grid-template-columns:minmax(0,1fr); gap:0; }
  .pgallery{ gap:12px; min-width:0; }
  .pg-main{ border-radius:0; }
  /* thumbnails: one neat swipeable row, inset from the edges */
  .pg-thumbs{ padding-inline:var(--gut); flex-wrap:nowrap; overflow-x:auto; gap:8px;
    padding-bottom:2px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .pg-thumbs::-webkit-scrollbar{ display:none; }
  .pg-thumb{ flex:0 0 auto; width:54px; height:68px; }

  /* info column: static (not sticky), inset, with room to breathe */
  .product-info{ position:static; top:auto; margin-top:1.4rem; padding-inline:var(--gut); }
  .product-info h1{ font-size:1.95rem; margin:.45rem 0 .85rem; }
  .pcrumb{ margin-bottom:.7rem; }

  /* size choices line up in a tidy two-column grid. minmax(0,1fr) lets the
     columns shrink instead of pushing the page wider on narrow phones. */
  .size-pills{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .size-pill{ text-align:center; min-width:0; }
  .size-pill--custom{ grid-column:1 / -1; align-self:auto; }

  /* full-width, easy-to-tap order button */
  .btn-wa{ width:100%; justify-content:center; padding-block:1.05rem; }

  /* related products: larger pairs, tighter frame */
  .related-grid{ gap:10px; }
}

/* ==================================================================
   MOBILE MENU FIX
   Interior headers are frosted (backdrop-filter), which makes the header
   the containing block for the fixed full-screen menu overlay - so the
   overlay only covered the header height and the page showed through.
   When the menu is open: remove that containment, make the header bar
   transparent (the overlay paints the solid panel), and lift the whole
   header above every other layer so nothing bleeds through.
   ================================================================== */
@media(max-width:640px){
  .site-header:has(.nav-links.open){
    -webkit-backdrop-filter:none; backdrop-filter:none;
    background:transparent; box-shadow:none; border-bottom:0; z-index:1000;
  }
  /* solid, full-height panel that fully covers the page */
  .nav-links{ background:var(--ivory); }
  .nav-links.open{ z-index:1; box-shadow:-8px 0 40px rgba(28,20,14,.12); }
}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
