/* Homepage polish (branch homepage-polish): brings Why, Testimonials, Shop Enrich, Work, CTA and footer into the
   Monolith material language of the hero, Services and Our Process: concrete, smoked glass, real thickness,
   restrained violet edge light. Scoped by section id; loaded last. */
:root{
  --hp-ink:#F5F2FA;--hp-ink-2:rgba(240,236,248,.8);--hp-ink-3:rgba(240,236,248,.6);
  --hp-violet:#7C3AED;--hp-violet-hi:#B79CFF;--hp-glow:rgba(124,58,237,.42);
  --hp-ground:
    radial-gradient(70% 55% at 18% 0%,rgba(124,58,237,.09),transparent 70%),
    linear-gradient(180deg,rgba(13,10,18,.6),rgba(13,10,18,.92)),
    url(concrete-dark.jpg) center/900px,#0D0A12;
  --hp-face:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,0) 38%,rgba(0,0,0,.28)),
    linear-gradient(180deg,rgba(28,23,36,.88),rgba(13,10,18,.94)),
    url(concrete-dark.jpg) center/640px,#15111b;
  --hp-edges:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.06);
  --hp-drop:0 40px 70px -40px rgba(0,0,0,.9);
}
/* A slab: lit top edge, concrete face, front lip below */
#why .pillar,#testimonials .quote,#work .case{position:relative;background:var(--hp-face);box-shadow:var(--hp-edges),var(--hp-drop);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
#why .pillar::after,#testimonials .quote::after,#work .case::after{content:"";position:absolute;left:0;right:0;top:100%;height:10px;pointer-events:none;
  background:linear-gradient(180deg,#201a29,#09070d 75%);clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,10px 100%)}
@media (hover:hover){
  #why .pillar:hover,#work .case:hover{transform:translateY(-3px);box-shadow:var(--hp-edges),inset 0 0 0 1px rgba(124,58,237,.55),0 0 0 1px rgba(124,58,237,.18),0 30px 60px -36px var(--hp-glow),var(--hp-drop)}
}
#why .eyebrow,#testimonials .eyebrow,#work .eyebrow,#shop-enrich .eyebrow{color:var(--hp-violet-hi)}

/* ---- Why Tedia Digital ---- */
#why{background:var(--hp-ground);padding-bottom:var(--section-pad,clamp(80px,9vw,140px))}
#why .why>.pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:none;border:0;align-items:stretch;margin-bottom:10px}
#why .pillar{gap:18px;padding:34px 30px 36px;border:0}
#why .pillar__num{font-family:var(--mono);font-size:13px;letter-spacing:.14em;color:var(--hp-violet-hi)}
#why .pillar__title{color:var(--hp-ink)}
#why .pillar__text{color:var(--hp-ink-2);font-size:17px}
#why .intro{color:var(--hp-ink-2)}
#why .why__photo{margin-top:56px;aspect-ratio:3.2;border-radius:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 60px 120px -60px var(--hp-glow);overflow:visible}
#why .why__photo img{display:block}
#why .why__photo::after{display:block;content:"";position:absolute;left:0;right:0;top:100%;bottom:auto;height:14px;box-shadow:inset 0 1px 0 rgba(124,58,237,.45);
  background:linear-gradient(180deg,#221c2b,#0a080e 70%);clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,14px 100%)}

/* ---- Testimonials: off the cream paper, onto smoked glass ---- */
#testimonials.section--paper{background:var(--hp-ground);color:var(--hp-ink)}
#testimonials .h2{color:var(--hp-ink)}
#testimonials .intro{color:var(--hp-ink-2)}
#testimonials .quotes{gap:16px;background:none;border:0}
#testimonials .quote{padding:48px 40px 40px;border:0;border-radius:0;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0) 30%),linear-gradient(160deg,rgba(40,32,54,.78),rgba(14,11,20,.9)),url(concrete-dark.jpg) center/640px,#15111b}
#testimonials .quote__mark{color:var(--hp-violet);opacity:.75;font-size:72px;top:14px;left:34px;text-shadow:0 0 24px var(--hp-glow)}
#testimonials .quote__text{color:var(--hp-ink);font-size:clamp(18px,1.45vw,21px);line-height:1.55}
#testimonials .quote__who{border-top:1px solid rgba(255,255,255,.08)}
#testimonials .quote__logo{display:block;height:30px;width:auto;flex:none;margin-right:6px}
#testimonials .quote__logo--stacked{height:46px}
#testimonials .quote__avatar{background:var(--hp-face);border:0;box-shadow:var(--hp-edges),inset 0 0 0 1px rgba(124,58,237,.4);color:var(--hp-violet-hi)}
#testimonials .quote__name{color:var(--hp-ink)}
#testimonials .quote__role{color:var(--hp-ink-3)}

/* ---- Shop Enrich: concrete ground instead of flat black ---- */
#shop-enrich.section--black{background:
  radial-gradient(50% 60% at 72% 55%,rgba(124,58,237,.12),transparent 70%),
  linear-gradient(180deg,rgba(9,7,13,.82),rgba(9,7,13,.94)),url(concrete-dark.jpg) center/900px,#09070d}
#shop-enrich .intro{color:var(--hp-ink-2)}

/* ---- Work: cases as concrete slabs with recessed screens ---- */
#work{background:var(--hp-ground)}
#work .work{gap:16px;background:none;border:0}
#work .case{padding-bottom:28px;background:var(--hp-face)}
#work .case:hover{background:var(--hp-face)}
#work .case__frame,#work .case--wide .case__frame{margin:12px 12px 0;border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 18px 30px -20px rgba(0,0,0,.9)}
#work .case__frame>img{filter:grayscale(.3) brightness(.92)}
#work .case__name{color:var(--hp-ink)}
#work .case__tag{color:var(--hp-violet-hi)}
#work .case__links{flex-wrap:wrap}
#work .case__links a{white-space:nowrap}
#work .btn--paper{background:var(--hp-face);border:0;box-shadow:var(--hp-edges)}
#work .btn--paper:hover{background:var(--hp-face);color:#fff;box-shadow:var(--hp-edges),inset 0 0 0 1px rgba(124,58,237,.6),0 0 24px -6px var(--hp-glow)}
#work .work__cta{margin-top:56px}

/* ---- Final CTA: lit T over a concrete floor ---- */
#contact{background:
  radial-gradient(40% 70% at 78% 100%,rgba(124,58,237,.22),transparent 70%),
  linear-gradient(180deg,rgba(8,7,11,.9),rgba(8,7,11,.7) 70%,rgba(8,7,11,.92)),url(concrete-dark.jpg) center/900px,#08070b}
#contact .cta__brand-mark{opacity:1;filter:drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(124,58,237,.35))}
#contact .intro{color:var(--hp-ink-2)}

/* ---- Footer: a concrete base with a lit top edge ---- */
.footer{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0) 30%),linear-gradient(180deg,rgba(20,16,26,.9),rgba(8,7,11,.96)),url(concrete-dark.jpg) center/700px,#0b090f;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}

@media (max-width:1100px){#why .why>.pillars{grid-template-columns:1fr;gap:22px}}
@media (max-width:700px){
  #why .pillar{padding:28px 24px 30px}
  #testimonials .quote{padding:44px 26px 30px}
  #work .work{gap:24px}
  #why .why__photo{aspect-ratio:1.8;margin-top:44px}
}
@media (prefers-reduced-motion:reduce){#why .pillar,#testimonials .quote,#work .case{transition:none}}
/* Shop Enrich: the layer stack used to cover the list numbers; nudge it left and keep the list on top */
@media (min-width:1101px){#shop-enrich .xs-stack{margin-left:-185px}}
#shop-enrich .xs-list{position:relative;z-index:2}

/* =====================================================================
   Section grounds v2 (Joe, Nov 13: "still looks too similar"). Neighbours now differ in luminance and hue,
   not just texture: violet smoked glass / lit slatted wall / pale honed concrete / pure black + neon /
   warm bronze brushed metal / saturated violet field / black base. Services and Clients keep their grounds.
   ===================================================================== */
:root{
  --hp-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  --hp-noise-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}
#why,#testimonials,#work,.footer{position:relative}

/* 3. Process: smoked glass over big blurred violet light pools (reads violet, not grey) */
#process.oprc{background:
  linear-gradient(90deg,transparent,#a98bff 50%,transparent) top/100% 1px no-repeat,
  radial-gradient(34% 42% at 14% 30%,rgba(124,58,237,.55),transparent 70%),
  radial-gradient(36% 46% at 88% 78%,rgba(99,40,240,.5),transparent 72%),
  radial-gradient(50% 40% at 55% 0%,rgba(183,156,255,.18),transparent 70%),
  linear-gradient(180deg,#1a0f33,#120a24 55%,#0c0718);
  box-shadow:inset 0 30px 40px -30px rgba(169,139,255,.55)}

/* 4. Why: a real slatted lobby wall, big mid-grey slats raked by light from the left */
#why{background:
  linear-gradient(90deg,rgba(150,110,255,.30),rgba(124,58,237,.10) 30%,transparent 60%),
  linear-gradient(180deg,rgba(8,7,11,.15),rgba(8,7,11,.55)),
  linear-gradient(90deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.55)),
  repeating-linear-gradient(90deg,#3a3642 0,#4a4553 22px,#3a3642 44px,#56515f 45px,#100e14 46px,#0b0a0e 52px,#2a2730 54px),#2a2730;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 18px 26px -14px rgba(0,0,0,.9)}
#why .pillar{box-shadow:var(--hp-edges),0 40px 70px -30px rgba(0,0,0,.95)}
#why .eyebrow{color:#d6c8ff;text-shadow:0 1px 8px rgba(0,0,0,.8)}
#why .intro{color:#f1edf7;text-shadow:0 1px 10px rgba(0,0,0,.8)}

/* 5. Testimonials: the one light section, pale honed concrete with dark text and dark slabs on it */
#testimonials.section--paper{background:
  radial-gradient(70% 60% at 50% 0%,rgba(255,255,255,.55),transparent 70%),
  var(--hp-noise-dark) 0 0/260px,
  linear-gradient(180deg,#e4e1e7,#cfcbd3);
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 rgba(0,0,0,.25),inset 0 -24px 30px -24px rgba(0,0,0,.35)}
#testimonials .eyebrow{color:#5a1fd1}
#testimonials .h2{color:#15111b}
#testimonials .h2 .dot{color:#6328F0}
#testimonials .intro{color:#45404d}
#testimonials .quote{box-shadow:var(--hp-edges),0 34px 50px -26px rgba(20,14,30,.65),0 2px 0 rgba(0,0,0,.35)}

/* 6. Shop Enrich: pure black with one strong neon horizon line */
#shop-enrich.section--black{--hz:36px;background:
  linear-gradient(90deg,transparent,#c4adff 12%,#fff 50%,#c4adff 88%,transparent) 0 calc(100% - var(--hz))/100% 2px no-repeat,
  radial-gradient(50% 50% at 50% 100%,rgba(124,58,237,.55),transparent 75%) 0 calc(100% - var(--hz))/100% 120px no-repeat,
  linear-gradient(180deg,rgba(124,58,237,.35),transparent) 0 100%/100% var(--hz) no-repeat,
  #000;
  box-shadow:none}
@media (min-width:1101px){#shop-enrich.section--black{--hz:108px}}

/* 7. Work: warm bronze brushed metal band, lit from the top right */
#work{background:
  linear-gradient(200deg,rgba(255,226,190,.16),transparent 45%),
  radial-gradient(60% 40% at 50% 100%,rgba(0,0,0,.45),transparent 75%),
  repeating-linear-gradient(180deg,rgba(255,236,210,.05) 0 1px,transparent 1px 3px),
  repeating-linear-gradient(180deg,rgba(0,0,0,.22) 0 1px,transparent 1px 5px),
  repeating-linear-gradient(180deg,rgba(255,236,210,.04) 0 2px,transparent 2px 11px),
  repeating-linear-gradient(180deg,rgba(0,0,0,.18) 0 3px,transparent 3px 17px),
  var(--hp-noise) 0 0/220px,
  linear-gradient(180deg,#4a3b2e,#3a2e24 50%,#2a211a);
  box-shadow:inset 0 1px 0 rgba(255,230,200,.35),inset 0 2px 0 rgba(0,0,0,.6),inset 0 16px 24px -14px rgba(0,0,0,.8)}
#work .intro{color:#e6dccf}
#work .case{box-shadow:var(--hp-edges),0 36px 60px -28px rgba(0,0,0,.95)}

/* 8. Final CTA: saturated violet field with real glow; the existing T is the one T moment */
#contact{background:
  linear-gradient(90deg,transparent,rgba(255,255,255,.7) 50%,transparent) top/100% 1px no-repeat,
  radial-gradient(40% 70% at 78% 60%,rgba(190,160,255,.55),transparent 70%),
  radial-gradient(60% 90% at 0% 100%,rgba(20,6,50,.7),transparent 70%),
  var(--hp-noise) 0 0/220px,
  linear-gradient(120deg,#2a1270 0%,#3d1a9e 45%,#6328F0 100%);
  box-shadow:inset 0 30px 50px -30px rgba(0,0,0,.6)}
#contact .h2{color:#fff}
#contact .h2 .dot{color:#d9ccff}
#contact .intro{color:#ece6ff}
#contact .cta__brand-mark{filter:brightness(0) invert(1) drop-shadow(0 26px 30px rgba(20,6,50,.75)) drop-shadow(0 0 40px rgba(220,200,255,.45))}
#contact .btn--primary{background:#fff;color:#2a1270;box-shadow:0 18px 40px -16px rgba(10,4,30,.8)}
#contact .btn--primary:hover{background:#efe9ff}
#contact .btn--link{color:#fff}

/* 9. Footer: pure black base with a lit lip */
.footer{background:var(--hp-noise) 0 0/220px,#050407;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 12px 18px -12px rgba(0,0,0,.9)}

@media (max-width:700px){
  #why{background:
    linear-gradient(90deg,rgba(150,110,255,.28),transparent 60%),
    linear-gradient(180deg,rgba(8,7,11,.2),rgba(8,7,11,.6)),
    repeating-linear-gradient(90deg,#3a3642 0,#4a4553 16px,#3a3642 32px,#56515f 33px,#100e14 34px,#0b0a0e 38px,#2a2730 40px),#2a2730}
}

/* =====================================================================
   Hero copy block (Joe, Nov 13): sit higher under the nav pill and give each element room.
   Before (1280x800): copy centred, top at 229px; gaps h1>lede 24, lede>badge 16, badge>ctas 16.
   ===================================================================== */
@media (min-width:601px){
  .hero__body{align-items:flex-start}
  .hero__copy .lede--desktop{margin-top:clamp(26px,4vh,40px)}
  .hero__copy .badge{margin-top:clamp(20px,3.4vh,34px)}
  .hero__copy .ctas{margin-top:clamp(20px,3.4vh,34px)}
}
@media (min-width:601px) and (max-width:1100px){.hero__body{padding-top:clamp(20px,3.5vh,40px)}}
@media (min-width:1101px){.hero__body{padding-top:clamp(24px,4.5vh,56px)}}

/* =====================================================================
   Why (Joe, Nov 16-17): new "Why Brands Trust Tedia" copy. Heading and intro sit in a sticky lead
   column with the three promises stacked beside it. The lobby photo was removed on Nov 17.
   ===================================================================== */
#why .why{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(40px,5vw,80px);align-items:start}
#why .why>.why__lead{display:block;position:sticky;top:110px}
#why .why__lead .h2{max-width:14ch}
#why .why>.why__lead>.intro{margin-top:clamp(20px,2vw,28px);max-width:36em}
#why .why>.pillars{grid-template-columns:1fr;gap:18px;margin:0}
#why .pillar{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px 18px;padding:32px 34px 34px}
#why .pillar__num{grid-row:1;padding-top:9px}
#why .pillar__title{grid-column:2;max-width:none;font-size:clamp(22px,1.9vw,28px);line-height:1.15}
#why .pillar__text{grid-column:2;margin:0;max-width:none}
@media (max-width:1100px){
  #why .why{grid-template-columns:1fr;gap:44px}
  #why .why>.why__lead{position:static}
  #why .why__lead .h2{max-width:none}
}
@media (max-width:700px){
  #why .pillar{grid-template-columns:1fr;gap:14px;padding:28px 24px 30px}
  #why .pillar__num{padding-top:0}
  #why .pillar__title,#why .pillar__text{grid-column:1}
  #why .pillar__title{font-size:24px}
}
