/* Services page — deferred non-critical CSS (FCP/LCP) */
/* SERVICES */
.svc{ padding:var(--s6) var(--gut); border-top:1px solid var(--line-soft); }
.svc-list{ border-top:1px solid var(--line); margin-top:var(--s4); }
.svc-hint{ display:none; align-items:center; gap:10px; font-family:var(--mono); font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--azure); margin-top:var(--s3); margin-bottom:var(--s2); }
.svc-hint-icon{ width:22px; height:22px; border:1px solid var(--azure); display:inline-flex; align-items:center; justify-content:center; font-size:14px; line-height:1; flex-shrink:0; animation:svcHintPulse 2.4s ease-in-out infinite; }
.svc-hint.is-dismissed{ display:none !important; }
@keyframes svcHintPulse{ 0%,100%{ opacity:.65; box-shadow:0 0 0 0 rgba(44,154,212,0); } 50%{ opacity:1; box-shadow:0 0 0 4px rgba(44,154,212,0.12); } }
.svc-no{ font-family:var(--mono); font-size:12px; color:var(--azure); letter-spacing:.1em; }
.svc-name{ font-family:var(--serif); font-weight:300; font-size:clamp(26px,3.6vw,52px); line-height:1; letter-spacing:-0.01em; }
.svc-name em{ font-style:italic; color:var(--azure-bright); }

html[lang="kn"] .svc-name,
html[lang="hi"] .svc-name{
  line-height:1.3;
  letter-spacing:0;
  font-size:clamp(22px, 3.2vw, 44px);
}
html[lang="kn"] .svc-hint,
html[lang="hi"] .svc-hint,
html[lang="kn"] .svc-meta,
html[lang="hi"] .svc-meta,
html[lang="kn"] .svc-scope,
html[lang="hi"] .svc-scope{
  letter-spacing:0;
  text-transform:none;
  line-height:1.55;
}
html[lang="kn"] .svc-expand-kicker,
html[lang="hi"] .svc-expand-kicker,
html[lang="kn"] .ss-k,
html[lang="hi"] .ss-k,
html[lang="kn"] .svc-expand-features span,
html[lang="hi"] .svc-expand-features span{
  letter-spacing:0.02em;
  text-transform:none;
  line-height:1.5;
}
html[lang="kn"] .svc-expand-title,
html[lang="hi"] .svc-expand-title{
  letter-spacing:0;
  line-height:1.28;
  font-size:clamp(24px, 2.8vw, 38px);
}
html[lang="kn"] .svc-expand-desc,
html[lang="hi"] .svc-expand-desc,
html[lang="kn"] .ss-v,
html[lang="hi"] .ss-v{
  letter-spacing:0;
  line-height:1.65;
}
html[lang="kn"] .svc-expand[data-for="5"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="5"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="6"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="6"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="7"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="7"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="8"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="8"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="9"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="9"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="10"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="10"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="11"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="11"] .svc-expand-kicker,
html[lang="kn"] .svc-expand[data-for="12"] .svc-expand-kicker,
html[lang="hi"] .svc-expand[data-for="12"] .svc-expand-kicker{
  letter-spacing:0.02em;
}
.svc-meta{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-dim); text-align:right; white-space:nowrap; }
.svc-name{ min-width:0; }
@media (max-width:680px){ .svc-row{ grid-template-columns:40px 1fr auto; } .svc-meta{ display:none; } .svc-expand-specs{ grid-template-columns:1fr; } .svc-expand-features{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* SERVICE ROW */
.svc-row{ cursor:none; display:grid; grid-template-columns:64px minmax(0,1fr) minmax(120px,auto) auto; align-items:center; gap:var(--s3); padding:clamp(20px,2.6vw,38px) 0; border-bottom:1px solid var(--line); transition:padding .5s var(--e-out),background .5s; overflow:hidden; position:relative; user-select:none; }
.svc-row::before{ content:""; position:absolute; inset:0; background:var(--azure-glow); transform:translateY(101%); transition:transform .5s var(--e-out); z-index:0; }
.svc-row:hover::before,.svc-row.open::before{ transform:translateY(0); }
.svc-row > *{ position:relative; z-index:1; }
.svc-row:hover,.svc-row.open{ padding-left:24px; padding-right:24px; }
.svc-indicator{ display:flex; align-items:center; gap:8px; justify-self:end; }
.ind-line{ width:0; height:1px; background:var(--azure); transition:width .55s var(--e-out); display:inline-block; }
.svc-row:hover .ind-line,.svc-row.open .ind-line{ width:28px; }
.ind-arrow{ font-size:13px; color:var(--azure-bright); transition:transform .55s var(--e-out),opacity .4s,border-color .4s,background .4s; opacity:0; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border:1px solid var(--line); flex-shrink:0; }
.svc-row:hover .ind-arrow{ opacity:1; transform:translate(2px,-2px); border-color:var(--azure); }
.svc-row.open .ind-arrow{ opacity:1; transform:rotate(45deg); color:var(--brass); border-color:var(--brass); }

/* SERVICE EXPAND */
.svc-expand{ max-height:0; overflow:hidden; transition:max-height 0.85s cubic-bezier(0.16,1,0.3,1); position:relative; }
.svc-expand.open{ max-height:1200px; border-bottom:1px solid var(--line); transition:max-height 1.1s cubic-bezier(0.16,1,0.3,1); }
.svc-expand-inner{ display:grid; grid-template-columns:1fr 1.2fr; min-height:440px; align-items:stretch; opacity:0; transform:translateY(18px); transition:opacity 0s,transform 0s; }
.svc-expand.open .svc-expand-inner{ opacity:1; transform:translateY(0); transition:opacity 0.7s var(--e-out) 0.2s,transform 0.7s var(--e-out) 0.2s; }
@media(max-width:880px){ .svc-expand-inner{ grid-template-columns:1fr; min-height:auto; } }
.svc-expand-media{ position:relative; overflow:hidden; border-right:1px solid var(--line); min-height:420px; isolation:isolate; }
.svc-expand-media .ph{ transition:transform 1.2s var(--e-out); position:absolute; inset:0; z-index:0; background-size:cover; background-position:center; }
.svc-expand-body{ padding:clamp(28px,3.5vw,52px); display:flex; flex-direction:column; justify-content:flex-start; min-height:100%; }

/* Cover image in expand + cover-flow lightbox on View more */
.svc-gallery{ position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; }
.svc-gallery--cover .ph{ z-index:0; }
.svc-gallery .svc-expand-media-overlay{ z-index:2; }
.svc-gallery-bar{
  position:absolute; left:0; right:0; bottom:0; z-index:5;
  display:flex; align-items:center; justify-content:flex-end;
  gap:12px; padding:14px 16px; background:linear-gradient(180deg, transparent, rgba(8,10,14,0.85));
}
.svc-gallery-more{
  font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--azure); background:transparent; border:1px solid rgba(44,154,212,0.35);
  padding:8px 12px; cursor:pointer; transition:color .3s, border-color .3s;
}
.svc-gallery-more:hover{ color:var(--brass-bright); border-color:rgba(194,162,105,0.45); }

/* Lightbox cover-flow */
body.svc-lightbox-open{ overflow:hidden; }
.svc-lightbox{ position:fixed; inset:0; z-index:220; display:flex; align-items:center; justify-content:center; }
.svc-lightbox[hidden]{ display:none !important; }
.svc-lightbox-backdrop{ position:absolute; inset:0; background:rgba(4,6,8,0.9); backdrop-filter:blur(8px); }
.svc-lightbox-panel{
  position:relative; z-index:1; width:min(1100px, 96vw); height:min(720px, 88vh);
  background:var(--bg-1); border:1px solid var(--line); padding:52px 18px 18px;
  display:flex; flex-direction:column;
}
.svc-lightbox-close{
  position:absolute; top:12px; right:14px; width:36px; height:36px; z-index:6;
  border:1px solid var(--line); background:transparent; color:var(--ink); font-size:24px; cursor:pointer;
}
.svc-lightbox-title{ margin:0 48px 8px 8px; color:var(--ink-dim); }
.svc-lightbox-flow{ position:relative; flex:1; min-height:0; }
.svc-gallery-stage{ position:relative; width:100%; height:100%; perspective:1400px; }
.svc-gallery-slide{
  position:absolute; inset:10% 16%; border-radius:2px; overflow:hidden;
  border:1px solid rgba(236,239,243,0.12);
  transition:transform .55s var(--e-out), opacity .55s var(--e-out), filter .55s;
  opacity:0; pointer-events:none; z-index:0;
}
.svc-gallery-slide .ph{ inset:0; }
.svc-gallery-slide.is-center{
  transform:translateX(0) scale(1); opacity:1; z-index:3; pointer-events:auto;
  border-color:rgba(194,162,105,0.35); box-shadow:0 18px 50px rgba(0,0,0,0.45);
}
.svc-gallery-slide.is-left{
  transform:translateX(-44%) scale(0.82); opacity:0.42; z-index:2; filter:brightness(0.7);
}
.svc-gallery-slide.is-right{
  transform:translateX(44%) scale(0.82); opacity:0.42; z-index:2; filter:brightness(0.7);
}
.svc-gallery-slide.is-hidden{ transform:scale(0.7); opacity:0; z-index:0; }
.svc-lightbox-flow.is-single .svc-gallery-slide.is-center{ inset:0; border:none; box-shadow:none; border-radius:0; }
.svc-lightbox-flow.is-single .svc-gallery-nav{ display:none; }
.svc-gallery-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%;
  border:1px solid rgba(44,154,212,0.35); background:rgba(10,12,15,0.72);
  color:var(--azure-bright); font-size:22px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s, background .3s, color .3s;
}
.svc-gallery-nav:hover{ border-color:var(--brass); color:var(--brass-bright); background:rgba(14,17,22,0.9); }
.svc-gallery-nav.prev{ left:8px; }
.svc-gallery-nav.next{ right:8px; }
.svc-lightbox-flow .svc-gallery-bar{
  position:absolute; left:0; right:0; bottom:0; justify-content:center;
  background:linear-gradient(180deg, transparent, rgba(8,10,14,0.9));
}
.svc-gallery-count{ font-family:var(--mono); font-size:10px; letter-spacing:.16em; color:var(--ink-dim); }
.svc-expand-kicker{ font-family:var(--mono); font-size:10px; letter-spacing:.28em; text-transform:uppercase; color:var(--azure); margin-bottom:18px; opacity:0; transform:translateY(10px); transition:opacity 0.5s var(--e-out) 0.25s,transform 0.5s var(--e-out) 0.25s; }
.svc-expand.open .svc-expand-kicker{ opacity:1; transform:translateY(0); }
.svc-expand-title{ font-family:var(--serif); font-weight:300; font-size:clamp(28px,3vw,44px); line-height:1.04; letter-spacing:-0.01em; color:var(--ink); margin-bottom:18px; opacity:0; transform:translateY(14px); transition:opacity 0.6s var(--e-out) 0.32s,transform 0.6s var(--e-out) 0.32s; }
.svc-expand-title em{ font-style:italic; color:var(--azure-bright); }
.svc-expand.open .svc-expand-title{ opacity:1; transform:translateY(0); }
.svc-expand-desc{ font-family:var(--serif); font-size:16px; line-height:1.6; color:var(--ink-soft); max-width:44ch; margin-bottom:24px; opacity:0; transform:translateY(12px); transition:opacity 0.6s var(--e-out) 0.4s,transform 0.6s var(--e-out) 0.4s; }
.svc-expand.open .svc-expand-desc{ opacity:1; transform:translateY(0); }
.svc-expand-specs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,2vw,28px); width:100%; margin-bottom:20px; padding:18px 0; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); opacity:0; transform:translateY(10px); transition:opacity 0.5s var(--e-out) 0.48s,transform 0.5s var(--e-out) 0.48s; }
.svc-expand.open .svc-expand-specs{ opacity:1; transform:translateY(0); }
.svc-spec{ min-width:0; }
.ss-k{ font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-dim); margin-bottom:6px; }
.ss-v{ font-family:var(--serif); font-size:clamp(17px,2vw,21px); line-height:1.2; color:var(--ink); word-break:break-word; }
.svc-expand-features{ display:grid; grid-template-columns:repeat(auto-fill,minmax(138px,1fr)); gap:8px; width:100%; margin-bottom:28px; opacity:0; transform:translateY(10px); transition:opacity 0.5s var(--e-out) 0.54s,transform 0.5s var(--e-out) 0.54s; }
.svc-expand.open .svc-expand-features{ opacity:1; transform:translateY(0); }
.svc-expand-features span{ font-family:var(--mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-dim); border:1px solid var(--line); padding:7px 12px; transition:border-color .3s,color .3s; text-align:center; min-height:34px; display:flex; align-items:center; justify-content:center; }
.svc-expand-features span:hover{ border-color:var(--azure); color:var(--azure-bright); }
.svc-expand-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:auto; padding-top:8px; opacity:0; transform:translateY(10px); transition:opacity 0.5s var(--e-out) 0.60s,transform 0.5s var(--e-out) 0.60s; }
.svc-expand.open .svc-expand-cta{ opacity:1; transform:translateY(0); }
.svc-expand-cta .btn{ padding:14px 24px; font-size:11px; }
.svc-expand::before{ content:""; position:absolute; top:0; left:0; height:1px; width:0; background:var(--azure); }
.svc-expand.open::before{ animation:divDraw .9s var(--e-out) forwards; }
@keyframes divDraw{ to{ width:100%; } }

/* ============================================================
   ATMOSPHERIC IDENTITIES — each service its own world
   ============================================================ */

/* Shared overlay layer sits above image, below tag */
.svc-expand-media-overlay{
  position:absolute; inset:0; z-index:0; pointer-events:none;
}

/* 01 — 1 BHK: Intimate grid, cool dark blue */
.svc-expand[data-for="0"] .svc-expand-media{ background:#0d1017; }
.svc-expand[data-for="0"] .svc-expand-media-overlay{
  background-image:
    repeating-linear-gradient(0deg, rgba(44,154,212,0.07) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(44,154,212,0.07) 0 1px, transparent 1px 48px);
}
.svc-expand[data-for="0"] .svc-expand-body{ background:linear-gradient(135deg,#0d1017,#111620); }
.svc-expand[data-for="0"] .svc-expand-title em{ color:var(--azure-bright); }
.svc-expand[data-for="0"] .ss-v{ color:var(--azure-bright); }

/* 02 — 2 BHK: Warm walnut, brass family tone */
.svc-expand[data-for="1"] .svc-expand-media-overlay{
  background:linear-gradient(180deg, rgba(10,8,5,0.2) 0%, rgba(20,12,5,0.6) 100%);
}
.svc-expand[data-for="1"] .svc-expand-body{ background:linear-gradient(135deg,#100d08,#1a1208); }
.svc-expand[data-for="1"] .svc-expand-kicker{ color:var(--brass); }
.svc-expand[data-for="1"] .svc-expand-title em{ color:var(--brass-bright); }
.svc-expand[data-for="1"] .ss-v{ color:var(--brass-bright); }
.svc-expand[data-for="1"] .svc-expand-features span:hover{ border-color:var(--brass); color:var(--brass-bright); }

/* 03 — 3 BHK: Layered blue depth, spacious */
.svc-expand[data-for="2"] .svc-expand-media{ background:#0a1018; }
.svc-expand[data-for="2"] .svc-expand-media-overlay{
  background:radial-gradient(120% 60% at 30% 50%, rgba(44,154,212,0.18), transparent 60%);
}
.svc-expand[data-for="2"] .svc-expand-body{ background:linear-gradient(160deg,#0a1018,#0e1824); }
.svc-expand[data-for="2"] .svc-expand-title em{ color:#8ecfee; }
.svc-expand[data-for="2"] .ss-v{ color:#8ecfee; }

/* 04 — 4 BHK: Grand estate, brass bloom */
.svc-expand[data-for="3"] .svc-expand-media{ background:#0e0c08; }
.svc-expand[data-for="3"] .svc-expand-media-overlay{
  background:radial-gradient(80% 50% at 50% 30%, rgba(194,162,105,0.22), transparent 65%);
}
.svc-expand[data-for="3"] .svc-expand-media::after{
  content:"IV"; position:absolute; bottom:-10px; right:20px; z-index:3;
  font-family:var(--serif); font-size:180px; font-weight:300; font-style:italic;
  color:rgba(194,162,105,0.07); line-height:1; pointer-events:none;
}
.svc-expand[data-for="3"] .svc-expand-body{ background:linear-gradient(135deg,#0e0c08,#1a1508); }
.svc-expand[data-for="3"] .svc-expand-kicker{ color:var(--brass); }
.svc-expand[data-for="3"] .svc-expand-title em{ color:var(--brass-bright); }
.svc-expand[data-for="3"] .ss-v{ color:var(--brass-bright); }
.svc-expand[data-for="3"] .svc-expand-cta .btn.solid{ background:var(--brass); border-color:var(--brass); color:#1a1508; }

/* 05 — Kitchen: Warm craft, real photo */
.svc-expand[data-for="4"] .svc-expand-media-overlay{
  background:linear-gradient(90deg, rgba(10,7,4,0.5) 0%, rgba(10,7,4,0.1) 50%, transparent 100%);
}
.svc-expand[data-for="4"] .svc-expand-body{ background:linear-gradient(135deg,#0f0a05,#1a1008); }
.svc-expand[data-for="4"] .svc-expand-kicker{ color:#c8a06b; }
.svc-expand[data-for="4"] .svc-expand-title em{ color:#e8c890; }
.svc-expand[data-for="4"] .ss-v{ color:#e8c890; }

/* 06 — Luxury Living: Cool vignette, statement */
.svc-expand[data-for="5"] .svc-expand-media-overlay{
  background:radial-gradient(ellipse at center, transparent 30%, rgba(8,10,14,0.7) 100%);
}
.svc-expand[data-for="5"] .svc-expand-body{ background:linear-gradient(135deg,#080a0e,#0e1218); }
.svc-expand[data-for="5"] .svc-expand-title em{ color:var(--azure-bright); }
.svc-expand[data-for="5"] .ss-v{ color:var(--azure-bright); }
.svc-expand[data-for="5"] .svc-expand-kicker{ letter-spacing:0.4em; }

/* 07 — Aluminium: Metallic sheen, precise */
.svc-expand[data-for="6"] .svc-expand-media-overlay,
.svc-expand[data-for="7"] .svc-expand-media-overlay,
.svc-expand[data-for="8"] .svc-expand-media-overlay,
.svc-expand[data-for="9"] .svc-expand-media-overlay,
.svc-expand[data-for="10"] .svc-expand-media-overlay,
.svc-expand[data-for="11"] .svc-expand-media-overlay,
.svc-expand[data-for="12"] .svc-expand-media-overlay{
  background:linear-gradient(135deg, rgba(180,185,190,0.1) 0%, transparent 50%),
             linear-gradient(180deg, rgba(8,10,12,0.2) 0%, rgba(8,10,12,0.55) 100%);
}
.svc-expand[data-for="6"] .svc-expand-body,
.svc-expand[data-for="7"] .svc-expand-body,
.svc-expand[data-for="8"] .svc-expand-body,
.svc-expand[data-for="9"] .svc-expand-body,
.svc-expand[data-for="10"] .svc-expand-body,
.svc-expand[data-for="11"] .svc-expand-body,
.svc-expand[data-for="12"] .svc-expand-body{ background:linear-gradient(135deg,#0a0c0e,#121518); }
.svc-expand[data-for="6"] .svc-expand-kicker,
.svc-expand[data-for="7"] .svc-expand-kicker,
.svc-expand[data-for="8"] .svc-expand-kicker,
.svc-expand[data-for="9"] .svc-expand-kicker,
.svc-expand[data-for="10"] .svc-expand-kicker,
.svc-expand[data-for="11"] .svc-expand-kicker,
.svc-expand[data-for="12"] .svc-expand-kicker{ color:#a0aab4; letter-spacing:0.36em; }
.svc-expand[data-for="6"] .svc-expand-title em,
.svc-expand[data-for="7"] .svc-expand-title em,
.svc-expand[data-for="8"] .svc-expand-title em,
.svc-expand[data-for="9"] .svc-expand-title em,
.svc-expand[data-for="10"] .svc-expand-title em,
.svc-expand[data-for="11"] .svc-expand-title em,
.svc-expand[data-for="12"] .svc-expand-title em{ color:#c8d4dc; }
.svc-expand[data-for="6"] .ss-v,
.svc-expand[data-for="7"] .ss-v,
.svc-expand[data-for="8"] .ss-v,
.svc-expand[data-for="9"] .ss-v,
.svc-expand[data-for="10"] .ss-v,
.svc-expand[data-for="11"] .ss-v,
.svc-expand[data-for="12"] .ss-v{ color:#c8d4dc; }

/* MATERIAL LIBRARY */
.matlib{ position:relative; z-index:1; padding:var(--s7) var(--gut); border-top:1px solid var(--line-soft); overflow:hidden; isolation:isolate; contain:layout paint; }
.matlib .feat-head{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:var(--s3); margin-bottom:var(--s5); }
.matlib .feat-head > div:first-child,
.matlib .feat-head > .body{ flex:none; min-width:0; }
.matlib-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:var(--s5); overflow:hidden; }
@media (max-width:880px){ .matlib-grid{ grid-template-columns:repeat(2,1fr); } }
.matcard{ position:relative; aspect-ratio:1/1.15; overflow:hidden; background:var(--bg-1); transform:translateZ(0); contain:paint; }
/* Opacity-only reveal — translateY stacking contexts paint over GSAP-pinned Process */
.has-js .matcard[data-reveal]{ opacity:0; transform:none; }
.has-js .matcard[data-reveal].is-in{ opacity:1; transform:none; transition:opacity .9s var(--e-out); }
.matcard .fill{ position:absolute; inset:0; transition:transform .8s var(--e-out); }
.matcard .sheen{ position:absolute; inset:0; opacity:0; transition:opacity .5s var(--e-out); mix-blend-mode:screen; background:radial-gradient(180px 180px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.22), transparent 60%); }
.matcard:hover .sheen{ opacity:1; }
.matcard:hover .fill{ transform:scale(1.06); }
.matcard .minfo{ position:absolute; left:0; right:0; bottom:0; padding:20px; z-index:2; }
.matcard .mn{ font-family:var(--serif); font-size:26px; }
.matcard .mt{ font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); margin-top:5px; }
.matcard .mno{ position:absolute; top:16px; left:18px; z-index:2; font-family:var(--mono); font-size:10px; color:rgba(255,255,255,.5); letter-spacing:.1em; }

/* PROCESS */
.process{ position:relative; z-index:5; background:var(--bg); isolation:isolate; }
.proc-pin{ position:relative; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto 1fr; background:var(--bg); z-index:5; }
.pin-spacer{ background:var(--bg); }
.proc-left-head{ grid-column:1; grid-row:1; position:relative; z-index:2; background:var(--bg); padding:clamp(40px,6vw,110px) var(--gut) 0; padding-top:clamp(36px,5vh,64px); }
.proc-left-head .h2{ margin-bottom:34px; max-width:12ch; }
.proc-left-track{ grid-column:1; grid-row:2; min-height:clamp(280px,48vh,460px); overflow:hidden; position:relative; padding:0 var(--gut) clamp(40px,6vw,110px); }
.proc-eyebrow{ margin-bottom:var(--s4); }
.proc-right{ grid-column:2; grid-row:1 / span 2; position:relative; overflow:hidden; border-left:1px solid var(--line); background:var(--bg-1); }
#procItems{ will-change:transform; }
.proc-item{ padding:26px 0; border-top:1px solid var(--line); cursor:pointer; }
.proc-item:last-child{ border-bottom:1px solid var(--line); }
.proc-item .pi-top{ display:flex; align-items:baseline; gap:18px; }
.proc-item .pi-no{ font-family:var(--mono); font-size:12px; color:var(--ink-dim); transition:color .4s; }
.proc-item .pi-name{ font-family:var(--serif); font-weight:300; font-size:clamp(28px,3.2vw,46px); line-height:1; color:var(--ink-dim); transition:color .5s var(--e-out); }
.proc-item .pi-name em{ font-style:italic; }
.proc-item .pi-body{ font-size:14px; line-height:1.6; color:var(--ink-soft); max-width:42ch; margin-top:0; max-height:0; opacity:0; overflow:hidden; transition:max-height .55s var(--e-out),opacity .4s var(--e-out),margin-top .4s var(--e-out); }
.proc-item.active .pi-no{ color:var(--azure); }
.proc-item.active .pi-name{ color:var(--ink); }
.proc-item.active .pi-name em{ color:var(--azure-bright); }
.proc-item.active .pi-body{ max-height:120px; opacity:1; margin-top:16px; }
.proc-visual{ position:absolute; inset:0; opacity:0; transition:opacity 1.1s var(--e-out); pointer-events:none; }
.proc-visual.on{ opacity:1; pointer-events:auto; }
.proc-visual .ph{ position:absolute; inset:0; background-size:cover !important; background-position:center !important; }
.proc-stepnum{ position:absolute; top:30px; right:34px; z-index:3; font-family:var(--serif); font-size:clamp(80px,12vw,200px); font-weight:300; color:rgba(236,239,243,0.06); line-height:0.8; font-style:italic; }
@media (min-width:881px){
  .proc-pin{ min-height:100vh; }
  .proc-right{ min-height:100vh; }
}
@media (max-width:880px){
  .proc-pin{ grid-template-columns:1fr; grid-template-rows:auto auto auto; min-height:0; }
  .proc-left-head{ grid-column:1; grid-row:1; padding:var(--s4) var(--gut) 0; }
  .proc-right{ grid-column:1; grid-row:2; min-height:0; height:min(42vh,320px); border-left:none; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .proc-left-track{ grid-column:1; grid-row:3; min-height:0; overflow:visible; padding-bottom:var(--s4); }
  #procItems{ transform:none !important; }
}

/* Section boundary */
.matlib { background:var(--bg); }

/* ============================================================
   MOBILE & TABLET RESPONSIVE — Services.html
   ============================================================ */
@media (max-width: 880px) {
  .phead { padding: 120px var(--gut) var(--s3); }
  .phead h1 { font-size: clamp(40px,9vw,80px); }
  .svc { padding: 58px var(--gut) var(--s3); }
  .svc-hint { display: flex; }
  .svc-row { grid-template-columns: 40px 1fr auto; cursor: pointer; }
  .svc-meta { display: none; }
  .ind-line { display: none; }
  .ind-arrow { opacity: 0.9; transform: none; font-size: 16px; }
  .svc-row.open .ind-arrow { transform: rotate(45deg); }
  .svc-expand-inner { grid-template-columns: 1fr; min-height: auto; }
  .svc-expand-media { min-height: 240px; border-right: none; border-bottom: 1px solid var(--line); }
  .svc-expand-media .ph { background-size: cover !important; background-position: center !important; }
  .svc-expand.open { max-height: 1400px; }
  .svc-expand-media { min-height: 280px; border-right: none; border-bottom: 1px solid var(--line); }
  .svc-lightbox-panel{ width:96vw; height:78vh; padding:48px 10px 12px; }
  .svc-gallery-slide.is-left,
  .svc-gallery-slide.is-right{ transform:translateX(0) scale(0.92); opacity:0; }
  .svc-gallery-slide.is-center{ inset: 6% 4%; }
  .svc-expand-body { padding: 28px 20px; }
  .svc-expand-specs { gap: 16px; }
  .svc-expand-cta { flex-direction: column; }
  .svc-expand-cta .btn { width: 100%; justify-content: center; }
  .matlib { padding: var(--s3) var(--gut) var(--s5); }
  .matlib .feat-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .matlib-grid { grid-template-columns: repeat(2,1fr); margin-top: 0; }
}
@media (max-width: 520px) {
  .svc-row { grid-template-columns: 40px 1fr auto; }
  .svc-meta { display: none; }
  .svc-name { font-size: clamp(20px,5vw,32px); }
  .svc-expand-media { min-height: 200px; }
  .matlib-grid { grid-template-columns: 1fr; }
  .proc-right { height: min(38vh, 280px); min-height: 0; }
}
