/* GRANDRI / HOME REFINEMENT · October 2026
 * Compatible with existing assets/css/style.css and live Stripe integration.
 * Use the photos at their native aspect ratios; avoid stretching low-res collage crops.
 */
.hero{background:linear-gradient(112deg,#fbfcff 0%,#eef3f9 100%)}
.hero .hero-inner{align-items:center;min-height:0;padding-top:34px;padding-bottom:34px;grid-template-columns:minmax(0, .98fr) minmax(0, 1.02fr);gap:28px}
.hero .hero-copy{padding:36px 0 42px;min-width:0}
.hero .hero-copy h1{font-size:clamp(42px,4.65vw,66px);letter-spacing:-2.9px;line-height:1.055;max-width:670px}
.hero .hero-copy .lead{font-size:clamp(16px,1.35vw,18px);line-height:1.7}
.hero .hero-visual{position:relative;min-width:0;width:100%;height:auto;max-height:none;min-height:0;aspect-ratio:413 / 228;border-radius:22px;overflow:hidden;box-shadow:0 28px 70px rgba(17,45,78,.16);align-self:center;isolation:isolate}
.hero .hero-visual img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;filter:none}
.hero .hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,23,49,.6),transparent 38%);pointer-events:none;z-index:1}
.hero .hero-caption{z-index:2;right:20px;bottom:18px;font-size:12px;line-height:1.5;letter-spacing:.7px;max-width:260px}
/* Service categories: quiet editorial enumeration rather than multicolored emoji icons. */
.service-card{position:relative;min-width:0;padding:25px 23px 23px}
.service-index{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:31px;padding:0 10px;margin:0 0 22px;border:1px solid rgba(167,109,11,.24);border-radius:8px;background:#fff8e9;color:#a46d11;font-weight:850;font-size:12px;letter-spacing:1.35px;font-variant-numeric:tabular-nums}
.service-card h3{font-size:clamp(18px,1.6vw,21px)}
/* #4 — facility imagery, natural widescreen ratio, no extreme crop. */
.split{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:34px;align-items:center}
.split .photo{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:416 / 234;border-radius:20px;overflow:hidden;box-shadow:0 19px 52px rgba(17,45,78,.12)}
.split .photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:none}
.split .photo-label{font-size:11px;line-height:1.4;padding:10px 14px;bottom:14px;right:14px;max-width:200px}
/* #3 and #5 — show the complete frames, without cropping any essential activity. */
.grandri-visual-stories{background:linear-gradient(180deg,#fff,#f6f9fd);border-bottom:1px solid #e3ebf2}
.grandri-concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.grandri-concept-card{min-width:0;background:#fff;border:1px solid var(--border,#d7e3ee);border-radius:20px;overflow:hidden;box-shadow:0 16px 44px rgba(18,46,77,.08)}
.grandri-concept-photo{height:auto;min-height:0;aspect-ratio:456 / 240;position:relative;overflow:hidden;background:#eef3fa}
.grandri-concept-card:nth-child(2) .grandri-concept-photo{aspect-ratio:454 / 218}
.grandri-concept-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .35s ease}
.grandri-concept-card:hover .grandri-concept-photo img{transform:scale(1.015)}
.grandri-photo-number{position:absolute;top:14px;left:14px;color:#fff;background:#112b4e;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.65);font-weight:800;font-size:12px;letter-spacing:1px}
.grandri-concept-copy{padding:24px 26px 27px}
.grandri-concept-copy h3{font-size:clamp(23px,2.2vw,30px);line-height:1.16;margin:0 0 12px;letter-spacing:-.65px}
.grandri-concept-copy p:not(.eyebrow){color:var(--muted,#62748b);line-height:1.7;margin:0 0 14px}
.grandri-concept-copy a{display:inline-block;margin-top:8px;color:#9f6b05;font-weight:800}
@media(max-width:1050px){.hero .hero-inner{grid-template-columns:minmax(0, 1fr) minmax(0,1fr);gap:18px}.hero .hero-copy h1{font-size:clamp(38px,4.9vw,56px)}.split{gap:22px}}
@media(max-width:800px){
 .hero .hero-inner{grid-template-columns:1fr;gap:12px;padding-top:14px;padding-bottom:28px}
 .hero .hero-copy{padding:35px 0 14px}
 .hero .hero-visual{max-width:650px;justify-self:center;margin:0;min-height:0;aspect-ratio:413 / 228;border-radius:18px}
 .split{grid-template-columns:1fr;gap:20px}.split .photo{margin:0;max-width:700px;min-height:0;aspect-ratio:416 / 234;justify-self:center}
 .grandri-concept-grid{gap:16px}.grandri-concept-copy{padding:22px}
}
@media(max-width:660px){.hero .hero-copy h1{font-size:clamp(38px,10vw,52px);letter-spacing:-2px}.grandri-concept-grid{grid-template-columns:1fr}.grandri-concept-photo{aspect-ratio:456 / 240}.grandri-concept-copy{padding:20px 21px 24px}.split .photo{aspect-ratio:416 / 234}}
@media(max-width:420px){.hero .hero-copy{padding-top:26px}.hero .hero-visual{border-radius:13px}.hero .hero-caption{font-size:9px;right:12px;bottom:10px}.split .photo-label{font-size:9px;max-width:155px}}
@media(prefers-reduced-motion:reduce){.grandri-concept-photo img{transition:none}}

 
/* GRANDRI 2026-10-30 / icon regression repair
 * Fixes the old emoji-card version without replacing index.html.
 * Works if site still uses .service-icon, and does not alter .service-index cards.
 */
.service-grid > .service-card > .service-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:auto !important;
    height:32px !important;
    min-width:68px !important;
    min-height:32px !important;
    padding:0 10px !important;
    margin:0 0 22px !important;
    border:1px solid rgba(167,109,11,.24) !important;
    border-radius:8px !important;
    background:#fff8e9 !important;
    box-shadow:none !important;
    font-size:0 !important;  /* hides original emoji characters */
    line-height:1 !important;
    color:#a46d11 !important;
    text-indent:0 !important;
    overflow:hidden !important;
}
.service-grid > .service-card > .service-icon::before{
    content:"";
    display:block;
    font:800 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    letter-spacing:1.1px !important;
    color:#a46d11 !important;
    white-space:nowrap;
}
.service-grid > .service-card:nth-child(1) > .service-icon::before{content:"01 / 04"}
.service-grid > .service-card:nth-child(2) > .service-icon::before{content:"02 / 04"}
.service-grid > .service-card:nth-child(3) > .service-icon::before{content:"03 / 04"}
.service-grid > .service-card:nth-child(4) > .service-icon::before{content:"04 / 04"}
@media(max-width:660px){
  .service-grid > .service-card > .service-icon{margin-bottom:16px !important}
}
