/* =====================================================================
   Design v2 — layout language inspired by tdvpco.com (Dalizhe studio),
   rendered in the Diaco Copper palette. Loaded after site.css.
   ===================================================================== */
:root { --radius-lg: 18px; --radius-md: 14px; --tint-auto: #FFF1E6; --tint-ind: #ECEFF3; --tint-pet: #F1F0EB; --header-h: 76px; }
:lang(fa) h1 { font-weight: 800; }
.btn { border-radius: 999px; padding: 13px 24px; }
.btn--light { background: #FFFFFF; color: var(--graphite); }
.btn--light:hover { background: var(--paper); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.04); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* Eyebrow with slashes. inline-block (not flex) so mixed Persian/Latin text stays one sentence */
.overline { display: inline-block; color: var(--ink-2); text-transform: none; letter-spacing: .02em; font-size: 14px; }
.overline::before { content: '///'; display: inline-block; width: auto; height: auto; background: none; color: var(--copper); font-weight: 800; letter-spacing: -1px; font-family: 'Outfit', sans-serif; margin-inline-end: 10px; }
.faq summary > span { flex: 1; }
.section--dark .overline, .section--slate .overline, .hero .overline, .page-hero .overline { color: rgba(255,255,255,.8); }
.pill-tag { display: inline-block; width: max-content; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: var(--copper-50); color: #B4500A; font-size: 13px; font-weight: 600; }
.count-pill { display: inline-block; width: max-content; padding: 4px 12px; border-radius: 999px; background: var(--copper-50); color: #B4500A; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.accent-bar { display: block; width: 56px; height: 3px; background: var(--copper); border-radius: 2px; margin: 18px 0 20px; }
.icon-sq { width: 44px; height: 44px; border-radius: 12px; background: var(--copper-50); color: #C25A0C; display: inline-grid; place-items: center; flex-shrink: 0; }
.icon-sq svg { width: 22px; height: 22px; }
.section--dark .icon-sq { background: rgba(255,122,26,.14); color: var(--copper); }

/* Preloader (first visit per session only) */
.preloader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; text-align: center; background: radial-gradient(circle at 30% 20%, #FFFFFF 0%, #F4F4F2 60%, #ECECE8 100%); transition: opacity .5s var(--ease), visibility .5s; }
.preload .preloader { display: grid; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader svg { width: 68px; height: 68px; margin: 0 auto 18px; animation: pl-pop .8s var(--ease) both; }
.preloader b { display: block; font-family: var(--ff-display); font-size: 24px; font-weight: 800; color: var(--graphite); }
.preloader small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.preloader .bar { width: 96px; height: 2px; margin: 18px auto 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader .bar i { display: block; height: 100%; width: 40%; background: var(--copper); animation: pl-run 1s var(--ease) infinite; }
@keyframes pl-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pl-run { from { transform: translateX(-120%); } to { transform: translateX(260%); } }
[dir=rtl] .preloader .bar i { animation-name: pl-run-rtl; }
@keyframes pl-run-rtl { from { transform: translateX(120%); } to { transform: translateX(-260%); } }

/* Header v2 */
.utility { display: none; }
.site-header { transition: background .3s, box-shadow .3s, border-color .3s, color .3s; }
.site-header .wrap { min-height: var(--header-h); gap: 24px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,23,26,.07); }
.header--over:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; color: var(--white); }
.header--over:not(.is-scrolled) .logo .wm small { color: rgba(255,255,255,.7); }
.header--over:not(.is-scrolled) .pill-btn { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: var(--white); }
.header--over:not(.is-scrolled) .lang-switch { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.header--over:not(.is-scrolled) .lang-switch a:not([aria-current]) { color: var(--white); }
.header--over:not(.is-scrolled) .lang-switch a[aria-current] { background: #FFFFFF; color: var(--graphite); }
.header--over:not(.is-scrolled) .icon-btn { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.nav-open .site-header { background: var(--surface) !important; color: var(--ink) !important; }
.nav-open .site-header .icon-btn, .nav-open .site-header .pill-btn { color: var(--ink); border-color: var(--line); background: var(--surface); }
.nav-open .site-header .lang-switch { background: var(--surface); border-color: var(--line); }
.nav-open .site-header .lang-switch a:not([aria-current]) { color: var(--ink); }
.nav-open .site-header .lang-switch a[aria-current] { background: var(--graphite); color: var(--white); }
.has-over-header .hero { margin-top: calc(-1 * var(--header-h) - 1px); }
.mainnav > ul > li > a, .mainnav > ul > li > button { padding: 27px 12px; font-size: 15px; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; white-space: nowrap; }
.pill-btn:hover { border-color: currentColor; }
.pill-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.header-actions .lang-switch { border-radius: 999px; }
.mainnav .mobile-lang { display: none; }
@media (max-width: 1240px) { .header-actions .pill-btn .lbl { display: none; } .header-actions .pill-btn { width: 42px; padding: 0; justify-content: center; } }
@media (max-width: 1080px) { .header-actions .lang-switch { display: none; } .mainnav .mobile-lang { display: inline-flex; margin-top: 28px; } }

/* Hero v2 */
.hero { min-height: 100vh; min-height: 100svh; }
.hero .slides { position: absolute; inset: 0; }
.hero .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero .slides img.on { opacity: .62; transform: scale(1); }
.hero::after { background: linear-gradient(90deg, rgba(21,23,26,.88) 0%, rgba(21,23,26,.45) 45%, rgba(21,23,26,0) 75%), linear-gradient(0deg, rgba(21,23,26,.55), transparent 35%); pointer-events: none; }
[dir=rtl] .hero::after { background: linear-gradient(270deg, rgba(21,23,26,.88) 0%, rgba(21,23,26,.45) 45%, rgba(21,23,26,0) 75%), linear-gradient(0deg, rgba(21,23,26,.55), transparent 35%); }
/* Liquid oil WebGL background (photo shows until the shader is running) */
.oil-bg { position: absolute; inset: 0; background: var(--graphite); }
.oil-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.oil-bg .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity 1.2s var(--ease); }
.oil-bg.is-live canvas { opacity: 1; }
.oil-bg.is-live .fallback { opacity: 0; }
.hero .wrap { min-height: 100vh; min-height: 100svh; justify-content: center; padding-block: calc(var(--header-h) + 60px) 170px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 90px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; }
:lang(fa) .hero h1 { font-size: clamp(36px, 5.2vw, 74px); line-height: 1.35; font-weight: 800; letter-spacing: 0; }
.hero-card { position: absolute; z-index: 3; inset-inline-end: var(--gutter); bottom: 96px; width: 320px; padding: 20px 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--white); }
.hero-card .top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.hero-card .segs { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-card .segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.hero-card .segs i.past { background: var(--copper); }
.hero-card .segs i.on::after { content: ''; position: absolute; inset: 0; background: var(--copper); transform-origin: left; animation: seg 6s linear forwards; }
[dir=rtl] .hero-card .segs i.on::after { transform-origin: right; }
.hero-card.paused .segs i.on::after { animation-play-state: paused; }
@keyframes seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-card h3 { font-size: 22px; margin: 0 0 4px; color: var(--white); }
.hero-card p { font-size: 13.5px; margin: 0 0 14px; color: rgba(255,255,255,.72); }
.hero-card a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: var(--copper); }
.hero-card .pause { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; padding: 0; }
.hero-card .pause svg { width: 10px; height: 10px; }
.hero-side { position: absolute; z-index: 3; inset-inline-start: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 12.5px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
:lang(fa) .hero-side { letter-spacing: 0; transform: translateY(-50%); }
.hero-scroll { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.6); }
.hero-scroll i { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.75), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1100px) { .hero-scroll { display: none; } }
@media (max-width: 860px) { .hero-side { display: none; } .hero-card { position: relative; inset: auto; width: 100%; max-width: 360px; margin: 36px 0 0; } .hero .wrap { padding-bottom: 110px; justify-content: flex-end; } }

/* Feature strip overlapping the hero */
.feature-strip { position: relative; z-index: 5; margin-top: -52px; }
.feature-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(21,23,26,.10); overflow: hidden; }
.feature-strip li + li { border-inline-start: 1px solid var(--line); }
.feature-strip a { display: flex; align-items: center; gap: 14px; padding: 22px 24px; transition: background .2s; height: 100%; }
.feature-strip a:hover { background: var(--surface-2); }
.feature-strip b { display: block; font-size: 15.5px; font-weight: 700; }
.feature-strip small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
@media (max-width: 960px) { .feature-strip ul { grid-template-columns: 1fr 1fr; } .feature-strip li:nth-child(3) { border-inline-start: 0; } .feature-strip li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .feature-strip ul { grid-template-columns: 1fr; } .feature-strip li + li { border-inline-start: 0; border-top: 1px solid var(--line); } .feature-strip { margin-top: -32px; } }

/* Tall image cards on dark */
.tall-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tall { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); isolation: isolate; padding: 22px; }
.tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tall::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,23,26,.95) 0%, rgba(21,23,26,.35) 55%, rgba(21,23,26,.05) 100%); }
.tall:hover img { transform: scale(1.06); }
.tall .badge { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); display: grid; place-items: center; }
.tall .badge svg { width: 20px; height: 20px; }
.tall h3 { font-size: 21px; margin: 0 0 6px; color: var(--white); }
.tall .tags { font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 16px; }
.tall .row { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.tall .row .count-pill { background: rgba(255,122,26,.18); color: var(--copper); }
.tall .row .arr { color: var(--white); }
@media (max-width: 1100px) { .tall-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tall-cards { grid-template-columns: 1fr 1fr; } .tall { min-height: 320px; } }
@media (max-width: 460px) { .tall-cards { grid-template-columns: 1fr; } }

/* Shortcut cards */
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shortcut { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.shortcut:hover { border-color: transparent; box-shadow: var(--shadow); }
.shortcut b { display: block; font-size: 15px; }
.shortcut small { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
@media (max-width: 520px) { .shortcuts { grid-template-columns: 1fr; } }

/* Feature rows (why us) */
.frows { display: grid; gap: 12px; margin: 28px 0; }
.frow { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); transition: border-color .2s; }
a.frow:hover { border-color: rgba(255,122,26,.6); }
.frow b { display: block; color: var(--white); font-size: 16px; }
.frow small { color: rgba(255,255,255,.65); font-size: 13.5px; }
.media-cap { position: relative; }
.media-cap .cap { position: absolute; bottom: 16px; inset-inline-end: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(21,23,26,.6); backdrop-filter: blur(8px); color: var(--white); font-size: 13px; }
.chips-dark { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-dark span { padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.75); }

/* Product cards v2 (tinted top) */
.pcard .pack { position: relative; aspect-ratio: 4 / 3; padding: 18px; background: var(--tint-pet); }
.pcard--auto .pack { background: var(--tint-auto); }
.pcard--ind .pack { background: var(--tint-ind); }
.pcard .pack > svg:not(.mark) { height: 100%; width: auto; }
.pcard .pack .mark { position: absolute; top: 12px; inset-inline-end: 12px; width: 20px; height: 20px; opacity: .3; }
.pcard .body { padding: 18px 20px 20px; }
.pcard .pill-tag { align-self: flex-start; margin-bottom: 10px; font-size: 12px; padding: 4px 11px; }
.pcard h3 { font-size: 18px; margin-bottom: 4px; }
.pcard .sub { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.pcard p { font-size: 14px; }
.pcard .chips { margin-bottom: 0; }
.pcard .chips .chip { font-size: 12px; padding: 3px 10px; }
.pcard details.specs { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard details.specs summary { font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.pcard details.specs summary::-webkit-details-marker { display: none; }
.pcard details.specs summary::after { content: '+'; color: var(--copper); font-size: 20px; line-height: 1; }
.pcard details[open].specs summary::after { content: '−'; }
.pcard .spec th, .pcard .spec td { padding: 9px 10px; font-size: 13px; }
a.pcard .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }

/* Catalogue layout */
.filterbar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 30; background: var(--surface-glass); border-bottom: 1px solid var(--line); }
.filterbar .wrap { display: flex; gap: 12px; align-items: center; padding-block: 14px; }
.filterbar .search { flex: 1; position: relative; }
.filterbar .search svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.filterbar input, .filterbar select { width: 100%; font: inherit; font-size: 15px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-md); background-color: var(--surface); padding: 0 16px; color: var(--ink); }
.filterbar input { padding-inline-start: 46px; }
.filterbar select { width: 240px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2315171A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir=rtl] .filterbar select { background-position: left 16px center; }
.filterbar input:focus, .filterbar select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(255,122,26,.15); }
.filterbar .count { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 22px; }
.filter-chips small { color: var(--ink-3); margin-inline-end: 6px; }
.filter-chips button { font: inherit; font-size: 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.filter-chips button:hover { border-color: var(--ink); }
.filter-chips button[aria-pressed=true] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
@media (max-width: 760px) { .filterbar .wrap { flex-wrap: wrap; } .filterbar .search { flex-basis: 100%; } .filterbar select { width: auto; flex: 1; } }
.cat-block { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.cat-block:last-of-type { border-bottom: 0; }
.cat-side { position: sticky; top: calc(var(--header-h) + 100px); }
.cat-side h2 { font-size: clamp(28px, 2.8vw, 38px); margin: 14px 0 0; }
.cat-side p { color: var(--ink-2); font-size: 15.5px; }
.cat-side .meta { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 22px; font-size: 14px; }
.cat-side .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.cat-side .media img { width: 100%; height: 100%; object-fit: cover; }
.cat-main > .grid { grid-template-columns: repeat(3, 1fr); }
.cat-about { margin-top: 28px; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.cat-about h4 { font-size: 15px; margin-bottom: 10px; }
.cat-about p { font-size: 15px; color: var(--ink-2); }
.cat-about .check { gap: 8px; font-size: 14.5px; }
.cat-main .faq summary { font-size: 17px; padding: 18px 0; }
@media (max-width: 1180px) { .cat-main > .grid { grid-template-columns: repeat(2, 1fr); } .cat-about { grid-template-columns: 1fr 1fr; } .cat-about > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .cat-block { grid-template-columns: 1fr; } .cat-side { position: static; } .cat-side .media { display: none; } }
@media (max-width: 560px) { .cat-main > .grid, .cat-about { grid-template-columns: 1fr; } }
.cat-block[hidden], .pcard[hidden] { display: none; }
.no-results { padding: 72px 0; text-align: center; color: var(--ink-3); }

/* Contact block */
.talk { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.talk-cards { display: grid; gap: 14px; }
.talk-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.talk-card small { display: block; color: var(--ink-3); font-size: 13px; margin-bottom: 2px; }
.talk-card b { font-size: 17px; font-weight: 600; }
@media (max-width: 900px) { .talk { grid-template-columns: 1fr; } }

/* CTA band as rounded dark card */
.cta-band { background: transparent; color: var(--white); }
.cta-band .wrap { display: block; padding-block: 0 var(--section); }
.cta-band .inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--graphite); border-radius: 24px; padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-band .inner::after { content: ''; position: absolute; inset-inline-end: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(255,122,26,.13); pointer-events: none; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-band .btn { position: relative; z-index: 1; }
.section--paper + .cta-band, .section--paper ~ .cta-band.on-paper { background: var(--paper); }

/* Footer v2 */
.footer-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-head .logo { color: var(--white); }
.footer-head .logo .wm small { color: rgba(255,255,255,.55); }
.footer-head .addr { display: flex; gap: 10px; align-items: flex-start; max-width: 380px; font-size: 14.5px; }
.footer-head .addr svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--copper); }
.footer-head .pills { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-head .pill-btn { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); color: var(--white); }
.footer-head .pill-btn:hover { border-color: var(--copper); }
.site-footer .footer-top { grid-template-columns: repeat(4, 1fr); padding-block: 48px; }
@media (max-width: 860px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; } }

/* Company facts & board (About) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact { background: var(--surface); padding: 22px 24px; }
.fact small { display: block; color: var(--ink-3); font-size: 13px; margin-bottom: 6px; }
.fact b { font-weight: 600; font-size: 16px; line-height: 1.6; }
.fact:nth-child(7) { grid-column: span 2; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(7), .fact:nth-child(8) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.person { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person .icon-sq svg { width: 22px; height: 22px; }
.person b { display: block; font-size: 17px; }
.person small { color: var(--ink-3); font-size: 14px; }

/* Stats: tabular digits so the count-up does not jiggle */
.stat b { font-variant-numeric: tabular-nums; }

/* Product finder v2 */
.finder2 { display: grid; grid-template-columns: 320px minmax(0, 1fr); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px rgba(21,23,26,.08); }
.f2-side { position: relative; overflow: hidden; background: var(--graphite); color: var(--white); padding: 36px 32px; display: flex; flex-direction: column; }
.f2-side::after { content: ''; position: absolute; inset-inline-end: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 46px solid rgba(255,122,26,.12); pointer-events: none; }
.f2-side .overline { color: rgba(255,255,255,.75); }
.f2-side h3 { color: var(--white); font-size: 24px; margin: 4px 0 28px; }
.f2-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px; position: relative; z-index: 1; }
.f2-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid transparent; transition: background .25s, border-color .25s; opacity: .55; }
.f2-steps li.on { opacity: 1; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.f2-steps li.done { opacity: 1; }
.f2-steps .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.f2-steps li.on .n { background: var(--copper); border-color: var(--copper); color: var(--graphite); }
.f2-steps li.done .n { border-color: var(--copper); color: var(--copper); }
.f2-steps b { display: block; font-size: 15px; }
.f2-steps small { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.f2-steps small.set { color: var(--copper); font-weight: 600; }
.f2-reset { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; font: inherit; font-size: 14px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.f2-reset:hover { border-color: var(--copper); color: var(--copper); }
.f2-main { padding: clamp(28px, 4vw, 44px); min-height: 420px; }
.f2-panel h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 6px; }
.f2-panel > .muted { margin-bottom: 24px; }
.f2-panel[data-panel="2"] h3, .f2-panel[data-panel="3"] h3 { margin-bottom: 22px; }
.f2-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.f2-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: start; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background .2s; }
.f2-tile:hover { border-color: var(--copper); box-shadow: 0 10px 24px rgba(255,122,26,.12); transform: translateY(-2px); }
.f2-tile.on { border-color: var(--copper); background: var(--copper-50); }
.f2-tile b { font-size: 15px; line-height: 1.4; }
.f2-tile small { font-size: 12.5px; color: var(--ink-3); }
.f2-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.f2-pill { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.f2-pill:hover { border-color: var(--copper); }
.f2-pill small { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-3); }
.f2-pill.on { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.f2-pill.on small { background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.f2-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: inherit; font-size: 14px; color: var(--ink-3); background: none; border: 0; padding: 0; cursor: pointer; }
.f2-back:hover { color: var(--ink); }
.f2-back .arr { transform: scaleX(-1); }
[dir=rtl] .f2-back .arr { transform: none; }
.f2-results { grid-column: 1 / -1; padding: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); background: var(--surface-2); }
.f2-res-head { margin-bottom: 22px; }
.f2-res-head h3 { margin: 0; font-size: 24px; }
@media (max-width: 1100px) { .f2-sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .finder2 { grid-template-columns: 1fr; } .f2-side { padding: 28px 24px; } .f2-steps { grid-template-columns: repeat(3, 1fr); } .f2-steps li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; } .f2-steps small { display: none; } .f2-reset { margin-top: 0; } .f2-main { min-height: 0; } }
@media (max-width: 420px) { .f2-sectors { grid-template-columns: 1fr 1fr; } .f2-tile { padding: 14px; } }

/* ---- Oil-only hero (home) ---- */
.hero--oil .wrap { padding-bottom: 120px; }
.hero--oil .oil-bg { background: radial-gradient(120% 90% at 70% 30%, #2a1a0d 0%, #15171A 60%); }
.feature-strip { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 520px) { .feature-strip { margin-top: 40px; } }
.feature-strip + .section { padding-top: clamp(56px, 7vw, 96px); }

/* Liquid hover text */
[data-liquid] { cursor: default; will-change: filter; }
.hero h1 .lw { display: inline-block; transition: color .4s var(--ease); }
.hero h1 .lw.is-melting { color: #FFE7D1; }
.hero p.is-melting, .hero .overline.is-melting { color: #FFE7D1; }

/* ---- Product selection micro-motion ---- */
.pcard { position: relative; overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,23,26,.10); border-color: transparent; }
.pcard .pack { overflow: hidden; }
.pcard .pack > svg:not(.mark) { transition: transform .7s cubic-bezier(.34,1.56,.64,1); transform-origin: 50% 90%; }
.pcard:hover .pack > svg:not(.mark) { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
[dir=rtl] .pcard:hover .pack > svg:not(.mark) { transform: translateY(-8px) rotate(3deg) scale(1.04); }
.pcard .pack::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 66%); transform: translateX(-130%); }
.pcard:hover .pack::after { transform: translateX(130%); transition: transform 1s var(--ease); }
.pcard .pack .mark { transition: transform .6s var(--ease), opacity .3s; }
.pcard:hover .pack .mark { transform: rotate(-90deg); opacity: .6; }
.pcard::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
[dir=ltr] .pcard::after { transform-origin: left; }
.pcard:hover::after, .pcard.is-selected::after { transform: scaleX(1); }
.pcard.is-selected { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(255,122,26,.18), 0 18px 40px rgba(21,23,26,.10); }
.pcard.is-selected .pack > svg:not(.mark) { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-4px) rotate(0); } 50% { transform: translateY(-12px) rotate(-2deg); } }
article.pcard { cursor: pointer; }
.pcard .pill-tag { transition: background .3s, color .3s; }
.pcard:hover .pill-tag, .pcard.is-selected .pill-tag { background: var(--copper); color: var(--graphite); }
.pcard details.specs summary::after { transition: transform .35s var(--ease); display: inline-block; }
.pcard details[open].specs summary::after { transform: rotate(180deg); }
.pcard details[open] .spec tr { animation: rowIn .45s var(--ease) both; }
.pcard details[open] .spec tr:nth-child(2) { animation-delay: .04s; } .pcard details[open] .spec tr:nth-child(3) { animation-delay: .08s; }
.pcard details[open] .spec tr:nth-child(4) { animation-delay: .12s; } .pcard details[open] .spec tr:nth-child(5) { animation-delay: .16s; }
.pcard details[open] .spec tr:nth-child(6) { animation-delay: .2s; } .pcard details[open] .spec tr:nth-child(n+7) { animation-delay: .24s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,122,26,.22); transform: scale(0); animation: rip .7s cubic-bezier(.2,.7,.2,1) forwards; pointer-events: none; z-index: 0; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

/* Finder motion */
.f2-tile { position: relative; overflow: hidden; }
.f2-tile .icon-sq { transition: transform .5s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s; }
.f2-tile:hover .icon-sq { transform: rotate(-8deg) scale(1.1); }
.f2-tile.on .icon-sq { background: var(--copper); color: var(--graphite); animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.f2-pill { position: relative; overflow: hidden; }
.f2-pill:active { transform: scale(.96); }
.f2-panel:not([hidden]) { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
[dir=rtl] .f2-panel:not([hidden]) { animation-name: panelInR; }
@keyframes panelInR { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.f2-pills .f2-pill { animation: rowIn .4s var(--ease) both; }
.f2-results .pcard { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.f2-steps li.on .n { animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard *, .f2-tile, .f2-tile *, .f2-panel, .f2-pill, .ripple { animation: none !important; transition: none !important; } }

/* Header: logo alone on one side, all action buttons pushed to the opposite side */
.header-actions { margin-inline-start: auto; }

/* ---- Header logo motion ---- */
.site-header .logo svg { transform-origin: 50% 55%; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.site-header .logo:hover svg { transform: rotate(-14deg) scale(1.08); }
.site-header .logo .wm b { display: inline-block; transition: transform .4s var(--ease), letter-spacing .4s var(--ease); }
.site-header .logo:hover .wm b { transform: translateX(2px); }
[dir=rtl] .site-header .logo:hover .wm b { transform: translateX(-2px); }
.site-header .logo.logo-pop svg { animation: logoJelly .8s cubic-bezier(.2,.8,.2,1); }
.site-header .logo.logo-pop .wm b { animation: logoWave .7s .08s cubic-bezier(.2,.8,.2,1); }
@keyframes logoJelly {
  0%   { transform: scale(1) rotate(0); }
  18%  { transform: scale(1.28, .72) rotate(0); }
  38%  { transform: scale(.82, 1.22) rotate(160deg); }
  58%  { transform: scale(1.12, .9) rotate(300deg); }
  78%  { transform: scale(.96, 1.04) rotate(350deg); }
  100% { transform: scale(1) rotate(360deg); }
}
@keyframes logoWave {
  0% { transform: none; }
  30% { transform: translateY(-4px) scale(1.04); color: var(--copper); }
  60% { transform: translateY(2px); }
  100% { transform: none; }
}
.logo-drop { position: fixed; z-index: 300; pointer-events: none; background: var(--copper); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; box-shadow: inset -1px -2px 2px rgba(0,0,0,.25), inset 1px 1px 2px rgba(255,255,255,.45); transform: translate(-50%, -50%); }
.logo-ring { position: fixed; z-index: 299; pointer-events: none; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid var(--copper); transform: scale(.2); opacity: .9; animation: logoRing .85s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes logoRing { to { transform: scale(1.4); opacity: 0; border-width: .5px; } }
@media (prefers-reduced-motion: reduce) { .site-header .logo svg, .site-header .logo .wm b { transition: none; animation: none !important; } }

/* ---- Search: dark glass panel with slow motion ---- */
.search-panel { display: block; position: fixed; inset: 0; z-index: 80; padding: clamp(16px, 9vh, 110px) 16px 24px; overflow-y: auto;
  background: rgba(12,13,15,.5); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  opacity: 0; visibility: hidden; transition: opacity .7s ease, backdrop-filter .7s ease, -webkit-backdrop-filter .7s ease, visibility 0s linear .7s; }
.search-open .search-panel { opacity: 1; visibility: visible; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .7s ease, backdrop-filter .7s ease, -webkit-backdrop-filter .7s ease, visibility 0s; }
.search-closing .search-panel { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.search-box { position: relative; overflow: hidden; max-width: 780px; margin: 0 auto; padding: 26px 32px 22px; border-radius: 28px; color: var(--white);
  background: linear-gradient(160deg, rgba(43,52,64,.94) 0%, rgba(21,23,26,.97) 60%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0; transform: translateY(-48px) scale(.96); transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .8s ease; }
.search-open .search-box { opacity: 1; transform: none; transition-delay: .1s; }
.search-closing .search-box { opacity: 0; transform: translateY(-28px) scale(.98); transition-duration: .5s; transition-delay: 0s; }
.search-box::before { content: ''; position: absolute; inset-inline-end: -140px; top: -160px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,122,26,.30) 0%, rgba(255,122,26,0) 65%); animation: sbGlow 9s ease-in-out infinite alternate; }
@keyframes sbGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
.search-box > * { position: relative; }
.sb-head { display: flex; justify-content: space-between; align-items: center; }
.sb-head .overline { color: rgba(255,255,255,.7); margin: 0; }
.sb-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--white);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.2); transition: transform .5s cubic-bezier(.34,1.56,.64,1), border-color .3s, color .3s; }
.sb-close svg { width: 16px; height: 16px; }
.sb-close:hover { transform: rotate(90deg); border-color: var(--copper); color: var(--copper); }
.search-box form.sb-form { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 14px 0 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
.sb-form > svg { width: 26px; height: 26px; color: var(--copper); flex-shrink: 0; }
.search-box .sb-form input { flex: 1; min-width: 0; padding: 4px 0; border: 0; outline: none; background: transparent; color: var(--white); font: inherit; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; -webkit-appearance: none; appearance: none; }
.search-box .sb-form input::placeholder { color: rgba(255,255,255,.38); }
.search-box .sb-form input::-webkit-search-cancel-button { display: none; }
.sb-form kbd { font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); font-family: var(--ff-lat); }
.sb-line { position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--copper), #FFB36B); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.16,1,.3,1) .4s; }
[dir=rtl] .sb-line { transform-origin: right; background: linear-gradient(270deg, var(--copper), #FFB36B); }
.search-open .sb-line { transform: scaleX(.2); }
.search-open .sb-form:focus-within .sb-line { transform: scaleX(1); }
.sb-suggest { margin-top: 22px; }
.sb-suggest small { color: rgba(255,255,255,.5); font-size: 13px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sb-chips button { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--white);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .3s, border-color .3s, transform .3s; opacity: 0; }
.sb-chips button:hover { background: rgba(255,122,26,.18); border-color: var(--copper); transform: translateY(-2px); }
.search-open .sb-chips button { animation: sbRow .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.45s + var(--i, 0) * 70ms); }
.has-query .sb-suggest { display: none; }
.search-box .search-results { list-style: none; margin: 14px -12px 0; padding: 0 4px 0 0; max-height: min(55vh, 520px); overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.search-box .search-results li { animation: sbRow .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.search-box .search-results li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 14px; border: 0; color: var(--white); transition: background .3s; }
.search-box .search-results li a:hover, .search-box .search-results li a:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(255,122,26,.15); }
.sb-t { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-box .search-results li small { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); white-space: nowrap; }
.search-box .search-results .arr { color: rgba(255,255,255,.35); transition: color .3s; }
.search-box .search-results li a:hover .arr { color: var(--copper); }
.sb-empty { padding: 18px 12px; color: rgba(255,255,255,.6); }
@keyframes sbRow { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .search-box { padding: 20px 18px 16px; border-radius: 22px; } .sb-form kbd { display: none; } .search-box .search-results li small { display: none; } .search-box .search-results li a { grid-template-columns: auto minmax(0, 1fr) auto; } }
@media (prefers-reduced-motion: reduce) { .search-panel, .search-box, .sb-line, .sb-chips button, .search-box .search-results li { transition: none !important; animation: none !important; opacity: 1; } .search-box::before { animation: none; } }

/* ---- Mobile (hamburger) menu: hover / tap motion ---- */
@media (max-width: 1080px) {
  .mainnav > ul > li > a, .mainnav > ul > li > button { position: relative; transition: color .3s ease, padding .45s cubic-bezier(.16,1,.3,1), font-weight .15s; }
  .mainnav > ul > li > a::before, .mainnav > ul > li > button::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 0; height: 2px; border-radius: 2px; background: var(--copper); transform: translateY(-50%); transition: width .45s cubic-bezier(.16,1,.3,1); }
  .mainnav > ul > li > a:hover, .mainnav > ul > li > button:hover,
  .mainnav > ul > li > a:focus-visible, .mainnav > ul > li > button:focus-visible,
  .mainnav > ul > li > a:active, .mainnav > ul > li > button:active,
  .mainnav > ul > li.open > button { padding-inline-start: 30px; color: var(--copper-600); font-weight: 700; }
  .mainnav > ul > li > a:hover::before, .mainnav > ul > li > button:hover::before,
  .mainnav > ul > li > a:focus-visible::before, .mainnav > ul > li > button:focus-visible::before,
  .mainnav > ul > li > a:active::before, .mainnav > ul > li > button:active::before,
  .mainnav > ul > li.open > button::before { width: 18px; }
  .mainnav > ul > li > button .chev { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
  .mainnav > ul > li > button:hover .chev { transform: translateY(2px); }
  .mainnav li.open > button .chev { transform: rotate(180deg); }
  /* sub-links inside Products / About */
  .mega-cols li a { position: relative; transition: color .3s, padding .4s cubic-bezier(.16,1,.3,1), font-weight .15s; }
  .mega-cols li a::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--copper); transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
  .mega-cols li a:hover, .mega-cols li a:focus-visible, .mega-cols li a:active { padding-inline-start: 16px; color: var(--ink); font-weight: 700; text-decoration: none; }
  .mega-cols li a:hover::before, .mega-cols li a:focus-visible::before, .mega-cols li a:active::before { transform: scale(1); }
  /* items slide in one by one when the menu opens */
  .nav-open .mainnav > ul > li { animation: navIn .6s cubic-bezier(.16,1,.3,1) both; }
  .nav-open .mainnav > ul > li:nth-child(1) { animation-delay: .05s; } .nav-open .mainnav > ul > li:nth-child(2) { animation-delay: .1s; }
  .nav-open .mainnav > ul > li:nth-child(3) { animation-delay: .15s; } .nav-open .mainnav > ul > li:nth-child(4) { animation-delay: .2s; }
  .nav-open .mainnav > ul > li:nth-child(5) { animation-delay: .25s; } .nav-open .mainnav > ul > li:nth-child(6) { animation-delay: .3s; }
  .nav-open .mainnav .mobile-lang { animation: navIn .6s .38s cubic-bezier(.16,1,.3,1) both; }
  .mainnav li.open .mega { animation: navDrop .45s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mainnav *, .mainnav > ul > li { animation: none !important; transition: none !important; } }

/* ---- Search: smaller, finer card ---- */
.search-panel { padding-top: clamp(16px, 12vh, 140px); }
.search-box { max-width: 580px; padding: 18px 22px 14px; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07); transform: translateY(-32px) scale(.98); }
.search-box::before { width: 260px; height: 260px; inset-inline-end: -110px; top: -130px; }
.sb-head .overline { font-size: 12.5px; }
.sb-close { width: 32px; height: 32px; }
.sb-close svg { width: 13px; height: 13px; }
.search-box form.sb-form { gap: 10px; margin-top: 6px; padding: 10px 0 11px; }
.sb-form > svg { width: 18px; height: 18px; }
.search-box .sb-form input { font-size: 17px; font-weight: 400; padding: 2px 0; }
.sb-form kbd { font-size: 11px; padding: 2px 6px; }
.sb-line { height: 1.5px; }
.sb-suggest { margin-top: 14px; }
.sb-suggest small { font-size: 12px; }
.sb-chips { gap: 6px; margin-top: 8px; }
.sb-chips button { font-size: 12.5px; padding: 5px 12px; }
.search-box .search-results { margin: 10px -8px 0; max-height: min(50vh, 420px); }
.search-box .search-results li a { gap: 10px; padding: 9px 8px; border-radius: 10px; }
.sb-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(255,122,26,.15); }
.sb-t { font-size: 14px; }
.search-box .search-results li small { font-size: 11px; padding: 2px 8px; }
.search-box .search-results .arr { width: 13px; height: 13px; }
.sb-empty { padding: 12px 8px; font-size: 14px; }
@media (max-width: 600px) { .search-box { padding: 16px 16px 12px; border-radius: 18px; } .search-box .sb-form input { font-size: 16px; } }

/* ---- Menu group headings: bolder, copper, with an accent bar ---- */
.mega-cols h4 { position: relative; font-family: var(--ff-display); font-size: 15px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--copper-600); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-cols h4::after { content: ''; position: absolute; inset-inline-start: 0; bottom: -1px; width: 28px; height: 2px; background: var(--copper); transition: width .5s cubic-bezier(.16,1,.3,1); }
.mega-cols > div:hover h4::after { width: 64px; }
.mega-cols h4 a { color: inherit; }
.mega-cols h4 a:hover { color: var(--graphite); }
:lang(en) .mega-cols h4 { font-size: 14px; letter-spacing: .02em; }

/* ---- Home: headline on one line ---- */
.hero--oil h1 { font-size: clamp(30px, 4.2vw, 64px); white-space: nowrap; }
:lang(fa) .hero--oil h1 { font-size: clamp(26px, 3.9vw, 58px); }
@media (max-width: 640px) { .hero--oil h1, :lang(fa) .hero--oil h1 { white-space: normal; font-size: clamp(28px, 8vw, 40px); } }

/* ---- Home: feature strip hover motion ---- */
.feature-strip a { position: relative; overflow: hidden; transition: background .35s ease; }
.feature-strip a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.16,1,.3,1); }
[dir=rtl] .feature-strip a::after { transform-origin: right; }
.feature-strip a:hover::after { transform: scaleX(1); }
.feature-strip a:hover { background: var(--copper-50); }
.feature-strip .icon-sq { transition: transform .55s cubic-bezier(.34,1.56,.64,1), background .35s, color .35s; }
.feature-strip a:hover .icon-sq { transform: translateY(-3px) rotate(-8deg) scale(1.1); background: var(--copper); color: var(--graphite); }
.feature-strip b { transition: color .3s, transform .45s cubic-bezier(.16,1,.3,1); display: inline-block; font-weight: 700; }
.feature-strip a:hover b { color: var(--copper-600); font-weight: 800; transform: translateX(3px); }
[dir=rtl] .feature-strip a:hover b { transform: translateX(-3px); }

/* ---- Scroll-in motion for content across the site ---- */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: var(--sr-d, 0s); }
.sr.sr-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sr { opacity: 1; transform: none; transition: none; } }

/* ---- Product picker (quote form) ---- */
.picker { position: relative; }
.picker-btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid var(--field-line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.picker-btn:hover { border-color: var(--ink-3); }
.picker.open .picker-btn, .picker-btn:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(255,122,26,.16); }
.picker-btn .ph { flex: 1; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-btn .ph.set { color: var(--ink); font-weight: 600; }
.picker-btn .icon-sq { width: 32px; height: 32px; border-radius: 9px; }
.picker-btn .icon-sq svg { width: 16px; height: 16px; }
.picker-btn .chev { width: 12px; height: 12px; transition: transform .4s cubic-bezier(.34,1.56,.64,1); color: var(--ink-3); }
.picker.open .picker-btn .chev { transform: rotate(180deg); }
.picker-pop { position: absolute; z-index: 40; inset-inline: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(21,23,26,.16); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s .45s; }
.picker.open .picker-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s; }
.picker-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.picker-search svg { width: 16px; height: 16px; color: var(--copper); flex-shrink: 0; }
.picker-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; background: transparent; padding: 4px 0; }
.picker-tabs { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.picker-tabs button { flex-shrink: 0; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-2); transition: all .25s; }
.picker-tabs button[aria-pressed=true] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.picker-list { max-height: 320px; overflow-y: auto; padding: 6px; scrollbar-width: thin; }
.picker-group { padding: 10px 10px 4px; font-size: 12px; font-weight: 700; color: var(--copper-600); }
.picker-opt { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; font: inherit; font-size: 14.5px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.picker-opt:hover, .picker-opt.active { background: var(--copper-50); }
.picker-opt .g { margin-inline-start: auto; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.picker-opt[aria-selected=true] { background: var(--copper-50); font-weight: 700; }
.picker-opt[aria-selected=true]::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }
.picker-empty { padding: 18px; text-align: center; color: var(--ink-3); font-size: 14px; }
.picker.open .picker-opt { animation: rowIn .35s var(--ease) both; }

/* ---- Page headers with video backgrounds ---- */
.page-hero--video { min-height: clamp(440px, 64vh, 640px); display: flex; align-items: flex-end; }
.page-hero--video > .wrap { width: 100%; }
.page-hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: heroVid 1.6s ease both; }
.page-hero--video::after { background: linear-gradient(0deg, rgba(21,23,26,.88) 0%, rgba(21,23,26,.35) 55%, rgba(21,23,26,.15) 100%); }
@keyframes heroVid { from { opacity: 0; transform: scale(1.04); } to { opacity: .62; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero video.bg { animation: none; } }

/* ---- Header logo: understated, professional motion (replaces the splash) ---- */
.site-header .logo svg { transition: transform .7s cubic-bezier(.65,0,.35,1); }
.site-header .logo:hover svg { transform: rotate(-24deg); }
.site-header .logo:hover .wm b { transform: none; }
.site-header .logo .wm small { transition: opacity .4s ease, letter-spacing .6s cubic-bezier(.65,0,.35,1); }
.site-header .logo:hover .wm small { letter-spacing: .18em; }
:lang(fa) .site-header .logo:hover .wm small { letter-spacing: 0; opacity: .8; }
.site-header .logo.logo-pop svg { animation: logoTurn .9s cubic-bezier(.65,0,.35,1) both; }
.site-header .logo.logo-pop .wm { animation: logoFade .9s cubic-bezier(.65,0,.35,1) both; }
.site-header .logo.logo-pop .wm b { animation: none; }
@keyframes logoTurn { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(200deg) scale(.88); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes logoFade { 0%, 100% { opacity: 1; } 45% { opacity: .55; } }
.logo-drop, .logo-ring { display: none !important; }

/* =================== v3 =================== */
/* ---- Justified body text everywhere ---- */
main p, main li, footer p, .faq .answer, .search-box .sb-empty { text-align: justify; text-justify: inter-word; }
:lang(en) main p, :lang(en) main li, :lang(en) footer p { hyphens: auto; -webkit-hyphens: auto; }
.notfound p, .center, .center p { text-align: center; }

/* ---- Diaco symbol: mirror flip instead of spinning ---- */
.site-header .logo { perspective: 600px; }
.site-header .logo svg { transform-style: preserve-3d; transition: transform .8s cubic-bezier(.65,0,.35,1); }
.site-header .logo:hover svg { transform: rotateY(180deg); }
.site-header .logo.logo-pop svg { animation: logoMirror .9s cubic-bezier(.65,0,.35,1) both; }
.site-header .logo.logo-pop .wm { animation: logoFade .9s cubic-bezier(.65,0,.35,1) both; }
@keyframes logoMirror { 0% { transform: rotateY(0); } 50% { transform: rotateY(180deg) scale(.92); } 100% { transform: rotateY(360deg); } }
.pcard .pack { perspective: 400px; }
.pcard .pack .mark { transition: transform .8s cubic-bezier(.65,0,.35,1), opacity .3s; }
.pcard:hover .pack .mark, .pcard.is-selected .pack .mark { transform: rotateY(180deg); opacity: .6; }
@media (prefers-reduced-motion: reduce) { .site-header .logo svg, .pcard .pack .mark { transition: none; animation: none !important; } }

/* ---- Support button: very subtle hover ---- */
.support-btn { transition: border-color .4s ease, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease; }
.support-btn svg { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.support-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(21,23,26,.08); border-color: var(--copper); }
.support-btn:hover svg { transform: rotate(-10deg); color: var(--copper); }

/* ---- Quote / data-sheet box: minimal ---- */
.cta-band .wrap { padding-block: 0 clamp(48px, 6vw, 80px); }
.cta-band .inner { max-width: 920px; margin-inline: auto; padding: 22px 28px; border-radius: 18px; gap: 18px; }
.cta-band .inner::after { width: 150px; height: 150px; border-width: 22px; inset-inline-end: -50px; top: -50px; }
.cta-band .overline { font-size: 12px; margin-bottom: 4px; }
.cta-band h2 { font-size: clamp(18px, 1.8vw, 22px); margin: 0 0 4px; line-height: 1.5; }
.cta-band p { font-size: 14px; }
.cta-band .btn { padding: 10px 18px; font-size: 14px; }

/* ---- Intro: logo draws itself, name reveals, curtain lifts ---- */
.preloader { background: #0E0F11; color: var(--white); overflow: hidden; transition: transform 1s cubic-bezier(.76,0,.24,1); }
.preloader.done { opacity: 1; visibility: visible; transform: translateY(-100%); }
.preloader .pl-glow { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.22) 0%, rgba(255,122,26,0) 62%); animation: plGlow 3s ease-in-out infinite alternate; pointer-events: none; }
@keyframes plGlow { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }
.pl-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .7s cubic-bezier(.76,0,.24,1), opacity .5s ease; }
.preloader.done .pl-inner { transform: translateY(-40px); opacity: 0; }
.preloader .pl-mark { width: 92px; height: 92px; margin: 0 0 26px; overflow: visible; animation: none; }
.pl-stroke { fill: none; stroke: var(--copper); stroke-width: 3.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: plDraw 1.2s cubic-bezier(.65,0,.35,1) .2s forwards; }
.pl-fill { fill: var(--copper); opacity: 0; animation: plFill .7s ease 1.15s forwards; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plFill { to { opacity: 1; } }
.pl-name b { display: block; font-family: var(--ff-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color: var(--white); letter-spacing: .01em;
  clip-path: inset(0 100% 0 0); animation: plReveal .9s cubic-bezier(.65,0,.35,1) 1.2s forwards; }
[dir=rtl] .pl-name b { clip-path: inset(0 0 0 100%); }
@keyframes plReveal { to { clip-path: inset(0 0 0 0); } }
.pl-line { display: block; width: 0; height: 2px; margin: 16px auto 14px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--copper), transparent); animation: plLine .8s cubic-bezier(.65,0,.35,1) 1.6s forwards; }
@keyframes plLine { to { width: 140px; } }
.preloader .pl-tag { display: block; margin: 0; font-size: 14px; color: rgba(255,255,255,.6); opacity: 0; transform: translateY(8px); animation: plTag .7s ease 1.85s forwards; }
:lang(en) .preloader .pl-tag { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
@keyframes plTag { to { opacity: 1; transform: none; } }

/* ---- Theme toggle button ---- */
.theme-btn { position: relative; overflow: hidden; }
.theme-btn svg { width: 18px; height: 18px; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .4s ease; }
.theme-btn .i-sun { position: absolute; transform: translateY(24px) rotate(-90deg); opacity: 0; }
[data-theme=dark] .theme-btn .i-moon { transform: translateY(-24px) rotate(90deg); opacity: 0; }
[data-theme=dark] .theme-btn .i-sun { transform: none; opacity: 1; }
.theme-btn:hover svg { color: var(--copper); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease !important; }

/* ---- Dark theme ---- */
[data-theme=dark] {
  color-scheme: dark;
  --surface: #1B1F24; --surface-2: #20252B; --surface-glass: rgba(17,19,22,.94); --paper: #15181C;
  --ink: #ECECEA; --ink-2: #B7BCC4; --ink-3: #8B919B; --ink-body: #CDD1D7;
  --line: rgba(255,255,255,.10); --field-line: rgba(255,255,255,.18); --copper-50: rgba(255,122,26,.14);
  --tint-auto: #33261C; --tint-ind: #232A33; --tint-pet: #2A2925;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
}
[data-theme=dark] body { background: #111316; color: var(--ink); }
[data-theme=dark] .section--dark, [data-theme=dark] .site-footer, [data-theme=dark] .f2-side, [data-theme=dark] .aside-cta { background: #0B0D0F; }
[data-theme=dark] .aside-cta { border-color: var(--line); }
[data-theme=dark] .cta-band .inner { background: #1B1F24; border: 1px solid var(--line); }
[data-theme=dark] .btn--dark { background: #2B3440; }
[data-theme=dark] .btn--dark:hover { background: #36414F; }
[data-theme=dark] .lang-switch a[aria-current], [data-theme=dark] .filter-chips button[aria-pressed=true], [data-theme=dark] .pill-nav a[aria-current],
[data-theme=dark] .f2-pill.on, [data-theme=dark] .picker-tabs button[aria-pressed=true] { background: var(--copper); border-color: var(--copper); color: #15171A; }
[data-theme=dark] .pill-tag, [data-theme=dark] .count-pill, [data-theme=dark] .chip--copper { color: #FFB07A; }
[data-theme=dark] .icon-sq { color: #FF9A4D; }
[data-theme=dark] .site-header.is-scrolled, [data-theme=dark] .mega { box-shadow: 0 10px 40px rgba(0,0,0,.45); }
[data-theme=dark] .timeline .ev::before { box-shadow: 0 0 0 5px var(--paper); }
[data-theme=dark] .finder select, [data-theme=dark] .field select, [data-theme=dark] .filterbar select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23ECECEA' stroke-width='1.6'/%3E%3C/svg%3E"); }
[data-theme=dark] .feature-strip ul { box-shadow: 0 20px 50px rgba(0,0,0,.4); }
[data-theme=dark] .pcard:hover, [data-theme=dark] a.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.45); }
[data-theme=dark] main img:not(.bg) { filter: brightness(.92) saturate(.95); }
[data-theme=dark] .page-head { background: #15181C; }

/* ---- Page title band (guides, products, news, FAQ, contact, privacy) ---- */
.page-head { position: relative; overflow: hidden; isolation: isolate; margin-bottom: clamp(36px, 5vw, 64px);
  padding-block: clamp(36px, 4.5vw, 60px) clamp(32px, 4vw, 52px);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,26,.10) 0%, rgba(255,122,26,0) 45%), linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line); }
[dir=rtl] .page-head { background: radial-gradient(120% 140% at 100% 0%, rgba(255,122,26,.10) 0%, rgba(255,122,26,0) 45%), linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%); }
.page-head .ph-mark { position: absolute; z-index: -1; width: clamp(220px, 28vw, 380px); height: auto; inset-inline-end: clamp(-60px, -3vw, -20px); top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .07; pointer-events: none; animation: phFloat 12s ease-in-out infinite alternate; }
@keyframes phFloat { from { transform: translateY(-52%) rotate(-10deg); } to { transform: translateY(-46%) rotate(-4deg); } }
.page-head h1 { margin-bottom: 12px; }
.page-head h1::after { content: ''; display: block; width: 64px; height: 3px; margin-top: 18px; border-radius: 2px; background: linear-gradient(90deg, var(--copper), #FFB36B); }
[dir=rtl] .page-head h1::after { background: linear-gradient(270deg, var(--copper), #FFB36B); }
.page-head .lead { margin-top: 14px; max-width: 680px; }
.page-head + .section, .page-head + section { padding-top: 0; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ph-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-2);
  transition: border-color .3s, color .3s, transform .45s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
[dir=rtl] .ph-chips a { padding: 8px 10px 8px 14px; }
.ph-chips a .n { font-size: 11.5px; font-weight: 700; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--copper-50); color: var(--copper-600); }
.ph-chips a:hover { border-color: var(--copper); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .page-head .ph-mark { animation: none; } }

/* ---- Theme switch: circular reveal across the whole page ---- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
.theme-veil { position: fixed; inset: 0; z-index: 9999; pointer-events: none; clip-path: circle(0px at 50% 50%); }
.theme-btn:active svg { transform: scale(.85); }

/* ---- Product cards: colour per category ---- */
.pcard[style*="--tint-l"] .pack { background: var(--tint-l); }
[data-theme=dark] .pcard[style*="--tint-d"] .pack { background: var(--tint-d); }

/* ---- Spec button on cards ---- */
.pcard .spec-open { margin-top: 14px; padding: 12px 0 0; width: 100%; display: flex; justify-content: space-between; align-items: center; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; }
.pcard .spec-open span { color: var(--copper); font-size: 20px; line-height: 1; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.pcard .spec-open:hover span { transform: rotate(90deg); }
.pcard .spec-open:hover { color: var(--copper-600); }

/* ---- Spec pop-up ---- */
.spec-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(12,13,15,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.spec-open-now .spec-modal { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.spec-closing .spec-modal { opacity: 0; }
.sm-box { position: relative; width: min(560px, 100%); max-height: min(86vh, 720px); overflow-y: auto; padding: 24px; border-radius: 22px; background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 100px rgba(0,0,0,.3); transform: translateY(24px) scale(.97); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.spec-open-now .sm-box { transform: none; }
.spec-closing .sm-box { transform: translateY(16px) scale(.98); }
.sm-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .45s cubic-bezier(.34,1.56,.64,1), border-color .3s; }
.sm-close svg { width: 14px; height: 14px; }
.sm-close:hover { transform: rotate(90deg); border-color: var(--copper); }
.sm-head { display: flex; gap: 16px; align-items: center; padding-inline-end: 40px; }
.sm-pack { width: 92px; height: 92px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; padding: 10px; }
.sm-pack svg { width: 100%; height: 100%; }
.sm-head h3 { font-size: 20px; margin: 8px 0 2px; }
.sm-head p { margin: 0; font-size: 13.5px; color: var(--ink-3); text-align: start; }
.sm-title { margin: 20px 0 10px; font-size: 14px; color: var(--copper-600); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-grid > div { background: var(--surface); padding: 10px 12px; }
.spec-grid small { display: block; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); margin-bottom: 3px; }
.spec-grid b { font-size: 14px; font-weight: 600; }
.spec-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sm-body .chips { margin-top: 14px; }
.sm-note { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 16px; }
.sm-cta { width: 100%; justify-content: center; }
@media (max-width: 520px) { .sm-box { padding: 18px; border-radius: 18px; } .sm-pack { width: 72px; height: 72px; } .spec-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Hero: large Diaco mark that melts on hover ---- */
.hero-mark { position: absolute; z-index: 2; top: 50%; inset-inline-end: clamp(40px, 9vw, 160px); width: clamp(200px, 20vw, 300px); aspect-ratio: 1; transform: translateY(-50%); cursor: pointer; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 70%; filter: drop-shadow(0 20px 40px rgba(255,122,26,.35)); }
.hero-mark::before { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.28), rgba(255,122,26,0) 70%); filter: blur(18px); z-index: -1; animation: markGlow 6s ease-in-out infinite alternate; }
.hero-mark { animation: markFloat 7s ease-in-out infinite; }
@keyframes markFloat { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 14px)); } }
@keyframes markGlow { from { opacity: .6; transform: scale(.9); } to { opacity: 1; transform: scale(1.1); } }
@media (max-width: 1100px) { .hero-mark { width: 160px; inset-inline-end: 40px; opacity: .85; } }
@media (max-width: 860px) { .hero-mark { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-mark, .hero-mark::before { animation: none; } }

/* ==== Phones: standard sizing + swipeable rows instead of long vertical lists ==== */
.hs-dots { display: none; }
@media (max-width: 700px) {
  .hscroll { display: flex !important; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hscroll > * { flex: 0 0 76%; max-width: 300px; min-width: 0; scroll-snap-align: start; }
  .hscroll > .reveal, .hscroll.sr, .hscroll.sr > * { opacity: 1 !important; transform: none !important; }
  .hscroll > .tile { aspect-ratio: 4 / 5 !important; }
  .hscroll > .tall { min-height: 330px; }
  .hscroll > .feature { flex-basis: 70%; }
  .hs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .hs-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .35s cubic-bezier(.16,1,.3,1), background .35s; }
  .hs-dots i.on { width: 18px; background: var(--copper); }
  .section--dark .hs-dots i:not(.on) { background: rgba(255,255,255,.22); }
}
@media (max-width: 600px) {
  :root { --section: 56px; --header-h: 64px; }
  body { font-size: 15.5px; }
  :lang(fa) body, body:lang(fa) { font-size: 15px; line-height: 1.9; }
  h1 { font-size: 30px; } :lang(fa) h1 { font-size: 26px; }
  h2 { font-size: 25px; } :lang(fa) h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .lead { font-size: 16px; }
  .section--tight { padding-block: 40px; }
  .btn { padding: 11px 20px; font-size: 14px; }
  .hero--oil h1, :lang(fa) .hero--oil h1 { font-size: 28px; }
  .hero .wrap { padding-block: calc(var(--header-h) + 40px) 110px; }
  .hero .lead, .hero p { font-size: 15px; }
  .page-hero .wrap { padding-block: 84px 36px; }
  .page-hero--video { min-height: 360px; }
  .page-hero p { font-size: 15px; }
  .page-head { padding-block: 40px 24px; }
  .card .body { padding: 18px 18px 20px; }
  .card h3, .pcard h3 { font-size: 16.5px; }
  .pcard .body { padding: 14px 16px 16px; }
  .pcard .pack { aspect-ratio: 16 / 11; padding: 14px; }
  .tile .tile-body { padding: 18px; } .tile h3 { font-size: 19px; }
  .tall { padding: 18px; } .tall h3 { font-size: 18px; }
  .stat { padding: 24px 14px 6px 0; } .stat + .stat { padding-inline-start: 14px; }
  .stat b { font-size: 34px; margin-bottom: 8px; } .stat span { font-size: 13px; }
  .split { gap: 24px; }
  /* feature strip: compact 2 × 2 instead of four tall rows */
  .feature-strip ul { grid-template-columns: 1fr 1fr; }
  .feature-strip li + li { border-top: 0; border-inline-start: 0; }
  .feature-strip li:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .feature-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-strip a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .feature-strip b { font-size: 14px; } .feature-strip small { font-size: 12px; }
  .cat-block { padding-block: 40px; }
  .cat-about { padding: 18px; gap: 18px; }
  .cat-main .faq summary { font-size: 15.5px; padding: 14px 0; }
  .sm-box { max-height: 88vh; }
}
/* keep swipe rows from widening their parent columns */
.cat-main, .split > *, .layout-aside > * { min-width: 0; }
@media (max-width: 900px) { .cat-block { grid-template-columns: minmax(0, 1fr); } }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 700px) {
  /* filter bar: one slim row; the category chips below replace the dropdown */
  .filterbar .wrap { flex-wrap: nowrap; padding-block: 10px; gap: 10px; }
  .filterbar .search { flex-basis: auto; }
  .filterbar input { height: 42px; font-size: 14px; }
  .filterbar label:has(select) { display: none; }
  .filterbar .count { font-size: 12.5px; }
  /* category chips: one swipeable line */
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-top: 16px; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chips button, .filter-chips small { flex-shrink: 0; }
  .filter-chips button { font-size: 13px; padding: 6px 14px; }
  /* "about this range": three swipeable panels instead of one tall block */
  .cat-about.hscroll { background: none; padding: 0 var(--gutter); border-radius: 0; margin-top: 22px; align-items: stretch; }
  .cat-about.hscroll > div { background: var(--paper); border-radius: var(--radius-md); padding: 18px; flex-basis: 82%; max-width: 320px; }
  .cat-about.hscroll > div:first-child { grid-column: auto; }
}
/* "Read more" fold: only active on phones */
.fold-btn { display: none; }
@media (max-width: 700px) {
  .m-fold:not(.open) > .fold-body { display: none; }
  .m-fold.open > .fold-body { animation: foldIn .5s cubic-bezier(.16,1,.3,1); }
  .m-fold:not(.open) > .fold-btn { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
  .fold-btn span { color: var(--copper); font-size: 17px; line-height: 1; }
  @keyframes foldIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  /* jump links: one swipeable line */
  .pill-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); margin-bottom: 8px; }
  .pill-nav::-webkit-scrollbar { display: none; }
  .pill-nav a { flex-shrink: 0; font-size: 13px; padding: 7px 14px; }
  /* provinces: tight two-column list */
  .loc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .loc-grid a { padding: 11px 12px; font-size: 14px; }
  .loc-grid small { display: none; }
  /* guides: the chips at the top already list every guide */
  .layout-aside .aside-box:not(.aside-cta) { display: none; }
  .split-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) { .filterbar .search { flex: 1 1 0; min-width: 0; } .filterbar .count { flex-shrink: 0; } }
/* hero mark sits above the hero text container so the mouse can reach it */
.hero-mark { z-index: 4; }
.hero-mark svg { transform-origin: 50% 0%; will-change: transform, opacity; }
.hero-mark.is-melting { animation-play-state: paused; }
.hero-mark.is-melting::before { opacity: .35; transition: opacity 1.2s ease; }
/* justify is for paragraphs only: short labels and captions align to the start so words don't spread apart */
main small, .feature-strip li, .feature-strip small, .loc-grid a, .aside-box li, .talk-card, .stat span, .filter-chips, .pill-nav, .f2-pill, .sm-note { text-align: start; text-justify: auto; }
.feature-strip small { text-wrap: pretty; }
/* intro: slower, calmer timing */
.preloader { transition: transform 1.4s cubic-bezier(.76,0,.24,1); }
.pl-inner { transition: transform 1s cubic-bezier(.76,0,.24,1), opacity .8s ease; }
.pl-stroke { animation: plDraw 2s cubic-bezier(.65,0,.35,1) .3s forwards; }
.pl-fill { animation: plFill 1s ease 1.9s forwards; }
.pl-name b { animation: plReveal 1.4s cubic-bezier(.65,0,.35,1) 2s forwards; }
.pl-line { animation: plLine 1.2s cubic-bezier(.65,0,.35,1) 2.7s forwards; }
.preloader .pl-tag { animation: plTag 1s ease 3.1s forwards; }

/* ==== Blog ==== */
.blog-grid { row-gap: 28px; }
.blog-card .media { aspect-ratio: 16 / 10; }
.blog-card h3 { font-size: 18.5px; line-height: 1.55; margin: 10px 0 8px; }
.blog-card p { font-size: 14.5px; color: var(--ink-2); text-align: start; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .meta { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.blog-card .pill-tag { align-self: flex-start; }
.post-head h1 { max-width: 880px; }
.post-head .overline a { color: inherit; }
.post-head .overline a:hover { color: var(--copper); }
.post-meta { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); text-align: start; }
.post-media { aspect-ratio: 16 / 8; margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post .prose h2 { font-size: clamp(21px, 2vw, 26px); margin: 1.6em 0 .55em; scroll-margin-top: 110px; }
.post .prose h2:first-child { margin-top: 0; }
.post .prose .check { margin: 0 0 1.2em; }
.post-faq { margin-top: 44px; max-width: 760px; }
.post-faq h2 { font-size: clamp(21px, 2vw, 26px); scroll-margin-top: 110px; }
.post-cta { margin-top: 40px; max-width: 760px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.post-cta b { font-size: 17px; }
.post-cta p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); text-align: start; }
.post-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-reads { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.cat-reads h4 { font-size: 14px; margin: 0 0 8px; color: var(--copper-600); }
.cat-reads ul { list-style: none; margin: 0; padding: 0; }
.cat-reads li a { display: block; padding: 6px 0; font-size: 14.5px; text-align: start; }
.cat-reads li a:hover { color: var(--copper-600); }
@media (max-width: 700px) {
  .post-media { aspect-ratio: 16 / 10; margin-bottom: 22px; }
  .post-cta { padding: 18px; }
  .post .layout-aside .aside-box:not(.aside-cta) { display: none; }
  .blog-grid { display: grid !important; grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .blog-grid { gap: 10px; }
  .blog-grid .blog-card { flex-direction: row; align-items: stretch; }
  .blog-grid .blog-card .media { flex: 0 0 108px; aspect-ratio: auto; }
  .blog-grid .blog-card .body { padding: 12px 14px; }
  .blog-grid .blog-card h3 { font-size: 15px; margin: 6px 0 4px; }
  .blog-grid .blog-card p { display: none; }
  .blog-grid .blog-card .pill-tag { font-size: 11px; padding: 2px 8px; }
  .blog-grid .blog-card .meta { padding-top: 4px; font-size: 11.5px; }
}
.blog-card .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.blog-card .meta > * { white-space: nowrap; }
.blog-card .meta .rt::before { content: '•'; margin-inline-end: 12px; color: var(--copper); }
/* short captions on image cards: no justify spacing */
.tile p, .tall .tags, .card p { text-align: start; }
