/* CALYNEVO approved homepage 0.7.15. Scoped to home; commercial pages unchanged. */
.cal-premium-home{--cal-paper:#f6f4ef;--cal-ink:#202820;--cal-muted:#586156;--cal-line:#d6d9cf;--cal-accent:#b9370a;--cal-panel:#eceee7;background:var(--cal-paper);color:var(--cal-ink)}
html[data-theme="dark"] .cal-premium-home{--cal-paper:#171d19;--cal-ink:#f1f2e9;--cal-muted:#bac1b5;--cal-line:#444d42;--cal-accent:#ff946e;--cal-panel:#252e25}
.cal-premium-home main{background:var(--cal-paper);color:var(--cal-ink)}
.cal-premium-home main h1,.cal-premium-home main h2,.cal-premium-home main h3,.cal-premium-home main strong{color:var(--cal-ink)}
.cal-premium-home main p,.cal-premium-home .role-label{color:var(--cal-muted)}
.cal-premium-home main .eyebrow,.cal-premium-home h1 em,.cal-premium-home .cal-project-number{color:var(--cal-accent)}
.cal-premium-home .brand-hero{padding:90px 0 72px;min-height:570px;background:var(--cal-paper)}
.cal-premium-home .brand-hero h1{font-size:clamp(3rem,6.2vw,6rem);font-weight:500;letter-spacing:-.055em;line-height:1.06;max-width:100%;margin:0 0 28px}
.cal-premium-home .brand-hero h1 em{font-style:normal}
.cal-premium-home .hero-bottom{display:block;margin-top:0;border:0;padding:0}
.cal-premium-home .hero-bottom>p{max-width:570px;font-size:1.05rem;line-height:1.7;margin-bottom:28px}
.cal-premium-home .hero-actions{justify-content:flex-start;flex-wrap:wrap;gap:18px}
.cal-premium-home .brand-hero.cal-hero-media:before{background:linear-gradient(90deg,var(--cal-paper) 5%,color-mix(in srgb,var(--cal-paper) 92%,transparent) 45%,color-mix(in srgb,var(--cal-paper) 30%,transparent))!important}
.cal-premium-home .cal-hero-picture img{opacity:.8}
.cal-premium-home main .button-primary{background:var(--cal-ink);color:var(--cal-paper);border-color:var(--cal-ink)}
.cal-premium-home main .button-secondary{color:var(--cal-ink);background:transparent;border-color:var(--cal-line)}
.cal-premium-home .section{padding:78px 0}
.cal-premium-home .section-head h2{font-weight:500;letter-spacing:-.045em;font-size:clamp(2rem,3.6vw,3.4rem)}
.cal-premium-home .featured-projects{display:block}
.cal-premium-home .featured-projects .project-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:6%;align-items:center;padding:42px 0;border:0;border-top:1px solid var(--cal-line);border-radius:0;background:transparent;box-shadow:none;transform:none;opacity:1}
.cal-premium-home .featured-projects .project-card:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.cal-premium-home .project-card:nth-child(even) .cal-gallery-open{order:2}
.cal-premium-home .featured-projects .project-body{padding:0;background:transparent}
.cal-premium-home .project-body h3{font-weight:500;font-size:clamp(1.65rem,2.5vw,2.5rem);margin:16px 0}
.cal-premium-home .project-body p{font-size:1rem;line-height:1.7}
.cal-premium-home .project-body .text-link{display:inline-block;margin-top:12px;color:var(--cal-ink);border-bottom:1px solid var(--cal-accent)}
.cal-premium-home .cal-project-number{font-size:.8rem}
.cal-premium-home .cal-gallery-open{display:block;padding:0;min-width:0;width:100%;background:var(--cal-panel);border:0;border-radius:5px;overflow:hidden;text-align:left;color:var(--cal-ink)}
.cal-premium-home .cal-gallery-open .project-media{aspect-ratio:1.6;min-height:0;border:0}
.cal-premium-home .cal-gallery-open img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.cal-premium-home .cal-gallery-label{display:block;padding:12px 16px;font-size:.8rem}
.cal-premium-home .section-white,.cal-premium-home .studio-band{background:var(--cal-panel)}
.cal-premium-home .simple-card{background:transparent;border-color:var(--cal-line);box-shadow:none}
.cal-premium-home .proof-results{background:var(--cal-paper);border-block:1px solid var(--cal-line)}
.cal-premium-home .proof-result{background:transparent;border-color:var(--cal-line)}
.cal-premium-home .proof-result span{color:var(--cal-muted)}
.cal-premium-home .cal-motion-enter{animation:cal-home-enter .65s cubic-bezier(.2,.7,.2,1) both}
@keyframes cal-home-enter{from{transform:translateY(22px)}to{transform:translateY(0)}}
.cal-premium-home .cal-gallery{width:min(1100px,94vw);max-height:90dvh;overflow:auto;padding:20px;border:1px solid var(--cal-line);border-radius:8px;background:var(--cal-paper);color:var(--cal-ink)}
.cal-premium-home .cal-gallery::backdrop{background:rgba(12,18,14,.86)}
.cal-premium-home .cal-gallery img{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain;margin:18px 0}
.cal-premium-home .cal-gallery-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.cal-premium-home .cal-gallery button{min-width:44px;min-height:44px;border:1px solid var(--cal-line);border-radius:4px;padding:8px 14px;background:var(--cal-panel);color:var(--cal-ink)}
.cal-premium-home .cal-gallery-controls{display:flex;gap:10px}
@media(hover:hover) and (pointer:fine){.cal-premium-home .cal-gallery-open:hover img{transform:scale(1.025)}}
@media(max-width:700px){.cal-premium-home .brand-hero{padding:58px 0 48px;min-height:0}.cal-premium-home .brand-hero h1{font-size:clamp(2.5rem,10vw,3.5rem)}.cal-premium-home .hero-bottom>p{font-size:1rem}.cal-premium-home .section{padding:50px 0}.cal-premium-home .featured-projects .project-card,.cal-premium-home .featured-projects .project-card:nth-child(even){grid-template-columns:minmax(0,1fr);gap:24px;padding:30px 0}.cal-premium-home .project-card:nth-child(even) .cal-gallery-open{order:0}.cal-premium-home .cal-motion-enter{animation-duration:.5s}.cal-premium-home .brand-hero.cal-hero-media:before{background:color-mix(in srgb,var(--cal-paper) 88%,transparent)!important}@keyframes cal-home-enter{from{transform:translateY(12px)}to{transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.cal-premium-home .cal-motion-enter,.cal-premium-home .hero-line{animation:none!important;transform:none!important}.cal-premium-home .cal-gallery-open img{transition:none!important}}
/* Keep all content readable before, during and without scroll observers. */
html.js .cal-premium-home main .reveal{opacity:1!important;visibility:visible!important;animation:none;transform:none}
html.js .cal-premium-home main .cal-motion-enter{animation:cal-home-enter .65s cubic-bezier(.2,.7,.2,1) both}
.cal-premium-home main .project-body,.cal-premium-home main .simple-card{background:transparent!important;color:var(--cal-ink)!important}
.cal-premium-home main .section-white,.cal-premium-home main .studio-band{background:var(--cal-panel)!important}
.cal-premium-home main .proof-results{background:var(--cal-paper)!important}
.cal-premium-home main .role-label{color:var(--cal-accent)!important}
.cal-premium-home .cal-gallery-open .project-media{padding:0;background:var(--cal-panel)}
.cal-premium-home .cal-gallery-open .project-media img{box-shadow:none;border-radius:0;transform:none}
@media(max-width:700px){html.js .cal-premium-home main .cal-motion-enter{animation-duration:.5s}}
@media(prefers-reduced-motion:reduce){html.js .cal-premium-home main .cal-motion-enter{animation:none!important}}
.cal-premium-home .hero-line{display:inline-block;animation:cal-title-enter .7s cubic-bezier(.2,.7,.2,1) both}
.cal-premium-home .hero-line:nth-of-type(2){animation-delay:90ms}
.cal-premium-home .hero-line:nth-of-type(3){animation-delay:180ms}
.cal-premium-home .cal-hero-picture img{animation:cal-art-enter 1.8s ease-out both}
@keyframes cal-title-enter{from{transform:translateY(12px)}to{transform:translateY(0)}}
@keyframes cal-art-enter{from{transform:scale(1.015)}to{transform:scale(1)}}
@media(max-width:700px){.cal-premium-home .hero-line{animation-duration:.5s}.cal-premium-home .cal-hero-picture img{animation-duration:.9s}}
@media(prefers-reduced-motion:reduce){.cal-premium-home .hero-line,.cal-premium-home .cal-hero-picture img{animation:none!important}}
.cal-premium-home main .simple-grid-3{background:transparent!important;gap:28px;border:0}
.cal-premium-home main .simple-grid-3 .simple-card{border:0;border-top:1px solid var(--cal-line);padding:24px 0}

/* ==========================================================================
   CALYNEVO v0.7.15
   Homepage-only refinement: Testimonials + Proof
   Scope intentionally limited to the two requested sections.
   ========================================================================== */

/* Testimonials: balanced two-card desktop layout, compact stacked mobile cards. */
.cal-premium-home .cal-testimonials{
  padding-bottom:56px;
}
.cal-premium-home .cal-testimonials .cal-testimonial-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.cal-premium-home .cal-testimonials .cal-testimonial-card{
  display:flex;
  flex-direction:column;
  height:100%;
  gap:20px;
  padding:clamp(24px,2.4vw,32px);
  border:1px solid var(--cal-line);
  border-radius:4px;
  background:color-mix(in srgb,var(--cal-paper) 88%,var(--cal-panel) 12%);
  color:var(--cal-ink);
  box-shadow:0 12px 30px rgba(18,28,21,.055);
}
.cal-premium-home .cal-testimonials .cal-testimonial-person{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.cal-premium-home .cal-testimonials .cal-testimonial-person img{
  display:block;
  flex:0 0 58px;
  width:58px!important;
  height:58px!important;
  max-width:58px!important;
  min-width:58px;
  aspect-ratio:1;
  border-radius:50%;
  object-fit:cover;
}
.cal-premium-home .cal-testimonials .cal-testimonial-person>div{
  min-width:0;
}
.cal-premium-home .cal-testimonials .cal-testimonial-person h3{
  margin:0;
  font-size:clamp(1.18rem,1.05rem + .3vw,1.42rem);
  line-height:1.18;
  font-weight:600;
  letter-spacing:-.025em;
}
.cal-premium-home .cal-testimonials .cal-testimonial-person p{
  margin:5px 0 0;
  color:var(--cal-muted);
  font-size:.82rem;
  line-height:1.4;
}
.cal-premium-home .cal-testimonials .cal-testimonial-card blockquote{
  margin:0;
  color:var(--cal-ink);
  font-size:clamp(1rem,.95rem + .22vw,1.15rem);
  line-height:1.65;
  letter-spacing:-.012em;
}
.cal-premium-home .cal-testimonials .cal-testimonial-tags{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px!important;
  margin-top:auto;
}
.cal-premium-home .cal-testimonials .cal-testimonial-tags span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid var(--cal-line);
  background:transparent;
  color:var(--cal-muted);
  font-size:.69rem;
  line-height:1.2;
  font-weight:750;
  white-space:nowrap;
}
.cal-premium-home .cal-testimonials .cal-testimonial-card .text-link{
  align-self:flex-start;
  margin-top:0;
  color:var(--cal-ink);
}
.cal-premium-home .cal-testimonials .cal-testimonial-card .text-link::after{
  content:"  →";
  color:var(--cal-accent);
}

/* Proof: one compact three-column bar on desktop. */
.cal-premium-home .proof-results{
  padding-top:56px;
}
.cal-premium-home .proof-results .proof-results-grid--three{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0;
  overflow:hidden;
  border:1px solid var(--cal-line);
  background:transparent;
}
.cal-premium-home .proof-results .proof-result{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  min-height:150px;
  padding:26px 24px;
  border:0;
  border-left:1px solid var(--cal-line);
  background:transparent;
  color:var(--cal-ink);
}
.cal-premium-home .proof-results .proof-result:first-child{
  border-left:0;
}
.cal-premium-home .proof-results .proof-result strong{
  display:block;
  margin:0;
  color:var(--cal-ink);
  font-size:clamp(2.15rem,4vw,3.8rem);
  line-height:.92;
  letter-spacing:-.05em;
  font-weight:760;
  white-space:nowrap;
}
.cal-premium-home .proof-results .proof-result span{
  max-width:24ch;
  color:var(--cal-muted);
  font-size:.86rem;
  line-height:1.45;
}
@media(hover:hover) and (pointer:fine){
  .cal-premium-home .proof-results .proof-result:hover{
    transform:translateY(-2px);
    background:color-mix(in srgb,var(--cal-panel) 48%,transparent);
    color:var(--cal-ink);
  }
  .cal-premium-home .proof-results .proof-result:hover span{
    color:var(--cal-muted);
  }
}

/* Mobile: retain full testimonials, but make every element compact and deliberate. */
@media(max-width:700px){
  .cal-premium-home .cal-testimonials{
    padding-bottom:40px;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-grid{
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-card{
    gap:17px;
    padding:20px;
    border-radius:3px;
    box-shadow:0 8px 22px rgba(18,28,21,.045);
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-person{
    gap:12px;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-person img{
    flex-basis:52px;
    width:52px!important;
    height:52px!important;
    max-width:52px!important;
    min-width:52px;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-person h3{
    font-size:1.14rem;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-person p{
    font-size:.79rem;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-card blockquote{
    font-size:1rem;
    line-height:1.62;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-tags{
    gap:7px!important;
  }
  .cal-premium-home .cal-testimonials .cal-testimonial-tags span{
    min-height:27px;
    padding:5px 8px;
    font-size:.67rem;
  }

  /* Proof becomes three compact rows: number left, explanation right. */
  .cal-premium-home .proof-results{
    padding-top:40px;
  }
  .cal-premium-home .proof-results .proof-results-grid--three{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .cal-premium-home .proof-results .proof-result{
    display:grid;
    grid-template-columns:minmax(92px,.34fr) minmax(0,1fr);
    align-items:center;
    gap:16px;
    min-height:0;
    padding:20px 18px;
    border-left:0;
    border-bottom:1px solid var(--cal-line);
  }
  .cal-premium-home .proof-results .proof-result:last-child{
    border-bottom:0;
  }
  .cal-premium-home .proof-results .proof-result strong{
    font-size:clamp(2rem,9.5vw,2.55rem);
    line-height:.95;
    letter-spacing:-.045em;
  }
  .cal-premium-home .proof-results .proof-result span{
    max-width:none;
    font-size:.83rem;
    line-height:1.42;
  }
}

@media(max-width:380px){
  .cal-premium-home .proof-results .proof-result{
    grid-template-columns:84px minmax(0,1fr);
    gap:13px;
    padding:18px 15px;
  }
  .cal-premium-home .proof-results .proof-result strong{
    font-size:1.9rem;
  }
}

@media(prefers-reduced-motion:reduce){
  .cal-premium-home .proof-results .proof-result{
    transition:none!important;
  }
}

