/* Release 1 additions. Uses the existing Elvinox tokens (site-01.css :root): no new colours or fonts. */

/* Header: wordmark-only logo (the red tagline was unreadable at header size) */
header.elvinox-header .brand img{height:38px;width:auto}
@media(max-width:650px){header.elvinox-header .brand img{height:30px}}

/* Accessibility helpers */
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:#fff;color:var(--ink);padding:10px 16px;border-radius:8px;font-weight:600}
.skip:focus{top:12px}

/* Static pages: each page is visible from first paint (removes the hash-router layout shift) */
.page.on{display:block}

/* Homepage hero: headline, value proposition and actions over the existing photograph */
#p-home.page>.hybrid-hero .wrap{padding-top:96px;padding-bottom:40px}
#p-home .hero-copy{max-width:700px}
#p-home.page>.hybrid-hero .eyebrow{color:#e3c394;margin-bottom:18px}
#p-home.page>.hybrid-hero h1{display:block;font-size:clamp(40px,5.4vw,78px);line-height:1.06;letter-spacing:-.035em;max-width:16ch}
#p-home.page>.hybrid-hero .lead{color:#f0f3ef;font-size:clamp(16px,1.6vw,20px);line-height:1.7;margin:22px 0 32px;max-width:560px}
.hybrid-hero .btn.ghost,.hybrid-page-hero .btn.ghost{color:#fff}

/* Responsive hero photos (build.py sets --hero / --hero-m on the hero element) */
.hybrid-hero[style*="--hero"],.hybrid-page-hero[style*="--hero"]{background-image:var(--hero-m)}
@media(min-width:829px){.hybrid-hero[style*="--hero"],.hybrid-page-hero[style*="--hero"]{background-image:var(--hero)}}

/* Inner-page heroes: keep content clear of the overlaid header */
.page>.hybrid-page-hero .wrap{padding-top:96px;padding-bottom:32px}
.page>.hybrid-page-hero .cta-row{margin-top:32px}

/* Breadcrumbs */
.crumbs{background:#f6f3ec;border-bottom:1px solid var(--line);font-size:14px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:13px 0}
.crumbs li+li:before{content:'›';margin-right:8px;color:var(--brass)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brass)}
.crumbs [aria-current]{color:var(--ink);font-weight:600}

/* Question-led sections on the Home & Villa Lifts page */
.q-label{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.4px;color:var(--brass);border:1px solid var(--brass2);border-radius:999px;padding:5px 14px;margin-bottom:16px}
.answer{font-size:18px;color:var(--muted);max-width:62ch;margin:18px 0 0}
.spec-note{font-size:14px;color:var(--muted);margin-top:14px}
.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:start;margin-top:40px}
.two-col h3{font-size:22px;margin-bottom:6px}
table.plan td:first-child{width:46%}
#p-homelifts .feats{margin-top:40px}

/* Cabin comparison */
.cabins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px}
.cabin{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.cabin img{height:300px;width:100%;object-fit:cover}
.cabin .in{padding:26px 28px 28px;display:flex;flex-direction:column;gap:10px;flex:1}
.cabin .tag{font-size:11px;letter-spacing:.17em;font-weight:700;color:var(--brass)}
.cabin h3{font-size:clamp(28px,2.6vw,38px);letter-spacing:-.02em}
.cabin h3 em{font-style:italic;font-weight:400;color:#9b7949}
.cabin p{margin:0;color:var(--muted);font-size:16px}
.cabin .best{font-size:15px;color:var(--ink)}
.cabin .swatches{margin-top:6px}
.cabin .more{margin-top:auto;padding-top:14px;border-top:1px solid #e7dfd0;color:#15352f;font-weight:700;font-size:14px;text-decoration:none}
.cabin .more:hover{color:var(--brass)}

/* Survey steps: inline call to action under the steps */
.after-steps{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:34px}
.after-steps .fine{margin:0}

/* Preview-only placeholder (must be replaced before launch) */
.ph-box{border:2px dashed var(--brass);border-radius:16px;background:#fffaf0;padding:30px 32px;margin-top:36px}
.ph-box .ph-flag{display:inline-block;background:var(--brass);color:#fff;font-size:12px;font-weight:700;letter-spacing:.5px;border-radius:999px;padding:4px 12px;margin-bottom:14px}
.ph-box ul{margin:12px 0 0;padding-left:20px;color:var(--muted)}

/* Calls to action */
.cta .cta-row{justify-content:center}
.btn.line.light{color:#fff;border-color:#ffffff88}

/* Contact form */
.form-head{font-size:22px;margin:0 0 4px}
.interest-note{background:#f6efdf;border:1px solid #e3d3b2;color:#7b5c2e;border-radius:10px;padding:12px 16px;font-size:15px;font-weight:600;margin:0}
.form-note{background:#e9f1f0;border:1px solid #c5dbd9;color:#1d4f50;border-radius:10px;padding:12px 16px;font-size:15px;margin:0}
#enquiry{scroll-margin-top:24px}

/* Footer: headings as styled paragraphs (keeps heading order clean) */
footer .fh{margin:0 0 14px;color:#fff;font-size:15px;font-weight:700}
footer .copy a{display:inline;margin:0;text-decoration:underline;text-underline-offset:3px}

/* WhatsApp button (inline SVG replaces the 95 KB PNG) */
.wa{position:fixed;right:18px;bottom:78px;z-index:40;width:52px;height:52px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 10px 26px #0004}
.wa svg{width:28px;height:28px;fill:#fff}
.wa,.call{transition:opacity .2s,visibility .2s}
body.form-in-view .wa,body.form-in-view .call{opacity:0;visibility:hidden}

/* Static pages: figures such as "1.2 mm" or "18%" are styled values, not headings */
.card p.stat{font-size:22px;line-height:1.12;margin:0 0 10px;color:var(--ink)}

/* Blog: guide titles are h2 and their sub-heads h3 (was h3/h4), with the original look */
.art h2{font-size:23px;margin-bottom:8px}
.art details h3{font:600 17px 'Segoe UI',Arial,sans-serif;margin:18px 0 4px;color:var(--ink)}

/* Anchored sections and cards clear the top of the screen when linked to */
#amc,#faq,#inox,#auram,#finishes,#specifications,#safety,#technology,#applications,#series{scroll-margin-top:24px}

/* Privacy policy */
.policy{max-width:760px}
.policy h2{font-size:28px;margin:40px 0 12px}
.policy h2:first-of-type{margin-top:0}
.policy p,.policy li{color:var(--muted)}
.policy ul{padding-left:22px;margin:0 0 16px}
.policy li{margin-bottom:6px}

/* Stub pages shown only in the local preview */
.stub{padding:72px 0}
.stub .card{max-width:720px}

@media(max-width:980px){
  .two-col,.cabins{grid-template-columns:1fr;gap:28px}
  .cabin img{height:240px}
  .wa{right:12px;bottom:70px}
}
@media(max-width:650px){
  #p-home.page>.hybrid-hero .wrap{padding-top:84px}
  #p-home.page>.hybrid-hero h1{font-size:clamp(36px,10vw,52px)}
  .page>.hybrid-page-hero .wrap{padding-top:84px}
  .page>.hybrid-page-hero h1{font-size:clamp(34px,9vw,52px)}
  .ph-box{padding:22px 20px}
  .cta-row .btn{text-align:center}
}
