/* FELIFAM / Home 2026.11 — precise editorial revisions; base components remain shared with spaces. */
.hero{min-height:680px;height:100svh;max-height:960px;background:#3b463d;isolation:isolate}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% 48%;z-index:0;filter:saturate(.88) contrast(1.04)}
.hero-shade{z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(13,32,26,.72),rgba(13,32,26,.37) 42%,rgba(13,32,26,.035) 85%),linear-gradient(0deg,rgba(8,25,19,.16),transparent 30%)}
.hero-inner{max-width:1440px}.hero-content{max-width:650px}
.hero h1{font-size:clamp(46px,4.9vw,76px);line-height:1.02;letter-spacing:-.035em;max-width:610px;text-wrap:balance}
.hero p{max-width:560px;font-size:clamp(12px,.92vw,14px);line-height:1.78}
.hero-replay{position:absolute;right:clamp(24px,4vw,76px);bottom:24px;z-index:3;border:1px solid rgba(255,255,255,.48);padding:12px 17px;background:rgba(14,42,35,.46);backdrop-filter:blur(10px);color:#fff;font:600 11px "Open Sans",sans-serif;letter-spacing:.055em;cursor:pointer;transition:background .25s,transform .25s;display:none}
.hero-replay:hover{background:#11362a;transform:translateY(-2px)}
.hero-replay.is-needed{display:block}
.header.on-hero{background:rgba(20,43,35,.28);border-color:rgba(255,255,255,.15)}
/* Show the entire interior, not a cropped cover of the bed. */
.philosophy{padding:clamp(62px,7vh,100px) 0}
.philosophy-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.82fr);gap:clamp(32px,5.5vw,110px);align-items:center}
.philosophy .image-holder{height:min(65svh,540px);min-height:380px;display:grid;place-items:center;background:#eee7df;overflow:hidden}
.philosophy .image-holder img{width:100%;height:100%;object-fit:contain;object-position:center;filter:saturate(.94)}
.philosophy .image-tag{bottom:12px;right:14px;padding:6px 9px;background:rgba(18,48,39,.72)}
/* Equal portrait categories, with the title itself functioning as the entire link. */
.spaces .section-head{margin-bottom:26px}
.space-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.space-card{height:clamp(430px,42vw,620px);background:#e6ddd1}
.space-card img{object-fit:cover;object-position:50% 41%}
.space-overlay{padding:120px 31px 31px;background:linear-gradient(0deg,rgba(10,29,24,.86) 0%,rgba(10,29,24,.28) 43%,transparent 100%)}
.space-overlay h3{font-size:clamp(31px,2.9vw,47px);margin:0 0 13px;transition:transform .35s}
.space-card:hover .space-overlay h3,.space-card:focus-visible .space-overlay h3{transform:translateX(4px)}
.space-overlay h3::after{content:"";font:400 .47em "Open Sans",sans-serif;vertical-align:middle;margin-left:13px}
.space-overlay p{max-width:380px;font-size:12px;line-height:1.75;margin:0}
/* NIDO as a large cohesive gallery, without a second miniature copy of the same photo. */
.collection{padding:65px 0 55px;background:linear-gradient(115deg,#eae1d7,#f5efe7 63%,#e9e1d9)}
.collection-grid{grid-template-columns:minmax(290px,.65fr) minmax(0,1.35fr);gap:3.3%;align-items:center}
.collection-visual{min-height:min(64svh,570px);height:min(64svh,570px);background:#eeeceb;display:grid;place-items:center;overflow:hidden}
.collection-visual img{width:100%;height:100%;object-fit:contain;object-position:center;mix-blend-mode:multiply;transform:scale(1.08);transition:transform .9s cubic-bezier(.2,.7,.3,1)}
.collection-visual:hover img{transform:scale(1.12)}
.collection-stamp{background:rgba(245,240,233,.9)}
.nido-nav{margin-top:24px;padding-top:17px}
/* Better photographic focus and equivalent rows. */
.projects .project-grid{gap:28px 19px}
.projects .project-photo{height:clamp(240px,24vw,332px)}
.projects .project-photo img{object-fit:cover;object-position:center}
.projects .project-card:nth-child(4) .project-photo img{object-position:center 43%}
.projects .project-card:nth-child(5) .project-photo img{object-position:center 50%}
/* Materials section uses the user's original photo #2, portrait with full essential content visible. */
.materials{padding:65px 0 55px}
.materials .wrap{gap:20px}
.materials-head{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);align-items:end}
.materials-head h2{font-size:clamp(44px,4.6vw,70px);max-width:670px;line-height:.97}
.materials-head p{max-width:450px;font-size:13px}
.materials-compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.materials-compact .material-primary{height:clamp(365px,38vw,510px);min-height:365px;display:grid;place-items:center;background:#ddd6c9}
.materials-compact .material-primary img{width:100%;height:100%;object-fit:contain;object-position:center}
.materials-side{gap:12px}
.material-story--compact{min-height:0;padding:22px 25px}
.material-story--compact h3{font-size:clamp(30px,2.6vw,42px);max-width:15ch}
.material-story--compact p{max-width:53ch;font-size:12px}
.material-points--compact{gap:9px}
.material-points--compact article{min-height:125px;padding:15px 13px}
.material-points--compact article h3{font-size:16px}
.material-points--compact article p{font-size:11px}
/* Professionals #3: portrait without cropping or repeated NIDO hero image. */
.professionals{padding:70px 0;background:#f5f1eb}
.pro-grid{grid-template-columns:minmax(320px,.84fr) minmax(0,1fr);gap:7%;align-items:center}
.pro-image{height:min(67svh,560px);background:#e8e1d8;display:flex;justify-content:center}
.pro-image img{width:100%;height:100%;object-fit:contain;object-position:center}
/* About vertical photograph: preserve frame. */
.about{padding-top:70px}
.about-grid{grid-template-columns:1fr .9fr;gap:7%}
.about-image{height:min(64svh,565px);background:#e8e3db;display:flex;justify-content:center;align-items:center}
.about-image img{width:100%;height:100%;object-fit:contain}
/* Magazine image ratio standardised without upscaling tiny cover assets too aggressively. */
.recognition{margin-top:40px;padding-top:24px}
.recognition-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.recognition-tile{min-height:0;padding:14px 15px 17px;grid-template-rows:184px 1fr;gap:12px}
.recognition-tile span{font-size:clamp(23px,2.2vw,34px);margin-bottom:8px;line-height:1.05}
.recognition-tile small{margin-bottom:8px;font-size:9px}
.recognition-tile p{font-size:12px;line-height:1.62;max-width:none}
/* Natural wide photo #4: not a generated close-up portrait. */
.final-cta{min-height:560px;position:relative;background:#182f27}
.final-image{object-fit:cover;object-position:center 42%}
.final-overlay{background:linear-gradient(90deg,rgba(11,39,31,.89) 0%,rgba(11,39,31,.65) 39%,rgba(11,39,31,.08) 83%)}
/* Links and accessible keyboard focus consistent on both pages. */
.space-card:focus-visible,.project-card:focus-visible,.pill:focus-visible,.underlink:focus-visible{outline:2px solid #c99b6d;outline-offset:4px}
@media(max-height:730px) and (min-width:761px){.hero{min-height:0;height:100svh}.hero h1{font-size:clamp(39px,4.5vw,66px)}.hero .hero-content{padding:10px 0}.hero p{line-height:1.6}.hero-buttons{margin-top:16px}}
@media(max-width:1050px){.recognition-list{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-grid{grid-template-columns:1fr 1fr}.philosophy-grid{gap:28px}.materials-compact{grid-template-columns:1fr}.materials-compact .material-primary{height:420px}.material-points--compact article{min-height:0}}
@media(max-width:760px){.hero{min-height:100svh;height:auto;max-height:none}.hero-video{object-position:65% center}.hero-shade{background:linear-gradient(0deg,rgba(10,30,23,.88) 0%,rgba(10,30,23,.54) 49%,rgba(10,30,23,.1) 100%)}.hero-inner{padding-top:calc(var(--header) + 65px);padding-bottom:70px;align-items:flex-end}.hero h1{font-size:clamp(37px,9.6vw,55px);max-width:100%}.hero p{font-size:13px}.hero-buttons{gap:9px}.hero-replay{bottom:90px;right:18px}.philosophy-grid,.collection-grid,.pro-grid,.about-grid{grid-template-columns:1fr}.philosophy .image-holder{height:clamp(340px,105vw,560px);min-height:0}.spaces .section-head{margin-bottom:22px}.space-grid{grid-template-columns:1fr;gap:12px}.space-card{height:clamp(400px,120vw,570px)}.space-card img{object-position:50% 43%}.space-overlay{padding:70px 24px 25px}.collection-visual{height:clamp(280px,80vw,440px);min-height:0}.collection-visual img{transform:scale(1.03)}.materials-head{grid-template-columns:1fr;row-gap:12px}.materials-compact .material-primary{height:clamp(360px,110vw,520px);min-height:0}.materials-side{gap:9px}.material-points--compact{grid-template-columns:1fr}.material-points--compact article{min-height:0}.pro-image{height:clamp(380px,115vw,560px)}.about-image{height:clamp(340px,115vw,550px)}.recognition-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recognition-tile{padding:10px;grid-template-rows:165px 1fr}.recognition-tile span{font-size:clamp(19px,5vw,25px)}.recognition-tile p{font-size:11px}.final-image{object-position:68% center}.final-overlay{background:linear-gradient(0deg,rgba(11,39,31,.9) 0%,rgba(11,39,31,.55) 58%,rgba(11,39,31,.07) 100%)}}
@media(max-width:380px){.recognition-tile{grid-template-rows:135px auto}.recognition-tile span{font-size:19px}.recognition-tile p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hero-video{transition:none}.space-card img,.collection-visual img,.project-card img{transition:none}}
/* Keep the iOS fallback video control away from the floating share and bottom navigation. */
@media(max-width:760px){.hero-replay{top:calc(var(--header) + 14px);right:18px;bottom:auto;z-index:4;padding:9px 13px;font-size:10px}}
