/* MASA-LUBRIX standalone page. Uses the getmasa.in tokens from base.css.
   Palette: ink, off white, one orange on the call to action. */
.lx { background: var(--ink); }
.lx .kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.lx .kicker::before { content: ''; width: 20px; height: 2px; background: var(--accent); }
.lx h1, .lx h2, .lx h3 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; }
.lx h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 800; margin: 0 0 24px; }
.lx .quiet { color: var(--text-4); font-size: 0.92rem; }
.split-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-2.top { align-items: start; }
.split-2 figure { margin: 0; }
.split-2 figure img { width: 100%; display: block; border-radius: var(--r-lg); }
.s-head { max-width: 640px; margin-bottom: 40px; }
.s-head p { color: var(--text-3); font-size: 1.05rem; line-height: 1.7; }

/* 1 open: same rules as the getmasa.in cinematic hero (cinematic.css) */
.s-open { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #060a18; }
.s-open-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; animation: lx-drift 30s ease-in-out infinite alternate; }
@keyframes lx-drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.08) translateY(-1.5%); } }
.fl-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(100deg, rgba(4,8,18,0.62) 0%, rgba(4,8,18,0.38) 38%, rgba(4,8,18,0.05) 68%, rgba(4,8,18,0) 100%); }
.fl-bottomfade { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(6,10,24,0) 0%, rgba(6,10,24,0.75) 100%); }
.s-open > .container, .s-sun-copy > .container { position: relative; z-index: 5; max-width: none; padding: 0 6vw; margin: 0; width: 100%; }
.fl-content { max-width: 720px; padding-top: 22vh; padding-bottom: 8vh; }
.fl-eyebrow.cine-fade { margin-bottom: 44px; }
.fl-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #ff8a4d; margin-bottom: 40px; }
.fl-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: #ff8a4d; }
.fl-lockup { height: 46px; width: auto; display: block; }
.fl-title { font-family: var(--font-display); font-size: clamp(2.2rem, 3.9vw, 3.7rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; margin: 0 0 36px; }
.fl-title .accent { color: #F26722; }
.fl-sub { font-size: clamp(0.92rem, 1.15vw, 1.02rem); line-height: 1.95; font-weight: 400; color: rgba(255,255,255,0.82); max-width: 440px; margin-bottom: 40px; }
.hero-part-form { display: flex; gap: 10px; max-width: 460px; margin-bottom: 26px; }
.hero-part-input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.22); background: rgba(8,12,24,0.55); backdrop-filter: blur(10px); color: #fff; font-family: var(--font-body); font-size: 0.95rem; outline: none; }
.hero-part-input::placeholder { color: rgba(255,255,255,0.45); }
.hero-part-input:focus { border-color: var(--accent-light); background: rgba(8,12,24,0.75); }
.hero-part-form .btn { flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; }
.s-open .btn-outline-dark { border-color: rgba(246,248,255,0.32); color: #f6f8ff; }
.s-open .btn-outline-dark:hover { border-color: #ff9a3c; color: #ff9a3c; background: rgba(255,154,60,0.07); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fl-hint { position: absolute; bottom: 28px; right: 48px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246,248,255,0.6); }
.fl-hint::before { content: ''; width: 1px; height: 38px; background: linear-gradient(180deg, rgba(246,248,255,0), rgba(246,248,255,0.65)); animation: fl-drip 2.2s ease-in-out infinite; }
@keyframes fl-drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine-line { display: block; overflow: hidden; }
.cine-line > span { display: block; transform: translateY(110%); opacity: 0; transition: transform 1s cubic-bezier(0.22,1,0.36,1), opacity 0.7s ease; }
.cine-in .cine-line > span { transform: translateY(0); opacity: 1; }
.cine-in .cine-line:nth-child(1) > span { transition-delay: 0.12s; }
.cine-in .cine-line:nth-child(2) > span { transition-delay: 0.24s; }
.cine-in .cine-line:nth-child(3) > span { transition-delay: 0.36s; }
.cine-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease 0.6s, transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.6s; }
.cine-in .cine-fade { opacity: 1; transform: none; }

/* 2 why */
.s-why { background: var(--white); padding: clamp(96px, 11vw, 160px) 0; }
  .s-why h2 { font-size: clamp(1.9rem, 2.9vw, 2.75rem); }
.s-why p { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); margin: 0 0 18px; max-width: 540px; }

/* 3 four numbers */
.s-four { background: var(--ink); color: #fff; padding: clamp(96px, 11vw, 160px) 0; }
.s-four-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.s-four figure { margin: 0; position: sticky; top: 120px; }
.s-four figure img { width: 100%; display: block; border-radius: var(--r-lg); }
.s-four h2 { color: #fff; }
.four { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.four-item { display: flex; gap: 22px; padding: 26px 28px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-dark); border-radius: var(--r-md); }
.four-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--od-3); padding-top: 4px; flex: none; }
.four-item h4 { color: #fff; font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; }
.four-item p { color: var(--od-2); font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* 4 machine */
.s-machine { background: var(--off-white); padding: clamp(96px, 11vw, 160px) 0; }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.range-eg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: 0.78rem; color: var(--text-4); }
.range-eg button { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-2); background: none; border: 1px solid var(--grey-3); border-radius: var(--r-pill); padding: 5px 11px; cursor: pointer; }
.range-eg button:hover { border-color: var(--text); color: var(--text); }
.mtile { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--ink); text-align: left; font-family: var(--font-body); }
.mtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease), filter .4s; filter: saturate(0.85); }
.mtile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,17,23,0) 40%, rgba(13,17,23,0.85) 100%); }
.mtile-name { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.mtile-n { position: absolute; top: 16px; left: 20px; z-index: 1; font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.mtile:hover img, .mtile.on img { transform: scale(1.05); filter: saturate(1); }
.mtile.on { outline: 2px solid var(--accent); outline-offset: 2px; }
.mpanel { margin-top: 28px; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: 36px 40px 16px; animation: lx-in .45s var(--ease); }
@keyframes lx-in { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.mpanel-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.mpanel-head h3 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.mpanel-head p { color: var(--text-3); margin: 0; font-size: 0.92rem; }
.mpt { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr auto; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--border-light); }
.mpt-point { font-weight: 700; color: var(--text); }
.mpt-grade a { font-family: var(--font-mono); font-size: 0.86rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--grey-3); }
.mpt-grade a:hover { border-color: var(--text); }
.mpt-why { color: var(--text-3); font-size: 0.9rem; line-height: 1.65; }
.s-machine-more { margin: 28px 0 0; color: var(--text-4); font-size: 0.88rem; }

/* 5 range */
.s-range { background: var(--white); padding: clamp(96px, 11vw, 160px) 0; }
.range-search { width: 100%; max-width: 520px; height: 52px; margin-top: 8px; padding: 0 18px; border-radius: var(--r-sm); border: 1.5px solid var(--grey-3); font-family: var(--font-body); font-size: 0.95rem; outline: none; }
.range-search:focus { border-color: var(--text); }
.range-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; }
.range-title span { font-family: var(--font-mono); font-weight: 400; color: var(--text-4); font-size: 0.8rem; }
.range-cols, .row summary { display: grid; grid-template-columns: 1.6fr 0.8fr 1.3fr 0.9fr 1fr 2fr 28px; gap: 16px; align-items: center; }
.range-cols { padding: 0 18px 10px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); border-bottom: 1px solid var(--text); }
.range-cols.oils, #oils .row summary { grid-template-columns: 1.6fr 0.8fr 0.9fr 0.9fr 2fr 1.6fr 28px; }
.row { border-bottom: 1px solid var(--border-light); }
.row summary { list-style: none; cursor: pointer; padding: 16px 18px; font-size: 0.88rem; color: var(--text-2); transition: background var(--tf); }
.row summary::-webkit-details-marker { display: none; }
.row summary:hover { background: var(--off-white); }
.row[open] summary { background: var(--off-white); }
.row-grade { font-family: var(--font-mono); font-weight: 700; color: var(--text); font-size: 0.86rem; }
.row summary span:nth-child(2), .row summary span:nth-child(4) { font-family: var(--font-mono); font-size: 0.82rem; }
.row-open { text-align: right; color: var(--text-4); font-weight: 400; font-size: 1.1rem; transition: transform var(--t); }
.row[open] .row-open { transform: rotate(45deg); }
.ds { padding: 12px 18px 40px; }
.ds-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: 22px 0 8px; }
.ds-kicker { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); font-weight: 700; margin-bottom: 6px; }
.ds-head h3 { font-size: 1.55rem; font-weight: 800; margin: 0 0 6px; }
.ds-head p { margin: 0; color: var(--text-3); }
.ds-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ds h5 { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin: 26px 0 10px; }
.ds-desc { font-size: 0.95rem; line-height: 1.75; color: var(--text-2); max-width: 760px; margin: 12px 0 0; }
.ds-list { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.ds-list li { position: relative; padding-left: 16px; font-size: 0.88rem; line-height: 1.7; color: var(--text-3); margin-bottom: 5px; }
.ds-list li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.ds-list li b { color: var(--text); font-weight: 700; }
.ds-stds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ds-stds li { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-2); border: 1px solid var(--grey-3); border-radius: var(--r-xs); padding: 4px 8px; }
.ds-table { overflow-x: auto; }
.ds-table .product-spec-table { margin-top: 0; font-size: 0.84rem; max-width: 820px; }
.ds-table th { font-size: 0.64rem; }
.ds-note { font-size: 0.76rem; color: var(--text-4); margin: 14px 0 0; max-width: 760px; }
.range-empty { color: var(--text-3); padding: 32px 0; }
.range-empty a { color: var(--text); font-weight: 700; border-bottom: 1px solid; }

/* 6 sunrise: a Higgsfield time lapse, scrubbed by scroll like the home hero */
.s-sun { background: #060a12; }
.s-sun-stage { position: relative; height: 320vh; }
.s-sun-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #060a12; }
.s-sun-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-sun-copy { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; }
.s-sun-copy .fl-content { padding-top: 0; padding-bottom: 0; }
.s-sun-copy .fl-title { margin-bottom: 28px; }
.s-sun-copy .fl-sub { margin-bottom: 0; }
.s-sun-trust { background: var(--white); border-top: 1px solid var(--border-light); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row > div { padding: 30px 24px; border-right: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 4px; }
.trust-row > div:first-child { padding-left: 0; }
.trust-row > div:last-child { border-right: 0; }
.trust-row b { font-size: 0.95rem; color: var(--text); }
.trust-row span { font-size: 0.8rem; color: var(--text-4); }

/* 7 offer */
.s-offer { background: var(--ink); color: #fff; padding: clamp(96px, 11vw, 160px) 0; }
.s-offer h2 { color: #fff; }
.s-offer p { color: var(--od-2); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }
.offer-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0 48px; }
.offer-cta .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.offer-co { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: var(--od-3); border-top: 1px solid var(--border-dark); padding-top: 20px; }
.offer-co b { color: var(--od-1); font-size: 0.9rem; }

/* 8 more */
.s-more { background: var(--white); padding: clamp(80px, 9vw, 128px) 0; }
.s-more h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 24px; }
.dl { list-style: none; padding: 0; margin: 0; }
.dl li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-light); font-size: 0.92rem; }
.dl a { color: var(--text); font-weight: 600; }
.dl a:hover { color: var(--accent); }
.dl span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-4); white-space: nowrap; }
.s-more .faq-item { border-color: var(--border-light); }

@media (max-width: 1024px) {
  .split-2, .s-four-grid { grid-template-columns: 1fr; }
  .s-four figure { position: static; max-width: 520px; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .mpt { grid-template-columns: 1fr 1fr; }
  .mpt-why { grid-column: 1 / -1; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row > div { border-right: 0; border-bottom: 1px solid var(--border-light); padding-left: 0; }
  .range-cols { display: none; }
  .row summary, #oils .row summary { grid-template-columns: 1fr auto; row-gap: 4px; }
  .row summary span:not(.row-grade):not(.row-open) { display: none; }
  .row summary span:last-of-type { display: none; }
  .row summary .row-open { display: block; }
  .row summary::after { content: attr(data-duty); grid-column: 1 / -1; font-size: 0.8rem; color: var(--text-4); }
}
@media (max-width: 640px) {
  .s-open .fl-content { padding-top: 17vh; padding-bottom: 6vh; }
  .fl-title { font-size: 1.9rem; margin-bottom: 20px; }
  .fl-eyebrow, .fl-eyebrow.cine-fade { margin-bottom: 24px; }
  .fl-lockup { height: 38px; }
  .fl-sub { margin-bottom: 22px; }
  .hero-part-form { margin-bottom: 14px; }
  .hero-chips { margin-top: 18px; }
  .s-sun-copy .fl-content { padding-top: 0; }
  .fl-hint { right: 24px; }
  .hero-part-form { flex-direction: column; max-width: none; }
  .hero-part-form .btn { width: 100%; justify-content: center; }
  .s-sun-stage { height: 220vh; }
  .mgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mtile-name { font-size: 0.95rem; left: 14px; bottom: 12px; }
  .mpanel { padding: 24px 20px 8px; }
  .mpt { grid-template-columns: 1fr; gap: 8px; }
  .trust-row { grid-template-columns: 1fr; }
  .s-sun-stage { height: 180vh; }
  .s-sun-copy { padding-bottom: 14vh; }
  .ds-head { flex-direction: column; align-items: flex-start; }
}

/* QA screenshot mode (?shot=1): fixed heights so a headless full page render is readable */
.shot .s-open { min-height: 860px; }
.shot *, .shot *::before, .shot *::after { transition: none !important; animation: none !important; }
.shot .cine-line > span, .shot .cine-fade { transform: none !important; opacity: 1 !important; }

.shot .s-sun-stage { height: 900px; }
.shot .s-sun-pin { height: 900px; }
.shot .s-sun-day { opacity: .55 !important; }
.shot .reveal { opacity: 1 !important; transform: none !important; }

/* short screens: clear space under the navbar, and the whole first screen above the fold */
@media (min-width: 641px) and (max-height: 840px) {
  .s-open .fl-content { padding-top: max(150px, 17vh); padding-bottom: 4vh; }
  .fl-eyebrow.cine-fade { margin-bottom: 22px; }
  .fl-title { font-size: min(3.7rem, 6.2vh); margin-bottom: 18px; }
  .fl-sub { max-width: 520px; margin-bottom: 20px; line-height: 1.65; }
  .hero-part-form { margin-bottom: 12px; }
  .hero-chips { margin-top: 16px; }
}
@media (min-width: 641px) and (max-height: 760px) {
  .s-open .fl-content { padding-top: max(140px, 16vh); padding-bottom: 3vh; }
  .fl-title { font-size: min(3.4rem, 5.8vh); }
  .fl-sub { font-size: 0.92rem; margin-bottom: 16px; }
  .hero-part-form { margin-bottom: 10px; }
  .hero-chips { display: none; }
  .fl-hint { display: none; }
}
