/* ==========================================================================
   نصر استون — Design System "از معدن تا کارگاه"
   Warm quarry dark + gold vein. Signature: every card rests on a gold vein line.
   ========================================================================== */
:root{
  /* palette */
  --quarry:#1E1711;
  --quarry-2:#2D261C;
  --vein:#B8882E;
  --vein-deep:#8A640F;
  --travertine:#C8A97A;
  --cream:#F2EAD8;
  --slate:#3A4840;
  --marble:#FAF8F4;
  --ink:#241D15;
  --muted:#6B6256;
  --line:#E4DAC6;
  --line-dark:#3A3127;
  --danger:#B3402E;
  --ok:#3E7D53;

  /* gradients */
  --grad-vein:linear-gradient(135deg,#C8A97A 0%,#B8882E 48%,#8A640F 100%);
  --grad-quarry:linear-gradient(180deg,#1E1711 0%,#2D261C 100%);

  /* type */
  --font:'Vazirmatn','Tahoma',sans-serif;
  --t-hero:clamp(2.3rem,5.4vw,4rem);
  --t-h1:clamp(1.9rem,3.6vw,2.6rem);
  --t-h2:clamp(1.5rem,3vw,2.15rem);
  --t-h3:1.2rem;
  --t-lead:clamp(1.05rem,1.4vw,1.2rem);
  --t-body:1rem;
  --t-small:.875rem;
  --t-label:.75rem;

  /* spacing */
  --sp-1:8px; --sp-2:16px; --sp-3:24px; --sp-4:32px;
  --sp-6:48px; --sp-8:64px; --sp-12:96px; --sp-16:128px;

  /* radius */
  --r-sharp:2px; --r-sm:4px; --r-md:8px; --r-lg:16px; --r-pill:999px;

  /* shadow — the gold-vein signature */
  --shadow-card:0 3px 0 rgba(184,136,46,.22), 0 10px 34px rgba(30,23,17,.12);
  --shadow-raised:0 4px 0 rgba(184,136,46,.4), 0 22px 60px rgba(30,23,17,.22);
  --shadow-hero:0 2px 50px rgba(30,23,17,.5);

  --container:1200px;
  --header-h:76px;
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:var(--font);font-size:var(--t-body);line-height:1.8;
  color:var(--ink);background:var(--marble);font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{margin:0;line-height:1.25;font-weight:800;letter-spacing:-.01em}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--vein);outline-offset:2px;border-radius:var(--r-sm)}

.container{max-width:var(--container);margin-inline:auto;padding-inline:clamp(16px,5vw,40px)}

.skip-link{position:absolute;right:-9999px;top:0;background:var(--vein);color:#fff;padding:10px 18px;z-index:200;border-radius:0 0 var(--r-md) var(--r-md)}
.skip-link:focus{right:16px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-weight:700;font-size:var(--t-body);line-height:1;white-space:nowrap;
  padding:14px 26px;border-radius:var(--r-md);border:1.5px solid transparent;
  transition:transform .18s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}
.btn svg{flex:none}
.btn-sm{padding:10px 18px;font-size:var(--t-small)}
.btn-lg{padding:16px 32px;font-size:1.05rem}
.btn-block{width:100%}
.btn-primary{background:var(--grad-vein);color:#241a06;box-shadow:0 2px 0 var(--vein-deep)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--vein-deep),0 12px 24px rgba(138,100,15,.3)}
.btn-primary:active{transform:translateY(0);box-shadow:0 1px 0 var(--vein-deep)}
.btn-ghost{background:transparent;border-color:var(--vein);color:var(--vein-deep)}
.btn-ghost:hover{background:rgba(184,136,46,.1);transform:translateY(-2px)}
.btn-dark{background:var(--quarry);color:var(--cream);border-color:var(--quarry)}
.btn-dark:hover{background:var(--quarry-2);transform:translateY(-2px)}
/* on dark surfaces, ghost goes travertine */
.hero-actions .btn-ghost,.cta-actions .btn-ghost,.band-dark .btn-ghost{border-color:var(--travertine);color:var(--travertine)}
.hero-actions .btn-ghost:hover,.cta-actions .btn-ghost:hover{background:rgba(200,169,122,.12)}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:color-mix(in srgb,var(--marble) 88%,transparent);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.site-header.scrolled{background:var(--marble);box-shadow:0 1px 0 rgba(184,136,46,.25),0 8px 24px rgba(30,23,17,.06)}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--sp-3);min-height:var(--header-h)}
.brand{display:inline-flex;align-items:center;gap:12px}
.brand-mark{
  width:42px;height:42px;flex:none;display:grid;place-items:center;
  font-weight:900;font-size:1.3rem;color:var(--cream);
  background:var(--grad-quarry);border:1.5px solid var(--vein);
  border-radius:var(--r-md);box-shadow:inset 0 0 0 1px rgba(184,136,46,.25);
}
.brand-text{display:flex;flex-direction:column;line-height:1.3}
.brand-name{font-weight:800;font-size:1.15rem;color:var(--ink)}
.brand-sub{font-size:.7rem;color:var(--muted);letter-spacing:.04em}
.main-nav{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}
.main-nav a{padding:8px 14px;border-radius:var(--r-sm);font-size:.95rem;font-weight:500;color:var(--slate);transition:color .2s,background .2s}
.main-nav a:hover{color:var(--vein-deep);background:rgba(184,136,46,.08)}
.main-nav a.is-active{color:var(--vein-deep);font-weight:700}
.header-cta{display:flex;align-items:center;gap:12px}
.nav-toggle{display:none;background:transparent;border:1px solid var(--line);color:var(--ink);width:46px;height:46px;border-radius:var(--r-md);align-items:center;justify-content:center}
.nav-toggle:hover{border-color:var(--vein);color:var(--vein-deep)}

/* ---------- mobile drawer ---------- */
[hidden]{display:none!important}
.drawer-backdrop{position:fixed;inset:0;background:rgba(30,23,17,.6);z-index:150;backdrop-filter:blur(2px);opacity:0;transition:opacity .3s ease}
.drawer-backdrop.is-open{opacity:1}
.mobile-drawer{
  position:fixed;top:0;left:0;bottom:0;width:min(84vw,340px);z-index:160;
  background:var(--grad-quarry);color:var(--cream);padding:var(--sp-3);
  box-shadow:20px 0 60px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:var(--sp-3);
  transform:translateX(-100%);
  transition:transform .3s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.mobile-drawer.is-open{transform:translateX(0)}
@media (prefers-reduced-motion:reduce){
  .mobile-drawer{transition:none}
  .drawer-backdrop{transition:none}
}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--sp-2);border-bottom:1px solid var(--line-dark)}
.drawer-head .brand-name{color:var(--cream)}
.drawer-head .nav-toggle{border-color:var(--line-dark);color:var(--cream)}
.drawer-nav{display:flex;flex-direction:column;gap:6px}
.drawer-nav a{padding:13px 14px;border-radius:var(--r-md);color:var(--cream);font-weight:500;border:1px solid transparent}
.drawer-nav a:hover,.drawer-nav a[aria-current]{background:rgba(200,169,122,.12);border-color:var(--line-dark)}
.drawer-nav .btn{margin-top:8px}
.drawer-call{display:flex;align-items:center;gap:10px;color:var(--travertine);font-weight:700;padding:12px 14px;direction:ltr;justify-content:center;border:1px dashed var(--line-dark);border-radius:var(--r-md)}

/* ---------- eyebrow / section head ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-label);font-weight:700;letter-spacing:.14em;color:var(--travertine);text-transform:uppercase;margin-bottom:var(--sp-2)}
.eyebrow-dot{width:7px;height:7px;background:var(--vein);border-radius:50%;flex:none}
.eyebrow-dark{color:var(--vein-deep)}
.section{padding-block:clamp(var(--sp-8),9vw,var(--sp-16))}
.section-tight{padding-block:clamp(var(--sp-6),6vw,var(--sp-12))}
.section-head{max-width:640px;margin-bottom:var(--sp-6)}
.section-head-row{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap}
.section-title{font-size:var(--t-h2);color:var(--ink)}
.section-intro{margin-top:var(--sp-2);color:var(--slate);font-size:var(--t-lead)}

/* ==========================================================================
   SPLIT HERO
   ========================================================================== */
.hero{background:var(--grad-quarry);color:var(--cream);position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 85% 20%,rgba(184,136,46,.16),transparent 55%);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(var(--sp-4),5vw,var(--sp-12));align-items:center;padding-block:clamp(var(--sp-8),8vw,var(--sp-16));position:relative}
.hero-copy{min-width:0}
.hero-title{font-size:var(--t-hero);font-weight:900;line-height:1.14;letter-spacing:-.02em;color:#fff}
.hero-lead{margin-top:var(--sp-3);font-size:var(--t-lead);color:var(--travertine);max-width:46ch;line-height:1.9}
.hero-actions{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin-top:var(--sp-4)}
.hero-stats{display:flex;flex-wrap:wrap;gap:var(--sp-4);margin:var(--sp-6) 0 0;padding-top:var(--sp-4);border-top:1px solid var(--line-dark)}
.hero-stats dt{font-size:1.6rem;font-weight:800;color:var(--vein);font-feature-settings:"ss01"}
.hero-stats dd{margin:4px 0 0;font-size:var(--t-small);color:var(--travertine)}
.hero-visual{min-width:0}
.hero-figure{margin:0;position:relative;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-hero);border:1px solid var(--line-dark)}
.hero-figure>img{width:100%;aspect-ratio:4/5;object-fit:cover}
.hero-badge{
  position:absolute;inset-inline:14px;bottom:14px;display:flex;align-items:center;gap:12px;
  background:color-mix(in srgb,var(--quarry) 82%,transparent);backdrop-filter:blur(8px);
  color:var(--cream);padding:14px 16px;border-radius:var(--r-md);border:1px solid var(--vein);font-size:var(--t-small);line-height:1.6;
}
.hero-badge svg{color:var(--vein);flex:none}

/* ---------- trust strip ---------- */
.strip{background:var(--quarry-2);border-block:1px solid var(--line-dark)}
.strip-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--sp-3);padding-block:var(--sp-3)}
.strip-item{display:flex;align-items:center;gap:12px;color:var(--cream);font-weight:600;font-size:.95rem}
.strip-item svg{color:var(--vein);flex:none}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:var(--sp-3)}
.cat-card{
  display:flex;align-items:center;gap:var(--sp-2);padding:var(--sp-3);
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--shadow-card);transition:transform .2s,border-color .2s,box-shadow .2s;
}
.cat-card:hover{transform:translateY(-4px);border-color:var(--vein);box-shadow:var(--shadow-raised)}
.cat-icon{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:var(--r-md);background:var(--cream);color:var(--vein-deep);border:1px solid var(--line)}
.cat-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.cat-title{font-weight:800;font-size:1.1rem;color:var(--ink)}
.cat-tagline{font-size:var(--t-small);color:var(--muted);line-height:1.6}
.cat-arrow{color:var(--vein);flex:none;transition:transform .2s}
.cat-card:hover .cat-arrow{transform:translateX(-6px)}

/* ==========================================================================
   ZIGZAG FEATURE BANDS
   ========================================================================== */
.band{padding-block:clamp(var(--sp-8),9vw,var(--sp-16))}
.band-dark{background:var(--grad-quarry);color:var(--cream)}
.band-light{background:var(--cream);color:var(--slate)}
.band-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(var(--sp-4),5vw,var(--sp-12));align-items:center}
.band-reverse{direction:ltr}
.band-reverse>*{direction:rtl}
.band-media{min-width:0}
.band-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-lg);box-shadow:var(--shadow-card);border:1px solid rgba(0,0,0,.06)}
.band-dark .band-media img{border-color:var(--line-dark)}
.band-copy{min-width:0}
.band-title{font-size:var(--t-h2);margin-bottom:var(--sp-2)}
.band-dark .band-title{color:#fff}
.band-light .band-title{color:var(--ink)}
.band-copy>p{font-size:var(--t-lead);line-height:1.95;max-width:52ch}
.band-dark .band-copy>p{color:var(--travertine)}
.band-points{display:flex;flex-direction:column;gap:12px;margin:var(--sp-3) 0 var(--sp-4)}
.band-points li{display:flex;align-items:flex-start;gap:12px;font-weight:500}
.band-points svg{flex:none;margin-top:3px;color:var(--vein)}
.band-light .band-points svg{color:var(--vein-deep)}

/* ==========================================================================
   PRODUCT GRID + CARD (equal height, gold vein signature)
   ========================================================================== */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:var(--sp-3);align-items:stretch}
.product-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:var(--r-md);overflow:hidden;box-shadow:var(--shadow-card);
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.product-card:hover{transform:translateY(-5px);border-color:var(--vein);box-shadow:var(--shadow-raised)}
.product-media{display:block;position:relative;overflow:hidden;background:var(--cream)}
.product-media img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-media img{transform:scale(1.05)}
.product-tag{position:absolute;top:12px;inset-inline-start:12px;background:color-mix(in srgb,var(--quarry) 85%,transparent);color:var(--cream);font-size:var(--t-label);font-weight:700;padding:5px 12px;border-radius:var(--r-pill);backdrop-filter:blur(4px)}
.product-body{display:flex;flex-direction:column;gap:10px;padding:var(--sp-3);flex:1}
.product-title{font-size:1.15rem;font-weight:800}
.product-title a:hover{color:var(--vein-deep)}
.product-summary{font-size:var(--t-small);color:var(--muted);line-height:1.7}
.product-chips{display:flex;flex-wrap:wrap;gap:8px}
.product-chips li{font-size:var(--t-label);color:var(--slate);background:var(--cream);border:1px solid var(--line);padding:4px 10px;border-radius:var(--r-sharp)}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:var(--sp-2);border-top:1px solid var(--line)}
.product-price{display:inline-flex;align-items:center;gap:7px;font-size:var(--t-small);font-weight:700;color:var(--vein-deep)}
.product-price svg{color:var(--vein)}
.product-btn{flex:none}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:var(--sp-3);align-items:stretch}
.project-grid-lg{grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr))}
.project-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;box-shadow:var(--shadow-card);transition:transform .2s,box-shadow .2s}
.project-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-raised)}
.project-media{position:relative;overflow:hidden;background:var(--cream)}
.project-media img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .5s}
.project-card:hover .project-media img{transform:scale(1.04)}
.project-year{position:absolute;top:12px;inset-inline-end:12px;background:var(--grad-vein);color:#241a06;font-weight:800;font-size:var(--t-small);padding:5px 12px;border-radius:var(--r-sharp)}
.project-body{display:flex;flex-direction:column;gap:10px;padding:var(--sp-3);flex:1}
.project-title{font-size:1.2rem;font-weight:800;color:var(--ink)}
.project-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:var(--t-small);color:var(--muted)}
.project-meta svg{color:var(--vein)}
.project-meta .dot{color:var(--line)}
.project-desc{font-size:var(--t-small);color:var(--slate);line-height:1.8}
.project-stone{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-small);font-weight:700;color:var(--vein-deep);margin-top:auto;padding-top:var(--sp-2);border-top:1px solid var(--line)}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:var(--sp-3);align-items:stretch}
.testi-card{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-4) var(--sp-3) var(--sp-3);box-shadow:var(--shadow-card);position:relative}
.testi-quote{color:var(--vein);opacity:.5}
.testi-card blockquote{margin:0;font-size:.98rem;line-height:1.95;color:var(--slate);flex:1}
.testi-stars{display:flex;gap:3px;color:var(--vein)}
.star-fill{fill:var(--vein)}
.testi-card figcaption{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--line)}
.testi-name{font-weight:800;color:var(--ink)}
.testi-role{font-size:var(--t-small);color:var(--muted)}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band{background:var(--grad-quarry);color:var(--cream);position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 15% 50%,rgba(184,136,46,.18),transparent 60%)}
.cta-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);flex-wrap:wrap;padding-block:clamp(var(--sp-6),7vw,var(--sp-12))}
.cta-copy h2{font-size:var(--t-h2);color:#fff;margin-bottom:8px}
.cta-copy p{color:var(--travertine);font-size:var(--t-lead);max-width:48ch}
.cta-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}
.cta-slim .cta-inner{padding-block:var(--sp-6)}

/* ==========================================================================
   PAGE HERO / BREADCRUMBS
   ========================================================================== */
.page-hero{background:var(--grad-quarry);color:var(--cream);padding-block:clamp(var(--sp-6),6vw,var(--sp-12));position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 80% 0%,rgba(184,136,46,.14),transparent 55%)}
.page-hero-slim{padding-block:var(--sp-4)}
.page-hero>.container{position:relative}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:var(--t-small);color:var(--travertine);margin-bottom:var(--sp-2)}
.crumbs a:hover{color:var(--vein)}
.crumbs span{opacity:.6}
.page-title{font-size:var(--t-h1);color:#fff;font-weight:900;letter-spacing:-.02em}
.page-lead{margin-top:var(--sp-2);color:var(--travertine);font-size:var(--t-lead);max-width:62ch;line-height:1.9}

/* ---------- filter chips ---------- */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:var(--sp-3)}
.chip{padding:9px 18px;border-radius:var(--r-pill);border:1px solid var(--line);background:#fff;font-size:var(--t-small);font-weight:600;color:var(--slate);transition:all .2s}
.chip:hover{border-color:var(--vein);color:var(--vein-deep)}
.chip-active{background:var(--quarry);color:var(--cream);border-color:var(--quarry)}
.result-count{color:var(--muted);font-size:var(--t-small);margin-bottom:var(--sp-3)}

.empty-state{text-align:center;padding:var(--sp-12) var(--sp-3);color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:var(--sp-2)}
.empty-state svg{color:var(--line)}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.product-detail{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(var(--sp-4),4vw,var(--sp-8));align-items:start;margin-bottom:var(--sp-8)}
.pd-gallery{min-width:0;position:sticky;top:calc(var(--header-h) + 16px)}
.pd-main{margin:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-card);background:var(--cream)}
.pd-main img{width:100%;aspect-ratio:4/3;object-fit:cover}
.pd-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.pd-thumb{width:84px;height:64px;padding:0;border:1.5px solid var(--line);border-radius:var(--r-sm);overflow:hidden;background:var(--cream)}
.pd-thumb img{width:100%;height:100%;object-fit:cover}
.pd-thumb.is-active{border-color:var(--vein)}
.pd-info{min-width:0}
.pd-cat{display:inline-block;font-size:var(--t-label);font-weight:700;letter-spacing:.1em;color:var(--vein-deep);background:var(--cream);border:1px solid var(--line);padding:5px 12px;border-radius:var(--r-pill);margin-bottom:var(--sp-2)}
.pd-title{font-size:var(--t-h1);color:var(--ink);font-weight:900}
.pd-summary{margin-top:var(--sp-2);font-size:var(--t-lead);color:var(--slate);line-height:1.9}
.pd-price{display:inline-flex;align-items:center;gap:8px;margin-top:var(--sp-3);font-weight:800;color:var(--vein-deep);background:var(--cream);border:1px dashed var(--vein);padding:10px 16px;border-radius:var(--r-md)}
.pd-price svg{color:var(--vein)}
.pd-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap;margin-top:var(--sp-3)}
.pd-assure{display:flex;flex-direction:column;gap:10px;margin-top:var(--sp-4);padding-top:var(--sp-3);border-top:1px solid var(--line)}
.pd-assure li{display:flex;align-items:center;gap:10px;font-size:var(--t-small);color:var(--slate)}
.pd-assure svg{color:var(--ok);flex:none}
.pd-lower{display:grid;grid-template-columns:1fr 1.2fr;gap:var(--sp-6)}
.pd-h2{font-size:1.4rem;color:var(--ink);margin-bottom:var(--sp-3);padding-bottom:12px;border-bottom:2px solid var(--vein);display:inline-block}
.spec-grid{display:flex;flex-direction:column;gap:0;margin:0}
.spec-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:14px 0;border-bottom:1px solid var(--line)}
.spec-row dt{display:flex;align-items:center;gap:10px;margin:0;font-weight:600;color:var(--muted);font-size:var(--t-small)}
.spec-ic{color:var(--vein);display:inline-flex}
.spec-row dd{margin:0;font-weight:700;color:var(--ink);text-align:start}
.pd-desc p{margin-bottom:var(--sp-2);color:var(--slate);line-height:1.95}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:var(--sp-6);align-items:start}
.form-main{min-width:0}
.stone-form{display:flex;flex-direction:column;gap:var(--sp-3)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-3)}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label,.stone-form>.field>label{font-weight:700;font-size:var(--t-small);color:var(--ink)}
.req{color:var(--danger)}
.field input,.field textarea,.field select,.select-wrap select{
  width:100%;font-family:inherit;font-size:var(--t-body);color:var(--ink);
  background:#fff;border:1.5px solid var(--line);border-radius:var(--r-md);padding:13px 15px;transition:border-color .2s,box-shadow .2s;
}
.field textarea{resize:vertical;line-height:1.8}
.field input:focus,.field textarea:focus,.select-wrap select:focus{outline:none;border-color:var(--vein);box-shadow:0 0 0 3px rgba(184,136,46,.15)}
.field input::placeholder,.field textarea::placeholder{color:#b4ab9c}
.has-error{border-color:var(--danger)!important;background:#fdf6f4}
.field-error{display:flex;align-items:center;gap:6px;color:var(--danger);font-size:var(--t-small);font-weight:600}
.field-error svg{flex:none}
.select-wrap{position:relative}
.select-wrap select{appearance:none;-webkit-appearance:none;padding-inline-end:42px;cursor:pointer}
.select-ic{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--vein);pointer-events:none}
.form-note{font-size:var(--t-small);color:var(--muted)}

.alert{display:flex;align-items:flex-start;gap:14px;padding:var(--sp-3);border-radius:var(--r-md);margin-bottom:var(--sp-3)}
.alert svg{flex:none}
.alert p{margin-top:4px;font-size:var(--t-small)}
.alert-ok{background:#eef6f0;border:1px solid #bfe0cb;color:var(--ok)}
.alert-ok strong{color:#235c38}
.alert-err{background:#fdf0ed;border:1px solid #f0c6bc;color:var(--danger)}

.form-aside{display:flex;flex-direction:column;gap:var(--sp-3);position:sticky;top:calc(var(--header-h) + 16px)}
.aside-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-3);box-shadow:var(--shadow-card)}
.aside-card-gold{background:var(--grad-quarry);border-color:var(--line-dark);color:var(--cream)}
.aside-title{font-size:1.1rem;color:var(--ink);margin-bottom:var(--sp-2)}
.aside-card-gold .aside-title{color:#fff}
.aside-line{display:flex;align-items:center;gap:12px;padding:10px 0;font-weight:600;color:var(--ink)}
.aside-line svg{color:var(--vein);flex:none}
.aside-line.aside-static{color:var(--slate);font-weight:500;font-size:var(--t-small);align-items:flex-start}
a.aside-line:hover{color:var(--vein-deep)}
.aside-list{display:flex;flex-direction:column;gap:12px}
.aside-list li{display:flex;align-items:flex-start;gap:10px;color:var(--cream);font-size:var(--t-small)}
.aside-list svg{color:var(--vein);flex:none;margin-top:3px}

/* ==========================================================================
   GUIDE STEPS + FAQ
   ========================================================================== */
.steps{display:flex;flex-direction:column;gap:var(--sp-3);counter-reset:step}
.step{display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:var(--sp-2);background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-3);box-shadow:var(--shadow-card)}
.step-num{width:40px;height:40px;flex:none;display:grid;place-items:center;font-weight:900;font-size:1.1rem;color:#241a06;background:var(--grad-vein);border-radius:var(--r-sm)}
.step-ic{width:40px;height:40px;flex:none;display:grid;place-items:center;color:var(--vein-deep);background:var(--cream);border:1px solid var(--line);border-radius:var(--r-sm)}
.step-body{min-width:0}
.step-title{font-size:1.15rem;color:var(--ink);margin-bottom:6px}
.step-body p{color:var(--slate);line-height:1.85}

.faq-list{display:flex;flex-direction:column;gap:12px;max-width:820px}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:var(--sp-3);font-weight:700;color:var(--ink);cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary svg{color:var(--vein);transition:transform .25s;flex:none}
.faq-item[open] summary svg{transform:rotate(180deg)}
.faq-answer{padding:0 var(--sp-3) var(--sp-3);color:var(--slate);line-height:1.9}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:var(--sp-3);margin-bottom:var(--sp-6)}
.contact-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-3);box-shadow:var(--shadow-card);transition:transform .2s,border-color .2s}
a.contact-card:hover{transform:translateY(-4px);border-color:var(--vein)}
.contact-ic{width:50px;height:50px;display:grid;place-items:center;color:var(--vein-deep);background:var(--cream);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:6px}
.contact-k{font-size:var(--t-small);color:var(--muted)}
.contact-v{font-weight:800;color:var(--ink);font-size:1.05rem}
.address-block{display:grid;grid-template-columns:1fr 1.1fr;gap:var(--sp-6);align-items:start}
.address-text{min-width:0}
.address-line{display:flex;align-items:flex-start;gap:12px;font-weight:700;color:var(--ink);margin:var(--sp-2) 0}
.address-line svg{color:var(--vein);flex:none;margin-top:3px}
.address-note{color:var(--slate);line-height:1.9;margin-bottom:var(--sp-3)}
.address-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}
.address-map{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-card)}
.address-map iframe{width:100%;height:360px;border:0;display:block;filter:saturate(.9)}

/* ==========================================================================
   STATS / VALUES / 404
   ========================================================================== */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:var(--sp-3)}
.stat-box{text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-4) var(--sp-3);box-shadow:var(--shadow-card)}
.stat-num{display:block;font-size:2.4rem;font-weight:900;color:var(--vein-deep);line-height:1}
.stat-label{display:block;margin-top:10px;color:var(--muted);font-size:var(--t-small)}
.value-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:var(--sp-3)}
.value-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-4) var(--sp-3);box-shadow:var(--shadow-card);transition:transform .2s,border-color .2s}
.value-card:hover{transform:translateY(-4px);border-color:var(--vein)}
.value-ic{width:56px;height:56px;display:grid;place-items:center;color:var(--vein-deep);background:var(--cream);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:var(--sp-2)}
.value-card h3{font-size:1.2rem;color:var(--ink);margin-bottom:8px}
.value-card p{color:var(--slate);font-size:var(--t-small);line-height:1.85}
.notfound{text-align:center}
.nf-code{display:block;font-size:clamp(4rem,14vw,8rem);font-weight:900;color:var(--vein);line-height:1;opacity:.85}
.nf-actions{display:flex;gap:var(--sp-2);justify-content:center;flex-wrap:wrap;margin-top:var(--sp-4)}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:var(--grad-quarry);color:var(--travertine);border-top:3px solid var(--vein);margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1.2fr 1.2fr;gap:var(--sp-4);padding-block:clamp(var(--sp-6),6vw,var(--sp-12))}
.footer-col{min-width:0}
.footer-brand .brand-mark{width:46px;height:46px}
.footer-brand .brand-name{color:var(--cream);font-size:1.3rem}
.footer-intro{margin:var(--sp-2) 0 var(--sp-3);line-height:1.9;font-size:var(--t-small);max-width:40ch}
.footer-social{display:flex;gap:10px}
.footer-social a{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line-dark);border-radius:var(--r-md);color:var(--travertine);transition:all .2s}
.footer-social a:hover{border-color:var(--vein);color:var(--vein);background:rgba(184,136,46,.1)}
.footer-title{font-size:1rem;color:var(--cream);margin-bottom:var(--sp-2);font-weight:700}
.footer-links li,.footer-contact li,.footer-badges li{margin-bottom:12px}
.footer-links a:hover{color:var(--vein)}
.footer-contact a,.footer-contact li{display:flex;align-items:flex-start;gap:10px;color:var(--travertine)}
.footer-contact a:hover{color:var(--vein)}
.footer-contact svg,.footer-badges svg{color:var(--vein);flex:none;margin-top:3px}
.footer-contact .ci{display:inline-flex;margin-top:3px}
.footer-badges li{display:flex;align-items:flex-start;gap:10px;font-size:var(--t-small)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);flex-wrap:wrap;padding-block:var(--sp-3);border-top:1px solid var(--line-dark);font-size:var(--t-small);color:var(--muted)}

/* ---------- floating actions ---------- */
.floating-actions{position:fixed;inset-inline-end:16px;bottom:16px;z-index:90;display:flex;flex-direction:column;gap:12px}
.fab{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 8px 24px rgba(30,23,17,.3);transition:transform .2s}
.fab:hover{transform:scale(1.08)}
.fab-wa{background:#25935a}
.fab-call{background:var(--grad-vein);color:#241a06}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:980px){
  .product-detail{grid-template-columns:1fr}
  .pd-gallery{position:static}
  .pd-lower{grid-template-columns:1fr;gap:var(--sp-4)}
  .form-layout{grid-template-columns:1fr}
  .form-aside{position:static;flex-direction:row;flex-wrap:wrap}
  .form-aside>*{flex:1 1 260px}
  .address-block{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:768px){
  .main-nav,.header-cta .btn-sm{display:none}
  .nav-toggle{display:inline-flex}
  .header-inner{grid-template-columns:1fr auto;gap:var(--sp-2)}
  .header-cta{gap:0}
  .brand{min-width:0}
  .brand-text{min-width:0}
  .hero-grid{grid-template-columns:1fr;gap:var(--sp-4);text-align:start}
  .hero-visual{order:-1}
  .hero-figure>img{aspect-ratio:16/11}
  .band-grid{grid-template-columns:1fr;gap:var(--sp-3)}
  .band-reverse{direction:rtl}
  .band-media{order:-1}
  .section-head-row{flex-direction:column;align-items:flex-start}
  .cta-inner{flex-direction:column;align-items:flex-start}
  .cta-actions{width:100%}
  .cta-actions .btn{flex:1}
  .field-row{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
  .strip-inner{gap:var(--sp-2)}
  .strip-item{flex:1 1 44%;font-size:var(--t-small)}
}
@media (max-width:540px){
  .footer-grid{grid-template-columns:1fr}
  .product-foot{flex-direction:column;align-items:stretch;gap:12px}
  .product-btn{width:100%}
  .spec-row{flex-direction:column;align-items:flex-start;gap:4px}
  .spec-row dd{text-align:start}
  .hero-stats{gap:var(--sp-3)}
  .hero-stats dt{font-size:1.35rem}
  .step{grid-template-columns:auto 1fr}
  .step-ic{display:none}
  .form-aside>*{flex:1 1 100%}
  .cta-actions{flex-direction:column}
  .cta-actions .btn{width:100%}
  .nf-actions .btn{width:100%}
  .floating-actions{inset-inline-end:12px;bottom:12px}
}
@media (max-width:390px){
  :root{--header-h:66px}
  .brand-sub{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* ---------- custom site logo (admin settings) ---------- */
.brand-logo{display:block;width:auto;max-width:200px;height:42px;object-fit:contain;flex:none}
.footer-brand .brand-logo{height:46px;max-width:220px}
@media (max-width:390px){
  .brand-logo{height:36px;max-width:150px}
}

/* ==========================================================================
   TRUST STRIP — "gold vein in stone" signature band
   Layered mineral strata that drift slowly, a soft luster passing over the
   slab, and four stone-framed medallions. Text stays cream and legible.
   ========================================================================== */
.strip{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(140% 220% at 88% -40%,rgba(184,136,46,.22),transparent 58%),
    radial-gradient(120% 200% at 8% 150%,rgba(200,169,122,.16),transparent 60%),
    linear-gradient(112deg,#221A12 0%,#2C251B 38%,#241D15 62%,#2E2619 100%);
  border-block:1px solid rgba(184,136,46,.34);
  box-shadow:inset 0 1px 0 rgba(242,234,216,.07),inset 0 -16px 30px -22px rgba(0,0,0,.65);
  color:var(--cream);
}

/* strata + veins */
.strip::before{
  content:"";position:absolute;inset:-30% -12%;z-index:0;pointer-events:none;
  background-image:
    repeating-linear-gradient(99deg,rgba(242,234,216,.05) 0 2px,transparent 2px 30px),
    repeating-linear-gradient(94deg,rgba(184,136,46,.11) 0 1px,transparent 1px 96px),
    repeating-linear-gradient(103deg,rgba(0,0,0,.22) 0 4px,transparent 4px 64px),
    radial-gradient(60% 80% at 72% 30%,rgba(200,169,122,.10),transparent 70%);
  opacity:.85;
  animation:stripDrift 52s linear infinite;
  will-change:background-position;
}
@keyframes stripDrift{
  from{background-position:0 0,0 0,0 0,0 0}
  to{background-position:180px 0,-120px 0,90px 0,60px 0}
}

/* slow luster passing across the slab */
.strip::after{
  content:"";position:absolute;inset:-1px;z-index:1;pointer-events:none;
  background:linear-gradient(104deg,transparent 40%,rgba(200,169,122,.10) 46%,rgba(242,234,216,.22) 50%,rgba(184,136,46,.14) 54%,transparent 61%);
  transform:translateX(-130%);
  animation:stripSheen 12s cubic-bezier(.45,.05,.4,.95) infinite;
}
@keyframes stripSheen{
  0%{transform:translateX(-130%)}
  60%,100%{transform:translateX(130%)}
}

/* hand-drawn mineral veins woven behind the phrases */
.strip-inner::before{
  content:"";position:absolute;inset:-18px -6%;z-index:-1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 82 C170 40 300 98 470 64 S760 26 900 60 S1090 96 1200 54' fill='none' stroke='%23C8A97A' stroke-opacity='.22' stroke-width='2'/%3E%3Cpath d='M0 62 C190 96 320 30 500 54 S780 88 920 44 S1080 26 1200 78' fill='none' stroke='%23B8882E' stroke-opacity='.18' stroke-width='1.2'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity:.85;
  animation:stripVeinFlow 26s ease-in-out infinite alternate;
}
@keyframes stripVeinFlow{
  from{transform:translateX(-8px) scaleY(.96)}
  to{transform:translateX(8px) scaleY(1.1)}
}

.strip-inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--sp-2) var(--sp-3);align-items:center;
  padding-block:calc(var(--sp-3) + 2px);
}
.strip-item{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  gap:12px;padding:6px 4px;
  color:var(--cream);font-weight:600;font-size:.95rem;line-height:1.5;
  text-shadow:0 1px 12px rgba(30,23,17,.6);
  transition:color .35s ease;
}
.strip-item span{position:relative;display:inline-block}
.strip-item span::after{
  content:"";position:absolute;inset-inline:0;bottom:-6px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(184,136,46,.75),transparent);
  transform:scaleX(.25);opacity:0;
  transition:transform .45s ease,opacity .45s ease;
}
.strip-item:hover{color:#fff}
.strip-item:hover span::after{transform:scaleX(1);opacity:1}

/* thin quartz seam between the four phrases */
.strip-item + .strip-item::before{
  content:"";position:absolute;inset-block:8%;
  inset-inline-start:calc(var(--sp-3) * -0.5);
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(184,136,46,.5) 30%,rgba(242,234,216,.28) 52%,rgba(184,136,46,.5) 74%,transparent);
  animation:stripVein 7s ease-in-out infinite;
}
@keyframes stripVein{
  0%,100%{opacity:.5}
  50%{opacity:.95}
}

/* icon set into a polished stone medallion */
.strip-item svg{
  flex:none;width:38px;height:38px;padding:7px;border-radius:50%;
  color:var(--travertine);
  background:
    radial-gradient(circle at 32% 26%,rgba(242,234,216,.22),rgba(30,23,17,.55) 72%),
    linear-gradient(135deg,rgba(184,136,46,.30),rgba(30,23,17,.2));
  border:1px solid rgba(184,136,46,.45);
  box-shadow:inset 0 1px 0 rgba(242,234,216,.18),0 2px 10px rgba(0,0,0,.35);
  transition:color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .3s ease;
}
.strip-item:hover svg{
  color:#F6DFAC;border-color:rgba(242,234,216,.6);
  box-shadow:inset 0 1px 0 rgba(242,234,216,.3),0 0 20px rgba(184,136,46,.4);
  transform:translateY(-2px);
}

/* reveal on scroll (armed by main.js) with a staggered polish */
.strip.is-armed .strip-item{opacity:0}
.strip.is-live .strip-item{animation:stripItemIn .9s cubic-bezier(.22,.7,.24,1) forwards}
.strip.is-live .strip-item:nth-child(2){animation-delay:.1s}
.strip.is-live .strip-item:nth-child(3){animation-delay:.2s}
.strip.is-live .strip-item:nth-child(4){animation-delay:.3s}
@keyframes stripItemIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}

@media (max-width:768px){
  .strip-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2) var(--sp-3);padding-block:var(--sp-3)}
  .strip-item{justify-content:flex-start;font-size:var(--t-small);padding:4px 2px}
  .strip-item:nth-child(3)::before{display:none}
  .strip::after{animation-duration:16s}
}
@media (max-width:480px){
  .strip-inner{grid-template-columns:1fr;gap:2px}
  .strip-item + .strip-item{border-top:1px solid rgba(184,136,46,.16)}
  .strip-item + .strip-item::before{display:none}
}

/* Category-specific images (admin-managed) */
.cat-card-has-media{flex-direction:column;align-items:stretch;padding:0;overflow:hidden;position:relative}
.cat-card-has-media .cat-media{display:block;width:100%;aspect-ratio:16/10;background:var(--cream);overflow:hidden}
.cat-card-has-media .cat-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.cat-card-has-media:hover .cat-media img{transform:scale(1.04)}
.cat-card-has-media .cat-body{padding:var(--sp-3);padding-inline-end:56px}
.cat-card-has-media .cat-arrow{position:absolute;bottom:var(--sp-3);left:var(--sp-3);right:auto}
.chip{display:inline-flex;align-items:center;gap:8px}
.chip-img{display:block;width:24px;height:24px;flex:none;border-radius:50%;object-fit:cover;border:1px solid rgba(0,0,0,.08);background:#fff}
.chip-active .chip-img{border-color:rgba(255,255,255,.45)}
.pd-cat{display:inline-flex;align-items:center;gap:7px}
.pd-cat-img{display:block;width:22px;height:22px;flex:none;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#fff}

/* ==========================================================================
   TESTIMONIALS — polished travertine slab with natural veins
   ========================================================================== */
.testi-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-block:1px solid rgba(184,136,46,.24);
  background-color:#E9DCC5;
  background-image:
    linear-gradient(180deg,rgba(252,248,240,.55) 0%,rgba(252,248,240,0) 24%,rgba(240,230,212,.18) 100%),
    radial-gradient(120% 90% at 50% 0%,rgba(255,252,244,.8),transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-60 120C220 62 420 252 700 192S1160 62 1500 152' stroke='%23B8882E' stroke-opacity='.055' stroke-width='26'/%3E%3Cpath d='M-60 642C260 562 470 762 760 692S1180 562 1500 652' stroke='%23B8882E' stroke-opacity='.05' stroke-width='30'/%3E%3Cpath d='M1500 0C1320 180 1260 340 1080 470S820 700 760 900' stroke='%23B8882E' stroke-opacity='.045' stroke-width='18'/%3E%3Cpath d='M-60 168C150 112 286 214 468 178S796 74 1002 138S1304 244 1500 200' stroke='%23B8882E' stroke-opacity='.34' stroke-width='2.4'/%3E%3Cpath d='M-60 184C150 128 294 230 478 195S806 90 1012 155S1310 262 1500 218' stroke='%23FFFAEC' stroke-opacity='.42' stroke-width='.7'/%3E%3Cpath d='M-60 206C168 150 300 248 486 214S810 118 1016 180S1320 280 1500 236' stroke='%238A640F' stroke-opacity='.16' stroke-width='.9'/%3E%3Cpath d='M-60 452C190 392 372 540 622 496S1010 350 1240 428S1430 508 1500 490' stroke='%23B8882E' stroke-opacity='.28' stroke-width='2'/%3E%3Cpath d='M-60 468C196 408 382 556 632 512S1020 366 1248 444S1434 524 1500 506' stroke='%23FFFAEC' stroke-opacity='.36' stroke-width='.6'/%3E%3Cpath d='M-60 486C206 432 388 576 640 532S1024 392 1250 466S1432 540 1500 522' stroke='%238A640F' stroke-opacity='.13' stroke-width='.8'/%3E%3Cpath d='M-60 744C210 688 364 812 600 774S988 660 1236 736S1430 792 1500 766' stroke='%23B8882E' stroke-opacity='.22' stroke-width='1.6'/%3E%3Cpath d='M-60 760C214 704 370 828 608 790S996 676 1244 752S1434 808 1500 782' stroke='%23FFFAEC' stroke-opacity='.3' stroke-width='.5'/%3E%3Cpath d='M286 -40C336 150 258 300 344 470S470 756 418 940' stroke='%238A7A60' stroke-opacity='.2' stroke-width='1.1'/%3E%3Cpath d='M902 -40C862 170 972 292 926 474S826 760 884 940' stroke='%238A7A60' stroke-opacity='.18' stroke-width='.9'/%3E%3Cpath d='M1180 -40C1140 130 1238 250 1196 404S1106 692 1134 940' stroke='%238A7A60' stroke-opacity='.14' stroke-width='.8'/%3E%3Cpath d='M620 300C700 380 760 470 840 560S980 700 1030 820' stroke='%238A640F' stroke-opacity='.1' stroke-width='.7'/%3E%3Cpath d='M-40 330C260 300 520 360 760 330S1200 260 1480 300' stroke='%23B8882E' stroke-opacity='.09' stroke-width='.6'/%3E%3C/g%3E%3C/svg%3E"),
    repeating-linear-gradient(169deg,rgba(255,253,247,.15) 0 1px,transparent 1px 37px,rgba(138,100,15,.04) 37px 39px,transparent 39px 96px),
    linear-gradient(152deg,#F3EBDD 0%,#EDE1CD 38%,#E5D6BC 68%,#EFE5D3 100%);
  background-size:100% 100%,100% 100%,cover,auto,auto;
  background-position:center;
  background-repeat:no-repeat,no-repeat,no-repeat,repeat,no-repeat;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(138,100,15,.08);
}
.testi-section::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)' opacity='.42'/%3E%3C/svg%3E");
  background-size:220px 220px;
  opacity:.42;
  mix-blend-mode:soft-light;
}
.testi-section::after{
  content:"";position:absolute;inset:-18% -30%;z-index:0;pointer-events:none;
  background:
    linear-gradient(103deg,transparent 34%,rgba(255,252,244,.12) 42%,rgba(255,252,244,.5) 50%,rgba(255,252,244,.12) 58%,transparent 66%),
    radial-gradient(ellipse 48% 42% at 76% 22%,rgba(255,248,230,.45),transparent 70%);
  background-size:74% 100%,100% 100%;
  background-repeat:no-repeat;
  background-position:-38% 0,0 0;
  opacity:.55;
  animation:testiStoneLight 34s ease-in-out infinite alternate;
  will-change:background-position,opacity;
}
@keyframes testiStoneLight{
  0%{background-position:-38% 0,0 0;opacity:.42}
  50%{opacity:.8}
  100%{background-position:138% 0,0 0;opacity:.42}
}
.testi-section > .container{position:relative;z-index:1}
.testi-section .eyebrow{
  color:var(--vein-deep);
  background:rgba(255,252,245,.68);
  border:1px solid rgba(184,136,46,.28);
  padding:6px 13px;
  border-radius:var(--r-pill);
  backdrop-filter:blur(6px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.testi-section .section-title{color:var(--ink);text-shadow:0 1px 0 rgba(255,255,255,.42)}
.testi-section .section-intro{color:#4A4033}
.testi-section .testi-grid{gap:clamp(18px,2.2vw,28px)}
.testi-section .testi-card{
  background:linear-gradient(158deg,rgba(255,253,248,.97) 0%,rgba(250,245,235,.96) 52%,rgba(243,235,222,.97) 100%);
  border-color:rgba(184,136,46,.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 0 rgba(184,136,46,.22),
    0 26px 44px -26px rgba(52,40,23,.55);
  backdrop-filter:blur(7px);
  transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.testi-section .testi-card::after{
  content:"";position:absolute;top:0;left:22%;right:22%;height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,transparent,rgba(184,136,46,.7),rgba(255,252,240,.75),rgba(184,136,46,.7),transparent);
}
.testi-section .testi-card:hover{
  transform:translateY(-4px);
  border-color:rgba(184,136,46,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 3px 0 rgba(184,136,46,.32),
    0 32px 54px -24px rgba(52,40,23,.6);
}
.testi-section .testi-quote{color:var(--vein-deep);opacity:.45}
.testi-section .testi-card blockquote{color:#40382C}
.testi-section .testi-role{color:#6F6456}

@media (max-width:640px){
  .testi-section::after{animation-duration:42s}
  .testi-section .testi-card{padding:var(--sp-3) var(--sp-2) var(--sp-3)}
  .testi-section .testi-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .testi-section::after{animation:none;opacity:.55;background-position:52% 0,0 0}
  .testi-section .testi-card{transition:none}
}

/* ==========================================================================
   HOME CATALOG CAROUSEL — one horizontal stone strip, snap + arrows
   ========================================================================== */
.product-carousel{position:relative;margin-inline:calc(var(--sp-1) * -1);padding-inline:var(--sp-1)}
.product-track{
  display:flex;align-items:stretch;gap:var(--sp-3);
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding-block:10px;margin-block:-10px;
}
.product-track::-webkit-scrollbar{display:none}
.product-track > .product-card{
  flex:0 0 calc((100% - var(--sp-3) * 2) / 3);
  min-width:0;
  scroll-snap-align:start;scroll-snap-stop:always;
}
.carousel-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;
  border-radius:50%;cursor:pointer;
  background:rgba(250,248,244,.94);color:var(--vein-deep);
  border:1px solid rgba(184,136,46,.5);
  box-shadow:0 3px 0 rgba(184,136,46,.28),0 10px 26px rgba(30,23,17,.2);
  backdrop-filter:blur(6px);
  transition:background .2s,color .2s,box-shadow .2s,transform .2s;
}
.carousel-nav:hover{background:#fff;color:var(--ink);box-shadow:0 4px 0 rgba(184,136,46,.45),0 14px 30px rgba(30,23,17,.24);transform:translateY(-50%) scale(1.06)}
.carousel-nav:active{transform:translateY(-50%) scale(.97)}
.carousel-nav:focus-visible{outline:2px solid var(--vein-deep);outline-offset:2px}
.carousel-nav-prev{inset-inline-start:6px}
.carousel-nav-next{inset-inline-end:6px}
.product-carousel.is-static .carousel-nav{display:none}
.product-track:focus-visible{outline:2px solid var(--vein-deep);outline-offset:4px;border-radius:var(--r-md)}
@media (max-width:1024px){
  .product-track > .product-card{flex-basis:calc((100% - var(--sp-3)) / 2)}
}
@media (max-width:700px){
  .product-track > .product-card{flex-basis:86%}
  .carousel-nav{width:38px;height:38px}
  .carousel-nav-prev{inset-inline-start:2px}
  .carousel-nav-next{inset-inline-end:2px}
}
@media (prefers-reduced-motion:reduce){
  .product-track{scroll-behavior:auto}
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL — single horizontal row, snap + arrows
   ========================================================================== */
.testi-section .testi-carousel{position:relative;margin-inline:calc(var(--sp-1) * -1);padding-inline:var(--sp-1)}
.testi-section .testi-track{
  display:flex;flex-wrap:nowrap;align-items:stretch;
  gap:clamp(18px,2.2vw,28px);
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding-block:10px;margin-block:-10px;
}
.testi-section .testi-track::-webkit-scrollbar{display:none}
.testi-section .testi-track > .testi-card{
  flex:0 0 calc((100% - 2 * clamp(18px,2.2vw,28px)) / 3);
  min-width:0;
  scroll-snap-align:start;scroll-snap-stop:always;
}
.testi-section .testi-track:focus-visible{outline:2px solid var(--vein-deep);outline-offset:4px;border-radius:var(--r-md)}
.testi-carousel .carousel-nav-prev{inset-inline-start:-18px}
.testi-carousel .carousel-nav-next{inset-inline-end:-18px}
.testi-carousel.is-static .carousel-nav{display:none}
@media (max-width:1024px){
  .testi-section .testi-track > .testi-card{flex-basis:calc((100% - clamp(18px,2.2vw,28px)) / 2)}
}
@media (max-width:700px){
  .testi-section .testi-track > .testi-card{flex-basis:86%}
  .testi-carousel{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
  .testi-carousel .testi-track{order:1;flex:1 0 100%;width:100%;min-width:0}
  .testi-carousel .carousel-nav{order:2;position:static;transform:none}
  .testi-carousel .carousel-nav:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .testi-section .testi-track{scroll-behavior:auto}
  .testi-section .testi-card:hover{transform:none}
}

/* ---------- project card links ---------- */
.project-title a{color:inherit;text-decoration:none}
.project-title a:hover{color:var(--vein-deep)}
a.project-media{display:block;text-decoration:none}
.project-btn{margin-top:auto;align-self:flex-start}
@media(max-width:507px){.project-btn{width:100%}}

/* ---------- project detail page ---------- */
.prd-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(var(--sp-4),4vw,var(--sp-8));align-items:start;margin-bottom:var(--sp-8)}
.prd-visual{min-width:0}
.prd-main-fig{margin:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-card);background:var(--cream);position:sticky;top:calc(var(--header-h) + 16px)}
.prd-main-fig img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.prd-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.prd-thumb{width:84px;height:60px;padding:0;border:1.5px solid var(--line);border-radius:var(--r-sm);overflow:hidden;background:var(--cream);cursor:pointer;transition:border-color .2s}
.prd-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.prd-thumb.is-active{border-color:var(--vein)}
.prd-thumb:hover:not(.is-active){border-color:var(--travertine)}
.prd-info{min-width:0}
.prd-title{font-size:var(--t-h1);color:var(--ink);font-weight:900;margin-bottom:var(--sp-2)}
.prd-meta-list{display:flex;flex-direction:column;gap:10px;margin:var(--sp-3) 0;padding:0;list-style:none}
.prd-meta-list li{display:flex;align-items:center;gap:10px;font-size:var(--t-body);color:var(--slate)}
.prd-meta-list svg{color:var(--vein);flex:none}
.prd-desc{margin-top:var(--sp-3)}
.prd-desc p{color:var(--slate);line-height:1.95;margin-bottom:var(--sp-2)}
.prd-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap;margin-top:var(--sp-4)}

/* gallery section */
.prd-gallery{margin-top:var(--sp-6);padding-top:var(--sp-6);border-top:1px solid var(--line)}
.prd-gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:var(--sp-3)}
.prd-gal-item{position:relative;overflow:hidden;border-radius:var(--r-md);border:0;padding:0;cursor:pointer;background:var(--cream);aspect-ratio:4/3;display:block}
.prd-gal-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.prd-gal-item:hover img,.prd-gal-item:focus-visible img{transform:scale(1.05)}
.prd-gal-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(30,23,17,.35);color:#fff;opacity:0;transition:opacity .2s}
.prd-gal-item:hover .prd-gal-overlay,.prd-gal-item:focus-visible .prd-gal-overlay{opacity:1}
.prd-gal-item:focus-visible{outline:2px solid var(--vein);outline-offset:2px}

/* lightbox */
.prd-lightbox{position:fixed;inset:0;z-index:900;background:rgba(20,15,10,.92);backdrop-filter:blur(4px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--sp-4)}
.prd-lightbox[hidden]{display:none}
.prd-lb-close{position:absolute;top:16px;inset-inline-end:16px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;z-index:1}
.prd-lb-close:hover{background:rgba(255,255,255,.26)}
.prd-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;z-index:1}
.prd-lb-nav:hover{background:rgba(255,255,255,.26)}
.prd-lb-prev{inset-inline-end:16px}
.prd-lb-next{inset-inline-start:16px}
.prd-lb-stage{max-width:min(900px,90vw);max-height:calc(100vh - 160px);display:flex;align-items:center;justify-content:center}
.prd-lb-stage img{max-width:100%;max-height:calc(100vh - 160px);border-radius:var(--r-md);box-shadow:0 20px 60px rgba(0,0,0,.5);object-fit:contain;display:block}
.prd-lb-counter{color:rgba(255,255,255,.65);font-size:var(--t-small);margin:12px 0 0;text-align:center}

@media(max-width:860px){
  .prd-layout{grid-template-columns:1fr}
  .prd-main-fig{position:static}
}
@media(max-width:640px){
  .prd-gal-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
  .prd-lb-nav{width:40px;height:40px}
  .prd-lb-prev{inset-inline-end:8px}
  .prd-lb-next{inset-inline-start:8px}
  .prd-actions .btn-ghost{width:100%}
}

/* ==========================================================================
   PROJECTS — single-page interactive viewer (site palette: marble + gold vein)
   Desktop: 20% project list (right) / 80% selected project (left).
   <1100px: horizontal project strip on top, gallery + details below.
   ========================================================================== */
.pv-section{
  --pv-bg:var(--marble);
  --pv-panel:#FFFFFF;
  --pv-panel-2:#FFFFFF;
  --pv-line:var(--line);
  --pv-text:var(--ink);
  --pv-muted:var(--muted);
  --pv-accent:var(--vein);
  --pv-accent-deep:var(--vein-deep);
  background:radial-gradient(1100px 380px at 78% 0%,rgba(184,136,46,.10),transparent 62%),var(--pv-bg);
  color:var(--pv-text);
  padding-block:clamp(18px,3vw,42px);
}
.pv-section :focus-visible{outline-color:var(--pv-accent)}
.pv-section .pv-empty{background:var(--pv-panel);border:1px solid var(--pv-line);border-radius:18px;color:var(--pv-muted)}
.pv-section .pv-empty svg{color:var(--travertine)}

/* ---------- desktop layout ---------- */
.pv-layout{display:grid;grid-template-columns:minmax(0,20fr) minmax(0,80fr);gap:clamp(14px,1.8vw,22px);align-items:start}
.pv-sidebar{position:sticky;top:calc(var(--header-h) + 16px);min-width:0}
.pv-list{
  display:flex;flex-direction:column;gap:8px;padding:2px;
  max-height:calc(100vh - var(--header-h) - 44px);overflow-y:auto;
  overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#D9CDB5 transparent;
}
.pv-list::-webkit-scrollbar{width:6px}
.pv-list::-webkit-scrollbar-thumb{background:#D9CDB5;border-radius:6px}
.pv-list::-webkit-scrollbar-track{background:transparent}

.pv-li{
  appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-width:0;
  padding:7px;text-align:start;color:var(--pv-text);
  background:var(--pv-panel-2);border:1px solid var(--pv-line);border-radius:12px;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.pv-li:hover{border-color:var(--pv-accent);background:#FFFCF4}
.pv-li.is-active{
  border-color:var(--pv-accent);
  background:linear-gradient(180deg,rgba(184,136,46,.14),rgba(184,136,46,.04));
  box-shadow:inset 0 0 0 1px rgba(184,136,46,.24);
}
.pv-li-thumb{width:56px;height:56px;flex:none;object-fit:cover;border-radius:9px;border:1px solid rgba(30,23,17,.08);background:var(--cream)}
.pv-li-text{display:flex;flex-direction:column;gap:1px;flex:1 1 auto;min-width:0}
.pv-li-cat{font-size:.68rem;line-height:1.6;color:var(--pv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-li-name{font-size:.8rem;font-weight:700;line-height:1.5;color:var(--pv-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.pv-li.is-active .pv-li-name{color:var(--pv-accent-deep)}

/* ---------- main panel ---------- */
.pv-main{min-width:0}
.pv-main-card{
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  grid-template-areas:"gallery info";gap:clamp(16px,2vw,26px);
  padding:clamp(12px,1.4vw,18px);
  background:var(--pv-panel);
  border:1px solid var(--pv-line);border-radius:20px;
  box-shadow:var(--shadow-card);
}
.pv-gal,.pv-info{min-width:0}
.pv-gal{grid-area:gallery}
.pv-info{grid-area:info}

/* ---------- gallery slider ---------- */
.pv-gal{
  position:relative;border-radius:14px;overflow:hidden;background:var(--cream);
  border:1px solid var(--pv-line);min-height:clamp(320px,38vw,520px);
  touch-action:pan-y;
}
.pv-gal::after{
  content:"";position:absolute;inset-inline:0;bottom:0;height:96px;z-index:1;
  background:linear-gradient(0deg,rgba(30,23,17,.48),transparent);pointer-events:none;
}
.pv-slides{position:absolute;inset:0;display:flex;height:100%;will-change:transform}
.pv-slide{flex:0 0 100%;min-width:0;height:100%}
.pv-slide img{width:100%;height:100%;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none}
.pv-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(30,23,17,.58);border:1px solid rgba(242,234,216,.28);color:var(--cream);
  backdrop-filter:blur(6px);transition:background .2s ease,border-color .2s ease;
}
.pv-nav:hover{background:var(--vein-deep);border-color:rgba(242,234,216,.45)}
.pv-nav-prev{inset-inline-start:12px}
.pv-nav-next{inset-inline-end:12px}
.pv-counter{
  position:absolute;z-index:3;inset-inline-end:12px;bottom:12px;
  padding:4px 10px;border-radius:var(--r-pill);
  background:rgba(30,23,17,.66);color:var(--cream);font-size:.72rem;font-weight:600;letter-spacing:.02em;
}
.pv-inds{position:absolute;z-index:3;inset-inline-start:13px;bottom:20px;display:flex;gap:5px}
.pv-ind{width:18px;height:3px;border-radius:2px;background:rgba(242,234,216,.55);transition:background .25s ease,width .25s ease}
.pv-ind.is-active{width:26px;background:var(--pv-accent)}

/* ---------- project details ---------- */
.pv-info{display:flex;flex-direction:column;padding:clamp(2px,.6vw,8px) 2px 2px}
.pv-info-cat{display:flex;align-items:center;gap:8px;min-height:20px;margin-bottom:10px;font-size:.75rem;line-height:1.7;color:var(--pv-muted)}
.pv-cat-dash{width:18px;height:2px;flex:none;border-radius:2px;background:var(--pv-accent)}
.pv-info-title{font-size:clamp(1.35rem,2vw,1.9rem);font-weight:900;line-height:1.4;letter-spacing:-.01em;color:var(--ink)}
.pv-info-desc{margin-top:12px;font-size:.95rem;line-height:2.05;color:var(--slate);white-space:pre-line;overflow-wrap:break-word}
.pv-info-desc:empty{display:none}
.pv-info-meta{display:flex;align-items:stretch;gap:12px;margin-top:20px;padding:13px 0;border-top:1px solid var(--pv-line);border-bottom:1px solid var(--pv-line)}
.pv-meta-col{display:flex;flex-direction:column;gap:3px;flex:1 1 0;min-width:0}
.pv-meta-label{font-size:.69rem;line-height:1.6;color:var(--pv-muted)}
.pv-meta-val{font-size:.82rem;font-weight:700;line-height:1.6;color:var(--ink);overflow-wrap:break-word}
.pv-meta-sep{width:1px;flex:none;background:var(--pv-line);margin-block:2px}
.pv-similar{
  align-self:flex-start;display:inline-flex;align-items:center;gap:6px;
  margin-top:auto;padding-top:20px;padding-bottom:3px;
  border-bottom:1px solid rgba(184,136,46,.55);
  color:var(--pv-accent-deep);font-size:.88rem;font-weight:700;line-height:1.6;
  transition:color .2s ease,border-color .2s ease;
}
.pv-similar:hover,.pv-similar:focus-visible{color:var(--pv-accent);border-color:var(--pv-accent)}

/* ---------- mobile / tablet: horizontal strip ---------- */
.pv-mobile-strip{
  display:none;gap:10px;margin-bottom:16px;padding:2px 2px 10px;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;scrollbar-color:#D9CDB5 transparent;
}
.pv-mobile-strip::-webkit-scrollbar{height:5px}
.pv-mobile-strip::-webkit-scrollbar-thumb{background:#D9CDB5;border-radius:5px}
.pv-mob-btn{
  flex:0 0 118px;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;
  min-width:0;padding:6px;text-align:start;color:var(--pv-text);
  background:var(--pv-panel-2);border:1px solid var(--pv-line);border-radius:12px;
  transition:border-color .2s ease,background .2s ease;
}
.pv-mob-btn img{width:100%;height:74px;object-fit:cover;border-radius:8px;display:block;background:var(--cream)}
.pv-mob-btn span{width:100%;font-size:.72rem;font-weight:700;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-mob-btn.is-active{border-color:var(--pv-accent);background:rgba(184,136,46,.10);box-shadow:inset 0 0 0 1px rgba(184,136,46,.22)}
.pv-mob-btn.is-active span{color:var(--pv-accent-deep)}

@media(max-width:1100px){
  .pv-layout{display:block}
  .pv-sidebar{display:none}
  .pv-mobile-strip{display:flex}
  .pv-main-card{display:flex;flex-direction:column;gap:14px;padding:12px;border-radius:16px}
  .pv-gal{order:-1;width:100%;min-height:0;aspect-ratio:4/3;border-radius:12px}
  .pv-info{padding:2px 2px 4px}
  .pv-info-title{font-size:clamp(1.3rem,4.6vw,1.75rem)}
  .pv-info-desc{font-size:.94rem;line-height:1.95}
  .pv-info-meta{margin-top:16px}
}
@media(max-width:600px){
  .pv-mob-btn{flex-basis:108px}
  .pv-mob-btn img{height:68px}
  .pv-nav{width:38px;height:38px}
  .pv-nav-prev{inset-inline-start:8px}
  .pv-nav-next{inset-inline-end:8px}
  .pv-counter{inset-inline-end:8px;bottom:8px;font-size:.68rem;padding:3px 8px}
  .pv-inds{inset-inline-start:10px;bottom:13px}
  .pv-ind{width:15px}
  .pv-ind.is-active{width:21px}
  .pv-info-desc{font-size:.9rem;line-height:1.9}
  .pv-info-meta{gap:9px;padding:11px 0}
  .pv-meta-val{font-size:.78rem}
}
@media(max-width:380px){
  .pv-mob-btn{flex-basis:98px}
  .pv-mob-btn img{height:62px}
  .pv-info-title{font-size:1.25rem}
}

/* hero eyebrow — prevents overflow when text is longer than the column */
.hero-copy .eyebrow{max-width:100%}

/* ==========================================================================
   REDESIGNED CTA BAND + FOOTER — UI/UX polish (appended overrides)
   ========================================================================== */

/* ── CTA BAND ── */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 4% 110%, rgba(184,136,46,.22), transparent 50%),
    radial-gradient(ellipse 50% 55% at 96% -10%, rgba(184,136,46,.15), transparent 50%),
    linear-gradient(158deg, #1E1711 0%, #2D261C 52%, #241D15 100%);
  border-bottom: 1px solid rgba(184,136,46,.18);
}
.cta-band::before {
  content: "";
  position: absolute; inset: -10% -6%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420' preserveAspectRatio='none'%3E%3Cpath d='M0 165 C280 95 540 245 800 170 S1060 65 1200 155' fill='none' stroke='%23B8882E' stroke-opacity='.11' stroke-width='2.5'/%3E%3Cpath d='M0 295 C220 230 460 345 700 285 S980 170 1200 275' fill='none' stroke='%23C8A97A' stroke-opacity='.07' stroke-width='1.6'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  pointer-events: none;
}
.cta-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(var(--sp-8), 9vw, var(--sp-16));
  gap: var(--sp-3);
}
.cta-inner::before {
  content: "";
  display: block;
  width: 44px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vein), transparent);
  border-radius: 2px;
  flex-shrink: 0;
}
.cta-copy { max-width: 580px; }
.cta-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.cta-copy p {
  font-size: var(--t-lead);
  line-height: 2;
  max-width: 50ch;
  margin-inline: auto;
}
.cta-actions {
  justify-content: center;
  margin-top: var(--sp-1);
}

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(158deg, #1E1711 0%, #2C2419 48%, #241D15 100%);
  border-top: 2px solid var(--vein);
}
.footer-grid {
  grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr;
  gap: clamp(var(--sp-3), 3.2vw, var(--sp-5));
  padding-block: clamp(var(--sp-5), 5.5vw, var(--sp-10));
  align-items: start;
}
.footer-brand .brand-logo { height: 54px; max-width: 240px; }
.footer-brand .brand-mark {
  width: 50px; height: 50px;
  font-size: 1.35rem;
  border: 1.5px solid rgba(184,136,46,.5);
}
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-intro {
  line-height: 2;
  font-size: var(--t-small);
  color: rgba(200,169,122,.82);
  max-width: 36ch;
  margin-block: var(--sp-2) var(--sp-3);
}
.footer-social { gap: 10px; margin-top: var(--sp-1); }
.footer-social a {
  border-color: rgba(184,136,46,.28);
  color: rgba(200,169,122,.75);
  transition: color .22s ease, border-color .22s ease,
              background .22s ease, transform .22s ease;
}
.footer-social a:hover {
  border-color: var(--vein);
  color: var(--vein);
  background: rgba(184,136,46,.1);
  transform: translateY(-2px);
}
/* column headings with gold accent underline */
.footer-title {
  font-size: .95rem;
  letter-spacing: .01em;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-1);
  position: relative;
  display: inline-block;
  line-height: 1.4;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vein));
  border-radius: 2px;
}
/* quick-links: compact with separator + gold slide on hover */
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links li { margin-bottom: 0; }
.footer-links a {
  display: flex; align-items: center; gap: 0;
  color: rgba(200,169,122,.82);
  font-size: var(--t-small); font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid rgba(58,49,39,.45);
  transition: color .22s ease, padding-inline-end .22s ease;
}
.footer-links li:last-child a { border-bottom: none; }
.footer-links a::before {
  content: "";
  flex: none;
  width: 0; height: 1.5px;
  background: var(--vein); border-radius: 2px;
  margin-inline-end: 0;
  align-self: center;
  transition: width .22s ease, margin-inline-end .22s ease;
}
.footer-links a:hover { color: var(--vein); padding-inline-end: 4px; }
.footer-links a:hover::before { width: 10px; margin-inline-end: 7px; }
/* contact: li provides spacing+border; inner a resets its own padding */
.footer-contact { display: flex; flex-direction: column; gap: 0; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(200,169,122,.82);
  font-size: var(--t-small);
  padding: 7px 0;
  border-bottom: 1px solid rgba(58,49,39,.45);
  line-height: 1.65;
  margin-bottom: 0;
}
.footer-contact li:last-child { border-bottom: none; }
.footer-contact a {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(200,169,122,.82);
  font-size: var(--t-small);
  padding: 0;
  border-bottom: none;
  line-height: 1.65;
  flex: 1;
}
.footer-contact a:hover { color: var(--vein); }
/* ---- product variant selector ---- */
.pd-variants { margin: 14px 0 10px; display: flex; flex-direction: column; gap: 10px; }
.pd-vtype-row { display: flex; flex-direction: column; gap: 6px; }
.pd-vtype-label { font-size: .82rem; font-weight: 600; color: var(--muted, #6B6256); }
.pd-vtype-btns { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-vopt-btn {
  padding: 6px 13px; border: 1.5px solid var(--gold, #C9A84C); border-radius: 7px;
  background: #fff; color: var(--quarry, #1E1711); font-size: .86rem; font-family: inherit;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  line-height: 1.5;
}
.pd-vopt-btn:hover { background: rgba(201,168,76,.10); }
.pd-vopt-btn.is-selected { background: var(--gold, #C9A84C); color: #fff; border-color: var(--gold, #C9A84C); }
.pd-vopt-btn.is-unavailable { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.pd-vsel-price {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--cream, #F2EAD8); border-radius: 10px; border: 1.5px solid var(--line, #E2DACB);
  margin-top: 4px;
}
.pd-vsel-price-ic { color: var(--gold, #C9A84C); flex: none; }
.pd-vsel-price-val { font-weight: 700; font-size: 1.05rem; color: var(--quarry, #1E1711); direction: ltr; }
.pd-vsel-stock { font-size: .82rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.pd-vsel-stock--on { background: #d4f5e2; color: #1a6e3a; }
.pd-vsel-stock--off { background: #fde8e4; color: #b03a2e; }
.footer-contact svg { color: var(--vein); flex: none; width: 16px; height: 16px; margin-top: 3px; }
.footer-contact .ci { display: inline-flex; flex: none; margin-top: 3px; }
.footer-contact .ci svg { width: 16px; height: 16px; }
/* advantages */
.footer-badges { display: flex; flex-direction: column; gap: 0; }
.footer-badges li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(200,169,122,.82);
  font-size: var(--t-small);
  padding: 7px 0;
  border-bottom: 1px solid rgba(58,49,39,.45);
  line-height: 1.65;
  margin-bottom: 0;
}
.footer-badges li:last-child { border-bottom: none; }
.footer-badges svg { color: var(--vein); flex: none; width: 16px; height: 16px; margin-top: 3px; }
/* footer bottom row */
.footer-bottom {
  padding-block: 14px 18px;
  border-top: 1px solid rgba(184,136,46,.18);
  font-size: .8rem;
  color: rgba(107,98,86,.85);
}
.footer-bottom > span:first-child { color: rgba(200,169,122,.55); }
.footer-mini { color: rgba(107,98,86,.7); font-size: .78rem; }
/* floating action buttons */
.floating-actions { bottom: 20px; }
.fab { box-shadow: 0 6px 20px rgba(30,23,17,.35), 0 2px 0 rgba(0,0,0,.2); }
/* ── responsive ── */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4) clamp(var(--sp-3), 4vw, var(--sp-5));
  }
}
@media (max-width: 768px) {
  .cta-inner { padding-block: clamp(var(--sp-6), 8vw, var(--sp-10)); }
  .cta-actions .btn { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-social a,
  .footer-links a,
  .footer-links a::before { transition: none; }
}

/* ---- product availability badge (from inventory) ---- */
.pd-stock{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:6px 14px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--cream);font-size:.88rem;color:var(--muted)}
.pd-stock strong{font-weight:800;color:var(--ink)}
.pd-stock-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}
.pd-stock-qty{font-size:.84rem;color:var(--muted)}
.pd-stock--available{border-color:#bfe0cb;background:#eef6f0}
.pd-stock--available .pd-stock-dot{background:var(--ok)}
.pd-stock--available strong{color:var(--ok)}
.pd-stock--limited{border-color:#e3c98a;background:#fff8ec}
.pd-stock--limited .pd-stock-dot{background:#b3820a}
.pd-stock--limited strong{color:#8a6300}
.pd-stock--reserved{border-color:#c9c5e3;background:#f4f2fb}
.pd-stock--reserved .pd-stock-dot{background:#5b52a3}
.pd-stock--reserved strong{color:#4a4285}
.pd-stock--unavailable{border-color:#efc4ba;background:#fdf0ed}
.pd-stock--unavailable .pd-stock-dot{background:var(--danger)}
.pd-stock--unavailable strong{color:var(--danger)}
.pd-stock--orderable{border-color:#93c5fd;background:#eff6ff}
.pd-stock--orderable .pd-stock-dot{background:#1d4ed8}
.pd-stock--orderable strong{color:#1d4ed8}

/* ---- accordion chevron: hidden on desktop, shown on mobile ---- */
.footer-why-chevron { display: none; }

/* ---- product types: dimension + price table (replaces button-based variant selector) ---- */
.pd-types{margin:16px 0 10px;display:flex;flex-direction:column;gap:8px}
.pd-price-note{display:inline-flex;align-items:center;gap:8px;margin-bottom:4px;font-weight:700;color:var(--vein-deep);background:var(--cream);border:1px dashed var(--vein);padding:8px 14px;border-radius:var(--r-md);font-size:var(--t-small)}
.pd-price-note svg{color:var(--vein);flex:none}
.pd-type-group{border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:#fff}
.pd-type-group-hd{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;font-weight:700;font-size:.9rem;color:var(--ink);background:var(--cream);list-style:none;user-select:none}
.pd-type-group-hd::-webkit-details-marker,.pd-type-group-hd::marker{display:none}
.pd-type-group-hd svg:first-child{color:var(--vein);flex:none}
.pd-type-group-name{flex:1}
.pd-type-group-cnt{font-size:var(--t-label);font-weight:600;color:var(--muted);background:var(--marble);border:1px solid var(--line);padding:2px 8px;border-radius:var(--r-pill);white-space:nowrap}
.pd-type-group-arrow{color:var(--muted);flex:none;transition:transform .2s;display:inline-flex}
.pd-type-group[open] .pd-type-group-arrow{transform:rotate(180deg)}
.pd-type-tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pd-type-tbl{width:100%;border-collapse:collapse;font-size:.88rem}
.pd-type-tbl th{padding:8px 12px;text-align:start;font-size:var(--t-label);font-weight:700;color:var(--muted);background:var(--marble);border-bottom:1.5px solid var(--line)}
.pd-type-tbl td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
.pd-type-tbl tbody tr:last-child td{border-bottom:0}
.pd-type-tbl tbody tr:hover{background:rgba(184,136,46,.04)}
.pd-opt-dim{font-weight:600;color:var(--ink)}
.pd-opt-price{font-weight:800;color:var(--vein-deep)}
.pd-opt-inquire{font-weight:600;color:var(--muted);font-size:.84rem}

/* ================================================================
   MOBILE FOOTER — see the appended "FOOTER" block at the end of this
   file for the grouped accordion layout (max-width: 540px).
   ================================================================ */
.pd-opt-stat{white-space:nowrap}
.pd-opt-badge{display:inline-block;padding:2px 10px;border-radius:var(--r-pill);font-size:.78rem;font-weight:700}
.pd-opt-badge--on{background:#d4f5e2;color:#1a6e3a}
.pd-opt-badge--off{background:#fde8e4;color:#b03a2e}
.pd-opt-row--off td{opacity:.6}
.pd-opt-row--off .pd-opt-dim{text-decoration:line-through}

/* ==========================================================================
   PROJECTS — Before/After comparison slider (appended)
   --cmp = share of the width that shows the "before" image (anchored right).
   ========================================================================== */
.pv-cmp{position:absolute;inset:0;z-index:2}
.pv-cmp[hidden]{display:none}
.pv-counter:empty{display:none}
.pv-cmp-stage{
  --cmp:50%;
  position:absolute;inset:0;overflow:hidden;
  background:var(--cream);
  touch-action:pan-y;cursor:ew-resize;
  user-select:none;-webkit-user-select:none;
}
.pv-cmp-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;display:block;pointer-events:none;
  user-select:none;-webkit-user-drag:none;
}
.pv-cmp-before{position:absolute;inset:0;clip-path:inset(0 0 0 calc(100% - var(--cmp)))}
.pv-cmp-tag{
  position:absolute;top:12px;z-index:3;
  padding:5px 13px;border-radius:var(--r-pill);
  background:rgba(30,23,17,.66);border:1px solid rgba(242,234,216,.30);
  color:var(--cream);font-size:.72rem;font-weight:700;line-height:1.7;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  white-space:nowrap;pointer-events:none;
}
.pv-cmp-tag-after{left:12px}
.pv-cmp-tag-before{right:12px}
.pv-cmp-divider{
  position:absolute;top:0;bottom:0;left:calc(100% - var(--cmp));width:2px;z-index:3;
  transform:translateX(-50%);background:rgba(242,234,216,.92);
  box-shadow:0 0 0 1px rgba(30,23,17,.22);pointer-events:none;
}
.pv-cmp-handle{
  position:absolute;top:50%;left:calc(100% - var(--cmp));z-index:4;
  display:flex;align-items:center;justify-content:center;
  width:46px;height:46px;padding:0;border-radius:50%;
  transform:translate(-50%,-50%);
  background:var(--cream);border:2px solid var(--vein);color:var(--vein-deep);
  box-shadow:0 6px 18px rgba(30,23,17,.30),inset 0 0 0 1px rgba(255,255,255,.55);
  cursor:ew-resize;touch-action:none;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.pv-cmp-handle:hover,.pv-cmp-handle:focus-visible{background:var(--vein);border-color:var(--cream);color:#241a06}
.pv-cmp-stage.is-dragging .pv-cmp-handle{background:var(--vein);border-color:var(--cream);color:#241a06}
.pv-cmp-handle svg{pointer-events:none}

.pv-cmp-bar{
  position:absolute;z-index:5;left:50%;bottom:12px;transform:translateX(-50%);
  display:flex;align-items:center;gap:6px;padding:4px 6px;
  border-radius:var(--r-pill);
  background:rgba(30,23,17,.68);border:1px solid rgba(242,234,216,.24);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.pv-cmp-bar[hidden]{display:none}
.pv-cmp-nav{
  display:flex;align-items:center;justify-content:center;
  width:26px;height:26px;padding:0;border-radius:50%;
  background:transparent;border:1px solid rgba(242,234,216,.30);color:var(--cream);
  transition:background .2s ease,border-color .2s ease;
}
.pv-cmp-nav:hover,.pv-cmp-nav:focus-visible{background:var(--vein-deep);border-color:rgba(242,234,216,.55)}
.pv-cmp-pos{
  min-width:76px;text-align:center;
  color:var(--cream);font-size:.7rem;font-weight:700;line-height:1.6;letter-spacing:.01em;
}

@media(max-width:600px){
  .pv-cmp-tag{top:8px;font-size:.66rem;padding:4px 10px}
  .pv-cmp-tag-after{left:8px}
  .pv-cmp-tag-before{right:8px}
  .pv-cmp-handle{width:40px;height:40px}
  .pv-cmp-handle svg{width:18px;height:18px}
  .pv-cmp-bar{bottom:8px;padding:3px 4px;gap:4px}
  .pv-cmp-nav{width:24px;height:24px}
  .pv-cmp-pos{min-width:66px;font-size:.66rem}
}

@media(max-width:600px){.pd-type-tbl th,.pd-type-tbl td{padding:7px 8px}.pd-type-tbl{font-size:.82rem}.pd-type-group-hd{padding:9px 10px}}

/* ==========================================================================
   PROJECTS — showcase redesign (appended overrides)
   Image-first viewer: warm cream stage, gold-vein frame, animated swaps.
   ========================================================================== */
.pv-section{
  --pv-panel:#FDFBF5;
  --pv-panel-2:#FFFDF8;
  --pv-line:rgba(184,136,46,.22);
  background:
    radial-gradient(900px 420px at 10% 0%,rgba(184,136,46,.13),transparent 60%),
    radial-gradient(760px 420px at 94% 88%,rgba(200,169,122,.16),transparent 64%),
    linear-gradient(180deg,#FAF8F4 0%,#F5EFE2 100%);
  padding-block:clamp(24px,3.4vw,52px);
}
.pv-section-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  margin-bottom:16px;padding:0 3px;
}
.pv-section-kicker{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.73rem;font-weight:800;letter-spacing:.06em;color:var(--vein-deep);
}
.pv-section-kicker::before{content:"";width:26px;height:2px;border-radius:2px;background:var(--grad-vein)}
.pv-section-note{font-size:.78rem;line-height:1.8;color:var(--muted)}

/* projects hero: layered gold arcs, echoing the stone-vein identity */
.page-hero-projects::after{
  content:"";position:absolute;z-index:0;inset-inline-end:-70px;top:-90px;
  width:330px;height:330px;border-radius:50%;pointer-events:none;
  border:1px solid rgba(184,136,46,.24);
  box-shadow:0 0 0 40px rgba(184,136,46,.045),0 0 0 84px rgba(184,136,46,.028);
}
.page-hero-projects .page-title{position:relative;z-index:1}
.page-hero-projects .page-lead{position:relative;z-index:1;max-width:58ch}

/* ---------- sidebar: curated project archive ---------- */
.pv-side-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:12px;padding:0 4px 9px;
  border-bottom:1px solid rgba(184,136,46,.30);
}
.pv-side-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.05em;color:var(--pv-accent-deep)}
.pv-side-count{
  flex:none;font-size:.66rem;font-weight:700;line-height:1.8;color:var(--vein-deep);
  background:rgba(184,136,46,.10);border:1px solid rgba(184,136,46,.24);
  padding:1px 9px;border-radius:var(--r-pill);
}
.pv-list{gap:9px;padding:2px 4px 8px 2px}
.pv-li{
  position:relative;overflow:hidden;
  padding:8px 10px 8px 8px;border-radius:14px;
  background:linear-gradient(180deg,#FFFDF8,#FBF6EA);
  box-shadow:0 1px 0 rgba(184,136,46,.10);
  transition:border-color .25s ease,background .25s ease,box-shadow .25s ease,transform .25s ease;
}
.pv-li::before{
  content:"";position:absolute;z-index:1;inset-inline-start:0;top:14px;bottom:14px;width:3px;
  border-radius:3px;background:var(--grad-vein);
  opacity:0;transform:scaleY(.35);transition:opacity .25s ease,transform .3s ease;
}
.pv-li:hover{transform:translateY(-1px);border-color:rgba(184,136,46,.55);background:#FFFDF8;box-shadow:0 3px 0 rgba(184,136,46,.14),0 8px 18px rgba(30,23,17,.07)}
.pv-li.is-active{
  border-color:rgba(184,136,46,.60);
  background:linear-gradient(135deg,rgba(184,136,46,.17),rgba(255,253,248,.96));
  box-shadow:0 3px 0 rgba(184,136,46,.30),0 12px 26px rgba(30,23,17,.10);
}
.pv-li.is-active::before{opacity:1;transform:scaleY(1)}
.pv-li-photo{
  position:relative;flex:none;width:62px;height:62px;border-radius:10px;overflow:hidden;
  background:var(--cream);box-shadow:inset 0 0 0 1px rgba(30,23,17,.08);
}
.pv-li-thumb{
  width:100%;height:100%;object-fit:cover;border:0;border-radius:0;
  transition:transform .6s cubic-bezier(.2,.7,.3,1);
}
.pv-li:hover .pv-li-thumb,.pv-li.is-active .pv-li-thumb{transform:scale(1.07)}
.pv-li-num{
  position:absolute;z-index:1;bottom:4px;inset-inline-end:4px;
  display:grid;place-items:center;min-width:19px;height:17px;padding:0 3px;
  border-radius:5px;background:rgba(30,23,17,.74);color:var(--cream);
  font-size:.56rem;font-weight:800;line-height:1;letter-spacing:.02em;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.pv-li-text{gap:2px}
.pv-li-name{font-size:.81rem;font-weight:800;line-height:1.55}
.pv-li.is-active .pv-li-name{color:var(--pv-accent-deep)}

/* ---------- main showcase card ---------- */
.pv-main-card{
  position:relative;
  grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);
  gap:clamp(18px,2.2vw,32px);
  padding:clamp(12px,1.5vw,20px);
  border-radius:22px;
  background:linear-gradient(180deg,#FFFDFA 0%,#FBF5E8 100%);
  border:1px solid rgba(184,136,46,.30);
  box-shadow:0 3px 0 rgba(184,136,46,.30),0 24px 60px rgba(30,23,17,.13);
}
.pv-main-card::before{
  content:"";position:absolute;z-index:1;top:0;inset-inline:24px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--travertine) 18%,var(--vein) 50%,var(--travertine) 82%,transparent);
  opacity:.95;pointer-events:none;
}

/* ---------- gallery: the focal point ---------- */
.pv-gal{
  min-height:clamp(390px,44vw,590px);
  border-radius:16px;
  border:1px solid rgba(30,23,17,.10);
  background:linear-gradient(135deg,#EFE6D2,#F8F2E6);
  box-shadow:inset 0 0 0 1px rgba(184,136,46,.26),0 12px 34px rgba(30,23,17,.13);
}
.pv-gal::before{
  content:"";position:absolute;inset:10px;z-index:2;border-radius:10px;
  border:1px solid rgba(242,234,216,.32);box-shadow:0 0 0 1px rgba(30,23,17,.10);
  pointer-events:none;
}
.pv-gal::after{height:132px;background:linear-gradient(0deg,rgba(30,23,17,.66) 0%,rgba(30,23,17,.28) 46%,transparent 100%)}
.pv-slide img{transition:transform 7s linear}
.pv-gal:hover .pv-slide img{transform:scale(1.035)}
.pv-nav{
  width:46px;height:46px;background:rgba(30,23,17,.54);
  border-color:rgba(200,169,122,.46);
  box-shadow:0 6px 18px rgba(30,23,17,.24);
}
.pv-nav:hover,.pv-nav:focus-visible{background:var(--vein-deep);border-color:var(--cream);color:#fff}
.pv-counter{
  background:rgba(30,23,17,.70);border:1px solid rgba(242,234,216,.26);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  font-variant-numeric:tabular-nums;
}
.pv-ind{background:rgba(242,234,216,.52)}
.pv-ind.is-active{background:var(--grad-vein);box-shadow:0 0 8px rgba(184,136,46,.6)}

/* ---------- compare / gallery switch ---------- */
.pv-viewswitch{
  position:absolute;z-index:7;top:13px;left:50%;transform:translateX(-50%);
  display:flex;gap:2px;padding:3px;border-radius:var(--r-pill);
  background:rgba(30,23,17,.64);border:1px solid rgba(242,234,216,.30);
  box-shadow:0 8px 22px rgba(30,23,17,.24);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.pv-viewswitch[hidden]{display:none}
.pv-switch-btn{
  appearance:none;border:0;background:transparent;cursor:pointer;
  padding:5px 13px;border-radius:var(--r-pill);
  color:rgba(242,234,216,.84);font-size:.71rem;font-weight:700;line-height:1.8;white-space:nowrap;
  transition:background .22s ease,color .22s ease,box-shadow .22s ease;
}
.pv-switch-btn:hover,.pv-switch-btn:focus-visible{color:#fff}
.pv-switch-btn.is-active{
  background:var(--grad-vein);color:#241a06;
  box-shadow:0 2px 0 var(--vein-deep),inset 0 0 0 1px rgba(255,255,255,.22);
}

/* ---------- info panel ---------- */
.pv-info{position:relative;padding:clamp(4px,.9vw,12px) 2px 6px}
.pv-info-idx{
  display:inline-grid;place-items:center;vertical-align:middle;
  min-width:36px;height:32px;padding:0 8px;margin:0 0 10px;
  border-radius:9px;border:1px solid rgba(184,136,46,.45);
  background:linear-gradient(180deg,rgba(184,136,46,.16),rgba(184,136,46,.05));
  color:var(--pv-accent-deep);font-size:.9rem;font-weight:900;line-height:1;letter-spacing:.04em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.pv-info-kicker{
  display:inline-block;vertical-align:middle;margin:0 8px 10px 0;
  font-size:.68rem;font-weight:800;letter-spacing:.06em;color:var(--pv-muted);
}
.pv-info-cat{margin-top:4px;margin-bottom:8px;font-size:.73rem;color:var(--pv-muted)}
.pv-cat-dash{background:var(--grad-vein)}
.pv-info-title{
  font-size:clamp(1.5rem,2.2vw,2.15rem);font-weight:900;line-height:1.38;
  letter-spacing:-.02em;color:var(--ink);
}
.pv-info-title::after{
  content:"";display:block;width:58px;height:3px;margin-top:14px;border-radius:3px;
  background:var(--grad-vein);
}
.pv-info-desc{margin-top:14px;font-size:.94rem;line-height:2.1;color:var(--slate)}
.pv-info-meta{
  gap:10px;margin-top:22px;padding:12px;
  border:1px solid rgba(184,136,46,.24);border-radius:14px;
  background:linear-gradient(180deg,rgba(242,234,216,.62),rgba(255,253,248,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.pv-meta-sep{display:none}
.pv-meta-col{gap:2px;padding-inline:3px}
.pv-meta-label{font-size:.63rem;font-weight:600;letter-spacing:.03em;color:var(--pv-muted)}
.pv-meta-val{font-size:.79rem;font-weight:800;line-height:1.7;color:var(--ink)}
.pv-similar{
  align-self:stretch;justify-content:center;width:100%;
  margin-top:22px;padding:11px 18px 10px;
  border:1px solid rgba(184,136,46,.50);border-radius:var(--r-pill);
  background:linear-gradient(180deg,rgba(184,136,46,.12),rgba(184,136,46,.03));
  color:var(--pv-accent-deep);font-size:.83rem;font-weight:800;
}
.pv-similar:hover,.pv-similar:focus-visible{
  background:var(--grad-vein);border-color:transparent;color:#241a06;
  box-shadow:0 3px 0 var(--vein-deep);
}

/* ---------- before/after chrome ---------- */
.pv-cmp-tag{
  background:rgba(30,23,17,.70);border-color:rgba(242,234,216,.34);
  box-shadow:0 4px 14px rgba(30,23,17,.20);
}
.pv-cmp-divider{
  width:2px;background:linear-gradient(180deg,rgba(242,234,216,.65),#F2EAD8 50%,rgba(242,234,216,.65));
  box-shadow:0 0 0 1px rgba(138,100,15,.55),0 0 18px rgba(184,136,46,.45);
}
.pv-cmp-handle{
  width:50px;height:50px;
  background:linear-gradient(180deg,#FFFDF8,#F2EAD8);
  border-color:var(--vein);color:var(--vein-deep);
  box-shadow:0 8px 24px rgba(30,23,17,.34),0 0 0 4px rgba(242,234,216,.16),inset 0 0 0 1px rgba(255,255,255,.8);
}
.pv-cmp-bar{background:rgba(30,23,17,.72);border-color:rgba(242,234,216,.28)}
.pv-cmp-pos{font-variant-numeric:tabular-nums}

/* ---------- mobile strip ---------- */
.pv-mobile-strip{gap:12px;padding:2px 2px 12px}
.pv-mob-btn{
  flex:0 0 130px;padding:7px;border-radius:14px;
  background:linear-gradient(180deg,#FFFDF8,#FBF6EA);
  box-shadow:0 1px 0 rgba(184,136,46,.10);
}
.pv-mob-btn img{height:86px;border-radius:10px;object-fit:cover}
.pv-mob-btn.is-active{
  border-color:rgba(184,136,46,.65);
  background:linear-gradient(135deg,rgba(184,136,46,.17),rgba(255,253,248,.94));
  box-shadow:0 3px 0 rgba(184,136,46,.28);
}

/* ---------- subtle swap animations ---------- */
@keyframes pvInfoIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes pvFadeIn{from{opacity:0}to{opacity:1}}
.pv-info.is-anim .pv-info-idx,
.pv-info.is-anim .pv-info-kicker,
.pv-info.is-anim .pv-info-cat,
.pv-info.is-anim .pv-info-title,
.pv-info.is-anim .pv-info-desc,
.pv-info.is-anim .pv-info-meta,
.pv-info.is-anim .pv-similar{
  animation:pvInfoIn .52s cubic-bezier(.2,.7,.3,1) both;
}
.pv-info.is-anim .pv-info-idx{animation-delay:.01s}
.pv-info.is-anim .pv-info-kicker{animation-delay:.03s}
.pv-info.is-anim .pv-info-cat{animation-delay:.05s}
.pv-info.is-anim .pv-info-title{animation-delay:.08s}
.pv-info.is-anim .pv-info-desc{animation-delay:.12s}
.pv-info.is-anim .pv-info-meta{animation-delay:.16s}
.pv-info.is-anim .pv-similar{animation-delay:.20s}
.pv-gal.is-anim .pv-slide img{animation:pvFadeIn .55s ease both}
.pv-gal.is-anim .pv-cmp-stage{animation:pvFadeIn .45s ease both}

@media(max-width:1100px){
  .pv-main-card{grid-template-columns:none;border-radius:20px}
  .pv-gal{width:100%;min-height:0;aspect-ratio:4/3;border-radius:14px}
  .pv-info{padding:4px 2px 6px}
  .pv-side-head{display:none}
}
@media(max-width:600px){
  .pv-viewswitch{top:9px;padding:2px}
  .pv-switch-btn{padding:4px 10px;font-size:.66rem}
  .pv-cmp-tag{top:50px}
  .pv-section-head{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px}
  .pv-main-card{padding:11px;gap:14px}
  .pv-gal{aspect-ratio:1/1}
  .pv-nav{width:40px;height:40px}
  .pv-nav-prev{inset-inline-start:8px}
  .pv-nav-next{inset-inline-end:8px}
  .pv-cmp-handle{width:42px;height:42px}
  .pv-info-meta{gap:7px;padding:10px}
  .pv-meta-val{font-size:.73rem}
  .pv-info-title::after{margin-top:11px}
  .pv-mob-btn{flex-basis:116px}
  .pv-mob-btn img{height:76px}
}
@media(prefers-reduced-motion:reduce){
  .pv-info.is-anim .pv-info-idx,
  .pv-info.is-anim .pv-info-kicker,
  .pv-info.is-anim .pv-info-cat,
  .pv-info.is-anim .pv-info-title,
  .pv-info.is-anim .pv-info-desc,
  .pv-info.is-anim .pv-info-meta,
  .pv-info.is-anim .pv-similar,
  .pv-gal.is-anim .pv-slide img,
  .pv-gal.is-anim .pv-cmp-stage{animation:none!important}
  .pv-slide img,.pv-li-thumb,.pv-li{transition:none!important}
}

/* ==========================================================================
   PROJECTS — thumbnail gallery under the main image (appended)
   Big stage on top, scrollable thumbnail rail below; "before" photos carry
   a dashed gold frame + light badge, "after" photos a dark badge, so the two
   stages stay visibly separated. In compare mode the rail shows split
   before/after pair thumbs instead.
   ========================================================================== */
.pv-gallery{grid-area:gallery;display:flex;flex-direction:column;gap:12px;min-width:0}
.pv-gallery .pv-gal{grid-area:auto;flex:1 1 auto;min-height:clamp(220px,28vw,420px)}

.pv-thumbs-wrap{min-width:0}
.pv-thumbs-wrap[hidden]{display:none}
.pv-thumbs-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:8px;min-height:18px;
}
.pv-thumbs-title{font-size:.7rem;font-weight:800;letter-spacing:.02em;color:var(--pv-muted)}
.pv-thumbs-legend{display:flex;align-items:center;gap:12px}
.pv-thumbs-legend[hidden]{display:none}
.pv-legend-chip{display:inline-flex;align-items:center;gap:5px;font-size:.63rem;font-weight:700;color:var(--pv-muted)}
.pv-legend-chip[hidden]{display:none}
.pv-legend-dot{width:7px;height:7px;flex:none;border-radius:50%}
.pv-legend-dot.is-after{background:var(--vein)}
.pv-legend-dot.is-before{background:transparent;border:1.5px dashed var(--vein)}

.pv-thumbs{
  display:flex;gap:8px;padding:2px 2px 8px;overflow-x:auto;
  overscroll-behavior-x:contain;scroll-snap-type:x proximity;
  scrollbar-width:thin;scrollbar-color:#D9CDB5 transparent;
}
.pv-thumbs::-webkit-scrollbar{height:5px}
.pv-thumbs::-webkit-scrollbar-thumb{background:#D9CDB5;border-radius:5px}
.pv-thumbs::-webkit-scrollbar-track{background:transparent}

.pv-thumb{
  position:relative;flex:0 0 92px;aspect-ratio:4/3;padding:0;
  appearance:none;cursor:pointer;
  scroll-snap-align:start;overflow:hidden;
  background:var(--cream);border:2px solid transparent;border-radius:10px;
  box-shadow:0 1px 0 rgba(30,23,17,.08);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.pv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pv-thumb:hover{border-color:rgba(184,136,46,.55);transform:translateY(-1px)}
.pv-thumb:focus-visible{outline:2px solid var(--pv-accent);outline-offset:2px}
.pv-thumb.is-active{
  border-color:var(--vein);
  box-shadow:0 0 0 2px rgba(184,136,46,.22),0 4px 12px rgba(30,23,17,.14);
}
.pv-thumb.is-before{border-style:dashed;border-color:rgba(184,136,46,.55)}
.pv-thumb.is-before.is-active{border-style:solid;border-color:var(--vein)}

.pv-thumb-badge{
  position:absolute;z-index:2;top:5px;inset-inline-start:5px;
  padding:1px 7px 2px;border-radius:var(--r-pill);
  font-size:.58rem;font-weight:800;line-height:1.7;
  background:rgba(30,23,17,.72);color:#FFFDF8;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.pv-thumb.is-before .pv-thumb-badge{
  background:rgba(255,253,248,.94);color:var(--vein-deep);
  border:1px solid rgba(184,136,46,.55);box-shadow:0 1px 4px rgba(30,23,17,.14);
}

.pv-thumbs-sep{
  align-self:stretch;flex:0 0 1px;margin:4px 2px;
  background:linear-gradient(180deg,transparent,rgba(184,136,46,.55),transparent);
}

/* compare mode: one split before/after thumbnail per pair */
.pv-thumb-pair .pv-half-after,
.pv-thumb-pair .pv-half-before{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pv-thumb-pair .pv-half-before{clip-path:inset(0 0 0 50%)}
.pv-thumb-pair .pv-thumb-split{
  position:absolute;z-index:2;top:0;bottom:0;left:50%;width:1.5px;
  transform:translateX(-50%);background:rgba(255,253,248,.92);
  box-shadow:0 0 0 1px rgba(30,23,17,.18);
}
.pv-thumb-tag{
  position:absolute;z-index:3;bottom:4px;padding:0 5px;border-radius:4px;
  font-size:.55rem;font-weight:800;line-height:1.7;color:#FFFDF8;
  background:rgba(30,23,17,.72);
}
.pv-thumb-tag.is-after{left:4px}
.pv-thumb-tag.is-before{right:4px;background:rgba(255,253,248,.94);color:var(--vein-deep)}

@media(max-width:1100px){
  .pv-gallery{order:-1;flex:none;width:100%}
  .pv-gallery .pv-gal{flex:0 0 auto;min-height:0;aspect-ratio:4/3}
}
@media(max-width:600px){
  .pv-thumbs{gap:7px}
  .pv-thumb{flex-basis:78px}
  .pv-thumbs-legend{gap:8px}
  .pv-thumbs-head{margin-bottom:7px}
}

/* ==========================================================================
   PROJECTS (/projects) — mobile & tablet refinement (appended)
   Desktop (>1100px) keeps its two-column layout untouched. Below that the
   project list is a horizontal thumbnail rail and the gallery, thumbnail rail
   and before/after slider are sized for fingers. Images keep their aspect
   ratio via object-fit, so nothing is stretched.
   ========================================================================== */

/* ---- project rail: smooth native scrolling, crisp thumbnails ---- */
.pv-mobile-strip{scroll-padding-inline:2px}
.pv-mob-btn{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.pv-mob-btn img{object-fit:cover;object-position:center}
.pv-nav,.pv-thumb,.pv-switch-btn,.pv-cmp-nav{
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}

/* ---- touch devices: no sticky hover states, finger-sized arrows ---- */
@media (hover:none){
  .pv-nav{width:44px;height:44px}
  .pv-thumb:hover{transform:none}
  .pv-thumb:hover:not(.is-before):not(.is-active){border-color:transparent}
}

/* ---- tablet: keep the big stage inside the viewport ---- */
@media (max-width:1100px){
  .pv-gallery .pv-gal{aspect-ratio:4/3;max-height:min(62vh,520px)}
  .pv-thumbs{gap:9px}
  .pv-thumb{flex-basis:94px}
}
@media (max-width:760px){
  .pv-gallery .pv-gal{max-height:none}
  .pv-cmp-handle{width:52px;height:52px}
  .pv-cmp-handle svg{width:20px;height:20px}
  .pv-cmp-bar{gap:8px;padding:4px 8px}
  .pv-cmp-nav{width:36px;height:36px}
  .pv-cmp-pos{min-width:72px;font-size:.68rem}
  .pv-info-title{overflow-wrap:break-word}
  .pv-thumb{flex-basis:84px}
}
@media (max-width:420px){
  .pv-mobile-strip{gap:8px}
  .pv-mob-btn{flex-basis:102px;padding:5px;border-radius:12px}
  .pv-mob-btn img{height:62px;border-radius:8px}
  .pv-mob-btn span{font-size:.67rem;line-height:1.45}
  .pv-thumbs{gap:6px}
  .pv-thumb{flex-basis:76px}
  .pv-info-meta{gap:6px;padding:9px}
  .pv-meta-label{font-size:.6rem}
  .pv-meta-val{font-size:.72rem}
  .pv-cmp-handle{width:48px;height:48px}
  .pv-cmp-nav{width:34px;height:34px}
  .pv-cmp-pos{min-width:0;font-size:.64rem}
  .pv-switch-btn{padding:4px 9px;font-size:.65rem}
}

/* ==========================================================================
   HOME — MOBILE: STATS THREE-COLUMN + ADVANTAGES 2×2 GRID
   All changes scoped to max-width: 768px; desktop/tablet layout unchanged.
   ========================================================================== */

@media (max-width: 768px) {

  /* ── Stats: three equal columns with large, prominent numbers ── */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 0;
    border-top: none;
    margin-top: var(--sp-5);
    border: 1px solid rgba(184,136,46,.28);
    border-radius: var(--r-md);
    overflow: hidden;
    background: rgba(255,255,255,.04);
  }
  .hero-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }
  .hero-stats > div + div {
    border-inline-start: 1px solid rgba(184,136,46,.2);
  }
  .hero-stats dt {
    font-size: 2.6rem;
    line-height: 1;
  }
  .hero-stats dd {
    margin-top: 6px;
    font-size: .78rem;
    line-height: 1.4;
  }

  /* ── Advantages: 2×2 clean grid, simplified icons ── */
  .strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
    padding: var(--sp-3);
  }
  .strip-item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
    padding: 20px 12px;
    font-size: .9rem;
  }
  /* Strip medallion icon → simple gold icon */
  .strip-item svg {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--vein);
    border-radius: 0;
    transform: none;
  }
  .strip-item:hover svg {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    color: #F6DFAC;
  }
  /* Remove all inter-item vertical dividers */
  .strip-item + .strip-item::before {
    display: none;
  }
  /* Remove span underline hover animation */
  .strip-item span::after {
    display: none;
  }
}

/* Keep stats numbers large at 540px — base CSS resets to 1.35rem at this breakpoint */
@media (max-width: 540px) {
  .hero-stats {
    gap: 0;
  }
  .hero-stats dt {
    font-size: 2.2rem;
  }
}

/* Keep advantages 2-column at the narrowest sizes — base CSS resets to 1-col at 480px */
@media (max-width: 480px) {
  .strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-2);
  }
  .strip-item + .strip-item {
    border-top: none;
  }
}

/* phones held sideways: give the page back its height */
@media (max-height:520px) and (orientation:landscape){
  .pv-gallery .pv-gal{aspect-ratio:16/9;max-height:70vh}
  .pv-mob-btn img{height:56px}
  .pv-nav{width:40px;height:40px}
}

/* ---------- home: project section mobile swipe carousel ---------- */
.project-swipe-hint,.project-swipe-dots{display:none}
@media (max-width:768px){
  .project-swipe{overflow:hidden;position:relative}
  .project-swipe .project-grid{
    display:flex;flex-wrap:nowrap;
    overflow-x:scroll;scroll-snap-type:x mandatory;
    scroll-behavior:smooth;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:var(--sp-2);padding-inline:var(--sp-2);padding-block-end:4px;
    overscroll-behavior-x:contain;align-items:stretch
  }
  .project-swipe .project-grid::-webkit-scrollbar{display:none}
  .project-swipe .project-card{flex:0 0 82%;max-width:82%;scroll-snap-align:start}
  .project-swipe-hint{
    display:flex;align-items:center;justify-content:center;
    gap:6px;margin-top:var(--sp-2);
    color:var(--muted);font-size:var(--t-small);transition:opacity .4s
  }
  .project-swipe-hint svg{color:var(--vein)}
  .project-swipe-hint.is-hidden{opacity:0;pointer-events:none}
  .project-swipe-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
  .project-swipe-dots .ps-dot{
    width:7px;height:7px;border-radius:var(--r-pill);
    background:var(--line);transition:background .2s,width .2s;display:block
  }
  .project-swipe-dots .ps-dot.is-active{background:var(--vein);width:20px}
}

/* ---------- home: category section mobile swipe carousel ---------- */
.cat-swipe-hint,.cat-swipe-dots{display:none}
@media (max-width:768px){
  .cat-swipe{overflow:hidden;position:relative}
  .cat-swipe .cat-grid{
    display:flex;flex-wrap:nowrap;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:var(--sp-2);padding-block-end:4px;
    overscroll-behavior-x:contain;align-items:stretch
  }
  .cat-swipe .cat-grid::-webkit-scrollbar{display:none}
  .cat-swipe .cat-card{flex:0 0 82%;max-width:82%;scroll-snap-align:start}
  .cat-swipe .cat-card:not(.cat-card-has-media){min-height:104px}
  .cat-swipe-hint{
    display:flex;align-items:center;justify-content:center;
    gap:6px;margin-top:var(--sp-2);
    color:var(--muted);font-size:var(--t-small);transition:opacity .4s
  }
  .cat-swipe-hint svg{color:var(--vein)}
  .cat-swipe-hint.is-hidden{opacity:0;pointer-events:none}
  .cat-swipe.is-static .cat-swipe-hint{display:none}
  .cat-swipe-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
  .cat-swipe-dots .cs-dot{
    width:7px;height:7px;border-radius:var(--r-pill);
    background:var(--line);transition:background .2s,width .2s;display:block
  }
  .cat-swipe-dots .cs-dot.is-active{background:var(--vein);width:20px}
}

/* ==========================================================================
   HOME — MOBILE (≤768px) "PREMIUM MINIMAL" REFINEMENT
   Scoped to body.page-home, so no other template is touched.
   One gutter, one vertical rhythm, one radius/shadow and one type scale for
   every home section; gold, gradients, shadows and veins are turned down.
   ========================================================================== */
@media (max-width:768px){
  .page-home{
    --m-gutter:clamp(16px,5vw,22px);
    --m-section-y:clamp(40px,8.4vw,56px);
    --m-gap:clamp(16px,4.4vw,22px);
    --m-r:12px;
    --m-r-btn:10px;
    --m-shadow:0 1px 2px rgba(30,23,17,.05),0 12px 28px -20px rgba(30,23,17,.28);
    --m-shadow-hover:0 2px 4px rgba(30,23,17,.06),0 18px 34px -20px rgba(30,23,17,.32);
  }

  /* ---- shared rhythm ---- */
  .page-home .container{padding-inline:var(--m-gutter)}
  .page-home h1,.page-home h2,.page-home h3,.page-home h4{letter-spacing:0}
  .page-home .section,
  .page-home .band{padding-block:var(--m-section-y)}
  .page-home .section-head{margin-bottom:var(--m-gap);max-width:100%}
  .page-home .section-head-row{gap:14px;align-items:flex-start}
  .page-home .eyebrow{margin-bottom:10px;font-size:.7rem;font-weight:700;letter-spacing:.02em;line-height:1.6}
  .page-home .eyebrow-dot{width:6px;height:6px}
  .page-home .section .eyebrow{color:var(--vein-deep)}
  .page-home .section-title{font-size:clamp(1.35rem,5.4vw,1.6rem);line-height:1.55;font-weight:800;text-wrap:balance}
  .page-home .section-intro{margin-top:10px;font-size:.92rem;line-height:2;color:var(--slate)}

  /* ---- buttons: one radius, one height, one weight ---- */
  .page-home .btn{
    border-width:1px;border-radius:var(--m-r-btn);gap:8px;
    padding:13px 20px;min-height:46px;font-size:.92rem;font-weight:700;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .btn-lg{padding:14px 22px;min-height:50px;font-size:.95rem}
  .page-home .btn-sm{padding:9px 16px;min-height:40px;font-size:.82rem}
  .page-home .btn-primary{box-shadow:0 1px 0 var(--vein-deep),0 8px 18px -12px rgba(138,100,15,.6)}
  .page-home .btn-primary:hover,
  .page-home .btn-ghost:hover,
  .page-home .btn-dark:hover{transform:none}
  .page-home .section-head-row > .btn{padding:9px 16px;min-height:40px;font-size:.82rem;align-self:flex-start}

  /* ---- hero ---- */
  .page-home .hero::before{background:radial-gradient(ellipse at 82% 6%,rgba(184,136,46,.12),transparent 58%)}
  .page-home .hero-grid{gap:clamp(20px,5.4vw,26px);padding-block:clamp(20px,5vw,28px) var(--m-section-y)}
  .page-home .hero-copy .eyebrow{margin-bottom:12px;color:var(--travertine);letter-spacing:.03em}
  .page-home .hero-title{font-size:clamp(1.7rem,7vw,2rem);font-weight:800;line-height:1.42;letter-spacing:0;text-wrap:balance}
  .page-home .hero-lead{margin-top:12px;max-width:100%;font-size:.95rem;line-height:1.95;color:#DCC7A4}
  .page-home .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
  .page-home .hero-actions .btn{width:100%}
  .page-home .hero-actions .btn-ghost{border-color:rgba(200,169,122,.45);color:#E9DAC2}
  .page-home .hero-figure{border-radius:var(--m-r);border-color:rgba(184,136,46,.28);box-shadow:0 2px 24px rgba(0,0,0,.35)}
  .page-home .hero-figure>img{aspect-ratio:16/10}
  .page-home .hero-badge{inset-inline:10px;bottom:10px;padding:9px 12px;gap:8px;border-radius:9px;border-color:rgba(184,136,46,.5);font-size:.78rem;line-height:1.55}
  .page-home .hero-badge svg{width:18px;height:18px}
  .page-home .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px;padding-top:18px;border-top-color:rgba(184,136,46,.3)}
  .page-home .hero-stats dt{font-size:1.15rem;line-height:1.35;color:#D2A24A}
  .page-home .hero-stats dd{margin-top:2px;font-size:.72rem;line-height:1.55;color:var(--travertine)}

  /* ---- trust strip: two tidy columns, no drift/sheen ---- */
  .page-home .strip-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding-block:18px}
  .page-home .strip::after{display:none}
  .page-home .strip::before{animation:none;opacity:.55}
  .page-home .strip-inner::before{animation:none;opacity:.6}
  .page-home .strip-item{justify-content:flex-start;gap:9px;padding:2px 0;font-size:.82rem;line-height:1.55;text-shadow:none}
  .page-home .strip-item svg{width:30px;height:30px;padding:6px}
  .page-home .strip-item + .strip-item{border-top:0}
  .page-home .strip-item + .strip-item::before,
  .page-home .strip-item:nth-child(3)::before{display:none}

  /* ---- category cards / swipe ---- */
  .page-home .cat-swipe .cat-grid{gap:12px;scroll-padding-inline:0}
  .page-home .cat-swipe .cat-card{flex:0 0 84%;max-width:84%}
  .page-home .cat-card{gap:12px;padding:14px;border-radius:var(--m-r);box-shadow:var(--m-shadow);-webkit-tap-highlight-color:transparent}
  .page-home .cat-card:hover{transform:none;border-color:rgba(184,136,46,.55);box-shadow:var(--m-shadow-hover)}
  .page-home .cat-icon{width:44px;height:44px;border-radius:10px}
  .page-home .cat-icon svg{width:22px;height:22px}
  .page-home .cat-title{font-size:1rem;line-height:1.5}
  .page-home .cat-tagline{font-size:.8rem;line-height:1.65;color:#5E564A}
  .page-home .cat-card-has-media .cat-media{aspect-ratio:16/9}
  .page-home .cat-card-has-media .cat-body{padding:14px;padding-inline-end:46px}
  .page-home .cat-card-has-media .cat-arrow{bottom:14px;left:14px}
  .page-home .cat-swipe .cat-card:not(.cat-card-has-media){min-height:0}
  .page-home .cat-swipe-hint,
  .page-home .project-swipe-hint{margin-top:8px;font-size:.78rem}
  .page-home .cat-swipe-dots,
  .page-home .project-swipe-dots{margin-top:6px}

  /* ---- feature bands ---- */
  .page-home .band-grid{gap:18px}
  .page-home .band-media img{aspect-ratio:16/10;border-radius:var(--m-r);box-shadow:var(--m-shadow)}
  .page-home .band-title{font-size:clamp(1.25rem,5vw,1.45rem);line-height:1.55;font-weight:800;margin-bottom:8px}
  .page-home .band-copy>p{font-size:.9rem;line-height:1.95}
  .page-home .band-points{gap:8px;margin:16px 0 20px}
  .page-home .band-points li{font-size:.85rem;line-height:1.7;gap:8px}
  .page-home .band-points svg{width:16px;height:16px;margin-top:2px}
  .page-home .band .btn{min-height:44px}

  /* ---- catalog carousel ---- */
  .page-home .product-carousel{margin-inline:0;padding-inline:0}
  .page-home .product-track{gap:12px;scroll-padding-inline:0}
  .page-home .product-track > .product-card{flex-basis:84%}
  .page-home .product-card{border-radius:var(--m-r);box-shadow:var(--m-shadow);-webkit-tap-highlight-color:transparent}
  .page-home .product-card:hover{transform:none;box-shadow:var(--m-shadow-hover)}
  .page-home .product-body{gap:8px;padding:14px}
  .page-home .product-tag{top:10px;inset-inline-start:10px;font-size:.68rem;padding:4px 10px}
  .page-home .product-title{font-size:1rem;line-height:1.55}
  .page-home .product-summary{font-size:.8rem;line-height:1.75;color:#5E564A}
  .page-home .product-chips{gap:6px}
  .page-home .product-chips li{font-size:.7rem;padding:3px 9px}
  .page-home .product-foot{padding-top:12px;gap:10px}
  .page-home .product-price{font-size:.8rem}
  .page-home .carousel-nav{width:38px;height:38px;box-shadow:0 1px 3px rgba(30,23,17,.14)}

  /* ---- projects ---- */
  .page-home .project-swipe .project-grid{gap:12px;padding-inline:0}
  .page-home .project-swipe .project-card{flex:0 0 84%;max-width:84%}
  .page-home .project-card{border-radius:var(--m-r);box-shadow:var(--m-shadow);-webkit-tap-highlight-color:transparent}
  .page-home .project-card:hover{transform:none;box-shadow:var(--m-shadow-hover)}
  .page-home .project-body{gap:8px;padding:14px}
  .page-home .project-title{font-size:1.02rem;line-height:1.55}
  .page-home .project-meta{font-size:.78rem;gap:6px;color:#5E564A}
  .page-home .project-stone{font-size:.8rem;padding-top:10px}
  .page-home .project-year{top:10px;inset-inline-end:10px;font-size:.72rem;padding:4px 10px;border-radius:6px}

  /* ---- testimonials: quieter texture, tighter cards ---- */
  .page-home .testi-section::before{opacity:.28}
  .page-home .testi-section::after{animation:none;opacity:.32;background-position:52% 0,0 0}
  .page-home .testi-section .testi-carousel{margin-inline:0;padding-inline:0}
  .page-home .testi-section .testi-track{gap:12px;padding-inline:0;scroll-padding-inline:0}
  .page-home .testi-section .testi-track > .testi-card{flex-basis:84%}
  .page-home .testi-section .testi-card{padding:18px 16px;gap:10px;border-radius:var(--m-r);box-shadow:var(--m-shadow)}
  .page-home .testi-section .testi-card:hover{transform:none;box-shadow:var(--m-shadow-hover)}
  .page-home .testi-quote svg{width:24px;height:24px}
  .page-home .testi-card blockquote{font-size:.88rem;line-height:1.95;color:#3A3227}
  .page-home .testi-card figcaption{padding-top:10px}
  .page-home .testi-name{font-size:.92rem}
  .page-home .testi-role{font-size:.76rem}

  /* ---- closing CTA ---- */
  .page-home .cta-inner{padding-block:clamp(38px,8vw,52px);gap:18px}
  .page-home .cta-inner::before{width:36px;height:1.5px;opacity:.85}
  .page-home .cta-copy h2{font-size:clamp(1.4rem,5.8vw,1.65rem);line-height:1.5;margin-bottom:8px}
  .page-home .cta-copy p{font-size:.9rem;line-height:1.95}
  .page-home .cta-actions{width:100%;gap:10px;margin-top:0}
  .page-home .cta-actions .btn{width:100%;flex:none}
  .page-home .cta-actions .btn-ghost{border-color:rgba(200,169,122,.45);color:#E9DAC2}
}

@media (hover:none) and (max-width:768px){
  .page-home .strip-item span::after{display:none}
}
@media (max-width:420px){
  .page-home .strip-inner{grid-template-columns:1fr;gap:0;padding-block:14px}
  .page-home .strip-item{padding:7px 0}
  .page-home .strip-item + .strip-item{border-top:1px solid rgba(184,136,46,.16)}
  .page-home .hero-stats dt{font-size:1.02rem}
  .page-home .hero-stats dd{font-size:.68rem}
}
@media (max-width:360px){
  .page-home .hero-title{font-size:1.55rem}
  .page-home .hero-actions{gap:8px}
}

/* ==========================================================================
   MOBILE HEADER + DRAWER — compact brand-led header
   ========================================================================== */
@media (max-width:768px){
  :root{--header-h:64px}

  .site-header{
    border-bottom:1px solid rgba(184,136,46,.24);
    box-shadow:0 1px 0 rgba(184,136,46,.1),0 6px 18px rgba(30,23,17,.05);
  }
  .site-header::after{
    content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:1.5px;
    background:linear-gradient(90deg,transparent,rgba(184,136,46,.55) 22%,rgba(184,136,46,.55) 78%,transparent);
    pointer-events:none;
  }
  .header-inner{
    min-height:var(--header-h);
    padding-inline:clamp(14px,4.4vw,20px);
    gap:12px;
  }

  .header-inner .brand{gap:10px;min-width:0;align-items:center}
  .header-inner .brand-mark{
    width:40px;height:40px;font-size:1.16rem;border-radius:10px;
    border-width:1.5px;
    box-shadow:inset 0 0 0 1px rgba(184,136,46,.3),0 3px 10px rgba(30,23,17,.18);
  }
  .header-inner .brand-logo{height:36px;max-width:124px}
  .header-inner .brand-text{line-height:1.25;gap:1px;min-width:0}
  .header-inner .brand-name{
    font-size:1.05rem;font-weight:800;letter-spacing:-.01em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .header-inner .brand-sub{
    font-size:.64rem;font-weight:600;letter-spacing:.02em;
    color:var(--vein-deep);white-space:nowrap;
  }

  .header-cta{gap:0}
  .header-cta .nav-toggle{
    width:44px;height:44px;min-width:44px;border-radius:12px;
    display:inline-flex;align-items:center;justify-content:center;
    color:var(--vein-deep);
    background:linear-gradient(160deg,rgba(184,136,46,.13),rgba(184,136,46,.04));
    border:1px solid rgba(184,136,46,.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 2px 0 rgba(138,100,15,.12);
    transition:transform .15s ease,background .2s ease,border-color .2s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .header-cta .nav-toggle svg{width:22px;height:22px}
  .header-cta .nav-toggle:active{transform:scale(.95);background:rgba(184,136,46,.16)}
}

@media (max-width:390px){
  :root{--header-h:60px}
  .header-inner .brand-mark{width:36px;height:36px;font-size:1.05rem}
  .header-inner .brand-logo{height:30px;max-width:104px}
  .header-inner .brand-name{font-size:.96rem}
  .header-cta .nav-toggle{width:42px;height:42px;min-width:42px;border-radius:11px}
}

/* ---------- mobile drawer: structured brand panel ---------- */
.mobile-drawer{
  width:min(90vw,378px);
  padding:0;
  gap:0;
  border-inline-start:1px solid rgba(184,136,46,.28);
  box-shadow:24px 0 64px rgba(0,0,0,.45);
  background:
    radial-gradient(120% 72% at 100% 0%,rgba(184,136,46,.18),transparent 62%),
    linear-gradient(165deg,#251D14 0%,#1E1711 58%,#2A2119 100%);
}
.drawer-head{
  position:relative;flex:none;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:14px 16px calc(14px + 1px);
  border-bottom:1px solid rgba(184,136,46,.24);
  background:rgba(30,23,17,.42);
}
.drawer-head::after{
  content:"";position:absolute;left:16px;right:16px;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(184,136,46,.6),transparent);
  pointer-events:none;
}
.drawer-brand{display:flex;align-items:center;gap:10px;min-width:0}
.drawer-brand .brand-mark{
  width:38px;height:38px;font-size:1.08rem;border-radius:10px;
  box-shadow:inset 0 0 0 1px rgba(184,136,46,.3),0 3px 10px rgba(0,0,0,.22);
  flex:none;
}
.drawer-brand .drawer-logo{height:38px;max-width:130px;width:auto;flex:none}
.drawer-brand-text{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.drawer-brand-name{
  color:var(--cream);font-weight:800;font-size:1.02rem;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.drawer-brand-sub{font-size:.66rem;font-weight:600;color:var(--travertine);letter-spacing:.03em;white-space:nowrap}
.drawer-close{
  flex:none;width:40px;height:40px;min-width:40px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--cream);border:1px solid rgba(58,49,39,.95);
  background:rgba(242,234,216,.05);
  transition:background .2s ease,border-color .2s ease;
  -webkit-tap-highlight-color:transparent;
}
.drawer-close:hover{background:rgba(200,169,122,.12);border-color:rgba(184,136,46,.5)}

.drawer-body{
  flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  display:flex;flex-direction:column;gap:16px;
  padding:16px 14px calc(22px + env(safe-area-inset-bottom));
  scrollbar-width:thin;scrollbar-color:rgba(184,136,46,.35) transparent;
}
.drawer-body::-webkit-scrollbar{width:4px}
.drawer-body::-webkit-scrollbar-thumb{background:rgba(184,136,46,.35);border-radius:4px}

.drawer-nav{display:flex;flex-direction:column;gap:4px}
.drawer-nav a{
  display:flex;align-items:center;gap:10px;
  min-height:44px;padding:8px 10px;
  border-radius:10px;border:1px solid rgba(58,49,39,.7);
  background:rgba(242,234,216,.03);
  color:var(--cream);font-size:.92rem;font-weight:500;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.drawer-nav a:hover,.drawer-nav a:focus-visible{
  background:rgba(200,169,122,.1);border-color:rgba(184,136,46,.35);
}
.drawer-nav a[aria-current="page"]{
  background:rgba(184,136,46,.16);border-color:rgba(184,136,46,.45);
  color:#F6E9CF;font-weight:700;
}
.drawer-ic{
  flex:none;width:30px;height:30px;border-radius:8px;
  display:grid;place-items:center;
  background:rgba(184,136,46,.13);color:var(--travertine);
}
.drawer-nav a[aria-current="page"] .drawer-ic{background:rgba(184,136,46,.24);color:#F2E4C8}
.drawer-label{flex:1;min-width:0}
.drawer-chev{flex:none;opacity:.42;color:var(--travertine)}

.drawer-cta{
  width:100%;min-height:46px;font-size:.9rem;gap:8px;
  box-shadow:0 2px 0 var(--vein-deep);
}
.drawer-section{display:flex;flex-direction:column;gap:8px}
.drawer-title{
  display:flex;align-items:center;gap:7px;margin:0 2px;
  font-size:.68rem;font-weight:700;letter-spacing:.06em;
  color:var(--travertine);text-transform:none;
}
.drawer-title::before{
  content:"";width:5px;height:5px;border-radius:50%;
  background:var(--vein);flex:none;
}
.drawer-cats{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.drawer-cats a{
  display:flex;align-items:center;justify-content:space-between;gap:5px;
  min-height:42px;padding:8px 10px;border-radius:9px;
  border:1px solid rgba(184,136,46,.22);
  background:rgba(184,136,46,.06);
  color:#E9DAC2;font-size:.8rem;font-weight:600;line-height:1.45;
  transition:background .2s ease,border-color .2s ease;
}
.drawer-cats a svg{flex:none;opacity:.5}
.drawer-cats a:hover,.drawer-cats a:focus-visible,.drawer-cats a[aria-current]{
  background:rgba(184,136,46,.16);border-color:rgba(184,136,46,.45);color:#F6E9CF;
}
.drawer-contact{display:flex;flex-direction:column;gap:2px}
.drawer-contact > a,.drawer-hours{
  display:flex;align-items:flex-start;gap:9px;
  min-height:42px;padding:8px 9px;border-radius:9px;
  color:#DCCDB4;font-size:.82rem;line-height:1.7;
  transition:background .2s ease,color .2s ease;
}
.drawer-contact > a:hover{background:rgba(200,169,122,.09);color:#F2E4C8}
.drawer-contact svg{flex:none;color:var(--travertine);margin-top:4px}
.drawer-contact > a > span,.drawer-hours > span{min-width:0;word-break:break-word}

@media (hover:none){
  .drawer-nav a:hover,.drawer-cats a:hover,.drawer-contact > a:hover{
    background:rgba(242,234,216,.03);border-color:rgba(58,49,39,.7);
  }
  .drawer-nav a[aria-current="page"]:hover{
    background:rgba(184,136,46,.16);border-color:rgba(184,136,46,.45);
  }
  .drawer-cats a:hover{border-color:rgba(184,136,46,.22);background:rgba(184,136,46,.06)}
  .drawer-cats a[aria-current]:hover{background:rgba(184,136,46,.16);border-color:rgba(184,136,46,.45)}
  .drawer-contact > a:hover{background:transparent}
}

/* ==========================================================================
   HOME HERO — MOBILE IMAGE-FIRST REDESIGN (≤768 px)
   Full-bleed stone image flush under the header; badge moved below the image;
   title as the content focal point; no nested boxes, no heavy gradients.
   Scoped to .page-home so only the homepage hero is changed.
   ========================================================================== */
@media (max-width:768px){

  /* Clean slate: no radial glow behind the dark slab */
  .page-home .hero::before{display:none}

  /* Image goes flush to the top — remove all block padding from the grid */
  .page-home .hero-grid{
    padding-block:0;
    gap:0;
  }

  /* Full-bleed: hero-visual breaks out of container's inline gutters */
  .page-home .hero-visual{
    order:-1;
    margin-inline:calc(-1 * clamp(16px,5vw,40px));
    width:calc(100% + 2 * clamp(16px,5vw,40px));
  }

  /* Remove the decorative frame — stone texture stands on its own */
  .page-home .hero-figure{
    border-radius:0;
    border:none;
    box-shadow:none;
  }

  /* 4:3 crop: visible slab width, meaningful texture depth */
  .page-home .hero-figure>img{aspect-ratio:4/3}

  /* Badge: out of the absolute overlay — becomes a slim info strip */
  .page-home .hero-badge{
    position:static;
    border-radius:0;
    border:none;
    border-top:1px solid rgba(184,136,46,.28);
    background:rgba(30,23,17,.95);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    padding:9px clamp(16px,5vw,40px);
    font-size:.77rem;
    line-height:1.55;
    gap:9px;
    justify-content:flex-start;
  }

  /* Copy: 32 px breathing room below the info strip, section gap at bottom */
  .page-home .hero-copy{
    padding-block-start:var(--sp-4);
    padding-block-end:var(--m-section-y);
  }

  /* Title: focal point — heavier weight, tight leading, balanced line breaks */
  .page-home .hero-title{
    font-size:clamp(1.8rem,7.4vw,2.3rem);
    font-weight:900;
    line-height:1.2;
    letter-spacing:-.022em;
    text-wrap:balance;
  }

  /* Eyebrow: compact, still readable */
  .page-home .hero-copy .eyebrow{
    font-size:.68rem;
    letter-spacing:.05em;
    margin-bottom:10px;
  }

  /* Lead text: subordinate to title, good readability on dark */
  .page-home .hero-lead{
    margin-top:10px;
    font-size:.9rem;
    line-height:1.9;
    color:#C4A07A;
  }

  /* Primary CTA full-width; secondary clearly subordinate */
  .page-home .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:20px;
  }
  .page-home .hero-actions .btn{
    width:100%;
    min-height:50px;
    padding:14px 20px;
    font-size:.95rem;
    justify-content:center;
  }
  .page-home .hero-actions .btn-ghost{
    border-color:rgba(200,169,122,.35);
    color:rgba(200,169,122,.85);
  }

  /* Stats: 3-col divider grid, equal cells, no extra gap */
  .page-home .hero-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    margin-top:var(--sp-3);
    padding-top:var(--sp-3);
    border-top:1px solid rgba(184,136,46,.28);
    text-align:center;
  }
  .page-home .hero-stats>div{
    padding:10px 4px;
    border-inline-end:1px solid rgba(184,136,46,.18);
  }
  .page-home .hero-stats>div:last-child{border-inline-end:none}
  .page-home .hero-stats dt{
    font-size:1.2rem;
    line-height:1.3;
    display:block;
    color:#D2A24A;
  }
  .page-home .hero-stats dd{
    font-size:.67rem;
    line-height:1.55;
    margin-top:2px;
    display:block;
    color:var(--travertine);
  }
}

/* Very small phones: scale down the heaviest type */
@media (max-width:390px){
  .page-home .hero-title{font-size:1.65rem;line-height:1.22}
  .page-home .hero-stats dt{font-size:1.05rem}
  .page-home .hero-stats dd{font-size:.64rem}
}

/* ==========================================================================
   HOME — STATS + ADVANTAGES BAND
   Statistics as one balanced three-column row (strong numerals, readable
   captions) and the advantages as a quiet two-column grid on a single flat
   quarry surface that continues the hero instead of layering veins/sheen.
   ========================================================================== */

/* ---- statistics: three equal cells, one alignment ---- */
.page-home .hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:0;
  margin-top:clamp(20px,4vw,26px);
  padding-top:clamp(16px,3vw,20px);
  border-top:1px solid rgba(184,136,46,.30);
  text-align:center;
}
.page-home .hero-stats>div{
  min-width:0;
  padding:2px clamp(4px,1.4vw,12px);
  border-inline-end:1px solid rgba(184,136,46,.18);
}
.page-home .hero-stats>div:last-child{border-inline-end:0}
.page-home .hero-stats dt{
  display:block;
  font-size:clamp(1.5rem,4.8vw,2rem);
  font-weight:900;
  line-height:1.25;
  letter-spacing:0;
  color:#E8C179;
  text-shadow:0 1px 16px rgba(184,136,46,.28);
}
.page-home .hero-stats dd{
  display:block;
  margin-top:5px;
  font-size:clamp(.8rem,2.6vw,.875rem);
  font-weight:500;
  line-height:1.7;
  color:#D9C9AE;
}

/* ---- advantages: flat band continuing the hero ---- */
.page-home .strip{
  background:linear-gradient(180deg,#2D261C 0%,#241D15 100%);
  border-block:0;
  box-shadow:none;
  color:var(--cream);
}
.page-home .strip::before,
.page-home .strip::after,
.page-home .strip-inner::before{display:none}
.page-home .strip-inner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:clamp(10px,2.4vw,16px) clamp(16px,4vw,32px);
  padding-block:clamp(16px,3.4vw,22px);
}
.page-home .strip-item{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  min-width:0;
  padding:0;
  font-size:clamp(.86rem,2.6vw,.95rem);
  font-weight:600;
  line-height:1.7;
  color:var(--cream);
  text-shadow:none;
}
.page-home .strip-item + .strip-item{border-top:0}
.page-home .strip-item + .strip-item::before,
.page-home .strip-item:nth-child(3)::before{display:none}
.page-home .strip-item span::after{display:none}
.page-home .strip-item svg{
  flex:none;
  width:38px;
  height:38px;
  padding:8px;
  border-radius:10px;
  stroke-width:1.7;
  color:#D2A24A;
  background:rgba(184,136,46,.10);
  border:1px solid rgba(184,136,46,.32);
  box-shadow:none;
  transform:none;
  transition:color .25s ease,border-color .25s ease;
}
.page-home .strip-item:hover{color:#FFF7E8}
.page-home .strip-item:hover svg{
  color:#E8C179;
  border-color:rgba(184,136,46,.5);
  box-shadow:none;
  transform:none;
}

/* keep the band close to the hero — no dead space between them */
@media (max-width:768px){
  .page-home .hero-copy{padding-block-end:clamp(20px,4.6vw,28px)}
  .page-home .strip-inner{padding-block:16px}
}
@media (max-width:360px){
  .page-home .strip-item{gap:9px}
  .page-home .strip-item svg{width:34px;height:34px;padding:7px}
}

/* ==========================================================================
   CATEGORIES — clean stone catalog (large equal-ratio photos, minimal chrome)
   ========================================================================== */
.cat-section .cat-grid{
  grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));
  gap:clamp(14px,1.8vw,20px);
}
.cat-section .cat-card{
  display:flex;flex-direction:column;align-items:stretch;gap:0;
  height:100%;padding:0;overflow:hidden;position:relative;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:none;transition:border-color .2s ease;
}
.cat-section .cat-card:hover{transform:none;border-color:var(--vein);box-shadow:none}
.cat-section .cat-card:not(.cat-card-has-media){padding:16px;gap:12px}
.cat-section .cat-card-has-media .cat-media{aspect-ratio:4/3;background:var(--cream)}
.cat-section .cat-card-has-media .cat-media img{display:block;width:100%;height:100%;object-fit:cover}
.cat-section .cat-card-has-media:hover .cat-media img{transform:scale(1.02)}
.cat-section .cat-card-has-media .cat-body{
  display:flex;flex-direction:column;flex:1;gap:0;
  padding:16px 16px 18px;padding-inline-end:16px;
}
.cat-section .cat-title{font-size:1.12rem;font-weight:800;line-height:1.55;color:var(--ink)}
.cat-section .cat-tagline{
  margin-top:4px;min-height:3.6em;font-size:.85rem;line-height:1.8;color:var(--muted);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
.cat-section .cat-link{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:12px;font-size:.82rem;font-weight:700;color:var(--vein-deep);
}
.cat-section .cat-link svg{width:16px;height:16px;flex:none;transition:transform .2s ease}
.cat-section .cat-card:hover .cat-link svg{transform:translateX(-4px)}
.cat-section .cat-swipe-bar{display:none}

@media (max-width:768px){
  /* heading hierarchy */
  .page-home .cat-head{margin-bottom:16px;max-width:100%}
  .page-home .cat-head .eyebrow{margin-bottom:8px}
  .page-home .cat-head .section-title{
    margin:0;font-size:clamp(1.45rem,6vw,1.7rem);
    font-weight:800;line-height:1.45;color:var(--ink);text-wrap:balance;
  }
  .page-home .cat-head .section-intro{
    margin-top:10px;font-size:.92rem;line-height:1.95;color:var(--slate);
  }

  /* swipe track: last card flush, no page overflow, consistent snap */
  .cat-section .cat-swipe{position:relative;overflow:hidden;max-width:100%}
  .page-home .cat-section .cat-swipe .cat-grid{
    display:flex;flex-wrap:nowrap;align-items:stretch;
    gap:12px;margin:0;padding:0 0 2px;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;scroll-padding-inline:0;
    overscroll-behavior-x:contain;max-width:100%;
  }
  .cat-section .cat-swipe .cat-grid::-webkit-scrollbar{display:none}
  .page-home .cat-section .cat-swipe .cat-card{
    flex:0 0 86%;max-width:86%;
    scroll-snap-align:start;scroll-snap-stop:always;
    border-radius:12px;box-shadow:none;
  }
  .page-home .cat-section .cat-swipe .cat-card:hover{
    transform:none;border-color:var(--line);box-shadow:none;
  }
  .page-home .cat-section .cat-card-has-media .cat-media{aspect-ratio:4/3}
  .page-home .cat-section .cat-card-has-media .cat-body{padding:14px 14px 16px;padding-inline-end:14px}
  .page-home .cat-section .cat-title{font-size:1.05rem}
  .page-home .cat-section .cat-tagline{min-height:3.5em;font-size:.82rem;line-height:1.75;color:#5E564A}
  .page-home .cat-section .cat-link{margin-top:10px;font-size:.8rem}

  /* RTL arrows + pagination */
  .cat-section .cat-swipe-bar{
    display:flex;align-items:center;justify-content:space-between;
    gap:10px;margin-top:12px;
  }
  .cat-section .cat-nav{
    width:34px;height:34px;flex:none;padding:0;
    display:grid;place-items:center;
    background:#fff;border:1px solid var(--line);border-radius:50%;
    color:var(--vein-deep);box-shadow:none;cursor:pointer;
    transition:border-color .2s ease,color .2s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .cat-section .cat-nav:hover,
  .cat-section .cat-nav:focus-visible{border-color:var(--vein);color:var(--vein);outline:none}
  .cat-section .cat-nav svg{width:18px;height:18px}
  .cat-section .cat-swipe-dots{
    display:flex;align-items:center;justify-content:center;
    flex:1;flex-wrap:wrap;gap:2px;margin:0;
  }
  .cat-section .cat-swipe-dots .cs-dot{
    width:22px;height:22px;padding:0;border:0;background:none;
    display:grid;place-items:center;cursor:pointer;border-radius:50%;
    -webkit-tap-highlight-color:transparent;
  }
  .cat-section .cat-swipe-dots .cs-dot::before{
    content:"";width:7px;height:7px;border-radius:999px;
    background:var(--line);transition:width .2s ease,background .2s ease;
  }
  .cat-section .cat-swipe-dots .cs-dot.is-active::before{width:18px;background:var(--vein)}
}

/* ============ MOBILE: «مستقیم از معدن» band (compact redesign) ============ */
@media (max-width:768px){
  .page-home .band.band-direct{padding-block:30px 32px}
  .page-home .band-direct .band-grid{gap:16px}
  .page-home .band-direct .band-media{order:-1}
  .page-home .band-direct .band-media img{
    aspect-ratio:16/9;
    border:0;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(0,0,0,.32);
  }
  .page-home .band-direct .eyebrow{
    margin-bottom:6px;
    font-size:.7rem;
    letter-spacing:.1em;
    color:#D8B27C;
  }
  .page-home .band-direct .band-title{
    margin-bottom:10px;
    font-size:clamp(1.35rem,6vw,1.55rem);
    line-height:1.45;
    letter-spacing:-.015em;
    color:#fff;
  }
  .page-home .band-direct .band-copy>p{
    max-width:none;
    font-size:.94rem;
    line-height:1.92;
    color:#EDE4D3;
  }
  .page-home .band-direct .band-points{
    gap:0;
    margin:16px 0 0;
    border-top:1px solid rgba(200,169,122,.18);
  }
  .page-home .band-direct .band-points li{
    display:grid;
    grid-template-columns:22px 1fr;
    align-items:center;
    gap:10px;
    padding:11px 0;
    font-size:.9rem;
    line-height:1.65;
    font-weight:600;
    color:#F6EFE1;
    border-bottom:1px solid rgba(200,169,122,.14);
  }
  .page-home .band-direct .band-points li:last-child{padding-bottom:2px;border-bottom:0}
  .page-home .band-direct .band-points svg{width:18px;height:18px;margin:0;color:#D8B27C}
}

/* ============ MOBILE: «کارگاه برش و ساب» band (light industrial refinement) ============ */
@media (max-width:768px){
  .page-home .band.band-workshop{
    position:relative;
    padding-block:26px 28px;
    background:
      radial-gradient(140% 90% at 100% 0%,rgba(184,136,46,.10),transparent 55%),
      linear-gradient(180deg,#F7F1E4 0%,#EFE5D2 100%);
    border-top:1px solid rgba(184,136,46,.30);
    border-bottom:1px solid rgba(184,136,46,.20);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
  }
  .page-home .band.band-workshop::before{
    content:"";
    position:absolute;
    top:0;
    inset-inline:var(--m-gutter);
    height:2px;
    background:linear-gradient(90deg,transparent,rgba(184,136,46,.55) 22%,rgba(138,100,15,.75) 50%,rgba(184,136,46,.55) 78%,transparent);
    pointer-events:none;
  }
  .page-home .band-workshop .band-grid{gap:16px}

  /* image: 4:3 frame, cover crop (no stretch), equipment kept centred */
  .page-home .band-workshop .band-media{
    order:-1;
    padding:6px;
    background:#FDFAF3;
    border:1px solid rgba(184,136,46,.30);
    border-radius:var(--m-r);
    box-shadow:0 1px 2px rgba(30,23,17,.06),0 16px 30px -22px rgba(30,23,17,.5);
  }
  .page-home .band-workshop .band-media img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:50% 50%;
    border:0;
    border-radius:7px;
    box-shadow:none;
    background:#E4DAC5;
  }

  /* heading + copy: tighter rhythm, balanced wrapping */
  .page-home .band-workshop .eyebrow{
    margin-bottom:8px;
    font-size:.68rem;
    font-weight:700;
    letter-spacing:.06em;
    color:var(--vein-deep);
  }
  .page-home .band-workshop .band-title{
    margin:0 0 12px;
    font-size:clamp(1.28rem,5.3vw,1.46rem);
    line-height:1.55;
    font-weight:800;
    letter-spacing:-.012em;
    color:var(--ink);
  }
  .page-home .band-workshop .band-title::after{
    content:"";
    display:block;
    width:32px;
    height:2px;
    margin-top:11px;
    border-radius:2px;
    background:var(--grad-vein);
  }
  .page-home .band-workshop .band-copy>p{
    max-width:none;
    margin:0;
    font-size:.9rem;
    line-height:1.95;
    color:#4C4538;
  }

  /* services: framed, scannable rows with plain line icons */
  .page-home .band-workshop .band-points{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    margin:16px 0 18px;
    padding:2px 14px;
    background:#FCF8EF;
    border:1px solid rgba(184,136,46,.24);
    border-radius:10px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  }
  .page-home .band-workshop .band-points li{
    display:grid;
    grid-template-columns:22px 1fr;
    align-items:center;
    gap:11px;
    min-height:44px;
    padding:11px 0;
    font-size:.89rem;
    line-height:1.6;
    font-weight:600;
    color:var(--ink);
    border-bottom:1px solid rgba(184,136,46,.14);
  }
  .page-home .band-workshop .band-points li:last-child{
    padding-bottom:11px;
    border-bottom:0;
  }
  .page-home .band-workshop .band-points svg{
    width:20px;
    height:20px;
    padding:0;
    margin:0;
    color:var(--vein-deep);
    background:none;
    border:0;
    border-radius:0;
  }

  /* CTA follows the shared mobile button system */
  .page-home .band-workshop .btn{
    width:100%;
    min-height:46px;
    justify-content:center;
    gap:8px;
    padding:12px 20px;
    border-radius:var(--m-r-btn);
    background:var(--grad-vein);
    color:#241A06;
    border:1px solid rgba(138,100,15,.35);
    box-shadow:0 1px 0 var(--vein-deep),0 10px 20px -14px rgba(138,100,15,.55);
    font-size:.92rem;
    font-weight:700;
  }
  .page-home .band-workshop .btn:active{
    transform:none;
    box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .band-workshop .btn svg{width:18px;height:18px;color:#241A06}
}
@media (max-width:390px){
  .page-home .band.band-workshop{padding-block:22px 24px}
  .page-home .band-workshop .band-points li{font-size:.85rem;gap:9px;padding:10px 0}
  .page-home .band-workshop .band-title{line-height:1.55}
  .page-home .band-workshop .band-copy>p{font-size:.88rem}
}

/* ============ MOBILE: «انتخاب درست، کنار تیم ما» band (consultation sheet) ============ */
@media (max-width:768px){
  .page-home .band.band-consult{
    position:relative;
    overflow:hidden;
    padding-block:26px 30px;
    background:
      radial-gradient(120% 70% at 100% 0%,rgba(184,136,46,.18),transparent 58%),
      linear-gradient(180deg,#211A12 0%,#292117 54%,#1B140E 100%);
    border-top:1px solid rgba(184,136,46,.30);
    border-bottom:1px solid rgba(184,136,46,.20);
  }
  /* quiet arc ornament, only on this band */
  .page-home .band.band-consult::after{
    content:"";
    position:absolute;
    top:-52px;
    inset-inline-start:-52px;
    width:150px;
    height:150px;
    border:1px solid rgba(200,169,122,.18);
    border-radius:50%;
    pointer-events:none;
  }
  .page-home .band-consult .band-grid{display:block}

  /* image: framed, 5:4 crop so the scene reads larger than other bands */
  .page-home .band-consult .band-media{
    position:relative;
    z-index:1;
    padding:5px;
    background:linear-gradient(160deg,rgba(200,169,122,.20),rgba(30,23,17,.30));
    border:1px solid rgba(200,169,122,.34);
    border-radius:17px;
    box-shadow:0 18px 34px -22px rgba(0,0,0,.8);
  }
  .page-home .band-consult .band-media img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:5/4;
    object-fit:cover;
    border:0;
    border-radius:12px;
    box-shadow:none;
    background:#2B241A;
  }

  /* copy rises out of the photo as a single consultation sheet */
  .page-home .band-consult .band-copy{
    position:relative;
    z-index:2;
    margin:-22px 8px 0;
    padding:17px 14px 14px;
    background:linear-gradient(180deg,rgba(45,38,28,.98) 0%,rgba(33,27,20,.99) 100%);
    border:1px solid rgba(184,136,46,.30);
    border-radius:15px;
    box-shadow:0 22px 40px -26px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.05);
  }
  .page-home .band-consult .band-copy::before{
    content:"";
    position:absolute;
    top:-1px;
    inset-inline-start:16px;
    width:52px;
    height:2px;
    border-radius:2px;
    background:var(--grad-vein);
    pointer-events:none;
  }

  /* eyebrow as a quiet gold tag: signals «human advisor», not another paragraph */
  .page-home .band-consult .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:10px;
    padding:4px 10px 4px 9px;
    background:rgba(184,136,46,.14);
    border:1px solid rgba(200,169,122,.34);
    border-radius:999px;
    color:#E4C795;
    font-size:.66rem;
    font-weight:700;
    letter-spacing:.05em;
    line-height:1.6;
  }
  .page-home .band-consult .eyebrow-dot{width:5px;height:5px;background:#D8B27C}

  .page-home .band-consult .band-title{
    margin:0 0 9px;
    font-size:clamp(1.3rem,5.6vw,1.5rem);
    line-height:1.5;
    font-weight:800;
    letter-spacing:-.012em;
    color:#fff;
    text-wrap:balance;
  }
  .page-home .band-consult .band-copy>p{
    max-width:none;
    margin:0;
    font-size:.9rem;
    line-height:1.95;
    color:#E8DCC6;
  }

  /* advantages: three compact, scannable tags instead of full-width rows */
  .page-home .band-consult .band-points{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin:14px 0 0;
  }
  .page-home .band-consult .band-points li{
    display:grid;
    grid-template-columns:18px 1fr;
    align-items:center;
    gap:9px;
    min-height:38px;
    padding:8px 12px;
    background:rgba(184,136,46,.09);
    border:1px solid rgba(200,169,122,.20);
    border-inline-start:2px solid rgba(216,178,124,.55);
    border-radius:10px;
    font-size:.84rem;
    line-height:1.55;
    font-weight:600;
    color:#F3EAD9;
  }
  .page-home .band-consult .band-points svg{
    width:17px;
    height:17px;
    margin:0;
    padding:0;
    color:#D8B27C;
    background:none;
    border:0;
  }

  /* primary CTA of the section */
  .page-home .band-consult .btn{
    width:100%;
    min-height:50px;
    margin-top:14px;
    justify-content:center;
    gap:9px;
    padding:13px 18px;
    border-radius:var(--m-r-btn);
    background:var(--grad-vein);
    border:1px solid rgba(138,100,15,.45);
    color:#241A06;
    font-size:.95rem;
    font-weight:800;
    box-shadow:0 1px 0 var(--vein-deep),0 14px 26px -14px rgba(184,136,46,.7);
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .band-consult .btn:active{
    transform:none;
    box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .band-consult .btn svg{width:18px;height:18px;color:#241A06}
}
@media (max-width:360px){
  .page-home .band.band-consult{padding-block:22px 26px}
  .page-home .band-consult .band-copy{margin-inline:6px;padding:15px 12px 12px}
  .page-home .band-consult .band-points li{font-size:.81rem;padding:7px 10px}
  .page-home .band-consult .band-copy>p{font-size:.86rem;line-height:1.9}
}

/* ==========================================================================
   HOME — PROJECTS: image-led architecture portfolio
   A quiet, borderless card: the photograph is the card, the caption sits on a
   soft gradient. Scoped to the home section, so product cards stay unchanged.
   ========================================================================== */
a.project-card{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
.project-more{display:inline-flex;align-items:center;gap:6px;margin-top:2px;font-size:var(--t-small);font-weight:700;color:var(--vein-deep)}
.project-more svg{transition:transform .2s ease}
.project-card:hover .project-more svg{transform:translateX(-3px)}
.hp-intro{margin-top:10px;color:var(--slate);font-size:var(--t-small);line-height:1.9;max-width:52ch}
.project-swipe-controls{display:none}

@media (max-width:768px){
  /* ---- section head: hairline rule, quiet title, text-link CTA ---- */
  .page-home .home-projects .hp-head{display:block;margin-bottom:18px}
  .page-home .home-projects .hp-head-main{position:relative;padding-inline-start:13px}
  .page-home .home-projects .hp-head-main::before{
    content:"";position:absolute;inset-inline-start:0;top:5px;bottom:5px;
    width:2px;background:var(--vein);border-radius:1px;opacity:.85
  }
  .page-home .home-projects .eyebrow{margin-bottom:7px;color:var(--vein-deep);font-size:.68rem;letter-spacing:.03em}
  .page-home .home-projects .hp-title{
    font-size:clamp(1.42rem,6vw,1.72rem);line-height:1.45;font-weight:800;
    letter-spacing:-.01em;text-wrap:balance
  }
  .page-home .home-projects .hp-intro{margin-top:7px;font-size:.81rem;line-height:1.9;color:#5E564A;max-width:none}
  .page-home .home-projects .section-head-row > .btn.hp-all{
    display:flex;align-items:center;justify-content:space-between;width:100%;
    margin-top:15px;padding:11px 0 0;min-height:0;
    border:0;border-top:1px solid rgba(36,29,21,.14);border-radius:0;
    background:transparent;box-shadow:none;color:#3A3227;
    font-size:.82rem;font-weight:700;letter-spacing:0
  }
  .page-home .home-projects .hp-all svg{width:16px;height:16px;color:var(--vein-deep)}

  /* ---- the card is the photograph ---- */
  .page-home .home-projects .project-swipe .project-grid{gap:12px;padding-inline:0;padding-block-end:0}
  .page-home .home-projects .project-swipe .project-card{
    flex:0 0 82%;max-width:82%;aspect-ratio:4/5;
    position:relative;display:flex;flex-direction:column;overflow:hidden;
    border:0;border-radius:14px;background:#1E1711;
    box-shadow:none;transform:none;isolation:isolate
  }
  .page-home .home-projects .project-card:hover,
  .page-home .home-projects .project-card:focus-visible{transform:none;box-shadow:none}
  .page-home .home-projects .project-card::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(180deg,rgba(22,17,12,0) 30%,rgba(22,17,12,.08) 48%,rgba(22,17,12,.55) 74%,rgba(22,17,12,.9) 100%)
  }
  .page-home .home-projects .project-media{
    position:absolute;inset:0;overflow:hidden;background:#1E1711
  }
  .page-home .home-projects .project-media img{
    width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center
  }
  .page-home .home-projects .project-year{
    z-index:3;top:12px;inset-inline-end:12px;
    padding:3px 8px;border-radius:var(--r-pill);
    background:rgba(24,19,14,.32);border:1px solid rgba(255,255,255,.28);
    color:#F6ECDA;font-size:.62rem;font-weight:600;letter-spacing:.04em;
    backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)
  }

  /* ---- caption: one quiet block at the foot of the image ---- */
  .page-home .home-projects .project-body{
    position:relative;z-index:2;margin-top:auto;flex:0 0 auto;
    display:flex;flex-direction:column;gap:5px;
    padding:18px 16px 15px;background:transparent;color:#FFF9EE
  }
  .page-home .home-projects .project-stone{
    order:-1;display:block;margin:0;padding:0;border:0;
    font-size:.66rem;font-weight:600;line-height:1.7;letter-spacing:.02em;
    color:rgba(242,234,216,.72)
  }
  .page-home .home-projects .project-title{
    margin:0;font-size:1.06rem;font-weight:700;line-height:1.55;
    color:#FFF9EE;letter-spacing:0;text-wrap:balance
  }
  .page-home .home-projects .project-meta{
    display:flex;align-items:center;gap:5px;margin:0;
    font-size:.7rem;line-height:1.7;color:rgba(242,234,216,.76)
  }
  .page-home .home-projects .project-meta svg{
    width:12px;height:12px;flex:none;color:rgba(200,169,122,.92)
  }
  .page-home .home-projects .project-more{
    width:max-content;max-width:100%;margin-top:8px;padding:0 0 2px;
    gap:5px;border-bottom:1px solid rgba(230,210,172,.35);
    font-size:.7rem;font-weight:700;color:#E6D2AC
  }
  .page-home .home-projects .project-more svg{width:12px;height:12px}

  /* ---- slider controls: hairline dots between two quiet round buttons ---- */
  .page-home .home-projects .project-swipe-controls{
    display:flex;align-items:center;gap:10px;margin-top:14px
  }
  .page-home .home-projects .project-swipe-dots{
    display:flex;flex:1;align-items:center;justify-content:center;gap:5px;margin:0
  }
  .page-home .home-projects .project-swipe-dots .ps-dot{
    width:16px;height:2px;border-radius:0;background:rgba(36,29,21,.2);
    transition:background .25s,width .25s
  }
  .page-home .home-projects .project-swipe-dots .ps-dot.is-active{
    width:26px;background:var(--vein-deep)
  }
  .page-home .home-projects .proj-nav{
    width:38px;height:38px;min-width:38px;padding:0;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    border:1px solid rgba(36,29,21,.16);background:transparent;color:var(--ink);
    cursor:pointer;transition:border-color .2s,color .2s;
    -webkit-tap-highlight-color:transparent
  }
  .page-home .home-projects .proj-nav:active{border-color:var(--vein);color:var(--vein-deep)}
  .page-home .home-projects .proj-nav svg{width:17px;height:17px}
}

@media (hover:hover){
  .page-home .home-projects .project-card:hover .project-media img{transform:scale(1.025)}
  .page-home .home-projects .project-card:hover .project-more{color:#FFF6E4}
}

/* ==========================================================================
   HOME — TESTIMONIALS, MOBILE (≤768px): compact, content-first cards
   Flat background (no veins/grain), tighter padding, small gold accents and
   the same quiet dots + round buttons as the other home sliders.
   ========================================================================== */
.testi-dots{display:none}

@media (max-width:768px){
  .page-home .testi-section{
    padding-block:34px 32px;
    background:#F7F2E9;
    background-image:none;
    border-block:1px solid rgba(184,136,46,.18);
    box-shadow:none;
  }
  .page-home .testi-section::before,
  .page-home .testi-section::after{display:none}

  .page-home .testi-section .section-head{margin-bottom:14px}
  .page-home .testi-section .eyebrow{
    margin-bottom:7px;
    background:none;border:0;padding:0;
    backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;
    color:var(--vein-deep);
  }
  .page-home .testi-section .section-title{text-shadow:none}
  .page-home .testi-section .section-intro{
    margin-top:6px;font-size:.82rem;line-height:1.85;color:#5E564A;
  }

  .page-home .testi-section .testi-carousel{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
    gap:10px;margin:12px 0 0;padding:0;
  }
  .page-home .testi-section .testi-carousel .testi-track{
    order:1;flex:1 0 100%;width:100%;min-width:0;
    align-items:flex-start;gap:12px;
    padding-block:6px;margin-block:-6px;
  }
  .page-home .testi-section .testi-track > .testi-card{flex-basis:86%}

  .page-home .testi-section .testi-card{
    display:block;
    padding:15px 14px 14px;
    border:1px solid rgba(36,29,21,.1);
    border-radius:10px;
    background:#FFFDF9;
    box-shadow:0 1px 2px rgba(30,23,17,.05);
    backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  .page-home .testi-section .testi-card::after{display:none}
  .page-home .testi-section .testi-card:hover{
    transform:none;border-color:rgba(36,29,21,.1);
    box-shadow:0 1px 2px rgba(30,23,17,.05);
  }

  .page-home .testi-quote{
    position:absolute;top:9px;inset-inline-end:11px;
    color:var(--vein);opacity:.15;
  }
  .page-home .testi-quote svg{width:22px;height:22px}

  .page-home .testi-card blockquote{
    margin:0;font-size:.87rem;line-height:1.85;color:#3A3227;
  }
  .page-home .testi-stars{margin-top:9px;gap:2px;color:var(--vein-deep);opacity:.85}
  .page-home .testi-stars svg{width:11px;height:11px}
  .page-home .testi-card figcaption{
    margin-top:9px;padding-top:9px;gap:1px;
    border-top:1px solid rgba(36,29,21,.09);
  }
  .page-home .testi-name{font-size:.9rem;line-height:1.5;font-weight:700;color:var(--ink)}
  .page-home .testi-role{font-size:.74rem;line-height:1.6;color:#6F6456}

  /* slider controls: quiet dots between two hairline round buttons */
  .page-home .testi-section .testi-carousel .carousel-nav{
    order:2;position:static;transform:none;
    width:34px;height:34px;min-width:34px;padding:0;
    background:#fff;border:1px solid rgba(36,29,21,.14);border-radius:50%;
    color:var(--vein-deep);box-shadow:none;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .testi-section .testi-carousel .carousel-nav svg{width:17px;height:17px}
  .page-home .testi-section .testi-carousel .carousel-nav-next{order:4}
  .page-home .testi-section .testi-carousel .carousel-nav:hover{
    transform:none;background:#fff;color:var(--vein);box-shadow:none;
  }
  .page-home .testi-section .testi-carousel .carousel-nav:active{border-color:var(--vein);color:var(--vein-deep)}

  .page-home .testi-section .testi-dots{
    display:flex;order:3;flex:1;align-items:center;justify-content:center;
    gap:5px;margin:0;
  }
  .page-home .testi-section .testi-dots .ts-dot{
    width:6px;height:6px;border-radius:999px;
    background:rgba(36,29,21,.18);
    transition:width .25s,background .25s;
  }
  .page-home .testi-section .testi-dots .ts-dot.is-active{width:18px;background:var(--vein-deep)}
  .page-home .testi-section .testi-carousel.is-static .testi-dots{display:none}
}

/* ==========================================================================
   HOME CTA — consultation band with a clear primary/secondary hierarchy
   ========================================================================== */
.cta-band--feature{
  background:
    radial-gradient(ellipse 38% 130% at 96% 0%, rgba(184,136,46,.20), transparent 62%),
    radial-gradient(ellipse 46% 120% at 0% 100%, rgba(184,136,46,.10), transparent 60%),
    linear-gradient(118deg,#181108 0%,#241B11 46%,#2C2114 100%);
  border-bottom:1px solid #100B05;
  isolation:isolate;
}
/* faint stone facets, kept low-contrast so the copy stays readable */
.cta-band--feature::before{
  inset:0;
  background:
    linear-gradient(to left, rgba(20,14,7,.92) 0%, rgba(20,14,7,.55) 48%, rgba(20,14,7,.12) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 320' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23C8A97A' stroke-opacity='.12' stroke-width='1'%3E%3Cpath d='M-40 238 L122 148 L268 226 L424 132 L582 214 L740 118'/%3E%3Cpath d='M-40 302 L168 232 L338 302 L528 218 L740 296'/%3E%3Cpath d='M96 0 L214 96 L366 26 L506 118 L650 44'/%3E%3Cpath d='M214 96 L268 226'/%3E%3Cpath d='M424 132 L506 118'/%3E%3C/g%3E%3C/svg%3E") right center / 118% auto no-repeat;
}
.cta-band--feature .cta-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(272px,26vw,336px);
  align-items:center;
  gap:clamp(22px,3.4vw,48px);
  text-align:start;
  padding-block:clamp(38px,5.4vw,58px);
}
.cta-band--feature .cta-inner::before{display:none}
.cta-band--feature .cta-copy{max-width:none}
.cta-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  margin-bottom:9px;font-size:.76rem;font-weight:700;letter-spacing:.01em;
  color:var(--travertine);
}
.cta-eyebrow-dot{
  width:6px;height:6px;border-radius:50%;flex:none;
  background:var(--vein);box-shadow:0 0 0 3px rgba(184,136,46,.16);
}
.cta-band--feature .cta-copy h2{
  font-size:clamp(1.7rem,3.1vw,2.35rem);
  line-height:1.35;letter-spacing:-.02em;
  color:#FBF6EC;margin-bottom:9px;
}
.cta-band--feature .cta-copy p{
  max-width:52ch;margin:0;
  font-size:clamp(.94rem,1.2vw,1.04rem);line-height:2;
  color:rgba(232,220,199,.82);
}
.cta-band--feature .cta-actions{
  display:flex;flex-direction:column;align-items:stretch;
  gap:11px;width:100%;margin-top:0;
}
.cta-band--feature .cta-main-btn{
  width:100%;padding:17px 26px;font-size:1.05rem;gap:9px;
  box-shadow:0 2px 0 var(--vein-deep),0 12px 28px rgba(0,0,0,.32);
}
.cta-band--feature .cta-main-btn:hover{
  box-shadow:0 4px 0 var(--vein-deep),0 16px 34px rgba(0,0,0,.38);
}
.cta-or{
  display:flex;align-items:center;gap:10px;
  color:rgba(200,169,122,.62);font-size:.72rem;line-height:1;
}
.cta-or::before,.cta-or::after{
  content:"";flex:1;height:1px;
  background:linear-gradient(90deg,transparent,rgba(200,169,122,.3),transparent);
}
.cta-phone{
  display:flex;align-items:center;gap:11px;
  padding:9px 13px;border-radius:var(--r-md);
  border:1px solid rgba(200,169,122,.32);background:rgba(200,169,122,.05);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.cta-phone:hover{
  background:rgba(200,169,122,.11);
  border-color:rgba(200,169,122,.56);
  transform:translateY(-1px);
}
.cta-phone-ic{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;flex:none;border-radius:50%;
  border:1px solid rgba(200,169,122,.3);color:var(--travertine);
}
.cta-phone-txt{display:flex;flex-direction:column;gap:1px;min-width:0;text-align:start}
.cta-phone-label{font-size:.71rem;line-height:1.6;color:rgba(232,220,199,.62)}
.cta-phone-num{font-size:1.02rem;font-weight:800;line-height:1.45;color:#F2EAD8;letter-spacing:.01em}
@media (max-width:900px){
  .cta-band--feature .cta-inner{
    grid-template-columns:1fr;justify-items:center;
    text-align:center;gap:18px;
  }
  .cta-band--feature .cta-copy p{max-width:46ch;margin-inline:auto}
  .cta-band--feature .cta-actions{width:min(420px,100%)}
  .cta-band--feature::before{background-position:center top}
}
@media (max-width:540px){
  .cta-band--feature .cta-inner{padding-block:32px;gap:15px}
  .cta-band--feature .cta-copy h2{font-size:clamp(1.42rem,6vw,1.7rem);line-height:1.45}
  .cta-band--feature .cta-copy p{font-size:.92rem;line-height:1.95}
  .cta-band--feature .cta-actions{width:100%;gap:9px}
  .cta-band--feature .cta-main-btn{padding:15px 20px;font-size:1rem}
  .cta-eyebrow{margin-bottom:7px;font-size:.72rem}
}

/* ==========================================================================
   CATALOGUE SECTION + STONE CARDS — professional, image-first stone catalogue
   Shared by the home "سنگ‌های پرکاربرد" strip and the /products grid.
   Quiet borders/gold, fixed image ratio, clamped copy, aligned action row.
   ========================================================================== */
.catalog-section .section-head-row{align-items:center;gap:18px}
.catalog-section .catalog-all{flex:none;min-height:44px;border-width:1px;font-weight:700}
.catalog-all-bottom{display:none}

.product-card{
  border:1px solid rgba(30,23,17,.09);
  border-radius:10px;
  background:#fff;
  box-shadow:0 1px 2px rgba(30,23,17,.04),0 10px 22px -18px rgba(30,23,17,.32);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.product-card:hover{
  transform:translateY(-3px);
  border-color:rgba(184,136,46,.42);
  box-shadow:0 2px 3px rgba(30,23,17,.05),0 18px 34px -22px rgba(30,23,17,.42);
}
.product-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#EDE6D8}
.product-media img{
  position:absolute;inset:0;width:100%;height:100%;
  aspect-ratio:auto;object-fit:cover;object-position:center;
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover .product-media img{transform:scale(1.03)}
.product-tag{
  position:absolute;top:10px;inset-inline-start:10px;
  display:inline-flex;align-items:center;
  padding:4px 10px;border-radius:6px;
  font-size:.7rem;font-weight:600;line-height:1.5;letter-spacing:0;
  color:#3C3327;background:rgba(250,248,244,.88);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 1px 2px rgba(30,23,17,.1);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.product-body{gap:6px;padding:15px 16px 16px}
.product-title{font-size:1.15rem;font-weight:800;line-height:1.6;min-height:3.2em;color:var(--ink);letter-spacing:0}
.product-title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}
.product-title a:hover{color:var(--vein-deep)}
.product-summary{
  font-size:.85rem;line-height:1.8;color:#6B6256;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.product-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:0;min-width:0;overflow:hidden;font-size:.78rem;line-height:1.7;color:#7A7062}
.product-chips li{
  background:none;border:0;padding:0;border-radius:0;
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:.78rem;color:#7A7062;
}
.product-chips li + li::before{content:"·";margin-inline:7px;color:rgba(184,136,46,.75)}
.product-foot{
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;
  gap:10px;margin-top:auto;padding-top:12px;
  border-top:1px solid rgba(228,218,198,.9);
}
.product-btn{
  display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;
  min-height:38px;padding:8px 15px;
  border-radius:7px;border:1px solid var(--quarry);
  background:var(--quarry);color:#F7F2E9;
  font-size:.8rem;font-weight:700;line-height:1;white-space:nowrap;
  transition:background .2s,color .2s,border-color .2s;
  -webkit-tap-highlight-color:transparent;
}
.product-btn:hover{background:#30281D;border-color:#30281D;color:#fff}
.product-inquire{
  display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 1 auto;min-width:0;min-height:38px;
  color:var(--vein-deep);font-size:.79rem;font-weight:700;line-height:1.4;
  transition:color .2s;
}
.product-inquire svg{flex:none;color:var(--vein)}
.product-inquire span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-inquire:hover{color:var(--ink)}
.product-inquire:hover svg{color:var(--vein-deep)}
.product-dots{display:none}

@media (max-width:768px){
  .catalog-section .section-head-row{flex-direction:column;align-items:flex-start;gap:0}
  .catalog-all-top{display:none}
  .catalog-section .catalog-all-bottom{
    display:flex;width:100%;margin-top:16px;min-height:48px;
    justify-content:center;border-radius:10px;font-size:.92rem;order:0;
  }
  .catalog-section .product-carousel{
    display:flex;flex-wrap:wrap;align-items:center;row-gap:12px;
    margin-inline:0;padding-inline:0;
  }
  .catalog-section .product-track{
    flex:0 0 100%;width:100%;gap:12px;
    padding-block:6px 12px;margin-block:-6px -12px;
    scroll-padding-inline:0;overscroll-behavior-x:contain;
  }
  .catalog-section .product-track > .product-card{
    flex:0 0 100%;max-width:100%;
    scroll-snap-align:start;scroll-snap-stop:normal;
    border-radius:12px;
  }
  .catalog-section .carousel-nav{
    position:static;order:2;transform:none;
    width:36px;height:36px;min-width:36px;margin:0;
    background:#fff;color:var(--vein-deep);
    border:1px solid rgba(36,29,21,.14);box-shadow:none;
  }
  .catalog-section .carousel-nav svg{width:17px;height:17px}
  .catalog-section .carousel-nav:hover{transform:none;background:#fff;border-color:rgba(184,136,46,.5);box-shadow:none}
  .catalog-section .carousel-nav-next{order:4}
  .catalog-section .product-dots{display:flex;order:3;flex:1;align-items:center;justify-content:center;gap:5px;margin:0}
  .catalog-section .product-dots .ts-dot{width:6px;height:6px;border-radius:999px;background:rgba(36,29,21,.18);transition:width .25s,background .25s}
  .catalog-section .product-dots .ts-dot.is-active{width:18px;background:var(--vein-deep)}
  .catalog-section .product-carousel.is-static .product-dots{display:none}

  .catalog-section .product-body{gap:6px;padding:14px 15px 15px}
  .catalog-section .product-title{font-size:1.02rem;line-height:1.6;min-height:3.2em}
  .catalog-section .product-summary{font-size:.82rem;line-height:1.85}
  .catalog-section .product-chips li{font-size:.75rem}
  .catalog-section .product-tag{top:9px;inset-inline-start:9px;font-size:.68rem;padding:4px 9px}
  .catalog-section .product-btn{min-height:42px;padding:9px 14px;font-size:.79rem}
  .catalog-section .product-inquire{min-height:42px;font-size:.78rem}
}

@media (max-width:400px){
  .product-body{padding:13px 14px 14px}
  .product-btn{padding:8px 12px;font-size:.76rem}
  .product-inquire{font-size:.75rem}
}

/* ==========================================================================
   FOOTER — five organised groups (desktop grid) + mobile accordion layout
   ========================================================================== */
.footer-acc-chev{display:none}

/* desktop: brand · contact · quick links · categories · why */
@media (min-width:1200px){
  .footer-grid{grid-template-columns:1.45fr .95fr .95fr 1.25fr 1.05fr}
}
@media (min-width:541px) and (max-width:1199px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1 / -1}
  .footer-intro{max-width:52ch}
}

@media (max-width:540px){
  .site-footer .footer-grid{
    display:flex;
    flex-direction:column;
    gap:0;
    padding-block:18px 2px;
  }
  .site-footer .footer-col{width:100%;min-width:0}
  .site-footer .footer-brand{order:1;padding-bottom:14px}
  .site-footer .footer-col--contact{order:2;padding-bottom:6px}
  .site-footer .footer-col--links{order:3}
  .site-footer .footer-col--cats{order:4}
  .site-footer .footer-col--why{order:5}

  /* ── brand block ── */
  .site-footer .footer-brand .brand{gap:10px;align-items:center}
  .site-footer .footer-brand .brand-logo{height:40px;max-width:190px}
  .site-footer .footer-brand .brand-mark{
    width:40px;height:40px;font-size:1.1rem;
    border:1.5px solid rgba(184,136,46,.55);border-radius:11px;
  }
  .site-footer .footer-brand .brand-name{
    font-size:1.18rem;font-weight:800;line-height:1.45;
    color:#FBF6EC;letter-spacing:0;
  }
  .site-footer .footer-intro{
    display:block;overflow:visible;
    -webkit-line-clamp:unset;-webkit-box-orient:initial;
    font-size:.82rem;line-height:1.9;
    color:rgba(242,234,216,.7);
    margin-block:8px 10px;max-width:none;
  }
  .site-footer .footer-social{gap:8px;margin-top:0}
  .site-footer .footer-social a{
    width:38px;height:38px;border-radius:10px;
    border:1px solid rgba(184,136,46,.3);
    background:rgba(242,234,216,.04);
    color:rgba(242,234,216,.82);
  }
  .site-footer .footer-social a:hover{color:var(--vein);border-color:var(--vein);background:rgba(184,136,46,.12)}

  /* ── contact — always visible, tappable ── */
  .site-footer .footer-col--contact .footer-title{
    font-size:.84rem;font-weight:700;letter-spacing:.02em;
    color:rgba(242,234,216,.6);
    margin-bottom:8px;padding-bottom:6px;
  }
  .site-footer .footer-col--contact .footer-title::after{background:rgba(184,136,46,.6)}
  .site-footer .footer-contact{display:flex;flex-direction:column;gap:2px}
  .site-footer .footer-contact li{
    display:flex;align-items:flex-start;gap:10px;
    padding:6px 0;margin:0;border-bottom:0;
    font-size:.86rem;line-height:1.75;color:rgba(242,234,216,.86);
  }
  .site-footer .footer-contact li.footer-contact-tel{padding-block:6px}
  .site-footer .footer-contact a{
    display:flex;align-items:flex-start;gap:10px;flex:1;
    padding:0;border-bottom:0;min-height:28px;
    font-size:.86rem;line-height:1.75;color:rgba(242,234,216,.86);
  }
  .site-footer .footer-contact a:hover,
  .site-footer .footer-contact a:active{color:var(--vein)}
  .site-footer .footer-contact .footer-tel{
    font-size:1rem;font-weight:700;line-height:1.55;
    color:#FBF6EC;letter-spacing:.02em;
  }
  .site-footer .footer-contact svg,
  .site-footer .footer-contact .ci svg{width:17px;height:17px;margin-top:4px}
  .site-footer .footer-contact .ci{flex:none;margin-top:4px}

  /* ── accordion groups ── */
  .site-footer .footer-col[data-facc]{border-top:1px solid rgba(184,136,46,.16)}
  .site-footer .footer-acc-hd{
    display:flex;align-items:center;gap:8px;width:100%;
    margin:0;padding:13px 0;
    font-size:.92rem;font-weight:700;line-height:1.5;
    color:#F3EBDD;cursor:pointer;user-select:none;
    -webkit-tap-highlight-color:transparent;
  }
  .site-footer .footer-acc-hd::after{display:none}
  .site-footer .footer-acc-hd:focus-visible{outline:2px solid var(--vein);outline-offset:3px;border-radius:6px}
  .site-footer .footer-acc-label{flex:1 1 auto}
  .site-footer .footer-acc-chev{
    display:inline-flex;align-items:center;justify-content:center;flex:none;
    width:26px;height:26px;border-radius:999px;
    color:var(--vein);background:rgba(184,136,46,.12);
    transition:transform .28s ease, background .2s ease;
  }
  .site-footer .footer-col.is-open .footer-acc-chev{transform:rotate(180deg);background:rgba(184,136,46,.22)}
  .site-footer.facc-ready .footer-acc-bd{
    overflow:hidden;visibility:hidden;
    transition:max-height .3s ease, visibility 0s linear .3s;
  }
  .site-footer.facc-ready .footer-col.is-open .footer-acc-bd{
    visibility:visible;
    transition:max-height .3s ease, visibility 0s;
  }
  .site-footer .footer-col.is-open .footer-acc-bd{padding-bottom:10px}

  /* ── link lists: one clear column, minimal separators ── */
  .site-footer .footer-links{display:flex !important;flex-direction:column;gap:0}
  .site-footer .footer-links li{margin:0}
  .site-footer .footer-links a{
    display:flex;align-items:center;min-height:40px;
    padding:6px 0;border-bottom:0;
    font-size:.86rem;font-weight:500;line-height:1.6;
    color:rgba(242,234,216,.84);
  }
  .site-footer .footer-links a:hover,
  .site-footer .footer-links a:active{color:var(--vein);padding-inline-end:0}
  .site-footer .footer-links a::before{
    width:5px;height:5px;border-radius:50%;
    background:rgba(184,136,46,.75);
    margin-inline-end:9px;transition:none;
  }
  .site-footer .footer-links a:hover::before{width:5px;margin-inline-end:9px;background:var(--vein)}

  /* ── advantages ── */
  .site-footer .footer-badges{display:flex;flex-direction:column;gap:0}
  .site-footer .footer-badges li{
    display:flex;align-items:flex-start;gap:10px;
    padding:5px 0;margin:0;border-bottom:0;
    font-size:.84rem;line-height:1.75;color:rgba(242,234,216,.84);
  }
  .site-footer .footer-badges svg{width:17px;height:17px;margin-top:3px;color:var(--vein)}

  /* ── simple copyright bar ── */
  .site-footer .footer-bottom{
    flex-direction:column;align-items:center;gap:5px;
    text-align:center;border-top:1px solid rgba(184,136,46,.16);
    padding-block:12px 14px;
    font-size:.74rem;line-height:1.7;color:rgba(200,169,122,.62);
  }
  .site-footer .footer-bottom > span:first-child{color:rgba(200,169,122,.68)}
  .site-footer .footer-mini{font-size:.68rem;color:rgba(200,169,122,.55)}
}

/* ---------- compact expandable contact fab ---------- */
.floating-actions[data-fab]{
  inset-inline-end:calc(16px + env(safe-area-inset-left, 0px));
  bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  gap:0;
}
.fab-toggle{
  width:52px;height:52px;padding:0;border:0;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;
  background:var(--grad-vein);color:#241a06;
  box-shadow:0 2px 10px rgba(30,23,17,.22);
  transition:box-shadow .2s;
}
.fab-toggle:hover{box-shadow:0 3px 14px rgba(30,23,17,.28)}
.fab-toggle:focus-visible{outline:2px solid var(--vein-deep);outline-offset:3px}
.fab-toggle-ic{grid-area:1/1;display:inline-flex;transition:opacity .18s,transform .18s}
.fab-toggle-ic--close{opacity:0;transform:rotate(-45deg)}
.floating-actions[data-fab].is-open .fab-toggle-ic--open{opacity:0;transform:rotate(45deg)}
.floating-actions[data-fab].is-open .fab-toggle-ic--close{opacity:1;transform:rotate(0)}
.fab-menu{
  position:absolute;inset-inline-end:0;bottom:calc(100% + 10px);
  display:flex;flex-direction:column;align-items:flex-end;gap:8px;
  visibility:hidden;opacity:0;pointer-events:none;transform:translateY(4px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.floating-actions[data-fab].is-open .fab-menu{
  visibility:visible;opacity:1;pointer-events:auto;transform:none;
}
.fab-opt{
  display:inline-flex;align-items:center;gap:8px;
  min-height:46px;padding:0 16px;border-radius:var(--r-pill);
  font-family:inherit;font-size:.9rem;font-weight:600;line-height:1;
  text-decoration:none;white-space:nowrap;
  box-shadow:0 2px 8px rgba(30,23,17,.18);
  transition:filter .18s;
}
.fab-opt:hover{filter:brightness(1.06)}
.fab-opt:focus-visible{outline:2px solid var(--vein-deep);outline-offset:2px}
.fab-opt svg{flex:none}
.fab-opt--wa{background:#25935a;color:#fff}
.fab-opt--call{background:var(--cream);color:var(--ink);border:1px solid var(--line)}
@media (max-width:540px){
  .floating-actions[data-fab]{
    inset-inline-end:calc(12px + env(safe-area-inset-left, 0px));
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   HOME — FINAL UNIFIED DESIGN PASS
   One gutter, one vertical rhythm, one type scale, one radius/shadow family,
   one button and one slider language across every homepage section. The
   section-specific ornaments accumulated during earlier redesigns are turned
   off; variety now comes from light/dark alternation, media placement and the
   different card types, not from competing decorations.
   ========================================================================== */

.page-home{
  --home-gutter:clamp(16px,5vw,40px);
  --home-section-y:clamp(64px,7.4vw,104px);
  --home-head-gap:clamp(26px,3vw,40px);
  --home-r-media:14px;
  --home-r-card:14px;
  --home-r-btn:10px;
  --home-line:rgba(36,29,21,.10);
  --home-line-soft:rgba(36,29,21,.07);
  --home-line-gold:rgba(184,136,46,.22);
  --home-shadow:0 1px 2px rgba(30,23,17,.04),0 14px 34px -26px rgba(30,23,17,.32);
  --home-shadow-hover:0 2px 4px rgba(30,23,17,.05),0 20px 40px -26px rgba(30,23,17,.38);
  --home-title:clamp(1.55rem,2.5vw,2rem);
  --home-body:clamp(1rem,1.2vw,1.05rem);
  --home-leading:1.95;
  --home-eyebrow:.72rem;
  background:var(--marble);
}

/* ---- one horizontal gutter + one vertical rhythm ---- */
.page-home main .container{padding-inline:var(--home-gutter)}
.page-home .section,
.page-home .band{padding-block:var(--home-section-y)}
.page-home .section-head{margin-bottom:var(--home-head-gap);max-width:640px}
.page-home .section-head-row{max-width:none;gap:24px;align-items:flex-end}
.page-home .section-head-row > .btn{align-self:center}

/* ---- eyebrow: one size, one gold dot ---- */
.page-home .eyebrow{
  margin-bottom:10px;font-size:var(--home-eyebrow);font-weight:700;
  letter-spacing:.02em;line-height:1.6;text-transform:none;color:var(--travertine);
}
.page-home .section .eyebrow,
.page-home .band-light .eyebrow,
.page-home .eyebrow-dark{color:var(--vein-deep)}
.page-home .eyebrow-dot{width:6px;height:6px;background:var(--vein);box-shadow:none}

/* ---- heading hierarchy: one weight, one scale ---- */
.page-home .section-title,
.page-home .band-title,
.page-home .cta-band--feature .cta-copy h2{
  margin:0 0 10px;font-size:var(--home-title);font-weight:800;
  line-height:1.45;letter-spacing:-.01em;color:var(--ink);text-wrap:balance;
}
.page-home .band-dark .band-title,
.page-home .cta-band--feature .cta-copy h2{color:#fff}
.page-home .band-title{margin-bottom:10px}

/* ---- body copy: one size, one leading ---- */
.page-home .section-intro,
.page-home .hp-intro,
.page-home .band-copy > p,
.page-home .cta-band--feature .cta-copy p{
  margin-top:0;max-width:58ch;
  font-size:var(--home-body);line-height:var(--home-leading);color:var(--slate);
}
.page-home .band-dark .band-copy > p{color:#D8CBB6}
.page-home .cta-band--feature .cta-copy p{color:rgba(232,220,199,.82)}
.page-home .hp-intro{color:var(--slate)}

/* ---- one button system ---- */
.page-home main .btn{
  gap:8px;min-height:46px;padding:12px 22px;
  border-radius:var(--home-r-btn);font-size:.95rem;font-weight:700;line-height:1.2;
  box-shadow:none;
}
.page-home main .btn-lg{min-height:50px;padding:14px 26px;font-size:1rem}
.page-home main .btn svg{width:18px;height:18px;flex:none;stroke-width:1.8}
.page-home main .btn-primary{
  background:var(--grad-vein);border-color:transparent;color:#241a06;
  box-shadow:0 1px 0 var(--vein-deep);
}
.page-home main .btn-primary:hover{transform:none;box-shadow:0 2px 0 var(--vein-deep)}
.page-home main .btn-ghost{
  background:transparent;border:1px solid rgba(184,136,46,.5);color:var(--vein-deep);
}
.page-home main .btn-ghost:hover{background:rgba(184,136,46,.08);transform:none}
.page-home main .btn-dark{background:var(--quarry);border:1px solid var(--quarry);color:var(--cream)}
.page-home main .btn-dark:hover{background:var(--quarry-2);transform:none}
.page-home .hero-actions .btn-ghost,
.page-home .cta-actions .btn-ghost,
.page-home .band-dark .btn-ghost{border-color:rgba(200,169,122,.45);color:#E9DAC2}
.page-home .hero-actions .btn-ghost:hover,
.page-home .cta-actions .btn-ghost:hover{background:rgba(200,169,122,.1)}
.page-home main .catalog-all,
.page-home main .hp-all{
  min-height:44px;background:transparent;border:1px solid rgba(184,136,46,.5);
  color:var(--vein-deep);box-shadow:none;
}
.page-home main .catalog-all:hover,
.page-home main .hp-all:hover{background:rgba(184,136,46,.08);color:var(--vein-deep)}

/* one stroke weight for the whole home icon set */
.page-home main svg{stroke-width:1.75}

/* ---- dark / light surfaces: deliberate, quiet transitions ---- */
.page-home .hero{background:linear-gradient(180deg,#211A13 0%,#1B1510 100%)}
.page-home .hero::before{display:none}
.page-home .strip{
  background:#19130E;
  background-image:linear-gradient(180deg,rgba(242,234,216,.045) 0,rgba(242,234,216,0) 96px);
  border-top:1px solid var(--home-line-gold);border-bottom:0;box-shadow:none;
}
.page-home .band-dark{
  background:
    linear-gradient(180deg,rgba(242,234,216,.045) 0,rgba(242,234,216,0) 120px),
    linear-gradient(180deg,#211A13 0%,#1B1510 100%);
  border-top:1px solid rgba(184,136,46,.16);
  box-shadow:inset 0 1px 0 rgba(242,234,216,.04);
}
.page-home .band-light,
.page-home .home-projects{background:#F4EEE2;border-top:1px solid var(--home-line-gold)}
.page-home .band.band-workshop{
  background:#F4EEE2;border:0;border-top:1px solid var(--home-line-gold);
  box-shadow:none;
}
.page-home .band.band-consult{
  background:
    linear-gradient(180deg,rgba(242,234,216,.045) 0,rgba(242,234,216,0) 120px),
    linear-gradient(180deg,#211A13 0%,#1B1510 100%);
  border:0;border-top:1px solid rgba(184,136,46,.16);
  box-shadow:inset 0 1px 0 rgba(242,234,216,.04);
}
.page-home .cat-section,
.page-home .catalog-section{background:var(--marble)}
.page-home .strip + .section,
.page-home .band-dark + .section{border-top:1px solid var(--home-line-gold)}
.page-home .home-projects,
.page-home .testi-section{border-top:1px solid var(--home-line-soft)}
.page-home .testi-section{
  background:#F8F3E9;background-image:none;
  border-bottom:0;box-shadow:none;
}
.page-home .cta-band--feature{
  background:
    linear-gradient(180deg,rgba(242,234,216,.04) 0,rgba(242,234,216,0) 110px),
    linear-gradient(180deg,#1C1610 0%,#17110C 100%);
  border-top:1px solid var(--home-line-gold);border-bottom:0;
}
.page-home .cta-band--feature .cta-inner{padding-block:var(--home-section-y)}

/* ---- remove earlier one-off ornaments ---- */
.page-home .strip::before,
.page-home .strip::after,
.page-home .strip-inner::before,
.page-home .testi-section::before,
.page-home .testi-section::after,
.page-home .cta-band::before,
.page-home .cta-band--feature::before,
.page-home .band.band-workshop::before,
.page-home .band.band-consult::after{display:none;content:none}
.page-home .band-workshop .band-title::after,
.page-home .band-consult .band-copy::before{display:none;content:none}
.page-home .testi-section .testi-card::after{display:none;content:none}

/* ---- trust strip: flat, four even cells ---- */
.page-home .strip-inner{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;align-items:center;padding-block:20px;
}
.page-home .strip-item{
  display:flex;align-items:center;justify-content:flex-start;gap:11px;
  min-width:0;padding:0;font-size:.9rem;font-weight:600;line-height:1.6;
  color:var(--cream);text-shadow:none;
}
.page-home .strip-item svg{
  flex:none;width:36px;height:36px;padding:8px;border-radius:9px;
  color:var(--vein);background:rgba(184,136,46,.09);
  border:1px solid rgba(184,136,46,.28);box-shadow:none;
  transform:none;stroke-width:1.7;
}
.page-home .strip-item span::after,
.page-home .strip-item + .strip-item::before{display:none}
.page-home .strip-item:hover{color:#fff}
.page-home .strip-item:hover svg{color:var(--vein);border-color:rgba(184,136,46,.4);box-shadow:none;transform:none}

/* ---- hero: same radii and quiet chrome as the rest of the page ---- */
.page-home .hero-grid{padding-block:clamp(56px,6.5vw,96px)}
.page-home .hero-figure{
  border:1px solid rgba(200,169,122,.18);border-radius:var(--home-r-media);
  box-shadow:0 2px 40px rgba(0,0,0,.35);overflow:hidden;
}
.page-home .hero-badge{
  border-radius:10px;border-color:rgba(184,136,46,.38);
  background:rgba(26,20,15,.84);backdrop-filter:blur(8px);
}
.page-home .hero-title{font-weight:900;line-height:1.18;letter-spacing:-.02em}
.page-home .hero-lead{color:#D8C4A2;line-height:1.9}
.page-home .hero-stats dt{color:#DDB26A;font-weight:800}
.page-home .hero-stats dd{color:#C8B59A}

/* ---- cards: one border, one radius, one soft shadow ---- */
.page-home .cat-card{
  background:#fff;border:1px solid var(--home-line);
  border-radius:var(--home-r-card);box-shadow:var(--home-shadow);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.page-home .cat-card:hover{
  transform:translateY(-3px);border-color:rgba(184,136,46,.45);
  box-shadow:var(--home-shadow-hover);
}
.page-home .cat-title{font-size:1.05rem;font-weight:800;line-height:1.55}
.page-home .cat-tagline{font-size:.85rem;line-height:1.8;color:var(--muted)}
.page-home .cat-link{font-size:.82rem;font-weight:700;color:var(--vein-deep)}

.page-home .product-card{
  background:#fff;border:1px solid var(--home-line);
  border-radius:var(--home-r-card);box-shadow:var(--home-shadow);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.page-home .product-card:hover{
  transform:translateY(-3px);border-color:rgba(184,136,46,.45);
  box-shadow:var(--home-shadow-hover);
}
.page-home .product-media{aspect-ratio:4/3;background:#EDE6D8}
.page-home .product-title{font-size:1.08rem;line-height:1.6}
.page-home .product-summary{font-size:.85rem;line-height:1.8}
.page-home .product-btn{border-radius:var(--home-r-btn);min-height:40px}

.page-home .project-card{
  border-radius:var(--home-r-card);border:1px solid var(--home-line);
  box-shadow:var(--home-shadow);
}
.page-home .testi-card{
  background:#fff;border:1px solid var(--home-line);
  border-radius:var(--home-r-card);box-shadow:var(--home-shadow);
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.page-home .testi-section .eyebrow{
  padding:0;border:0;background:none;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--vein-deep);
}
.page-home .testi-section .section-title{text-shadow:none}
.page-home .testi-card:hover{
  transform:translateY(-3px);border-color:rgba(184,136,46,.4);
  box-shadow:var(--home-shadow-hover);
}
.page-home .testi-card blockquote{font-size:.95rem;line-height:1.95;color:#3A3227}

/* ---- feature band media: one ratio, one radius, no double frames ---- */
.page-home .band-media{padding:0;border:0;background:none;box-shadow:none;border-radius:0}
.page-home .band-media img{
  width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;
  border:1px solid rgba(200,169,122,.16);
  border-radius:var(--home-r-media);box-shadow:none;background:#E9E1D3;
}
.page-home .band-light .band-media img{border-color:rgba(36,29,21,.08)}

/* ---- slider chrome: same arrows, same dots everywhere ---- */
.page-home .carousel-nav{
  width:42px;height:42px;
  border:1px solid rgba(184,136,46,.35);
  background:rgba(250,248,244,.96);color:var(--vein-deep);
  box-shadow:0 1px 2px rgba(30,23,17,.08);
}
.page-home .carousel-nav:hover{
  background:#fff;color:var(--vein-deep);
  border-color:rgba(184,136,46,.6);
  box-shadow:0 2px 6px rgba(30,23,17,.12);
}
.page-home .ts-dot,
.page-home .ps-dot{
  width:6px;height:6px;border-radius:999px;background:rgba(36,29,21,.18);
  transition:width .25s ease,background .25s ease;
}
.page-home .ts-dot.is-active,
.page-home .ps-dot.is-active{width:18px;background:var(--vein-deep)}

/* ==========================================================================
   HOME — MOBILE UNIFICATION (≤768px)
   The same tokens and rules at phone scale, so every section reads as one
   composition rather than a set of independently designed components.
   ========================================================================== */
@media (max-width:768px){
  .page-home{
    --home-gutter:clamp(16px,5vw,22px);
    --home-section-y:clamp(38px,8.4vw,50px);
    --home-head-gap:clamp(18px,4.4vw,24px);
    --home-r-media:13px;
    --home-r-card:13px;
    --home-r-btn:10px;
    --home-title:clamp(1.34rem,5.4vw,1.58rem);
    --home-body:.92rem;
    --home-leading:1.95;
    --home-eyebrow:.7rem;
    /* keep older mobile rules that reference these names in the same system */
    --m-gutter:var(--home-gutter);
    --m-section-y:var(--home-section-y);
    --m-gap:var(--home-head-gap);
    --m-r:var(--home-r-card);
    --m-r-btn:var(--home-r-btn);
    --m-shadow:var(--home-shadow);
    --m-shadow-hover:var(--home-shadow-hover);
  }

  .page-home main .container{padding-inline:var(--home-gutter)}
  .page-home .section,
  .page-home .band,
  .page-home .band.band-direct,
  .page-home .band.band-workshop,
  .page-home .band.band-consult{padding-block:var(--home-section-y)}
  .page-home .section-head{margin-bottom:var(--home-head-gap);max-width:100%}
  .page-home .section-head-row{display:block;margin-bottom:var(--home-head-gap)}
  .page-home .section-title,
  .page-home .band-title,
  .page-home .band .band-title,
  .page-home .cat-head .section-title,
  .page-home .home-projects .hp-title,
  .page-home .cta-band--feature .cta-copy h2{
    margin:0 0 8px;font-size:var(--home-title);font-weight:800;
    line-height:1.5;letter-spacing:0;text-wrap:balance;
  }
  .page-home .section-intro,
  .page-home .band-copy > p,
  .page-home .band .band-copy > p,
  .page-home .cta-band--feature .cta-copy p{
    margin-top:0;max-width:none;
    font-size:var(--home-body);line-height:var(--home-leading);
  }
  .page-home .eyebrow,
  .page-home .band .eyebrow,
  .page-home .cat-head .eyebrow,
  .page-home .home-projects .eyebrow{
    margin-bottom:8px;font-size:var(--home-eyebrow);letter-spacing:.02em;
  }

  /* ---- buttons ---- */
  .page-home main .btn{
    min-height:46px;padding:12px 20px;border-radius:var(--home-r-btn);
    font-size:.92rem;font-weight:700;
  }
  .page-home main .btn-lg{min-height:50px;padding:14px 22px;font-size:.95rem}

  /* ---- hero ---- */
  .page-home .hero-grid{
    display:grid;grid-template-columns:1fr;gap:20px;
    padding-block:16px var(--home-section-y);
  }
  .page-home .hero-visual{order:-1;margin-inline:0;width:auto}
  .page-home .hero-figure{
    border-radius:var(--home-r-media);border:1px solid rgba(200,169,122,.2);
    box-shadow:0 12px 30px -18px rgba(0,0,0,.6);
  }
  .page-home .hero-figure>img{aspect-ratio:16/10}
  .page-home .hero-badge{
    position:static;inset:auto;display:flex;
    padding:10px 12px;border:0;border-top:1px solid rgba(184,136,46,.22);
    border-radius:0;background:rgba(26,20,15,.55);
    backdrop-filter:none;-webkit-backdrop-filter:none;
    font-size:.78rem;line-height:1.6;gap:9px;
  }
  .page-home .hero-badge svg{width:18px;height:18px}
  .page-home .hero-copy{padding-block:0}
  .page-home .hero-copy .eyebrow{
    margin-bottom:10px;font-size:.7rem;letter-spacing:.02em;color:var(--travertine);
  }
  .page-home .hero-title{
    font-size:clamp(1.75rem,7.2vw,2.15rem);line-height:1.3;
    font-weight:900;letter-spacing:-.015em;
  }
  .page-home .hero-lead{
    margin-top:10px;max-width:100%;font-size:.93rem;line-height:1.9;color:#D3BE9C;
  }
  .page-home .hero-actions{
    display:grid;grid-template-columns:1fr;gap:9px;margin-top:20px;
  }
  .page-home .hero-actions .btn{width:100%;justify-content:center}
  .page-home .hero-stats{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
    margin-top:22px;padding-top:16px;text-align:center;
    border-top:1px solid rgba(184,136,46,.22);
  }
  .page-home .hero-stats>div{
    min-width:0;padding:0 6px;border-inline-end:1px solid rgba(184,136,46,.16);
  }
  .page-home .hero-stats>div:last-child{border-inline-end:0}
  .page-home .hero-stats dt{
    display:block;margin:0;font-size:1.12rem;font-weight:800;line-height:1.35;
    color:#DDB26A;text-shadow:none;
  }
  .page-home .hero-stats dd{
    display:block;margin-top:2px;font-size:.7rem;font-weight:500;line-height:1.6;
    color:#C8B59A;
  }

  /* ---- trust strip ---- */
  .page-home .strip-inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 14px;padding-block:18px;
  }
  .page-home .strip-item{gap:9px;font-size:.82rem;padding:0}
  .page-home .strip-item svg{width:32px;height:32px;padding:7px;border-radius:8px}
  .page-home .strip-item + .strip-item{border-top:0}

  /* ---- categories ---- */
  .page-home .cat-section .cat-swipe{position:relative;overflow:hidden;max-width:100%}
  .page-home .cat-section .cat-swipe .cat-grid{
    display:flex;flex-wrap:nowrap;align-items:stretch;gap:12px;
    margin:0;padding:4px 0 6px;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    scroll-padding-inline:0;overscroll-behavior-x:contain;
  }
  .page-home .cat-section .cat-swipe .cat-grid::-webkit-scrollbar{display:none}
  .page-home .cat-section .cat-swipe .cat-card{
    flex:0 0 86%;max-width:86%;scroll-snap-align:start;scroll-snap-stop:always;
    border:1px solid var(--home-line);border-radius:var(--home-r-card);
    box-shadow:var(--home-shadow);transform:none;
  }
  .page-home .cat-section .cat-swipe .cat-card:hover{
    transform:none;border-color:var(--home-line);box-shadow:var(--home-shadow);
  }
  .page-home .cat-section .cat-swipe .cat-card:hover .cat-media img{transform:none}
  .page-home .cat-section .cat-card-has-media .cat-media{aspect-ratio:4/3}
  .page-home .cat-section .cat-card-has-media .cat-body{
    padding:13px 14px 14px;padding-inline-end:14px;
  }
  .page-home .cat-section .cat-title{font-size:1.02rem;line-height:1.55}
  .page-home .cat-section .cat-tagline{
    min-height:0;margin-top:3px;font-size:.82rem;line-height:1.75;
    color:#5E564A;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .page-home .cat-section .cat-link{margin-top:10px;font-size:.8rem}
  .page-home .cat-section .cat-swipe-bar{
    display:flex;align-items:center;justify-content:space-between;
    gap:10px;margin-top:12px;
  }

  /* ---- feature bands: one shared composition ---- */
  .page-home .band-grid,
  .page-home .band .band-grid{
    display:grid;grid-template-columns:1fr;gap:16px;align-items:start;
  }
  .page-home .band-reverse{direction:rtl}
  .page-home .band-media,
  .page-home .band .band-media{
    order:-1;margin:0;padding:0;border:0;border-radius:0;
    background:none;box-shadow:none;
  }
  .page-home .band-media img,
  .page-home .band .band-media img,
  .page-home .band-direct .band-media img,
  .page-home .band-workshop .band-media img,
  .page-home .band-consult .band-media img{
    width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;
    border:1px solid rgba(200,169,122,.16);border-radius:var(--home-r-media);
    box-shadow:none;background:#E9E1D3;
  }
  .page-home .band-light .band-media img{border-color:rgba(36,29,21,.08)}
  .page-home .band-copy,
  .page-home .band .band-copy{
    margin:0;padding:0;border:0;border-radius:0;
    background:none;box-shadow:none;
  }
  .page-home .band .eyebrow{
    margin-bottom:8px;padding:0;border:0;background:none;box-shadow:none;
    border-radius:0;font-size:var(--home-eyebrow);
  }
  .page-home .band .eyebrow-dot{width:6px;height:6px;background:var(--vein)}
  .page-home .band-dark .eyebrow{color:#D8B27C}
  .page-home .band-light .eyebrow{color:var(--vein-deep)}
  .page-home .band-copy>p,
  .page-home .band .band-copy>p{max-width:none;font-size:var(--home-body);line-height:var(--home-leading)}
  .page-home .band-dark .band-copy>p{color:#E5D9C5}
  .page-home .band-light .band-copy>p{color:#4C4538}

  .page-home .band-points,
  .page-home .band .band-points,
  .page-home .band-workshop .band-points{
    display:grid;grid-template-columns:1fr;gap:0;
    margin:16px 0 0;padding:0;border:0;border-top:1px solid rgba(36,29,21,.1);
    border-radius:0;background:none;box-shadow:none;
  }
  .page-home .band-dark .band-points{border-top-color:rgba(200,169,122,.18)}
  .page-home .band-points li,
  .page-home .band .band-points li,
  .page-home .band-workshop .band-points li,
  .page-home .band-consult .band-points li{
    display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;
    gap:10px;min-height:0;padding:10px 0;
    border:0;border-bottom:1px solid rgba(36,29,21,.08);border-radius:0;
    background:none;font-size:.88rem;font-weight:500;line-height:1.7;
    color:var(--ink);
  }
  .page-home .band-dark .band-points li{
    color:#EDE4D3;border-bottom-color:rgba(200,169,122,.14);
  }
  .page-home .band-points li:last-child,
  .page-home .band .band-points li:last-child,
  .page-home .band-workshop .band-points li:last-child,
  .page-home .band-consult .band-points li:last-child{
    padding-bottom:0;border-bottom:0;
  }
  .page-home .band-points svg,
  .page-home .band .band-points svg,
  .page-home .band-workshop .band-points svg,
  .page-home .band-consult .band-points svg{
    width:17px;height:17px;margin:0;padding:0;
    color:var(--vein);background:none;border:0;border-radius:0;stroke-width:1.9;
  }
  .page-home .band-light .band-points svg{color:var(--vein-deep)}
  .page-home .band-dark .band-points svg{color:#D8B27C}
  .page-home .band .btn{
    width:100%;margin-top:16px;justify-content:center;min-height:48px;
    font-weight:700;box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .band-workshop .btn{
    background:transparent;border:1px solid rgba(36,29,21,.2);color:var(--ink);
    box-shadow:none;
  }
  .page-home .band-workshop .btn:hover{
    background:rgba(36,29,21,.05);border-color:rgba(184,136,46,.5);
    color:var(--ink);box-shadow:none;
  }
  .page-home .band-workshop .btn svg{color:var(--vein-deep)}
  .page-home .band-consult .btn{
    border:1px solid rgba(138,100,15,.35);
    box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .band-workshop .btn:active,
  .page-home .band-consult .btn:active{transform:none;box-shadow:none}

  /* ---- catalog ---- */
  .page-home .catalog-section .section-head-row{
    display:flex;flex-direction:column;align-items:flex-start;
    gap:0;margin-bottom:var(--home-head-gap);
  }
  .page-home .catalog-all-top{display:none}
  .page-home .catalog-section .product-carousel{
    display:flex;flex-wrap:wrap;align-items:center;
    gap:10px;margin:0;padding:0;
  }
  .page-home .catalog-section .product-track{
    order:1;flex:1 0 100%;width:100%;min-width:0;
    gap:12px;padding:4px 0 6px;margin:0;
    scroll-padding-inline:0;scroll-snap-type:x mandatory;
  }
  .page-home .catalog-section .product-track > .product-card{
    flex:0 0 100%;max-width:100%;scroll-snap-align:start;
    border:1px solid var(--home-line);border-radius:var(--home-r-card);
    box-shadow:var(--home-shadow);transform:none;
  }
  .page-home .catalog-section .product-card:hover{transform:none;box-shadow:var(--home-shadow)}
  .page-home .catalog-section .product-card:hover .product-media img{transform:none}
  .page-home .catalog-section .product-body{gap:6px;padding:14px 15px 15px}
  .page-home .catalog-section .product-title{font-size:1rem;line-height:1.6;min-height:3.2em}
  .page-home .catalog-section .product-summary{font-size:.82rem;line-height:1.8}
  .page-home .catalog-section .product-chips li{font-size:.74rem}
  .page-home .catalog-section .product-tag{top:10px;inset-inline-start:10px;font-size:.68rem;padding:4px 9px}
  .page-home .catalog-section .product-btn{min-height:40px;padding:8px 14px;font-size:.79rem}
  .page-home .catalog-section .product-inquire{min-height:40px;font-size:.78rem}
  .page-home .catalog-section .catalog-all-bottom,
  .page-home .home-projects .section-head-row > .btn.hp-all{
    display:flex;align-items:center;justify-content:space-between;
    width:100%;margin-top:16px;padding:12px 0 0;min-height:44px;
    border:0;border-top:1px solid rgba(36,29,21,.12);border-radius:0;
    background:transparent;box-shadow:none;color:var(--ink);
    font-size:.84rem;font-weight:700;
  }
  .page-home .catalog-section .catalog-all-bottom svg,
  .page-home .home-projects .section-head-row > .btn.hp-all svg{
    width:16px;height:16px;color:var(--vein-deep);
  }

  /* ---- projects: one image-led portfolio treatment ---- */
  .page-home .home-projects .hp-head{display:block;margin-bottom:var(--home-head-gap)}
  .page-home .home-projects .hp-head-main{padding-inline-start:0}
  .page-home .home-projects .hp-head-main::before{display:none;content:none}
  .page-home .home-projects .hp-title{
    margin:0 0 8px;font-size:var(--home-title);line-height:1.5;
    font-weight:800;letter-spacing:0;
  }
  .page-home .home-projects .hp-intro{
    margin-top:0;font-size:var(--home-body);line-height:var(--home-leading);
    color:#5E564A;max-width:none;
  }
  .page-home .home-projects .project-swipe .project-grid{
    gap:12px;padding:4px 0 6px;margin:0;
  }
  .page-home .home-projects .project-swipe .project-card{
    flex:0 0 86%;max-width:86%;aspect-ratio:4/5;
    display:flex;flex-direction:column;overflow:hidden;
    border:0;border-radius:var(--home-r-card);background:#1E1711;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
    transform:none;isolation:isolate;
  }
  .page-home .home-projects .project-card:hover,
  .page-home .home-projects .project-card:focus-visible{transform:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
  .page-home .home-projects .project-body{padding:16px 15px 14px;gap:5px}
  .page-home .home-projects .project-stone{font-size:.66rem;line-height:1.7}
  .page-home .home-projects .project-title{font-size:1.04rem;line-height:1.55}
  .page-home .home-projects .project-meta{font-size:.7rem;line-height:1.7}
  .page-home .home-projects .project-more{font-size:.7rem;margin-top:8px}
  .page-home .home-projects .project-year{
    top:12px;inset-inline-end:12px;padding:3px 8px;
    border-radius:999px;font-size:.62rem;
  }
  .page-home .home-projects .project-swipe-controls{
    display:flex;align-items:center;gap:10px;margin-top:14px;
  }

  /* ---- testimonials ---- */
  .page-home .testi-section .section-head{margin-bottom:var(--home-head-gap)}
  .page-home .testi-section .eyebrow{
    margin-bottom:8px;padding:0;border:0;background:none;
    box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
    color:var(--vein-deep);
  }
  .page-home .testi-section .section-title{text-shadow:none}
  .page-home .testi-section .section-intro{
    margin-top:0;font-size:var(--home-body);line-height:var(--home-leading);
    color:#5E564A;
  }
  .page-home .testi-section .testi-carousel{
    display:flex;flex-wrap:wrap;align-items:center;gap:10px;
    margin:14px 0 0;padding:0;
  }
  .page-home .testi-section .testi-track{
    order:1;flex:1 0 100%;width:100%;min-width:0;
    gap:12px;padding:4px 0 6px;margin:0;
    scroll-padding-inline:0;
  }
  .page-home .testi-section .testi-track > .testi-card{flex:0 0 86%;max-width:86%}
  .page-home .testi-section .testi-card{
    display:flex;flex-direction:column;gap:9px;
    padding:15px 14px 14px;
    border:1px solid var(--home-line);border-radius:var(--home-r-card);
    background:#FFFDF9;box-shadow:var(--home-shadow);
    transform:none;
  }
  .page-home .testi-section .testi-card:hover{
    transform:none;border-color:var(--home-line);box-shadow:var(--home-shadow);
  }
  .page-home .testi-quote{
    position:absolute;top:10px;inset-inline-end:12px;
    color:var(--vein-deep);opacity:.18;
  }
  .page-home .testi-quote svg{width:22px;height:22px}
  .page-home .testi-section .testi-card blockquote{
    margin:0;font-size:.86rem;line-height:1.9;color:#3A3227;
  }
  .page-home .testi-stars{margin-top:1px;gap:2px;color:var(--vein-deep);opacity:.9}
  .page-home .testi-stars svg{width:11px;height:11px}
  .page-home .testi-card figcaption{
    margin-top:2px;padding-top:9px;gap:1px;
    border-top:1px solid rgba(36,29,21,.09);
  }
  .page-home .testi-name{font-size:.9rem;line-height:1.5;font-weight:700}
  .page-home .testi-role{font-size:.74rem;line-height:1.6;color:#6F6456}

  /* ---- one slider control row for every carousel ---- */
  .page-home .cat-swipe-bar,
  .page-home .project-swipe-controls,
  .page-home .catalog-section .product-carousel,
  .page-home .testi-section .testi-carousel{gap:10px}

  .page-home .cat-nav,
  .page-home .home-projects .proj-nav,
  .page-home .catalog-section .carousel-nav,
  .page-home .testi-section .testi-carousel .carousel-nav{
    position:static;transform:none;
    width:36px;height:36px;min-width:36px;padding:0;
    display:inline-flex;align-items:center;justify-content:center;
    border:1px solid rgba(36,29,21,.13);border-radius:50%;
    background:#fff;color:var(--vein-deep);box-shadow:none;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .cat-nav:hover,
  .page-home .home-projects .proj-nav:hover,
  .page-home .catalog-section .carousel-nav:hover,
  .page-home .testi-section .testi-carousel .carousel-nav:hover{
    transform:none;background:#fff;color:var(--vein-deep);
    border-color:rgba(184,136,46,.5);box-shadow:none;
  }
  .page-home .cat-nav svg,
  .page-home .home-projects .proj-nav svg,
  .page-home .catalog-section .carousel-nav svg,
  .page-home .testi-section .testi-carousel .carousel-nav svg{
    width:16px;height:16px;flex:none;
  }

  .page-home .catalog-section .carousel-nav-prev,
  .page-home .testi-section .testi-carousel .carousel-nav-prev{order:2}
  .page-home .catalog-section .product-dots,
  .page-home .testi-section .testi-dots{
    display:flex;order:3;flex:1;align-items:center;justify-content:center;
    gap:5px;margin:0;min-height:22px;
  }
  .page-home .catalog-section .carousel-nav-next,
  .page-home .testi-section .testi-carousel .carousel-nav-next{order:4}
  .page-home .home-projects .project-swipe-dots{
    display:flex;flex:1;align-items:center;justify-content:center;gap:5px;margin:0;
  }
  .page-home .cat-swipe-dots{
    display:flex;align-items:center;justify-content:center;
    flex:1;flex-wrap:wrap;gap:2px;margin:0;
  }
  .page-home .cat-swipe-dots .cs-dot{
    width:22px;height:22px;padding:0;border:0;background:none;
    display:grid;place-items:center;cursor:pointer;border-radius:50%;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .cat-swipe-dots .cs-dot::before{
    content:"";width:6px;height:6px;border-radius:999px;
    background:rgba(36,29,21,.18);transition:width .25s,background .25s;
  }
  .page-home .cat-swipe-dots .cs-dot.is-active::before{width:18px;background:var(--vein-deep)}
  .page-home .ts-dot,
  .page-home .ps-dot{width:6px;height:6px;border-radius:999px;background:rgba(36,29,21,.18)}
  .page-home .ts-dot.is-active,
  .page-home .ps-dot.is-active{width:18px;background:var(--vein-deep)}
  .page-home .home-projects .project-swipe-dots .ps-dot{
    width:6px;height:6px;border-radius:999px;background:rgba(36,29,21,.18);
  }
  .page-home .home-projects .project-swipe-dots .ps-dot.is-active{
    width:18px;background:var(--vein-deep);
  }

  /* ---- closing CTA ---- */
  .page-home .cta-band--feature .cta-inner{
    display:grid;grid-template-columns:1fr;justify-items:center;
    gap:16px;padding-block:var(--home-section-y);text-align:center;
  }
  .page-home .cta-eyebrow{margin-bottom:8px;font-size:.7rem;color:var(--travertine);justify-content:center}
  .page-home .cta-eyebrow-dot{width:6px;height:6px;box-shadow:none}
  .page-home .cta-band--feature .cta-copy p{max-width:46ch;margin-inline:auto}
  .page-home .cta-band--feature .cta-actions{width:100%;gap:10px;margin-top:0}
  .page-home .cta-band--feature .cta-main-btn{
    width:100%;min-height:50px;padding:14px 20px;font-size:.95rem;
    box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .cta-or{font-size:.7rem;color:rgba(200,169,122,.6)}
  .page-home .cta-phone{
    padding:9px 12px;border-radius:10px;
    border-color:rgba(200,169,122,.28);background:rgba(200,169,122,.05);
  }
  .page-home .cta-phone-ic{width:32px;height:32px}
  .page-home .cta-phone-label{font-size:.7rem}
  .page-home .cta-phone-num{font-size:.95rem}
}

@media (max-width:390px){
  .page-home{
    --home-section-y:clamp(34px,9vw,42px);
    --home-head-gap:16px;
    --home-title:1.3rem;
  }
  .page-home .hero-title{font-size:1.62rem;line-height:1.32}
  .page-home .hero-lead{font-size:.9rem}
  .page-home .hero-actions{gap:8px}
  .page-home .strip-inner{gap:10px 12px;padding-block:16px}
  .page-home .strip-item{font-size:.78rem;gap:8px}
  .page-home .strip-item svg{width:30px;height:30px;padding:6px}
  .page-home .band-points li,
  .page-home .band .band-points li{font-size:.85rem;gap:9px}
  .page-home .catalog-section .product-btn{padding:8px 12px;font-size:.76rem}
  .page-home .catalog-section .product-inquire{font-size:.75rem}
}

@media (prefers-reduced-motion:reduce){
  .page-home .cat-section .cat-swipe .cat-grid,
  .page-home .catalog-section .product-track,
  .page-home .testi-section .testi-track{scroll-behavior:auto}
  .page-home .cat-card,
  .page-home .product-card,
  .page-home .testi-card{transition:none}
}

/* ==========================================================================
   HOME — PREMIUM MINIMAL MOBILE REDESIGN (≤768px)
   Fundamental rethink of every homepage section at phone scale.
   Goals: cinematic stone images, editorial pacing, strong type hierarchy,
   purposeful light/dark rhythm, generous whitespace, premium feel.
   ALL rules scoped to .page-home at @media (max-width:768px).
   Desktop and tablet > 768px are completely untouched.
   ========================================================================== */

@media (max-width:768px){

  /* ── global: editorial scale + generous vertical rhythm ── */
  .page-home{
    --home-section-y:clamp(52px,10.4vw,70px);
    --home-head-gap:clamp(24px,5.6vw,34px);
    --home-title:clamp(1.5rem,6.4vw,1.78rem);
    --home-body:.95rem;
    --home-leading:1.98;
  }

  /* ── HERO: commanding stone slab + strong headline ── */
  .page-home .hero-grid{
    display:grid;grid-template-columns:1fr;
    gap:0;padding-block:0 var(--home-section-y);
  }
  .page-home .hero-figure>img{aspect-ratio:4/3}
  .page-home .hero-badge{
    font-size:.78rem;padding:10px var(--home-gutter);gap:10px;
  }
  .page-home .hero-copy{padding-block-start:0}
  .page-home .hero-copy .eyebrow{
    margin-bottom:14px;font-size:.72rem;letter-spacing:.08em;
    color:rgba(200,169,122,.9);
  }
  .page-home .hero-title{
    font-size:clamp(2.1rem,8.4vw,2.6rem);
    font-weight:900;line-height:1.15;
    letter-spacing:-.022em;text-wrap:balance;
  }
  .page-home .hero-lead{
    margin-top:14px;max-width:38ch;
    font-size:.97rem;line-height:1.98;color:#CDB998;
  }
  .page-home .hero-actions{gap:12px;margin-top:26px}
  .page-home .hero-actions .btn-primary{
    min-height:52px;font-size:1rem;font-weight:800;
    box-shadow:0 2px 0 var(--vein-deep),0 14px 28px -10px rgba(138,100,15,.5);
  }
  .page-home .hero-actions .btn-ghost{
    min-height:52px;border-color:rgba(200,169,122,.35);
    color:rgba(200,169,122,.82);
  }
  .page-home .hero-stats{
    margin-top:30px;padding-top:22px;gap:0;text-align:center;
    border-top:1px solid rgba(184,136,46,.2);
  }
  .page-home .hero-stats>div{padding:0 8px}
  .page-home .hero-stats dt{
    font-size:1.3rem;font-weight:900;line-height:1.28;
    color:#EAC47E;text-shadow:none;
  }
  .page-home .hero-stats dd{
    font-size:.72rem;font-weight:400;line-height:1.65;color:#C4B396;
  }

  /* ── TRUST STRIP: cream stone surface — breaks dark/dark hero sequence ── */
  .page-home .strip{
    background:#F5F0E5;
    border-top:1px solid rgba(184,136,46,.22);
    border-bottom:1px solid rgba(184,136,46,.18);
    box-shadow:none;
  }
  .page-home .strip-inner{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 0;padding-block:22px;align-items:center;
  }
  .page-home .strip-item{
    color:var(--ink);font-size:.86rem;font-weight:600;
    gap:11px;padding:0;text-shadow:none;
  }
  .page-home .strip-item svg{
    flex:none;width:36px;height:36px;padding:8px;border-radius:10px;
    color:var(--vein-deep);
    background:rgba(184,136,46,.1);border:1px solid rgba(184,136,46,.28);
    box-shadow:none;transform:none;stroke-width:1.7;
  }
  .page-home .strip-item:hover{color:var(--ink)}
  .page-home .strip-item:hover svg{
    color:var(--vein-deep);border-color:rgba(184,136,46,.4);
    box-shadow:none;transform:none;
  }
  .page-home .strip-item:nth-child(2),
  .page-home .strip-item:nth-child(4){
    padding-inline-start:18px;
    border-inline-start:1px solid rgba(184,136,46,.2);
  }
  .page-home .strip-item:nth-child(3),
  .page-home .strip-item:nth-child(4){
    padding-block-start:14px;
    border-top:1px solid rgba(184,136,46,.14);
  }

  /* ── CATEGORIES: larger editorial image cards ── */
  .page-home .cat-section{padding-block:var(--home-section-y)}
  .page-home .cat-section .cat-swipe .cat-card{flex:0 0 82%;max-width:82%}
  .page-home .cat-section .cat-card-has-media .cat-media{aspect-ratio:3/2}
  .page-home .cat-section .cat-card-has-media .cat-body{padding:14px 14px 16px}
  .page-home .cat-section .cat-title{
    font-size:1.1rem;font-weight:800;line-height:1.5;
  }
  .page-home .cat-section .cat-tagline{
    font-size:.86rem;line-height:1.78;min-height:0;color:#5E564A;
  }
  .page-home .cat-section .cat-link{margin-top:12px;font-size:.82rem}

  /* ── FEATURE BANDS: cinematic wide images, clean copy ── */
  .page-home .band-media img,
  .page-home .band .band-media img,
  .page-home .band-direct .band-media img,
  .page-home .band-workshop .band-media img,
  .page-home .band-consult .band-media img{
    aspect-ratio:16/9;
    border-radius:var(--home-r-media);
    border-color:rgba(200,169,122,.18);
  }
  .page-home .band-title,
  .page-home .band .band-title{
    font-size:clamp(1.52rem,6.4vw,1.78rem);
    line-height:1.42;margin-bottom:12px;letter-spacing:-.01em;
  }
  .page-home .band-copy>p,
  .page-home .band .band-copy>p{font-size:.95rem;line-height:1.98}
  .page-home .band-points li,
  .page-home .band .band-points li,
  .page-home .band-workshop .band-points li,
  .page-home .band-consult .band-points li{
    padding:12px 0;font-size:.9rem;line-height:1.75;
  }
  .page-home .band .btn{margin-top:18px}
  /* workshop: same warm cream as the light strip */
  .page-home .band.band-workshop{background:#F5F0E5}

  /* ── CATALOG: editorial product strip ── */
  .page-home .catalog-section{padding-block:var(--home-section-y)}
  .page-home .catalog-section .product-media{aspect-ratio:16/10}
  .page-home .catalog-section .product-title{
    font-size:1.06rem;line-height:1.58;min-height:0;
  }
  .page-home .catalog-section .product-body{gap:7px;padding:14px 15px 16px}
  .page-home .catalog-section .product-track > .product-card{border-radius:14px}

  /* ── PROJECTS: editorial portrait photography ── */
  .page-home .home-projects{padding-block:var(--home-section-y)}
  .page-home .home-projects .project-swipe .project-card{
    flex:0 0 80%;max-width:80%;aspect-ratio:3/4;
  }
  .page-home .home-projects .project-title{font-size:1.1rem;line-height:1.5}
  .page-home .home-projects .project-body{padding:22px 16px 18px;gap:6px}

  /* ── TESTIMONIALS: minimal content-first cards ── */
  .page-home .testi-section{
    padding-block:var(--home-section-y);
    background:#F9F5EE;
    border-top:1px solid rgba(36,29,21,.08);
  }
  .page-home .testi-section .testi-card{
    padding:20px 16px 16px;background:#FFFDF9;
    border:1px solid rgba(36,29,21,.08);
  }
  .page-home .testi-section .testi-card blockquote{
    font-size:.91rem;line-height:2;color:#3A3227;
  }
  .page-home .testi-name{font-size:.93rem;font-weight:800}
  .page-home .testi-role{font-size:.76rem;color:#6F6456}

  /* ── CTA BAND: commanding editorial close ── */
  .page-home .cta-band--feature .cta-inner{
    padding-block:clamp(54px,11vw,72px);gap:20px;
  }
  .page-home .cta-band--feature .cta-copy h2{
    font-size:clamp(1.65rem,7.2vw,2.1rem);
    line-height:1.36;letter-spacing:-.015em;
  }
  .page-home .cta-band--feature .cta-copy p{
    font-size:.97rem;line-height:2;max-width:42ch;margin-inline:auto;
  }
  .page-home .cta-band--feature .cta-main-btn{
    min-height:54px;padding:16px 22px;font-size:1rem;font-weight:800;
    box-shadow:0 2px 0 var(--vein-deep),0 14px 30px -12px rgba(138,100,15,.4);
  }
}

/* strip grid collapses to single column at 420px — remove side borders */
@media (max-width:420px){
  .page-home .strip-item:nth-child(2),
  .page-home .strip-item:nth-child(4){
    padding-inline-start:0;border-inline-start:0;
  }
}

/* very small phones: tighten the premium redesign further */
@media (max-width:390px){
  .page-home{
    --home-section-y:clamp(40px,10vw,52px);
    --home-title:1.38rem;
  }
  .page-home .hero-title{font-size:1.82rem;line-height:1.2}
  .page-home .hero-lead{font-size:.9rem}
  .page-home .cat-section .cat-swipe .cat-card{flex:0 0 88%;max-width:88%}
  .page-home .home-projects .project-swipe .project-card{flex:0 0 88%;max-width:88%}
  .page-home .strip-inner{gap:12px 0;padding-block:18px}
  .page-home .strip-item{font-size:.82rem;gap:9px}
  .page-home .strip-item svg{width:34px;height:34px;padding:7px}
  .page-home .strip-item:nth-child(3),
  .page-home .strip-item:nth-child(4){padding-block-start:12px}
}

/* ==========================================================================
   HOME — MOBILE RESPONSIVE / ACCESSIBILITY HARDENING (≤768 px)
   Scoped to the homepage and to phone widths, so the desktop layout is
   unchanged. Keeps long strings inside the viewport, gives every slider
   control a finger-sized target, aligns the hero info strip with the page
   gutter and removes the per-frame blur cost from the sticky header.
   ========================================================================== */
@media (max-width:768px){
  /* long words, e-mails and numbers wrap instead of widening the page */
  .page-home .hero-title,
  .page-home .section-title,
  .page-home .band-title,
  .page-home .cat-title,
  .page-home .product-title,
  .page-home .project-title,
  .page-home .testi-name,
  .page-home .cta-phone-num{overflow-wrap:break-word}

  /* grid/flex children may shrink instead of forcing horizontal scroll */
  .page-home .hero-grid > *,
  .page-home .band-grid > *,
  .page-home .hero-actions > *,
  .page-home .product-foot > *{min-width:0}

  /* the info strip under the hero image follows the same gutter as the copy */
  .page-home .hero-badge{padding-inline:var(--home-gutter)}

  /* WCAG 2.2 target size: 44 px for arrows, 28 px for the dots */
  .page-home .cat-section .cat-nav,
  .page-home .home-projects .proj-nav,
  .page-home .catalog-section .carousel-nav,
  .page-home .testi-section .testi-carousel .carousel-nav{
    width:44px;height:44px;min-width:44px;
  }
  .page-home .cat-swipe-dots .cs-dot{width:28px;height:28px}
  .page-home .catalog-section .product-btn,
  .page-home .catalog-section .product-inquire{min-height:44px}

  /* the "یا" separator keeps AA contrast on the dark closing CTA */
  .page-home .cta-or{font-size:.76rem;color:#C8A97A}

  /* near-opaque header on phones: same look, no blur on every scroll frame */
  .site-header{background:rgba(250,248,244,.98);backdrop-filter:none;-webkit-backdrop-filter:none}
}

@media (max-width:768px){
  .drawer-close{width:44px;height:44px;min-width:44px}
  .drawer-cats a,
  .drawer-contact > a,
  .drawer-hours{min-height:44px}
}

@media (max-width:540px){
  /* mobile footer: finger-sized social icons and link rows */
  .site-footer .footer-social a{width:44px;height:44px}
  .site-footer .footer-links a{min-height:44px}

  /* e-mails and long addresses wrap instead of overflowing the footer */
  .site-footer .footer-contact span{overflow-wrap:break-word}

  /* copyright line: ~7:1 contrast on the quarry background */
  .site-footer .footer-bottom{color:rgba(214,186,144,.9)}
  .site-footer .footer-bottom > span:first-child{color:rgba(222,196,156,.94)}
  .site-footer .footer-mini{color:rgba(214,186,144,.86)}
}

/* visible focus ring on gold/dark surfaces (WCAG 2.4.11) */
.btn-primary:focus-visible,
.btn-dark:focus-visible,
.fab-toggle:focus-visible{
  outline:2px solid #FFFDF8;outline-offset:2px;
  box-shadow:0 0 0 4px rgba(30,23,17,.9);
}
.mobile-drawer a:focus-visible,
.mobile-drawer button:focus-visible{outline-color:#E6D2AC}

/* calmer motion: the strip only stops its decorative pseudo-animations,
   content is never left hidden by this rule */
@media (prefers-reduced-motion:reduce){
  .strip::before,
  .strip::after,
  .strip-inner::before,
  .strip-item + .strip-item::before{animation:none!important}
  .mobile-drawer,
  .drawer-backdrop{transition:none}
}

/* ==========================================================================
   SITE-WIDE MOBILE TYPOGRAPHY & SPACING SYSTEM (≤768 px)
   Responsive type scale, Persian line-heights, contrast and rhythm for all
   pages. The more-specific .page-home rules already defined above take
   precedence for the homepage via selector specificity.
   Desktop / tablet (>768 px) styles are completely untouched.
   ========================================================================== */

@media (max-width:768px){

  /* ── 1. MOBILE CSS TYPE-SCALE & SPACING TOKENS ──────────────────────── */
  :root{
    --t-hero:clamp(1.75rem,7.2vw,2.3rem);
    --t-h1:clamp(1.5rem,5.6vw,1.9rem);
    --t-h2:clamp(1.25rem,5vw,1.55rem);
    --t-h3:1.1rem;
    --t-lead:1rem;
    --t-body:.9375rem;
    --t-small:.8125rem;
    --t-label:.72rem;
    /* tighter vertical spacing on mobile */
    --sp-6:40px;
    --sp-8:52px;
    --sp-12:72px;
    --sp-16:96px;
  }

  /* ── 2. BASE LINE-HEIGHTS FOR PERSIAN TEXT ───────────────────────────── */
  body{font-size:var(--t-body);line-height:1.95}
  h1,h2,h3,h4{line-height:1.52;letter-spacing:0}
  /* sub-headings use regular-bold, not extra-bold */
  h3,h4{font-weight:700}
  p{line-height:1.95}

  /* ── 3. UNIFORM HORIZONTAL GUTTER ───────────────────────────────────── */
  .container{padding-inline:clamp(16px,5vw,24px)}

  /* ── 4. SECTION / BAND VERTICAL RHYTHM ──────────────────────────────── */
  .section,.section-tight{padding-block:clamp(40px,8.4vw,54px)}
  .band{padding-block:clamp(40px,8.4vw,54px)}
  .section-head{margin-bottom:clamp(20px,4.4vw,28px);max-width:100%}
  .section-head-row{gap:16px}

  /* ── 5. EYEBROW / SUPER-LABEL — SIZE & CONTRAST ─────────────────────── */
  .eyebrow{
    font-size:var(--t-label);letter-spacing:.08em;
    line-height:1.65;font-weight:700;margin-bottom:10px;
  }
  /* light / marble surfaces: vein-deep ensures WCAG AA (≈5.3:1 on marble) */
  .section .eyebrow,
  .band-light .eyebrow{color:var(--vein-deep)}
  /* dark quarry surfaces: lighter gold (#E4C88A ≈ 8:1 on #1E1711) */
  .band-dark .eyebrow,
  .hero .eyebrow,
  .cta-band .eyebrow{color:#E4C88A}

  /* ── 6. SECTION HEADINGS + INTRO ────────────────────────────────────── */
  .section-title{
    font-size:var(--t-h2);font-weight:700;
    line-height:1.52;letter-spacing:0;text-wrap:balance;
  }
  .section-intro{
    margin-top:10px;
    font-size:var(--t-lead);line-height:2;color:var(--slate);
  }

  /* ── 7. PAGE HERO — INNER PAGES (/products, /contact, /about …) ─────── */
  .page-hero{padding-block:clamp(28px,6vw,42px)}
  .page-title{
    font-size:var(--t-h1);font-weight:800;
    line-height:1.5;letter-spacing:0;
  }
  .page-lead{margin-top:10px;font-size:var(--t-lead);line-height:2}
  .crumbs{font-size:var(--t-small);gap:8px;margin-bottom:10px;line-height:1.75}

  /* ── 8. BAND HEADINGS + BODY COPY ───────────────────────────────────── */
  .band-title{
    font-size:var(--t-h2);font-weight:700;
    line-height:1.52;letter-spacing:0;margin-bottom:10px;
  }
  .band-copy>p{font-size:var(--t-lead);line-height:2;max-width:none}
  .band-dark .band-copy>p{color:#E5D9C5}
  .band-light .band-copy>p{color:var(--slate)}
  .band-points li{font-size:var(--t-body);font-weight:500;line-height:1.75}

  /* ── 9. PRODUCT CARDS (catalog / inner pages) ───────────────────────── */
  .product-title{font-size:1rem;font-weight:700;line-height:1.6}
  .product-summary{font-size:var(--t-small);line-height:1.85}

  /* ── 10. PRODUCT DETAIL PAGE ─────────────────────────────────────────── */
  .pd-title{
    font-size:var(--t-h1);font-weight:800;
    line-height:1.5;letter-spacing:0;
  }
  .pd-summary{font-size:var(--t-lead);line-height:2;margin-top:10px}
  .pd-h2{font-size:1.15rem;font-weight:700}

  /* ── 11. PROJECT DETAIL PAGE ─────────────────────────────────────────── */
  .prd-title{
    font-size:var(--t-h1);font-weight:800;
    line-height:1.5;letter-spacing:0;
  }
  .prd-desc p{font-size:var(--t-lead);line-height:2}
  .prd-meta-list li{font-size:var(--t-body);line-height:1.95}

  /* ── 12. CATEGORY + PROJECT + TESTIMONIAL CARDS ─────────────────────── */
  .cat-title{font-size:1rem;font-weight:700;line-height:1.52}
  .cat-tagline{font-size:var(--t-small);line-height:1.75}
  .project-title{font-size:1rem;font-weight:700;line-height:1.52}
  .project-desc{font-size:var(--t-small);line-height:1.8}
  .testi-card blockquote{font-size:var(--t-body);line-height:2}
  .testi-name{font-size:var(--t-body);font-weight:700}
  .testi-role{font-size:var(--t-small);line-height:1.65}

  /* ── 13. STEPS + FAQ ─────────────────────────────────────────────────── */
  .step-title{font-size:1rem;font-weight:700;line-height:1.52}
  .step-body p{font-size:var(--t-body);line-height:1.95}
  .faq-item summary{
    font-size:var(--t-body);font-weight:700;line-height:1.65;
    padding:var(--sp-2) var(--sp-2);
  }
  .faq-answer{font-size:var(--t-body);line-height:2}

  /* ── 14. CONTACT CARDS ───────────────────────────────────────────────── */
  .contact-v{font-size:var(--t-body);font-weight:700;line-height:1.6}
  .contact-k{font-size:var(--t-small);line-height:1.65}
  .aside-title{font-size:1rem;font-weight:700;line-height:1.52}
  .aside-line{font-size:var(--t-body);line-height:1.75}

  /* ── 15. CTA BAND ────────────────────────────────────────────────────── */
  .cta-copy h2{
    font-size:var(--t-h2);font-weight:700;
    line-height:1.52;letter-spacing:0;
  }
  .cta-copy p{font-size:var(--t-lead);line-height:2}

  /* ── 16. GOLD TEXT CONTRAST ON DARK BACKGROUNDS ─────────────────────── */
  /* brighter values that pass 4.5:1 on the dark quarry (#1E1711 / #2D261C) */
  .hero-lead{color:#D9C09A}
  .hero-stats dt{color:#EAC47E}
  .hero-stats dd{color:#C4B396}
  .strip-item{color:#F2EAD8}

  /* ── 17. FOOTER COLUMN HEADINGS ──────────────────────────────────────── */
  .footer-title{font-size:.88rem;font-weight:700;line-height:1.5}
}

/* ── Very small phones: tighter scale ───────────────────────────────────── */
@media (max-width:390px){
  :root{
    --t-h1:clamp(1.38rem,5.5vw,1.65rem);
    --t-h2:clamp(1.18rem,5vw,1.38rem);
    --t-h3:1.05rem;
    --t-lead:.9rem;
    --t-body:.9rem;
    --sp-6:34px;
    --sp-8:44px;
  }
  .page-title,.pd-title,.prd-title{font-size:clamp(1.35rem,5.5vw,1.6rem)}
}

/* ==========================================================================
   HOMEPAGE — MOBILE TYPOGRAPHY ALIGNMENT (≤768 px)
   Aligns .page-home with the site-wide type scale above. These rules appear
   after all earlier .page-home mobile blocks; same specificity + later in
   file = they win in the cascade, so the homepage is no longer exempt.
   ========================================================================== */
@media (max-width:768px){

  /* ── 1. Update homepage tokens to match site-wide scale ── */
  .page-home{
    --home-title:var(--t-h2);
    --home-body:var(--t-body);
    --home-leading:2;
    --home-eyebrow:var(--t-label);
  }

  /* ── 2. Reduce excessive bold — section-level headings use 700 ── */
  .page-home .section-title,
  .page-home .band-title,
  .page-home .band .band-title,
  .page-home .cat-head .section-title,
  .page-home .home-projects .hp-title{font-weight:700}
  .page-home .cta-band--feature .cta-copy h2{font-weight:700}

  /* ── 3. Eyebrow labels: readable size + tracking on all surfaces ── */
  .page-home .eyebrow,
  .page-home .band .eyebrow,
  .page-home .cat-head .eyebrow,
  .page-home .home-projects .eyebrow{
    font-size:var(--t-label);font-weight:600;letter-spacing:.08em;
    line-height:1.65;margin-bottom:10px;
  }
  .page-home .band-dark .eyebrow,
  .page-home .hero-copy .eyebrow{color:#E4C88A}

  /* ── 4. Gold on dark backgrounds: contrast improvements ── */
  .page-home .hero-lead{color:#D9C09A}
  .page-home .hero-stats dt{color:#EAC47E}
  .page-home .hero-stats dd{color:#C4B396}

  /* ── 5. Body copy: unified leading across homepage sections ── */
  .page-home .section-intro,
  .page-home .band-copy>p,
  .page-home .band .band-copy>p{font-size:var(--t-body);line-height:2}
  .page-home .band-dark .band-copy>p{color:#E5D9C5}
  .page-home .cta-band--feature .cta-copy p{font-size:var(--t-body);line-height:2}

  /* ── 6. Card text: unified size with site system ── */
  .page-home .cat-title{font-size:var(--t-h3);font-weight:700;line-height:1.5}
  .page-home .cat-tagline{font-size:var(--t-small);line-height:1.95}
  .page-home .product-title{font-size:var(--t-h3);font-weight:700;line-height:1.55}
  .page-home .product-summary{font-size:var(--t-small);line-height:1.95}
  .page-home .project-title{font-size:var(--t-h3);font-weight:700;line-height:1.55}
  .page-home .testi-card blockquote{font-size:var(--t-body);line-height:2}
  .page-home .testi-name{font-size:var(--t-body);font-weight:700}
  .page-home .testi-role{font-size:var(--t-small);line-height:1.65}
}

/* ==========================================================================
   MOBILE HEADER + DRAWER REDESIGN — brand-led, refined, compact (≤768 px)
   Scoped strictly to phones: desktop and tablet (>768 px) are untouched.
   ========================================================================== */
@media (max-width:768px){
  :root{--header-h:60px}

  /* --- header shell: slimmer, with one quiet gold identity line --- */
  .site-header{
    border-bottom:1px solid rgba(184,136,46,.24);
    box-shadow:0 1px 0 rgba(184,136,46,.1),0 4px 14px rgba(30,23,17,.05);
  }
  .site-header::after{
    left:16px;right:16px;height:1px;
    background:linear-gradient(90deg,transparent,rgba(184,136,46,.55) 30%,rgba(184,136,46,.55) 70%,transparent);
  }
  .header-inner{min-height:var(--header-h);padding-inline:16px;gap:8px}

  /* --- brand lockup: steadier proportions, gold rule under the name --- */
  .header-inner .brand{gap:10px;min-width:0;align-items:center}
  .header-inner .brand-logo{height:38px;max-width:120px}
  .header-inner .brand-mark{width:38px;height:38px;font-size:1.1rem;border-radius:9px}
  .header-inner .brand-text{position:relative;gap:2px;padding-bottom:6px;line-height:1.2}
  .header-inner .brand-name{
    font-size:1.06rem;font-weight:800;letter-spacing:-.015em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .header-inner .brand-sub{
    font-size:.62rem;font-weight:600;letter-spacing:.06em;
    color:var(--vein-deep);white-space:nowrap;
  }
  .header-inner .brand-text::after{
    content:"";position:absolute;inset-inline-start:0;bottom:0;
    width:30px;height:2px;border-radius:2px;
    background:linear-gradient(90deg,var(--vein),rgba(184,136,46,.12));
  }

  /* --- menu button: borderless, hand-drawn bars, round touch target --- */
  .header-cta{gap:0}
  .site-header .header-cta .nav-toggle{
    position:relative;width:44px;height:44px;min-width:44px;
    display:inline-flex;align-items:center;justify-content:center;
    background:transparent;border:0;border-radius:50%;box-shadow:none;
    color:var(--ink);
    transition:background .2s ease,transform .15s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .site-header .nt-bars{
    display:flex;flex-direction:column;justify-content:center;gap:4px;
    width:22px;height:18px;
  }
  .site-header .nt-bars > span{
    display:block;height:1.6px;border-radius:2px;background:var(--ink);
    transition:width .2s ease,background .2s ease;
  }
  .site-header .nt-bars > span:nth-child(1){width:22px}
  .site-header .nt-bars > span:nth-child(2){width:15px;background:var(--vein)}
  .site-header .nt-bars > span:nth-child(3){width:19px}
  .site-header .header-cta .nav-toggle:hover,
  .site-header .header-cta .nav-toggle:focus-visible{background:rgba(184,136,46,.1)}
  .site-header .header-cta .nav-toggle:hover .nt-bars > span{background:var(--vein-deep)}
  .site-header .header-cta .nav-toggle:active{transform:scale(.94);background:rgba(184,136,46,.16)}

  /* --- drawer: calmer type, clear rhythm, quick-access tiles --- */
  .mobile-drawer{
    width:min(88vw,360px);
    border-inline-start:1px solid rgba(184,136,46,.3);
  }
  .drawer-head{padding:14px 16px;background:rgba(30,23,17,.5)}
  .drawer-brand .drawer-logo{height:40px;max-width:126px}
  .drawer-brand-name{font-size:1.04rem}
  .drawer-brand-sub{font-size:.63rem;letter-spacing:.05em;color:#C8A97A}
  .mobile-drawer .drawer-head .nav-toggle.drawer-close{
    width:44px;height:44px;min-width:44px;border-radius:50%;
    border:1px solid rgba(184,136,46,.3);
    background:rgba(242,234,216,.04);
    box-shadow:none;
  }
  .mobile-drawer .drawer-head .nav-toggle.drawer-close:hover{background:rgba(200,169,122,.12);border-color:rgba(184,136,46,.55)}

  .drawer-body{
    gap:16px;padding:14px 14px calc(22px + env(safe-area-inset-bottom));
  }

  .drawer-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .drawer-quick a{
    display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;
    min-height:72px;padding:10px 12px;border-radius:11px;
    border:1px solid rgba(184,136,46,.24);
    background:linear-gradient(160deg,rgba(184,136,46,.14),rgba(184,136,46,.04));
    color:#EADCC4;font-size:.82rem;font-weight:700;line-height:1.4;
    transition:background .2s ease,border-color .2s ease;
  }
  .drawer-quick a:hover,.drawer-quick a:focus-visible{
    background:rgba(184,136,46,.18);border-color:rgba(184,136,46,.5);
  }
  .dq-ic{
    display:grid;place-items:center;width:30px;height:30px;border-radius:8px;
    background:rgba(184,136,46,.18);color:#E6C88C;
  }

  .drawer-nav-wrap{gap:4px}
  .drawer-nav-wrap .drawer-title{font-size:.66rem;letter-spacing:.1em;color:#C8A97A;margin:0 4px 4px}
  .drawer-nav{gap:0}
  .drawer-nav a{
    min-height:48px;padding:9px 8px;border-radius:8px;
    border:0;border-bottom:1px solid rgba(58,49,39,.75);
    background:transparent;font-size:.93rem;font-weight:500;gap:11px;
  }
  .drawer-nav a:last-child{border-bottom:0}
  .drawer-nav a:hover,.drawer-nav a:focus-visible{
    background:rgba(200,169,122,.08);border-bottom-color:rgba(184,136,46,.35);
  }
  .drawer-nav a[aria-current="page"]{
    background:rgba(184,136,46,.14);border-bottom-color:rgba(184,136,46,.4);
    color:#F6E9CF;font-weight:700;
  }
  .drawer-ic{
    width:32px;height:32px;border-radius:50%;
    background:rgba(184,136,46,.13);
  }
  .drawer-chev{width:15px;height:15px;opacity:.35}

  .drawer-cta{min-height:48px;border-radius:10px;font-size:.9rem}

  .drawer-cats{gap:8px}
  .drawer-cats a{min-height:44px;font-size:.81rem}
  .drawer-contact > a,.drawer-hours{font-size:.84rem;min-height:44px}
}

@media (max-width:390px){
  :root{--header-h:56px}
  .header-inner{padding-inline:14px}
  .header-inner .brand-logo{height:34px;max-width:106px}
  .header-inner .brand-mark{width:36px;height:36px;font-size:1.05rem}
  .header-inner .brand-name{font-size:1rem}
  .header-inner .brand-sub{font-size:.59rem}
  .site-header .nt-bars{width:20px;height:16px;gap:3.5px}
  .site-header .nt-bars > span:nth-child(1){width:20px}
  .site-header .nt-bars > span:nth-child(2){width:13px}
  .site-header .nt-bars > span:nth-child(3){width:17px}
  .drawer-quick a{min-height:68px}
}

/* ==========================================================================
   HOME HERO — MOBILE EDITORIAL REDESIGN (≤768 px)
   Replaces the previous incremental hero overrides above.
   Goals: full-bleed stone image, seamless dark fade, typographic title,
   no nested borders, no gold stat dividers, subdued secondary CTA.
   Desktop and tablet (>768 px) are completely untouched.
   ========================================================================== */
@media (max-width:768px){

  /* 1 — image: edge-to-edge, no decorative frame around the stone slab */
  .page-home .hero-visual{
    margin-inline:calc(-1 * var(--home-gutter));
    width:calc(100% + 2 * var(--home-gutter));
  }
  .page-home .hero-figure{
    border:none;
    border-radius:0;
    box-shadow:none;
    overflow:hidden;
  }
  .page-home .hero-figure>img{aspect-ratio:4/3}

  /* 2 — gradient fade: image blends into the dark hero background */
  .page-home .hero-figure::after{
    content:"";
    position:absolute;
    inset-inline:0;
    bottom:0;
    height:36%;
    background:linear-gradient(to top,#1B1510,transparent);
    pointer-events:none;
  }

  /* 3 — badge removed: eliminates the visual "box" between image and copy */
  .page-home .hero-badge{display:none}

  /* 4 — copy: breathing room after the full-bleed image */
  .page-home .hero-copy{padding-block-start:clamp(20px,5vw,28px)}

  /* 5 — title: editorial scale — the dominant typographic anchor */
  .page-home .hero-title{
    font-size:clamp(2.2rem,9.4vw,2.8rem);
    font-weight:900;
    line-height:1.18;
    letter-spacing:-.024em;
    text-wrap:balance;
  }

  /* 6 — lead: visually lighter, easier to scan */
  .page-home .hero-lead{
    margin-top:13px;
    font-size:.9rem;
    line-height:2.02;
    color:rgba(217,192,154,.82);
  }

  /* 7 — CTA: primary (catalog) stays strong; ghost (inquiry) is clearly secondary */
  .page-home .hero-actions .btn-ghost{
    border-color:rgba(200,169,122,.26);
    color:rgba(200,169,122,.62);
    min-height:48px;
  }
  .page-home .hero-actions .btn-ghost:hover,
  .page-home .hero-actions .btn-ghost:focus-visible{
    border-color:rgba(200,169,122,.44);
    color:rgba(200,169,122,.86);
    background:rgba(200,169,122,.07);
  }

  /* 8 — stats: no gold vertical dividers — keep only the quiet top rule */
  .page-home .hero-stats>div{border-inline-end:none}
}

@media (max-width:390px){
  .page-home .hero-title{font-size:1.92rem;line-height:1.2}
}

/* ==========================================================================
   CATEGORIES — MOBILE EDITORIAL REDESIGN (≤768 px)
   Image-dominant cards, catalog proportions, integrated minimal controls.
   Mobile only (.page-home @max-width:768px). Desktop/tablet unchanged.
   ========================================================================== */
@media (max-width:768px){

  /* ── Track: no overflow-padding needed without shadows; 22% next-card peek ── */
  .page-home .cat-section .cat-swipe .cat-grid{padding:0}
  .page-home .cat-section .cat-swipe .cat-card{
    flex:0 0 78%;max-width:78%;
    border:0;box-shadow:none;border-radius:14px;overflow:hidden;
  }
  .page-home .cat-section .cat-swipe .cat-card:hover{
    border:0;box-shadow:none;transform:none;
  }

  /* ── Image zone: 4:3 catalog proportions, static on swipe ── */
  .page-home .cat-section .cat-card-has-media .cat-media{aspect-ratio:4/3}
  .page-home .cat-section .cat-card-has-media:hover .cat-media img,
  .page-home .cat-section .cat-swipe .cat-card:hover .cat-media img{transform:none}

  /* ── Content zone: compact padding ── */
  .page-home .cat-section .cat-card-has-media .cat-body{padding:11px 14px 13px}

  /* ── Category name: dominant headline ── */
  .page-home .cat-section .cat-title{
    font-size:1.18rem;font-weight:800;line-height:1.42;letter-spacing:-.012em;color:var(--ink);
  }

  /* ── Tagline: single-line, minimal ── */
  .page-home .cat-section .cat-tagline{
    margin-top:4px;font-size:.78rem;line-height:1.72;min-height:0;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;
    color:#6B6256;
  }

  /* ── Entry link: lean gold text ── */
  .page-home .cat-section .cat-link{margin-top:9px;font-size:.77rem}

  /* ── Swipe-bar: centered cluster, reduced spacing ── */
  .page-home .cat-section .cat-swipe-bar{
    margin-top:8px;justify-content:center;gap:4px;
  }
  .page-home .cat-section .cat-swipe-dots{flex:0 1 auto}

  /* ── Arrow buttons: 44px touch area kept, visual weight reduced ── */
  .page-home .cat-section .cat-nav{
    background:transparent;border-color:rgba(36,29,21,.12);
    color:rgba(36,29,21,.4);box-shadow:none;
  }
  .page-home .cat-section .cat-nav:hover,
  .page-home .cat-section .cat-nav:focus-visible{
    background:rgba(184,136,46,.08);border-color:rgba(184,136,46,.35);
    color:var(--vein-deep);box-shadow:none;
  }
  .page-home .cat-section .cat-nav svg{width:14px;height:14px}

  /* ── Dot indicators: smaller visual marks, same touch area ── */
  .page-home .cat-swipe-dots .cs-dot::before{
    width:5px;height:5px;background:rgba(36,29,21,.18);
  }
  .page-home .cat-swipe-dots .cs-dot.is-active::before{
    width:12px;background:var(--vein-deep);
  }
}

@media (max-width:390px){
  .page-home .cat-section .cat-swipe .cat-card{flex:0 0 85%;max-width:85%}
}

/* ==========================================================================
   MOBILE ONLY (≤767 px) — «کارگاه برش و ساب، کنار شما» band
   Editorial rework for phones: correctly proportioned photo with an offset
   gold mat, calmer typography, a borderless icon list and a clear secondary
   CTA. Desktop and tablet (≥768 px) are intentionally untouched.
   ========================================================================== */
@media (max-width:767px){
  .page-home .band.band-workshop{
    --ws-gold:#B8882E;
    --ws-gold-deep:#7A5A10;
    --ws-ink:#241D15;
    --ws-cream:#FBF6EB;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding-block:32px 34px;
    background:
      radial-gradient(130% 80% at 100% 0%,rgba(184,136,46,.13),transparent 58%),
      radial-gradient(100% 60% at 0% 100%,rgba(122,90,16,.07),transparent 62%),
      linear-gradient(180deg,#F8F2E5 0%,#F1E8D6 62%,#EDE2CE 100%);
    border-top:1px solid rgba(184,136,46,.28);
    border-bottom:1px solid rgba(184,136,46,.16);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  }
  /* faint slab seams: texture instead of a flat panel */
  .page-home .band.band-workshop::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:repeating-linear-gradient(90deg,rgba(122,90,16,.05) 0 1px,transparent 1px 46px);
    -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 78%);
    mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 78%);
  }
  .page-home .band-workshop .band-grid{
    position:relative;
    z-index:1;
    gap:22px;
  }

  /* ── photo: 4:3 crop (never stretched) inside an offset gold mat ── */
  .page-home .band-workshop .band-media{
    position:relative;
    order:-1;
    isolation:isolate;
    margin:0;
    padding:0;
    border:0;
    border-radius:14px;
    background:none;
    box-shadow:none;
  }
  .page-home .band-workshop .band-media::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset-block:9px -9px;
    inset-inline:9px -9px;
    border:1px solid rgba(184,136,46,.45);
    border-radius:16px;
    background:linear-gradient(140deg,rgba(255,255,255,.6),rgba(184,136,46,.10));
    pointer-events:none;
  }
  .page-home .band-workshop .band-media img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:50% 45%;
    border:1px solid rgba(122,90,16,.30);
    border-radius:14px;
    background:#E4DAC5;
    box-shadow:0 18px 34px -24px rgba(58,42,20,.65);
  }
  /* gentle scrim so the equipment reads as a photographed scene */
  .page-home .band-workshop .band-media::after{
    content:"";
    position:absolute;
    inset-inline:1px;
    inset-block-end:1px;
    height:32%;
    border-radius:0 0 13px 13px;
    background:linear-gradient(180deg,rgba(30,23,17,0),rgba(30,23,17,.26));
    pointer-events:none;
  }

  /* ── eyebrow: quiet gold tag, same language as the rest of the home page ── */
  .page-home .band-workshop .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin:0 0 14px;
    padding:5px 11px 5px 10px;
    border:1px solid rgba(184,136,46,.36);
    border-radius:999px;
    background:rgba(255,252,244,.72);
    box-shadow:0 1px 0 rgba(255,255,255,.8);
    color:var(--ws-gold-deep);
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.04em;
    line-height:1.6;
  }
  .page-home .band-workshop .eyebrow-dot{width:5px;height:5px;background:var(--ws-gold)}

  /* ── heading + copy: tighter rhythm, Persian-friendly leading ── */
  .page-home .band-workshop .band-title{
    margin:0 0 12px;
    font-size:clamp(1.34rem,5.6vw,1.56rem);
    line-height:1.5;
    font-weight:800;
    letter-spacing:-.014em;
    color:var(--ws-ink);
    text-wrap:balance;
  }
  .page-home .band-workshop .band-title::after{
    content:"";
    display:block;
    width:34px;
    height:3px;
    margin-top:12px;
    border-radius:3px;
    background:linear-gradient(90deg,var(--ws-gold),var(--ws-gold-deep));
  }
  .page-home .band-workshop .band-copy>p{
    max-width:none;
    margin:0;
    font-size:.925rem;
    font-weight:400;
    line-height:2.05;
    letter-spacing:0;
    color:#4A4133;
    text-wrap:pretty;
  }

  /* ── services: no divider rows — minimal icon list ── */
  .page-home .band-workshop .band-points{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:20px 0 0;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
  }
  .page-home .band-workshop .band-points li,
  .page-home .band-workshop .band-points li:last-child{
    display:grid;
    grid-template-columns:32px minmax(0,1fr);
    align-items:center;
    gap:11px;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    font-size:.9rem;
    font-weight:600;
    line-height:1.7;
    color:#2B2218;
  }
  .page-home .band-workshop .band-points svg{
    width:32px;
    height:32px;
    padding:7px;
    margin:0;
    color:var(--ws-gold-deep);
    background:linear-gradient(160deg,rgba(184,136,46,.15),rgba(184,136,46,.05));
    border:1px solid rgba(184,136,46,.30);
    border-radius:9px;
    stroke-width:1.7;
  }

  /* ── CTA: unmistakable secondary action, finger-sized ── */
  .page-home .band-workshop .btn{
    width:100%;
    min-height:50px;
    margin-top:24px;
    padding:12px 15px;
    justify-content:space-between;
    gap:10px;
    border:1px solid rgba(122,90,16,.42);
    border-radius:12px;
    background:linear-gradient(180deg,#FFFDF8 0%,#F7EFDF 100%);
    color:#33270F;
    font-size:.94rem;
    font-weight:800;
    letter-spacing:-.005em;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px -14px rgba(58,42,20,.7);
  }
  .page-home .band-workshop .btn svg{
    width:28px;
    height:28px;
    padding:5px;
    flex:none;
    color:var(--ws-gold-deep);
    background:rgba(184,136,46,.12);
    border:1px solid rgba(184,136,46,.32);
    border-radius:999px;
  }
  .page-home .band-workshop .btn:hover{
    background:linear-gradient(180deg,#FFFDF8 0%,#F2E7CF 100%);
    border-color:rgba(122,90,16,.62);
    color:#241A06;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 20px -14px rgba(58,42,20,.8);
  }
  .page-home .band-workshop .btn:active{
    transform:none;
    box-shadow:inset 0 2px 4px rgba(58,42,20,.14);
  }
  .page-home .band-workshop .btn:focus-visible{
    outline:2px solid var(--ws-gold-deep);
    outline-offset:2px;
  }
}

@media (max-width:390px){
  .page-home .band.band-workshop{padding-block:26px 28px}
  .page-home .band-workshop .band-grid{gap:20px}
  .page-home .band-workshop .band-title{font-size:1.3rem;line-height:1.52}
  .page-home .band-workshop .band-copy>p{font-size:.9rem;line-height:2}
  .page-home .band-workshop .band-points{gap:9px;margin-top:18px}
  .page-home .band-workshop .band-points li,
  .page-home .band-workshop .band-points li:last-child{
    grid-template-columns:30px minmax(0,1fr);
    gap:10px;
    font-size:.86rem;
  }
  .page-home .band-workshop .band-points svg{width:30px;height:30px;padding:6px}
  .page-home .band-workshop .btn{min-height:50px;margin-top:20px;font-size:.9rem}
}

/* ============ MOBILE: «مستقیم از معدن» band — quarry-industrial layout (mobile only) ============
   Desktop and tablet keep the original band image and composition; only the
   phone layout below changes: quarry photo, tighter rhythm, no item dividers. */
@media (max-width:767px){
  .page-home .band.band-direct{padding-block:24px 26px}
  .page-home .band.band-direct .band-grid{gap:14px}

  .page-home .band.band-direct .band-media{padding:0;border:0;background:none;box-shadow:none;border-radius:0}
  .page-home .band.band-direct .band-media picture{display:block}
  .page-home .band.band-direct .band-media img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:16/10;
    object-fit:cover;
    object-position:center;
    border:1px solid rgba(200,169,122,.28);
    border-radius:12px;
    box-shadow:0 10px 24px -14px rgba(0,0,0,.65);
    background:#2D261C;
  }

  .page-home .band.band-direct .eyebrow{
    margin-bottom:8px;
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.08em;
    color:#EBCB90;
  }
  .page-home .band.band-direct .eyebrow-dot{background:#EBCB90}

  .page-home .band.band-direct .band-title{
    margin:0 0 10px;
    font-size:clamp(1.52rem,6.6vw,1.8rem);
    line-height:1.34;
    font-weight:800;
    letter-spacing:-.015em;
    color:#fff;
  }
  .page-home .band.band-direct .band-title::after{
    content:"";
    display:block;
    width:38px;
    height:3px;
    margin-top:10px;
    border-radius:3px;
    background:linear-gradient(90deg,#E7C583,#B8882E);
  }

  .page-home .band.band-direct .band-copy>p{
    margin:0;
    max-width:none;
    font-size:.95rem;
    line-height:1.86;
    color:#F2E9DA;
  }

  .page-home .band.band-direct .band-points{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin:14px 0 0;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
  }
  .page-home .band.band-direct .band-points li{
    display:grid;
    grid-template-columns:20px minmax(0,1fr);
    align-items:center;
    gap:9px;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    font-size:.92rem;
    font-weight:600;
    line-height:1.6;
    color:#FBF4E7;
  }
  .page-home .band.band-direct .band-points li:last-child{padding:0;border:0}
  .page-home .band.band-direct .band-points svg{
    width:18px;
    height:18px;
    margin:0;
    padding:0;
    color:#E7C583;
    background:none;
    border:0;
    border-radius:0;
    stroke-width:2.2;
  }
}

/* ==========================================================================
   HOME — PROJECTS: architecture portfolio mobile refinement (≤768px)
   Scoped strictly to .page-home .home-projects at mobile scale.
   Desktop, tablet (>768px) and inner project pages are completely untouched.
   ========================================================================== */
@media (max-width:768px){

  /* ── Section header: two-column editorial layout (title + inline CTA) ── */
  .page-home .home-projects .hp-head{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:start;
    gap:0 14px;
    margin-bottom:var(--home-head-gap);
  }
  .page-home .home-projects .hp-head-main{
    grid-column:1 / 2;
    padding-inline-start:0;
    position:static;
  }
  .page-home .home-projects .hp-head-main::before{display:none;content:none}
  .page-home .home-projects .eyebrow{
    display:block;
    margin-bottom:5px;
    font-size:.68rem;font-weight:700;letter-spacing:.09em;
    color:var(--vein-deep);
  }
  .page-home .home-projects .hp-title{
    margin:0 0 5px;
    font-size:clamp(1.32rem,5.6vw,1.6rem);
    font-weight:800;line-height:1.42;letter-spacing:-.012em;
    color:var(--ink);text-wrap:balance;
  }
  .page-home .home-projects .hp-intro{
    margin-top:5px;
    font-size:.82rem;line-height:1.9;
    color:#5E564A;max-width:none;
  }
  /* "همهٔ پروژه‌ها" as a quiet inline text link at top-right */
  .page-home .home-projects .section-head-row > .btn.hp-all{
    grid-column:2 / 3;
    display:inline-flex;align-items:center;gap:4px;
    width:auto;margin-top:3px;padding:0;min-height:0;
    border:0;border-radius:0;background:transparent;box-shadow:none;
    color:var(--vein-deep);font-size:.72rem;font-weight:700;
    white-space:nowrap;letter-spacing:0;
  }
  .page-home .home-projects .hp-all svg{width:14px;height:14px;color:var(--vein-deep)}

  /* ── Cards: portrait ratio suited to architecture photography ── */
  .page-home .home-projects .project-swipe .project-grid{
    gap:14px;
    padding:4px 0 8px;
  }
  .page-home .home-projects .project-swipe .project-card{
    flex:0 0 83%;max-width:83%;
    aspect-ratio:3/4;
    border-radius:16px;
  }

  /* ── Gradient: lighter overlay so photography dominates ── */
  .page-home .home-projects .project-card::after{
    background:linear-gradient(
      180deg,
      rgba(16,12,8,0) 38%,
      rgba(16,12,8,.04) 55%,
      rgba(16,12,8,.42) 72%,
      rgba(16,12,8,.72) 100%
    );
  }

  /* ── Caption block: refined architectural typography ── */
  .page-home .home-projects .project-body{padding:22px 16px 17px;gap:4px}

  /* Stone used: ultra-refined label, recedes behind title */
  .page-home .home-projects .project-stone{
    font-size:.6rem;font-weight:600;letter-spacing:.04em;
    color:rgba(242,234,216,.62);
  }

  /* Project title: headline weight, clearly dominant */
  .page-home .home-projects .project-title{
    font-size:1.14rem;font-weight:800;
    line-height:1.44;letter-spacing:-.01em;
    color:#FFF9EE;text-wrap:balance;
  }

  /* Location: readable contrast, clean icon alignment */
  .page-home .home-projects .project-meta{
    gap:4px;font-size:.73rem;line-height:1.65;
    color:rgba(242,234,216,.84);font-weight:500;
  }
  .page-home .home-projects .project-meta svg{
    width:11px;height:11px;flex:none;
    color:rgba(200,169,122,.95);
  }

  /* Detail link: frosted capsule button — visually distinct and tappable */
  .page-home .home-projects .project-more{
    display:inline-flex;align-items:center;gap:5px;
    margin-top:11px;padding:5px 11px 5px 8px;
    border:1px solid rgba(230,210,172,.28);border-radius:999px;
    background:rgba(255,255,255,.07);
    backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
    font-size:.69rem;font-weight:700;letter-spacing:.01em;
    color:#EDD9B4;
    transition:background .2s,border-color .2s;
  }
  .page-home .home-projects .project-more svg{width:11px;height:11px}

  /* Year badge: refined + minimal frosted pill */
  .page-home .home-projects .project-year{
    top:10px;inset-inline-end:10px;
    padding:2px 8px;border-radius:999px;
    background:rgba(12,8,4,.26);
    border:1px solid rgba(255,255,255,.18);
    color:rgba(246,236,218,.86);
    font-size:.59rem;font-weight:600;letter-spacing:.05em;
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  }

  /* Slider controls: tighter row under the cards */
  .page-home .home-projects .project-swipe-controls{
    gap:10px;margin-top:12px;
  }
}

@media (hover:hover) and (max-width:768px){
  .page-home .home-projects .project-more:hover{
    background:rgba(255,255,255,.12);
    border-color:rgba(230,210,172,.5);
  }
}

@media (max-width:390px){
  .page-home .home-projects .project-swipe .project-card{flex:0 0 88%;max-width:88%}
  .page-home .home-projects .project-title{font-size:1.05rem}
  .page-home .home-projects .section-head-row > .btn.hp-all{font-size:.67rem}
}

/* the <picture> wrapper around the band image must not alter the desktop layout */
.page-home .band-media picture{display:block}

/* the advisor badge belongs to the phone layout only */
.page-home .band-consult .consult-advisor{display:none}

/* ============ MOBILE: «انتخاب درست، کنار تیم ما» band — advisor sheet (mobile only) ============
   Phones get a composition of their own instead of the shared zigzag: a taller 4:3
   photo, an advisor badge floating on its foot, the copy rising out of the photo as
   a single consultation sheet, divider-free benefit chips and a full-width primary
   CTA. Tablet (≥768 px) and desktop keep the shared band exactly as before. */
@media (max-width:767px){
  .page-home .band.band-consult{
    position:relative;
    overflow:hidden;
    padding-block:20px 24px;
    background:
      radial-gradient(120% 58% at 92% 0%,rgba(184,136,46,.16),transparent 62%),
      linear-gradient(180deg,#211A13 0%,#1F1913 56%,#1B1510 100%);
    border-top:1px solid rgba(184,136,46,.18);
  }
  .page-home .band.band-consult .band-grid{display:block;gap:0}

  /* photo: taller crop than the other bands, so the advisor scene leads */
  .page-home .band-consult .band-media{
    position:relative;
    z-index:1;
    order:-1;
    margin:0;
    padding:0;
    border:0;
    background:none;
    box-shadow:none;
    border-radius:0;
  }
  .page-home .band-consult .band-media img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:center;
    border:1px solid rgba(200,169,122,.30);
    border-radius:16px;
    box-shadow:0 16px 32px -20px rgba(0,0,0,.85);
    background:#2B241A;
  }

  /* advisor badge floats over the foot of the photo, just above the sheet */
  .page-home .band-consult .consult-advisor{
    position:absolute;
    inset-inline-start:12px;
    bottom:42px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:7px 12px 7px 10px;
    border:1px solid rgba(200,169,122,.36);
    border-radius:999px;
    background:rgba(27,21,16,.80);
    box-shadow:0 8px 18px -12px rgba(0,0,0,.9);
  }
  .page-home .band-consult .consult-advisor-ic{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    flex:none;
    border-radius:50%;
    background:rgba(184,136,46,.18);
    color:#E4C795;
  }
  .page-home .band-consult .consult-advisor-ic svg{width:15px;height:15px}
  .page-home .band-consult .consult-advisor-txt{
    display:flex;
    flex-direction:column;
    gap:1px;
    min-width:0;
    line-height:1.4;
  }
  .page-home .band-consult .consult-advisor-txt strong{
    font-size:.8rem;
    font-weight:800;
    color:#F3E9D8;
  }
  .page-home .band-consult .consult-advisor-txt span{
    font-size:.66rem;
    color:#C8A97A;
  }

  /* copy: one sheet that grows out of the photo */
  .page-home .band-consult .band-copy{
    position:relative;
    z-index:3;
    margin:-30px 8px 0;
    padding:15px 13px 13px;
    background:linear-gradient(180deg,#2C241A 0%,#211A13 100%);
    border:1px solid rgba(184,136,46,.28);
    border-radius:14px;
    box-shadow:0 20px 36px -24px rgba(0,0,0,.92);
  }
  .page-home .band-consult .band-copy::before{
    content:"";
    display:block;
    position:absolute;
    top:-1px;
    inset-inline-start:18px;
    width:46px;
    height:2px;
    border-radius:2px;
    background:var(--grad-vein);
    pointer-events:none;
  }

  /* eyebrow as a small gold tag: an advisor's nameplate, not another heading */
  .page-home .band-consult .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin:0 0 9px;
    padding:3px 9px 3px 8px;
    border:1px solid rgba(200,169,122,.30);
    border-radius:999px;
    background:rgba(184,136,46,.12);
    color:#E4C795;
    font-size:.65rem;
    font-weight:700;
    letter-spacing:.04em;
    line-height:1.7;
  }
  .page-home .band-consult .eyebrow-dot{width:5px;height:5px;background:#D8B27C}

  .page-home .band-consult .band-title{
    margin:0 0 8px;
    font-size:clamp(1.34rem,5.8vw,1.55rem);
    line-height:1.46;
    font-weight:800;
    letter-spacing:-.012em;
    color:#fff;
    text-wrap:balance;
  }
  .page-home .band-consult .band-copy>p{
    margin:0;
    max-width:none;
    font-size:.89rem;
    line-height:1.9;
    color:#E8DCC6;
  }

  /* benefits: three soft chips — no rules, no stacked empty space */
  .page-home .band-consult .band-points{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin:12px 0 0;
    padding:0;
    border:0;
    background:none;
    box-shadow:none;
  }
  .page-home .band-consult .band-points li,
  .page-home .band-consult .band-points li:last-child{
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    align-items:center;
    gap:9px;
    min-height:0;
    padding:8px 10px;
    border:0;
    border-radius:9px;
    background:rgba(184,136,46,.09);
    font-size:.85rem;
    font-weight:600;
    line-height:1.55;
    color:#F3EAD9;
  }
  .page-home .band-consult .band-points svg{
    width:16px;
    height:16px;
    margin:0;
    padding:0;
    color:#DEBB83;
    background:none;
    border:0;
    border-radius:0;
    stroke-width:2.2;
  }

  /* the section's primary CTA: same shape and weight as the site's main CTAs */
  .page-home .band-consult .btn{
    width:100%;
    min-height:50px;
    margin:14px 0 0;
    justify-content:center;
    gap:9px;
    padding:14px 20px;
    border:1px solid rgba(138,100,15,.45);
    border-radius:var(--m-r-btn);
    background:var(--grad-vein);
    color:#241A06;
    font-size:.95rem;
    font-weight:800;
    box-shadow:0 1px 0 var(--vein-deep);
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .band-consult .btn:active{
    transform:none;
    box-shadow:0 1px 0 var(--vein-deep);
  }
  .page-home .band-consult .btn svg{width:18px;height:18px;color:#241A06}
}

@media (max-width:360px){
  .page-home .band.band-consult{padding-block:18px 22px}
  .page-home .band-consult .band-copy{margin-inline:4px;padding:14px 11px 12px}
  .page-home .band-consult .band-title{font-size:1.24rem;line-height:1.5}
  .page-home .band-consult .band-copy>p{font-size:.85rem;line-height:1.88}
  .page-home .band-consult .band-points li,
  .page-home .band-consult .band-points li:last-child{padding:7px 9px;font-size:.82rem}
  .page-home .band-consult .consult-advisor{bottom:40px;padding:6px 10px 6px 9px}
  .page-home .band-consult .consult-advisor-ic{width:26px;height:26px}
}

/* ==========================================================================
   HOME — MOBILE CATALOG CARD REDESIGN (≤768 px)
   Image-first stone cards; two equal-priority action buttons; compact slider.
   Scoped to .page-home .catalog-section only.
   Desktop / tablet (>768 px) and all other pages: completely untouched.
   ========================================================================== */
@media (max-width:768px){

  /* ── image: 3:2 ratio shows stone texture well ── */
  .page-home .catalog-section .product-media{aspect-ratio:3/2}

  /* ── card: clean shadow framing, one quiet border ── */
  .page-home .catalog-section .product-track > .product-card{
    border:1px solid rgba(36,29,21,.07);
    box-shadow:0 2px 18px -8px rgba(30,23,17,.22);
    border-radius:16px;
  }

  /* ── product tag: pill badge on image, subtle glass effect ── */
  .page-home .catalog-section .product-tag{
    top:12px;inset-inline-start:12px;
    padding:3px 11px;border-radius:999px;font-size:.7rem;
    background:rgba(250,248,244,.9);
    border:1px solid rgba(255,255,255,.5);
    box-shadow:0 1px 4px rgba(30,23,17,.14);
  }

  /* ── body: generous spacing, no visual crowding ── */
  .page-home .catalog-section .product-body{gap:9px;padding:16px 16px 18px}

  /* ── title: prominent, no reserved blank space ── */
  .page-home .catalog-section .product-title{
    font-size:1.12rem;font-weight:800;line-height:1.5;
    min-height:0;letter-spacing:-.012em;
  }

  /* ── summary: 2-line clamp, readable size ── */
  .page-home .catalog-section .product-summary{
    font-size:.86rem;line-height:1.78;color:#5E564A;
    display:-webkit-box;-webkit-box-orient:vertical;
    -webkit-line-clamp:2;overflow:hidden;
  }

  /* ── action row: stack buttons vertically, full-width touch targets ── */
  .page-home .catalog-section .product-foot{
    flex-direction:column;gap:9px;align-items:stretch;
    padding-top:14px;margin-top:auto;
  }

  /* ── primary action: price inquiry — gold filled button ── */
  .page-home .catalog-section .product-inquire{
    order:-1;
    display:flex;align-items:center;justify-content:center;gap:7px;
    width:100%;min-height:48px;flex:none;
    padding:12px 16px;border-radius:10px;
    background:var(--grad-vein);color:#241a06;
    font-size:.88rem;font-weight:700;line-height:1;
    box-shadow:0 1px 0 var(--vein-deep);
    white-space:nowrap;
  }
  .page-home .catalog-section .product-inquire svg{
    color:#241a06;width:15px;height:15px;
  }
  .page-home .catalog-section .product-inquire:hover,
  .page-home .catalog-section .product-inquire:focus-visible{
    color:#1a1304;
    box-shadow:0 2px 0 var(--vein-deep),0 8px 18px -6px rgba(138,100,15,.4);
  }
  .page-home .catalog-section .product-inquire:hover svg{color:#1a1304}

  /* ── secondary action: view specs — outline button ── */
  .page-home .catalog-section .product-btn{
    display:flex;align-items:center;justify-content:center;
    width:100%;min-height:46px;flex:none;
    padding:11px 16px;border-radius:10px;
    border:1px solid rgba(36,29,21,.2);
    background:transparent;color:var(--ink);
    font-size:.86rem;font-weight:600;
    box-shadow:none;line-height:1;
  }
  .page-home .catalog-section .product-btn:hover,
  .page-home .catalog-section .product-btn:focus-visible{
    background:rgba(36,29,21,.04);
    border-color:rgba(184,136,46,.45);
    color:var(--ink);
  }

  /* ── "view all products": proper contained button in section structure ── */
  .page-home .catalog-section .catalog-all-bottom{
    display:flex;align-items:center;justify-content:center;gap:8px;
    width:100%;margin-top:22px;
    min-height:50px;padding:13px 20px;
    border:1.5px solid rgba(184,136,46,.4);border-radius:12px;
    background:transparent;color:var(--vein-deep);
    font-size:.9rem;font-weight:700;
    box-shadow:none;
  }
  .page-home .catalog-section .catalog-all-bottom:hover,
  .page-home .catalog-section .catalog-all-bottom:focus-visible{
    background:rgba(184,136,46,.06);
    border-color:rgba(184,136,46,.65);
    color:var(--vein-deep);
  }

  /* ── slider controls: compact, visually quiet row ── */
  .page-home .catalog-section .product-carousel{row-gap:8px}
  .page-home .catalog-section .carousel-nav{
    width:44px;height:44px;min-width:44px;
    background:transparent;border-color:rgba(36,29,21,.12);
    color:rgba(36,29,21,.4);box-shadow:none;
  }
  .page-home .catalog-section .carousel-nav:hover,
  .page-home .catalog-section .carousel-nav:focus-visible{
    background:rgba(184,136,46,.08);
    border-color:rgba(184,136,46,.35);
    color:var(--vein-deep);box-shadow:none;
  }
  .page-home .catalog-section .product-dots{min-height:20px}
}

@media (max-width:390px){
  .page-home .catalog-section .product-title{font-size:1.05rem}
  .page-home .catalog-section .product-inquire{font-size:.85rem;min-height:46px}
  .page-home .catalog-section .product-btn{font-size:.83rem;min-height:44px}
}

/* ==========================================================================
   HOME — TESTIMONIALS MOBILE REDESIGN (≤768 px)
   Compact, professional card layout. Quote mark becomes a small inline brand
   accent. Stars, name and role form a purposeful bottom group separated from
   the quote text by a single hairline. Tighter vertical rhythm throughout.
   Mobile only (.page-home @max-width:768px). Desktop/tablet: untouched.
   ========================================================================== */
@media (max-width:768px){

  /* ── Section: tighter padding proportional to actual content ── */
  .page-home .testi-section{
    padding-block:clamp(26px,6.5vw,36px);
  }

  /* ── Section header: reduced bottom gap ── */
  .page-home .testi-section .section-head{
    margin-bottom:12px;
  }
  .page-home .testi-section .section-title{
    margin-bottom:4px;
    font-weight:800;
  }
  .page-home .testi-section .section-intro{
    font-size:.86rem;
    line-height:1.88;
    color:#5E564A;
  }

  /* ── Carousel wrapper: compact spacing ── */
  .page-home .testi-section .testi-carousel{
    margin:8px 0 0;
    gap:8px;
  }

  /* ── Track: tighter gap between adjacent cards ── */
  .page-home .testi-section .testi-track{
    gap:10px;
    padding:2px 0 4px;
  }

  /* ── Card: fills 92% of carousel width — larger presence ── */
  .page-home .testi-section .testi-track > .testi-card{
    flex:0 0 92%;
    max-width:92%;
  }

  /* ── Card internals: flex column, minimal chrome, no heavy frame ── */
  .page-home .testi-section .testi-card{
    display:flex;
    flex-direction:column;
    padding:15px 15px 14px;
    gap:0;
    background:#FFFDF9;
    border:1px solid rgba(184,136,46,.18);
    border-radius:13px;
    box-shadow:0 2px 8px -3px rgba(30,23,17,.1);
    transform:none;
  }
  .page-home .testi-section .testi-card:hover{
    transform:none;
    box-shadow:0 2px 8px -3px rgba(30,23,17,.1);
    border-color:rgba(184,136,46,.18);
  }

  /* ── Quote mark: small inline brand accent — no longer floating ── */
  .page-home .testi-quote{
    position:static;
    display:inline-flex;
    align-items:center;
    margin-bottom:9px;
    color:var(--vein);
    opacity:.4;
  }
  .page-home .testi-quote svg{
    width:17px;
    height:17px;
  }

  /* ── Quote text: comfortable legibility with Persian line-height ── */
  .page-home .testi-section .testi-card blockquote{
    margin:0;
    font-size:.93rem;
    line-height:1.92;
    color:#3A3227;
    flex:1;
  }

  /* ── Stars: opens the bottom group, hairline separates it from quote ── */
  .page-home .testi-stars{
    display:flex;
    gap:2px;
    margin-top:11px;
    padding-top:10px;
    border-top:1px solid rgba(36,29,21,.08);
    margin-bottom:5px;
    color:var(--vein-deep);
    opacity:.9;
  }
  .page-home .testi-stars svg{
    width:12px;
    height:12px;
  }

  /* ── Name + role: directly below stars, no extra separator ── */
  .page-home .testi-card figcaption{
    display:flex;
    flex-direction:column;
    gap:1px;
    margin-top:0;
    padding-top:0;
    border-top:0;
  }
  .page-home .testi-name{
    font-size:.91rem;
    font-weight:800;
    line-height:1.5;
    color:var(--ink);
  }
  .page-home .testi-role{
    font-size:.75rem;
    line-height:1.6;
    color:#6F6456;
  }

  /* ── Slider controls: 44 px WCAG touch targets, visually quiet ── */
  .page-home .testi-section .testi-carousel .carousel-nav{
    width:44px;
    height:44px;
    min-width:44px;
    background:transparent;
    border:1px solid rgba(36,29,21,.12);
    color:rgba(36,29,21,.4);
    box-shadow:none;
  }
  .page-home .testi-section .testi-carousel .carousel-nav:hover,
  .page-home .testi-section .testi-carousel .carousel-nav:focus-visible{
    background:rgba(184,136,46,.08);
    border-color:rgba(184,136,46,.35);
    color:var(--vein-deep);
    box-shadow:none;
  }
  .page-home .testi-section .testi-dots{min-height:20px}
}

@media (max-width:390px){
  .page-home .testi-section .testi-track > .testi-card{flex:0 0 94%;max-width:94%}
  .page-home .testi-section .testi-card{padding:13px 14px 12px}
  .page-home .testi-section .testi-card blockquote{font-size:.9rem}
}

/* ==========================================================================
   HOME CTA — MOBILE ONLY (≤768 px)
   A warm, light "final step" panel with targeted gold accents, clearly
   separated from the dark footer. Tablet/desktop keep the existing band.
   ========================================================================== */
@media (max-width:768px){
  .page-home .cta-band--feature{
    background:
      radial-gradient(ellipse 90% 70% at 100% 0%, rgba(184,136,46,.16), transparent 62%),
      radial-gradient(ellipse 85% 70% at 0% 100%, rgba(200,169,122,.22), transparent 60%),
      linear-gradient(180deg,#FCF8F0 0%,#F3EAD7 100%);
    color:var(--ink);
    border-top:1px solid rgba(184,136,46,.36);
    border-bottom:1px solid #E0D3B9;
    box-shadow:inset 0 1px 0 #FFFFFF;
  }
  /* very fine stone veining — light strokes only, so copy stays crisp */
  .page-home .cta-band--feature::before{
    display:block;content:"";
    inset:0;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 260' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23A9803A' stroke-opacity='.10' stroke-width='1'%3E%3Cpath d='M-20 206 L96 148 L208 198 L318 132 L438 190 L500 154'/%3E%3Cpath d='M-20 252 L132 208 L262 250 L392 196 L500 238'/%3E%3Cpath d='M54 -10 L150 62 L268 16 L372 78 L480 30'/%3E%3Cpath d='M150 62 L208 198'/%3E%3Cpath d='M318 132 L372 78'/%3E%3C/g%3E%3C/svg%3E") center top / 145% auto no-repeat;
    pointer-events:none;
  }

  /* one framed composition ties copy, button and phone together */
  .page-home .cta-band--feature .cta-inner{
    display:grid;grid-template-columns:1fr;justify-items:center;
    gap:0;text-align:center;padding-block:clamp(38px,10vw,50px);
    padding-inline:clamp(16px,5vw,22px);
    background:linear-gradient(180deg,#FFFDF7 0%,#FBF4E6 100%);
    border:1px solid rgba(184,136,46,.24);
    border-radius:18px;
    box-shadow:inset 0 1px 0 #fff,0 10px 28px rgba(36,29,21,.07);
  }

  .page-home .cta-eyebrow{
    justify-content:center;margin-bottom:12px;
    padding:5px 11px;border-radius:999px;
    background:rgba(184,136,46,.11);
    border:1px solid rgba(184,136,46,.28);
    color:#775617;font-size:.7rem;font-weight:700;line-height:1.5;
  }
  .page-home .cta-eyebrow-dot{
    width:5px;height:5px;box-shadow:0 0 0 3px rgba(184,136,46,.14);
  }

  .page-home .cta-band--feature .cta-copy h2{
    font-size:clamp(1.86rem,8vw,2.25rem);
    line-height:1.34;letter-spacing:-.015em;font-weight:800;
    color:#1F1810;margin:0;text-wrap:balance;
  }
  .page-home .cta-band--feature .cta-copy h2::after{
    content:"";display:block;width:46px;height:2px;margin:14px auto 0;
    border-radius:2px;
    background:linear-gradient(90deg,transparent,var(--vein) 20%,var(--vein) 80%,transparent);
  }
  .page-home .cta-band--feature .cta-copy p{
    max-width:40ch;margin:13px auto 0;
    font-size:.95rem;line-height:2;color:#59513F;
  }

  .page-home .cta-band--feature .cta-actions{
    width:100%;max-width:420px;gap:11px;margin-top:22px;
  }
  .page-home .cta-band--feature .cta-main-btn{
    width:100%;min-height:56px;padding:16px 22px;
    border-radius:13px;font-size:1.02rem;font-weight:800;
    box-shadow:0 2px 0 var(--vein-deep),0 14px 26px rgba(138,100,15,.26);
  }
  .page-home .cta-band--feature .cta-main-btn:active{
    transform:translateY(1px);
    box-shadow:0 1px 0 var(--vein-deep),0 6px 14px rgba(138,100,15,.22);
  }
  .page-home .cta-or{
    font-size:.71rem;font-weight:600;color:#8A6A20;
  }
  .page-home .cta-or::before,
  .page-home .cta-or::after{
    background:linear-gradient(90deg,transparent,rgba(184,136,46,.38),transparent);
  }
  .page-home .cta-phone{
    padding:10px 13px;border-radius:12px;
    border:1px solid rgba(184,136,46,.42);
    background:#FFFDF7;
    box-shadow:0 2px 8px rgba(36,29,21,.05);
  }
  .page-home .cta-phone:active{transform:translateY(1px)}
  .page-home .cta-phone-ic{
    width:34px;height:34px;
    border-color:rgba(184,136,46,.38);
    background:rgba(184,136,46,.10);
    color:#7A5A18;
  }
  .page-home .cta-phone-label{font-size:.71rem;line-height:1.6;color:#6E6455}
  .page-home .cta-phone-num{font-size:1rem;font-weight:800;color:var(--ink)}
}

@media (max-width:390px){
  .page-home .cta-band--feature .cta-inner{
    padding-block:34px;border-radius:16px;
  }
  .page-home .cta-band--feature .cta-copy h2{font-size:1.78rem}
  .page-home .cta-band--feature .cta-copy p{font-size:.92rem}
  .page-home .cta-band--feature .cta-main-btn{min-height:54px;font-size:.98rem}
  .page-home .cta-phone-num{font-size:.95rem}
}

/* ==========================================================================
   MOBILE FOOTER REDESIGN (≤540 px) — mobile only.
   Larger, readable type; a compact brand lock-up; one grouped contact card
   with uniform icon tiles; calmer accordion rows with an obvious open state;
   and a clear copyright bar. Desktop and tablet footer rules are untouched.
   ========================================================================== */
@media (max-width:540px){
  .site-footer .footer-grid{padding-block:22px 4px}

  /* ── brand: correct logo size/position, readable intro ── */
  .site-footer .footer-brand{padding-bottom:18px}
  .site-footer .footer-brand .brand{
    display:flex;align-items:center;gap:12px;
    width:100%;min-width:0;
  }
  .site-footer .footer-brand .brand-logo{
    height:42px;max-width:180px;width:auto;
    object-fit:contain;flex:none;
  }
  .site-footer .footer-brand .brand-mark{
    width:44px;height:44px;border-radius:12px;
    font-size:1.12rem;flex:none;
    border:1.5px solid rgba(184,136,46,.55);
  }
  .site-footer .footer-brand .brand-name{
    font-size:1.2rem;font-weight:800;line-height:1.5;
    color:#FFF9EE;min-width:0;overflow-wrap:break-word;
  }
  .site-footer .footer-intro{
    font-size:.87rem;line-height:2;
    color:rgba(244,236,220,.84);
    margin-block:10px 12px;max-width:none;
  }
  .site-footer .footer-social{gap:9px}
  .site-footer .footer-social a{
    width:42px;height:42px;border-radius:11px;
    border:1px solid rgba(184,136,46,.3);
    background:rgba(242,234,216,.05);
    color:rgba(242,234,216,.88);
  }

  /* ── contact: one grouped card, uniform icon tiles, no row separators ── */
  .site-footer .footer-col--contact{
    margin-bottom:16px;padding:14px 14px 10px;
    border:1px solid rgba(184,136,46,.22);
    border-radius:14px;
    background:rgba(255,253,247,.045);
  }
  .site-footer .footer-col--contact .footer-title{
    display:block;
    margin:0 0 6px;padding:0 0 9px;
    border-bottom:1px solid rgba(184,136,46,.2);
    font-size:.84rem;font-weight:700;line-height:1.5;
    letter-spacing:.01em;color:#E4CBA0;
  }
  .site-footer .footer-col--contact .footer-title::after{display:none}
  .site-footer .footer-contact{gap:0}
  .site-footer .footer-contact li{
    display:flex;align-items:center;gap:11px;
    margin:0;padding:8px 0;border:0;
    font-size:.88rem;line-height:1.8;
    color:rgba(245,238,224,.9);
  }
  /* a single subtle divider separates phone numbers from the rest */
  .site-footer .footer-contact li.footer-contact-tel + li:not(.footer-contact-tel){
    margin-top:4px;padding-top:11px;
    border-top:1px solid rgba(184,136,46,.16);
  }
  .site-footer .footer-contact a{
    display:flex;align-items:center;gap:11px;flex:1;
    min-height:34px;padding:0;border:0;
    font-size:.88rem;line-height:1.8;
    color:rgba(245,238,224,.9);
  }
  .site-footer .footer-contact .footer-tel{
    font-size:1.04rem;font-weight:800;line-height:1.6;
    color:#FFF9EF;letter-spacing:.01em;
  }
  .site-footer .footer-contact a > svg,
  .site-footer .footer-contact .ci{
    display:inline-flex;align-items:center;justify-content:center;
    width:30px;height:30px;min-width:30px;flex:none;
    margin:0;padding:6px;box-sizing:border-box;
    color:#E0BE80;
    border:1px solid rgba(184,136,46,.24);
    border-radius:8px;
    background:rgba(184,136,46,.12);
  }
  .site-footer .footer-contact .ci svg{width:16px;height:16px;margin:0}

  /* ── accordion groups: fewer lines, clearer open/closed state ── */
  .site-footer .footer-col[data-facc]{border-top:1px solid rgba(184,136,46,.18)}
  .site-footer .footer-acc-hd{
    gap:10px;padding:15px 0;
    font-size:.95rem;font-weight:700;line-height:1.55;
    color:#F5EEDF;
  }
  .site-footer .footer-acc-chev{
    width:30px;height:30px;border-radius:9px;
    border:1px solid rgba(184,136,46,.28);
    background:rgba(184,136,46,.14);
    color:#E3C489;
    transition:transform .26s ease,background .2s ease,color .2s ease,border-color .2s ease;
  }
  .site-footer .footer-acc-chev svg{width:18px;height:18px}
  .site-footer .footer-col.is-open .footer-acc-hd{color:#FFF7E8}
  .site-footer .footer-col.is-open .footer-acc-chev{
    transform:rotate(180deg);
    background:var(--vein);color:#241A06;border-color:var(--vein);
  }
  .site-footer .footer-col.is-open .footer-acc-bd{padding-bottom:14px}
  .site-footer .footer-links a{
    min-height:44px;padding:8px 0;
    font-size:.9rem;line-height:1.7;
    color:rgba(245,238,224,.9);
  }
  .site-footer .footer-links a::before{
    width:6px;height:6px;
    background:rgba(227,196,137,.85);
  }
  .site-footer .footer-badges li{
    gap:11px;padding:7px 0;
    font-size:.86rem;line-height:1.8;
    color:rgba(245,238,224,.88);
  }
  .site-footer .footer-badges svg{width:18px;height:18px;margin-top:2px}

  /* ── copyright: readable, tidy two-line block ── */
  .site-footer .footer-bottom{
    gap:6px;padding-block:16px 20px;
    border-top:1px solid rgba(184,136,46,.2);
    font-size:.8rem;line-height:1.85;
    color:rgba(230,210,175,.94);
  }
  .site-footer .footer-bottom > span:first-child{
    font-size:.8rem;color:rgba(243,228,202,.97);
  }
  .site-footer .footer-mini{font-size:.75rem;color:rgba(224,200,160,.9)}
}

/* ==========================================================================
   HOME — MOBILE SLIDER DESIGN SYSTEM (≤768px only)
   One shared control language for the four homepage sliders (categories,
   products, projects, testimonials). Desktop and tablet (>768px) are not
   touched: every rule below lives inside this mobile media query and is
   scoped to body.page-home.
   - 44px touch targets with a 36px quiet visual ring
   - 86% active card + a visible sliver of the next card, 12px gap
   - flat hairline pagination that never widens the page
   - controls sit 8px under the cards, with a reserved 44px row so no
     layout shift occurs when dots are generated by JavaScript
   ========================================================================== */
@media (max-width:768px){
  .page-home{
    --ms-touch:44px;
    --ms-card-w:86%;
    --ms-card-gap:12px;
    --ms-line:rgba(36,29,21,.16);
    --ms-ink:#6F6456;
    --ms-dot:rgba(36,29,21,.2);
    --ms-dot-active:var(--vein-deep);
  }

  /* ---- shared track geometry: RTL-correct snap, no page overflow ---- */
  .page-home .cat-section .cat-swipe,
  .page-home .home-projects .project-swipe,
  .page-home .catalog-section .product-carousel,
  .page-home .testi-section .testi-carousel{
    max-width:100%;
    min-width:0;
  }
  .page-home .cat-section .cat-swipe .cat-grid,
  .page-home .home-projects .project-swipe .project-grid,
  .page-home .catalog-section .product-track,
  .page-home .testi-section .testi-track{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:var(--ms-card-gap);
    margin:0;
    padding:0 0 4px;
    max-width:100%;
    min-width:0;
    direction:rtl;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scroll-padding-inline:0;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    scrollbar-width:none;
  }
  .page-home .cat-section .cat-swipe .cat-grid::-webkit-scrollbar,
  .page-home .home-projects .project-swipe .project-grid::-webkit-scrollbar,
  .page-home .catalog-section .product-track::-webkit-scrollbar,
  .page-home .testi-section .testi-track::-webkit-scrollbar{display:none}
  /* testimonials had a taller mobile track layer: keep one shared rhythm */
  .page-home .testi-section .testi-carousel .testi-track{
    align-items:stretch;
    gap:12px;
    padding:0 0 4px;
    margin:0;
  }

  /* ---- one card rhythm: full active card + next-card peek ---- */
  .page-home .cat-section .cat-swipe .cat-card,
  .page-home .home-projects .project-swipe .project-card,
  .page-home .catalog-section .product-track > .product-card,
  .page-home .testi-section .testi-track > .testi-card{
    flex:0 0 var(--ms-card-w);
    width:var(--ms-card-w);
    max-width:var(--ms-card-w);
    min-width:0;
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    box-sizing:border-box;
  }
  /* testimonials keep their own content layout but share the card rhythm */
  .page-home .testi-section .testi-track > .testi-card{height:auto}

  /* ---- dedicated control bars: tight flex row, always 44px tall ---- */
  .page-home .cat-section .cat-swipe-bar,
  .page-home .home-projects .project-swipe-controls{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    column-gap:6px;
    margin:4px 0 0;
    padding:0;
    min-height:var(--ms-touch);
  }
  /* catalog/testi: wrappers already flex — tighten gap between track and controls only */
  .page-home .catalog-section .product-carousel{row-gap:8px;column-gap:6px}
  .page-home .testi-section .testi-carousel{row-gap:8px;column-gap:6px;justify-content:center}

  /* ---- arrows: same 44px hit area, same 36px ring everywhere ---- */
  .page-home .cat-section .cat-nav,
  .page-home .home-projects .proj-nav,
  .page-home .catalog-section .carousel-nav,
  .page-home .testi-section .testi-carousel .carousel-nav{
    position:relative;
    inset:auto;
    inset-inline-start:auto;
    inset-inline-end:auto;
    top:auto;
    transform:none;
    width:var(--ms-touch);
    height:var(--ms-touch);
    min-width:var(--ms-touch);
    min-height:var(--ms-touch);
    margin:0;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    border:0;
    border-radius:50%;
    background:transparent;
    color:var(--ms-ink);
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .cat-section .cat-nav::before,
  .page-home .home-projects .proj-nav::before,
  .page-home .catalog-section .carousel-nav::before,
  .page-home .testi-section .testi-carousel .carousel-nav::before{
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid var(--ms-line);
    border-radius:50%;
    background:#FFFDF9;
    box-shadow:0 1px 2px rgba(30,23,17,.05);
    transition:background-color .2s ease,border-color .2s ease,transform .16s ease;
    pointer-events:none;
  }
  .page-home .cat-section .cat-nav svg,
  .page-home .home-projects .proj-nav svg,
  .page-home .catalog-section .carousel-nav svg,
  .page-home .testi-section .testi-carousel .carousel-nav svg{
    position:relative;
    z-index:1;
    width:15px;
    height:15px;
    flex:none;
  }
  .page-home .cat-section .cat-nav:hover,
  .page-home .cat-section .cat-nav:focus-visible,
  .page-home .home-projects .proj-nav:hover,
  .page-home .home-projects .proj-nav:focus-visible,
  .page-home .catalog-section .carousel-nav:hover,
  .page-home .catalog-section .carousel-nav:focus-visible,
  .page-home .testi-section .testi-carousel .carousel-nav:hover,
  .page-home .testi-section .testi-carousel .carousel-nav:focus-visible{
    transform:none;
    background:transparent;
    color:var(--vein-deep);
    box-shadow:none;
  }
  .page-home .cat-section .cat-nav:hover::before,
  .page-home .cat-section .cat-nav:focus-visible::before,
  .page-home .home-projects .proj-nav:hover::before,
  .page-home .home-projects .proj-nav:focus-visible::before,
  .page-home .catalog-section .carousel-nav:hover::before,
  .page-home .catalog-section .carousel-nav:focus-visible::before,
  .page-home .testi-section .testi-carousel .carousel-nav:hover::before,
  .page-home .testi-section .testi-carousel .carousel-nav:focus-visible::before{
    background:rgba(184,136,46,.08);
    border-color:rgba(184,136,46,.42);
  }
  .page-home .cat-section .cat-nav:active::before,
  .page-home .home-projects .proj-nav:active::before,
  .page-home .catalog-section .carousel-nav:active::before,
  .page-home .testi-section .testi-carousel .carousel-nav:active::before{
    transform:scale(.94);
  }
  .page-home .cat-section .cat-nav:focus-visible,
  .page-home .home-projects .proj-nav:focus-visible,
  .page-home .catalog-section .carousel-nav:focus-visible,
  .page-home .testi-section .testi-carousel .carousel-nav:focus-visible{
    outline:2px solid var(--vein-deep);
    outline-offset:1px;
  }
  .page-home .cat-section .cat-nav svg,
  .page-home .catalog-section .carousel-nav svg,
  .page-home .testi-section .testi-carousel .carousel-nav svg,
  .page-home .home-projects .proj-nav svg{color:currentColor}

  /* ---- pagination: one flat hairline language, never wider than a phone ---- */
  .page-home .cat-section .cat-swipe-dots,
  .page-home .home-projects .project-swipe-dots,
  .page-home .catalog-section .product-dots,
  .page-home .testi-section .testi-dots{
    display:flex;
    flex:0 1 auto;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:0;
    margin:0;
    padding:0;
    min-width:0;
    max-width:100%;
    min-height:var(--ms-touch);
  }
  .page-home .catalog-section .product-dots,
  .page-home .testi-section .testi-dots{order:3}
  .page-home .cat-section .cat-swipe-dots .cs-dot,
  .page-home .home-projects .project-swipe-dots .ps-dot,
  .page-home .catalog-section .product-dots .ts-dot,
  .page-home .testi-section .testi-dots .ts-dot{
    width:14px;
    min-width:0;
    height:var(--ms-touch);
    min-height:0;
    margin:0;
    padding:0;
    display:grid;
    place-items:center;
    flex:0 1 14px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
    -webkit-tap-highlight-color:transparent;
  }
  .page-home .cat-section .cat-swipe-dots .cs-dot::before,
  .page-home .home-projects .project-swipe-dots .ps-dot::before,
  .page-home .catalog-section .product-dots .ts-dot::before,
  .page-home .testi-section .testi-dots .ts-dot::before{
    content:"";
    display:block;
    width:8px;
    height:2px;
    border-radius:999px;
    background:var(--ms-dot);
    transition:width .22s ease,background-color .22s ease;
  }
  .page-home .cat-section .cat-swipe-dots .cs-dot.is-active,
  .page-home .home-projects .project-swipe-dots .ps-dot.is-active,
  .page-home .catalog-section .product-dots .ts-dot.is-active,
  .page-home .testi-section .testi-dots .ts-dot.is-active{
    width:14px;
    background:transparent;
  }
  .page-home .cat-section .cat-swipe-dots .cs-dot.is-active::before,
  .page-home .home-projects .project-swipe-dots .ps-dot.is-active::before,
  .page-home .catalog-section .product-dots .ts-dot.is-active::before,
  .page-home .testi-section .testi-dots .ts-dot.is-active::before{
    width:14px;
    background:var(--ms-dot-active);
  }

  /* a carousel with a single slide shows no control row at all */
  .page-home .catalog-section .product-carousel.is-static,
  .page-home .testi-section .testi-carousel.is-static{min-height:0;margin-top:0}
  .page-home .catalog-section .product-carousel.is-static .product-dots,
  .page-home .testi-section .testi-carousel.is-static .testi-dots,
  .page-home .cat-swipe.is-static .cat-swipe-bar,
  .page-home .project-swipe.is-static .project-swipe-controls{display:none}
}

@media (max-width:768px) and (prefers-reduced-motion:reduce){
  .page-home .cat-section .cat-swipe .cat-grid,
  .page-home .home-projects .project-swipe .project-grid,
  .page-home .catalog-section .product-track,
  .page-home .testi-section .testi-carousel .testi-track{scroll-behavior:auto}
  .page-home .cat-section .cat-nav::before,
  .page-home .home-projects .proj-nav::before,
  .page-home .catalog-section .carousel-nav::before,
  .page-home .testi-section .testi-carousel .carousel-nav::before,
  .page-home .cat-section .cat-swipe-dots .cs-dot::before,
  .page-home .home-projects .project-swipe-dots .ps-dot::before,
  .page-home .catalog-section .product-dots .ts-dot::before,
  .page-home .testi-section .testi-dots .ts-dot::before{transition:none}
}

/* =========================================================================
   HOME — MOBILE SECTION RHYTHM & GOLD CALIBRATION (≤768px)
   Authority pass: distinct background temperatures per section so the
   scroll rhythm feels editorial rather than template-like. Gold is pulled
   back from utility elements (trust strip) so it reads as a product accent.
   Mobile-only — zero effect on desktop/tablet.
   ========================================================================= */
@media (max-width:768px){

  /* ── SECTION BACKGROUND SEQUENCE ────────────────────────────────────────
     dark-hero → warm-sand → near-white → quarry-dark → amber-craft →
     dark-warm → near-white → earth-neutral → barely-warm → soft-amber
     Each light tone is a different temperature; no two consecutive sections
     share the same background value.
  */
  .page-home .strip          {background:#F2EAD8} /* warm sand */
  .page-home .cat-section    {background:#FAF8F4} /* near-white, browsing clarity */
  .page-home .band-direct    {background:#1E1711} /* quarry dark */
  .page-home .band-workshop  {background:#F5EDDF} /* amber craft warmth */
  .page-home .band-consult   {background:#2D261C} /* dark warm authority */
  .page-home .catalog-section{background:#FAF8F4} /* near-white, premium gallery */
  .page-home .home-projects  {background:#EDE4D5} /* earth tone, portfolio neutral */
  .page-home .testi-section  {background:#FDFAF6} /* barely-warm white */
  .page-home .cta-band       {background:#F8F0E3} /* soft amber invitation */

  /* ── GOLD CALIBRATION: strip trust icons ────────────────────────────────
     The strip carries factual utility claims (on-time delivery, quarry
     source). These are NOT luxury signals — using gold here dilutes its
     impact on the stone products. Warm-muted icons restore the hierarchy.
  */
  .page-home .strip-item svg{
    color:var(--muted);
    background:rgba(107,98,86,.07);
    border-color:rgba(107,98,86,.18);
  }
  .page-home .strip-item:hover svg,
  .page-home .strip-item:focus-visible svg{
    color:var(--slate);
    background:rgba(107,98,86,.12);
    border-color:rgba(107,98,86,.30);
  }
  /* replace gold hairline dividers between strip items with neutral line */
  .page-home .strip-item:nth-child(2),
  .page-home .strip-item:nth-child(4){
    border-inline-start-color:var(--line);
  }
}

/* =========================================================================
   HOME — MOBILE QA HARDENING (≤768px) — final pass
   Phone widths 320–430 px only. Guards against horizontal scrolling,
   keeps long Persian strings and media inside the viewport, gives the
   remaining interactive elements finger-sized targets and a visible
   keyboard focus ring. No rule here reaches tablet or desktop.
   ========================================================================= */
@media (max-width:768px){

  /* 1. no accidental sideways scrolling on the phone layout */
  body.page-home{overflow-x:clip}
  .page-home main{max-width:100%;overflow-x:clip}

  /* 2. long words, numbers and links wrap instead of widening the page */
  .page-home .hero-title,
  .page-home .hero-lead,
  .page-home .section-title,
  .page-home .band-title,
  .page-home .cat-title,
  .page-home .cat-tagline,
  .page-home .product-title,
  .page-home .product-summary,
  .page-home .project-title,
  .page-home .project-meta,
  .page-home .project-stone,
  .page-home blockquote,
  .page-home .testi-name,
  .page-home .testi-role,
  .page-home .cta-phone-label{
    overflow-wrap:break-word;
    word-break:normal;
  }
  /* phone numbers stay on one line, but may shrink with the card */
  .page-home .cta-phone-num{white-space:nowrap;max-width:100%}

  /* 3. media never exceeds its own column */
  .page-home main img,
  .page-home main picture,
  .page-home main figure,
  .page-home main svg{max-width:100%}

  /* 4. consistent, visible focus ring on phone-width controls (WCAG 2.4.11) */
  .page-home main a:focus-visible,
  .page-home main button:focus-visible,
  .page-home main [tabindex]:focus-visible{
    outline:2px solid var(--vein-deep);
    outline-offset:3px;
    border-radius:6px;
  }
  .page-home .band-dark a:focus-visible,
  .page-home .band-dark button:focus-visible,
  .page-home .band-consult a:focus-visible,
  .page-home .band-consult button:focus-visible{
    outline-color:#F2D9A6;
  }

  /* 5. skip-link and in-page focus are not hidden under the sticky header */
  .page-home{scroll-padding-top:calc(var(--header-h) + 10px)}

  /* 6. every remaining homepage control reaches the 44 px target size */
  .page-home .catalog-all-top,
  .page-home .project-more,
  .page-home .cat-link{
    display:inline-flex;align-items:center;min-height:44px;
  }
  .page-home .cta-phone{width:100%;justify-content:flex-start}
}

