/* EOTEC site styles. Visual language taken from the printed catalog:
   black, white and red, hard edges, sliced photos, red panels over photos. */
:root {
  --black: #0b0b0b;
  --ink: #111;
  --body: #555;
  --line: #dcdcdc;
  --red: #d9121a;
  --red-on-black: #f0262d;
  --on-black: rgba(255, 255, 255, .72);
  --rule-on-black: rgba(255, 255, 255, .2);
  --shell: max(20px, calc((100vw - 1240px) / 2));
  --sec: clamp(56px, 8vw, 112px);
  --nav-h: 104px;
  --nav-full: 104px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); }
body { background: #fff; color: var(--ink); font: 400 16px/1.6 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.red { color: var(--red); }
.small { font-size: 14px; line-height: 1.5; color: var(--body); }

/* Type */
h1, h2, .h-xl, .h-lg { font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.h-xl { font-size: clamp(34px, 5vw, 86px); line-height: 1.05; }
.h-lg { font-size: clamp(30px, 4.3vw, 66px); line-height: 1.05; }
.h-md { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; line-height: 1.3; }
.eyebrow, .prod .num { display: block; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }

/* Buttons and text links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; border: 1.5px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.btn svg { flex: none; width: 18px; height: 18px; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--black); border-color: var(--black); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav .btn { padding: 15px 24px; font-size: 13px; }
.link-ar { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; border-bottom: 2px solid var(--red); padding-bottom: 3px; transition: color .15s; }
.link-ar:hover { color: var(--red); }

/* Reveal: a plain fade, nothing else */
.js .rv { transition: opacity .5s ease; }
.js .rv:not(.in) { opacity: 0; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 40px; min-height: 104px; padding: 0 var(--shell); background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav.solid { min-height: 84px; margin-bottom: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo { width: 224px; height: auto; transition: width .3s ease; }
.nav.solid .brand .logo { width: 190px; }
.nav-right { flex: 1; display: flex; align-items: center; gap: 24px; }
#nav-links { display: flex; align-items: center; gap: 34px; margin-inline: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
#nav-links > li > a { position: relative; display: block; padding: 8px 0; transition: color .3s ease; }
#nav-links > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
#nav-links > li:hover > a, #nav-links > li > a[aria-current="page"] { color: var(--red); }
#nav-links > li:hover > a::after, #nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
/* Crane Solutions dropdown */
.has-sub { position: relative; }
#nav-links > .has-sub > a { display: flex; align-items: center; gap: 6px; }
.has-sub > a svg { width: 12px; height: 12px; transition: transform .25s ease; }
.has-sub:hover > a svg, .has-sub:focus-within > a svg, .has-sub.sub-open > a svg { transform: rotate(180deg); }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px; }
.sub { position: absolute; left: -20px; top: calc(100% + 30px); z-index: 60; min-width: 240px; padding: 10px 0; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav.solid .sub { top: calc(100% + 20px); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.sub-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 20px; color: var(--ink); transition: color .2s ease; }
.sub a:hover, .sub a[aria-current="page"] { color: var(--red); }

/* Language dropdown */
.lang-menu { position: relative; flex: none; }
.lang-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 2px; }
.lang-btn svg { width: 12px; height: 12px; transition: transform .25s ease; }
.lang-menu:hover .lang-btn svg, .lang-menu.open .lang-btn svg { transform: rotate(180deg); }
.lang-btn img, .lang-item img { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.lang-list { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; min-width: 190px; padding: 8px 0; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.lang-menu:hover .lang-list, .lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-item { display: flex; align-items: center; gap: 12px; padding: 9px 18px; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); transition: color .2s ease; }
a.lang-item:hover { color: var(--red); }
.lang-item.is-current { font-weight: 700; color: var(--red); }
.lang-item.is-later { color: var(--body); cursor: default; }
.nav-extra { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Home hero: the catalog cover. Black field, photo in cut strips with a red end, red band below */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-full)); overflow: hidden; background: var(--black); color: #fff; }
.hero-stage { position: relative; flex: 1; display: flex; }
.hero-media { --cut: clamp(60px, 8vw, 150px); position: absolute; inset: 0 0 0 auto; z-index: -1; width: 50vw; overflow: hidden; isolation: isolate; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.hero-slides { position: absolute; inset: -10% 0; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.hero-slide.is-prev { visibility: visible; z-index: 1; }
.hero-slide.is-active { visibility: visible; z-index: 2; animation: hero-wipe 1s cubic-bezier(.7, 0, .2, 1); }
@keyframes hero-wipe { from { clip-path: polygon(115% 0, 135% 0, 115% 100%, 100% 100%); } to { clip-path: polygon(-20% 0, 135% 0, 115% 100%, -40% 100%); } }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero-slide.is-active img, .hero-slide.is-prev img { transform: scale(1); }
.hero-cut, .hero-tint { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-cut { background: var(--black); clip-path: polygon(calc(72% - 22px) 0, 72% 0, 56% 66.66%, 72% 100%, calc(72% - 22px) 100%, calc(56% - 22px) 66.66%); }
.hero-tint { background: var(--red); mix-blend-mode: multiply; clip-path: polygon(72% 0, 100% 0, 100% 100%, 72% 100%, 56% 66.66%); }
.hero-media i { position: absolute; left: 0; right: 0; z-index: 4; height: clamp(8px, .9vw, 14px); background: var(--black); }
.hero-media i:nth-of-type(1) { top: 33.33%; }
.hero-media i:nth-of-type(2) { top: 66.66%; }
.hero-body { flex: 1; display: flex; align-items: center; padding: clamp(36px, 7vh, 80px) var(--shell); }
.hero-content { width: calc(50vw - var(--shell)); padding-right: 16px; }
.hero-brand { margin-bottom: clamp(18px, 3vh, 28px); padding-left: 14px; border-left: 3px solid var(--red-on-black); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero-title { margin-bottom: 22px; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hero-title .is-accent { color: var(--red-on-black); }
.hero-desc { max-width: 30em; min-height: 3.3em; margin-bottom: 30px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--on-black); }
.hero-desc, .hero-link { transition: opacity .3s ease; }
.hero-content.swap .line > span { transform: translateY(110%); }
.hero-content.swap .hero-desc, .hero-content.swap .hero-link { opacity: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(28px, 5vh, 48px); }
.hero-actions .btn:hover { background: #fff; border-color: #fff; color: var(--black); }
.hero-actions .btn-outline { border-color: #fff; color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 0; padding-top: 20px; border-top: 1px solid var(--rule-on-black); }
.hero-facts li { padding-right: clamp(16px, 2vw, 28px); margin-right: clamp(16px, 2vw, 28px); border-right: 1px solid var(--rule-on-black); }
.hero-facts li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-facts b { display: block; font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; }
.hero-facts span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-black); }
.hero-nav { position: relative; z-index: 2; padding-inline: var(--shell); background: var(--red); color: #fff; }
.hero-navbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 20px; }
.hero-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero-tab { position: relative; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; height: 100%; padding: 18px 14px; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; transition: background .2s ease; }
.hero-tab-n { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-tab-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red-on-black); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active .hero-tab-bar { transform: scaleX(var(--progress, 0)); }
.hero-tab:hover { background: rgba(0, 0, 0, .2); }
.hero-tab.is-active { background: var(--black); }
.hero-tab.is-active .hero-tab-n { color: var(--red-on-black); }
.hero-controls { display: flex; align-items: center; }
.hero-ctrl { display: grid; place-items: center; width: 46px; height: 46px; color: #fff; transition: background .2s ease, color .2s ease; }
.hero-ctrl svg { width: 20px; height: 20px; }
.hero-ctrl:hover { background: #fff; color: var(--red); }
@media (min-width: 1181px) {
  html[lang="tr"] .hero-title { font-size: clamp(38px, 4.2vw, 54px); }
}
@media (min-width: 1181px) and (max-height: 780px) {
  .hero-body { padding-block: 24px; }
  .hero-brand { margin-bottom: 14px; }
  .hero-title, html[lang="tr"] .hero-title { margin-bottom: 14px; font-size: clamp(38px, 3.6vw, 48px); }
  .hero-desc { min-height: 0; margin-bottom: 18px; font-size: 16px; }
  .hero-actions { margin-bottom: 18px; }
  .hero-facts { padding-top: 14px; }
  .hero-tab { padding-block: 12px; }
}
@media (max-width: 1180px) {
  .hero { min-height: 0; }
  .hero-stage { flex-direction: column; }
  .hero-media { position: relative; inset: auto; width: 100%; height: clamp(210px, 38vw, 400px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(18px, 4vw, 40px)), 0 100%); }
  .hero-body { padding-block: clamp(28px, 5vw, 48px); }
  .hero-content { width: 100%; padding-right: 0; }
  .hero-title { font-size: clamp(34px, 7vw, 60px); }
  .hero-desc { min-height: 0; }
  .hero-navbar { grid-template-columns: minmax(0, 1fr); }
  .hero-nav { padding-inline: 0; }
  .hero-tabs { display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: var(--shell); }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .hero-tabs li { flex: none; }
  .hero-tab { width: auto; min-width: 150px; white-space: nowrap; }
  .hero-controls { display: none; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; white-space: normal; }
  .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-brand { font-size: 12px; }
  .hero-facts li { padding-right: 12px; margin-right: 12px; }
  .hero-facts b { font-size: 16px; }
  .hero-facts span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  .hero-slide img { transform: none; transition: none; }
  .hero-title .line > span { transition: none; }
}

/* Inner page hero: black with a photo cut on the diagonal */
.p-hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr auto auto; min-height: clamp(340px, 34vw, 480px); background: var(--black); color: #fff; }
.p-hero > img { grid-column: 2; grid-row: 1 / -1; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.p-hero::after { content: ""; grid-column: 2; grid-row: 1 / -1; background: var(--red); clip-path: polygon(16% 0, 18% 0, 2% 100%, 0 100%); }
.p-hero.plain::after { display: none; }
.p-hero.plain { grid-template-columns: 1fr; min-height: 0; }
.p-hero > .crumbs, .p-hero > h1, .p-hero > .lead { grid-column: 1; margin-left: var(--shell); margin-right: 32px; }
.p-hero > .crumbs { align-self: end; padding-top: clamp(40px, 5vw, 72px); margin-bottom: 16px; }
.p-hero h1 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; }
.p-hero > .lead { max-width: 36em; margin-top: 18px; margin-bottom: clamp(40px, 5vw, 72px); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; color: rgba(255, 255, 255, .85); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-black); }
.crumbs a:hover { color: #fff; }

/* Sections */
.card { padding: var(--sec) var(--shell); background: #fff; }
.card + .card { border-top: 1px solid var(--line); }
.grid-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.grid-head p { max-width: 26em; font-size: 16px; line-height: 1.7; color: var(--body); }
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px 28px; margin-top: 44px; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px 48px; }
.stat-mini .num { display: flex; align-items: flex-end; gap: 12px; }
.stat-mini b { font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.03em; color: var(--red); }
.stat-mini small { font-size: 14px; font-weight: 500; line-height: 1.3; }
.intro-foot { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.intro-foot p { padding-top: 14px; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.6; color: var(--body); }
.intro-foot .link-ar { grid-column: 1 / -1; order: 1; justify-self: start; }

/* Solutions: photo with an overlapping red panel, then a plain list */
.feature img { width: 100%; height: clamp(280px, 44vw, 600px); object-fit: cover; }
.panel { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; width: min(100%, 720px); margin: -110px 0 0 auto; padding: clamp(24px, 3vw, 40px); background: var(--red); color: #fff; }
.panel .ghost { grid-row: 1 / span 3; font-size: clamp(64px, 8vw, 112px); font-weight: 800; line-height: .85; color: rgba(255, 255, 255, .35); }
.panel h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.panel p { font-size: 15px; line-height: 1.6; }
.panel .link-ar { justify-self: start; margin-top: 8px; border-color: #fff; }
.panel .link-ar:hover { color: #fff; opacity: .8; }
.sol-list { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.sol { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.5fr); align-items: baseline; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.sol .ghost { font-size: 36px; font-weight: 800; line-height: 1; color: var(--red); }
.sol h3 { font-size: 22px; font-weight: 700; line-height: 1.2; transition: color .15s; }
.sol p { font-size: 15px; line-height: 1.6; color: var(--body); }
.sol:hover h3 { color: var(--red); }

/* Black bands: figures, standards, process */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: var(--sec) var(--shell) 0; background: var(--black); color: #fff; }
.stats .card, .stats .card + .card { padding: 20px 0 0; background: none; border-top: 2px solid var(--red-on-black); }
.stats .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-black); }
.stats b { display: block; margin: 14px 0 10px; font-size: clamp(44px, 4.4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stats sup { font-size: .45em; color: var(--red-on-black); vertical-align: top; margin-left: 2px; }
.stats p { max-width: 22em; font-size: 15px; line-height: 1.6; color: var(--on-black); }
.std-list, .card + .std-list { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 56px; background: var(--black); color: #fff; border-top: 0; }
.std-list .eyebrow { color: var(--red-on-black); }
.std-list .h-lg { font-size: clamp(28px, 3.2vw, 46px); }
.std-list .small { color: var(--on-black); }
.std-list ul { border-bottom: 1px solid var(--rule-on-black); }
.std-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--rule-on-black); font-size: 15px; }
.std-list li b { font-weight: 700; }
.std-list li em { font-style: normal; color: var(--red-on-black); }
.std-list li span:last-child { font-size: 13px; color: var(--on-black); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.quote { display: flex; flex-direction: column; padding-top: 18px; border-top: 2px solid var(--red); }
.quote p { flex: 1; margin-bottom: 22px; font-size: 17px; line-height: 1.55; }
.quote b { display: block; font-size: 15px; font-weight: 600; }
.quote small { font-size: 13px; color: var(--body); }

/* Closing call to action: photo with a red panel, or a plain red band */
.cta { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-height: clamp(400px, 40vw, 580px); padding: var(--sec) var(--shell); }
.cta .card { border: 0; }
.cta .pic { position: absolute; inset: 0; padding: 0; }
.cta .pic img { width: 100%; height: 100%; object-fit: cover; }
.cta .go { position: relative; width: min(100%, 680px); padding: clamp(28px, 4vw, 52px); background: var(--red); color: #fff; }
.cta .go h2 { margin-bottom: 24px; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; }
.cta .go h2 span { color: rgba(255, 255, 255, .78); }
.cta .go .btn { background: var(--black); border-color: var(--black); }
.cta .go .btn:hover { background: #fff; border-color: #fff; color: var(--black); }
.cta.one { display: block; min-height: 0; padding: 0; }
.cta.one .go { width: 100%; padding: clamp(44px, 6vw, 80px) var(--shell); }

/* Footer */
.foot { background: var(--black); color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding: clamp(40px, 4.5vw, 64px) var(--shell); }
.foot h3 { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--red-on-black); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.foot li { margin-bottom: 6px; font-size: 15px; line-height: 1.4; color: #e4e4e4; }
.foot li a { display: inline-block; padding-block: 2px; }
.foot-legal a { display: inline-block; padding-block: 3px; }
.foot li a, .foot-bottom a { transition: color .15s; }
.foot li a:hover, .foot-bottom a:hover { color: var(--red-on-black); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; margin-inline: var(--shell); padding-block: 18px; border-top: 1px solid var(--rule-on-black); font-size: 13px; color: var(--on-black); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Product pages */
.tabs { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 28px; overflow-x: auto; padding: 16px var(--shell); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font-size: 14px; font-weight: 600; transition: color .15s; }
.tabs a:hover { color: var(--red); }
.card.tabs + .card { border-top: 0; }
.prod { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prod.flip .prod-media { order: 2; }
.prod-media { display: grid; gap: 8px; position: sticky; top: calc(var(--nav-h) + 72px); }
.prod-media .main { aspect-ratio: 1.2; }
.prod-media .main img, .prod-media .row img { width: 100%; height: 100%; object-fit: cover; }
.prod-media .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prod-media .row div { aspect-ratio: 1.4; }
.prod h2 { margin: 10px 0 18px; font-size: clamp(30px, 3.4vw, 52px); }
.prod .desc { font-size: 16px; line-height: 1.7; color: var(--body); }
.prod .desc + .desc { margin-top: 12px; }
.chiplist { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 18px; font-size: 15px; font-weight: 500; }
.variants { margin: 26px 0; }
.variant { padding: 16px 0; border-top: 1px solid var(--line); }
.variant h3 { margin-bottom: 4px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.variant p { font-size: 15px; line-height: 1.6; color: var(--body); }
.spec-table { width: 100%; margin-bottom: 26px; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.5; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 40%; padding-right: 12px; font-weight: 400; color: var(--body); }
.spec-table td { font-weight: 500; }
.tile { display: flex; flex-direction: column; }
.tile[hidden] { display: none; }
.tile .ph { aspect-ratio: 1.35; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile .body { display: grid; gap: 6px; padding-top: 14px; }
.tile h3 { font-size: 22px; font-weight: 700; line-height: 1.2; transition: color .15s; }
a.tile:hover h3 { color: var(--red); }
.tile p { font-size: 15px; line-height: 1.6; color: var(--body); }
.tile .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--body); }
.tile .meta b { color: var(--red); font-weight: 600; }
.icon-tile { padding-top: 16px; border-top: 2px solid var(--ink); }
.icon-tile .ic { display: block; width: 30px; height: 30px; margin-bottom: 14px; color: var(--red); }
.icon-tile h3 { margin-bottom: 6px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.icon-tile p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* About */
.duo { display: grid; grid-template-columns: 1.5fr 1fr; }
.duo .card { min-height: clamp(320px, 32vw, 460px); border: 0; }
.duo .visit { position: relative; padding: 0; }
.visit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit .row { position: absolute; left: 0; bottom: 0; max-width: 80%; padding: 24px 28px 22px var(--shell); background: var(--black); color: #fff; }
.duo h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.visit .row p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--on-black); }
.duo .offer { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 52px); background: var(--red); color: #fff; }
.offer .small { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #fff; }
.team h2 { margin: 12px 0 40px; }
.roles { counter-reset: r; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.roles li { counter-increment: r; padding-top: 14px; border-top: 2px solid var(--ink); }
.roles li::before { content: "0" counter(r); display: block; margin-bottom: 26px; font-size: 16px; font-weight: 700; color: var(--red); }
.roles h3 { margin-bottom: 6px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.roles p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Catalogs */
.cat-feature { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cat-cover { display: block; border: 1px solid var(--line); }
.cat-cover img { width: 100%; }
.cat-feature .desc { font-size: 16px; line-height: 1.7; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 24px 0 28px; }
.facts small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.facts b { font-size: 17px; font-weight: 600; }
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(92vw, 820px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-height: 88vh; width: auto; }
.lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; background: #fff; font-size: 22px; line-height: 1; }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.chips button { padding: 4px 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600; transition: color .15s; }
.chips button:hover { color: var(--red); }
.chips button[aria-pressed="true"] { color: var(--red); border-color: var(--red); }

/* Article */
.article .inner { max-width: 720px; margin: 0 auto; }
.article .inner > * + * { margin-top: 18px; }
.article h2 { margin-top: 44px !important; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.article h3 { margin-top: 30px !important; font-size: 22px; font-weight: 700; line-height: 1.2; }
.article p, .article li { font-size: 16px; line-height: 1.7; color: #333; }
.article ul { display: grid; gap: 6px; padding-left: 20px; list-style: square; }
.article li::marker { color: var(--red); }
.article figure { margin-block: 36px !important; }
.article figure img { width: 100%; aspect-ratio: 2; object-fit: cover; }
.article .callout { padding: 22px 24px; background: var(--red); color: #fff; font-weight: 500; }
.article .meta-row { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--body); }
.article .meta-row .tag { font-weight: 600; color: var(--red); }

/* Contact */
.reach-call { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: clamp(36px, 4.5vw, 60px) var(--shell); background: var(--red); color: #fff; }
.reach-call small { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.reach-call b { display: block; font-size: clamp(26px, 8.6vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.reach-call .btn { flex: none; background: #fff; border-color: #fff; color: var(--ink); }
.reach-call:hover .btn { background: var(--black); border-color: var(--black); color: #fff; }
.reach-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.reach-text { padding: var(--sec) clamp(24px, 3vw, 48px) var(--sec) var(--shell); }
.reach-line { padding-top: 16px; border-top: 2px solid var(--ink); }
.reach-line + .reach-line { margin-top: clamp(36px, 4vw, 56px); }
.reach-line small { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.reach-mail, .reach-line address { display: block; margin-bottom: 18px; font-style: normal; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.reach-mail { transition: color .15s; }
.reach-mail:hover { color: var(--red); }
.reach-photo { position: relative; min-height: 320px; }
.reach-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.reach-photo::after { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: polygon(14% 0, 15.4% 0, 1.4% 100%, 0 100%); pointer-events: none; }
@media (max-width: 760px) {
  .reach-info { grid-template-columns: minmax(0, 1fr); }
  .reach-text { padding-right: var(--shell); }
  .reach-photo { display: none; }
  .reach-call .btn { flex: 1 1 100%; justify-content: center; }
}
.faq-card { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); border-top: 1px solid var(--line); }
.faq-card .h-lg { font-size: clamp(28px, 3.2vw, 46px); }
.faq-head { position: sticky; top: calc(var(--nav-h) + 76px); align-self: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 16px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; font-size: 15px; line-height: 1.65; color: var(--body); }

/* Crane pages */
.c-tabs { background: #fff; }
.c-tabs a { position: relative; padding-block: 2px; }
.c-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.c-tabs a[aria-current="true"] { color: var(--red); }
.c-tabs a[aria-current="true"]::after { transform: scaleX(1); }

/* Figures band */
.c-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: var(--shell); background: var(--red); color: #fff; }
.c-stats div { padding: clamp(24px, 3vw, 40px) 24px; border-left: 1px solid rgba(255, 255, 255, .3); }
.c-stats div:first-child { padding-left: 0; border-left: 0; }
.c-stats dt { margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.c-tabs + .c-stats { padding-bottom: 56px; }
.c-stats dd { font-size: clamp(20px, 2.3vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }

/* Overview: copy beside a tall photo that rises into the red band */
.card.c-intro { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: center; border-top: 0; }
.c-intro .h-lg { margin: 14px 0 22px; }
.c-lead { margin-bottom: 26px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: var(--body); }
.c-intro .chiplist { margin: -8px 0 28px; }
.c-intro-photo { position: relative; z-index: 2; align-self: stretch; min-height: clamp(420px, 46vw, 680px); margin-top: calc(var(--sec) * -1 - 44px); overflow: hidden; }
.c-intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Configurations: the photo holds still and changes as the list scrolls past */
.cfg-sec { padding-bottom: var(--sec); border-top: 1px solid var(--line); padding-top: var(--sec); }
.cfg-head { padding: 0 var(--shell) clamp(24px, 3vw, 44px); }
.cfg-head .h-lg { margin-top: 14px; }
.cfg { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-inline: var(--shell); }
.cfg-media { position: sticky; top: calc(var(--nav-h) + 76px); height: min(calc(100vh - var(--nav-h) - 110px), 660px); min-height: 400px; overflow: hidden; background: var(--black); }
.cfg-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transition: clip-path .85s cubic-bezier(.2, .7, .2, 1); }
.cfg-media > img.was { clip-path: inset(0); z-index: 0; }
.cfg-media > img.is-on { clip-path: inset(0); z-index: 1; }
.cfg-count { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 12px 18px; background: var(--red); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.cfg-count b { font-size: 20px; font-weight: 800; }
.cfg-block { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; min-height: max(58vh, 400px); border-top: 2px solid var(--line); transition: border-color .4s ease; }
.cfg-block:last-child { min-height: min(calc(100vh - var(--nav-h) - 110px), 660px); }
.cfg-block > * { transition: opacity .4s ease; }
.cfg-block:not(.is-on) > * { opacity: .28; }
.cfg-block.is-on { border-color: var(--red); }
.cfg-inline { display: none; }
.cfg-block .ghost { font-size: clamp(56px, 6.4vw, 96px); font-weight: 800; line-height: .9; letter-spacing: -.02em; color: var(--red); }
.cfg-block h3 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.cfg-block p { font-size: 16px; line-height: 1.7; color: var(--body); }

/* Specification: engineering drawing on a black sheet */
.bp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px clamp(32px, 5vw, 80px); align-items: center; padding: var(--sec) var(--shell); background: var(--black); color: #fff; }
.bp-draw { width: 100%; height: auto; overflow: visible; }
.bp-draw .s { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.bp-draw .f { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; stroke-linecap: round; }
.bp-draw .d { fill: none; stroke: var(--red-on-black); stroke-width: 1.8; stroke-linecap: round; }
.bp-draw .t { fill: #fff; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.bp .eyebrow { color: var(--red-on-black); }
.bp .h-lg { margin: 12px 0 26px; font-size: clamp(28px, 3.2vw, 46px); }
.bp .spec-table { border-top-color: var(--red-on-black); }
.bp .spec-table th, .bp .spec-table td { border-color: var(--rule-on-black); }
.bp .spec-table th { color: var(--on-black); }
.bp .btn:hover { background: #fff; border-color: #fff; color: var(--black); }

/* In every crane: heading stays beside the list */
.card.c-why { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.c-why .grid-head { position: sticky; top: calc(var(--nav-h) + 88px); display: block; }
.c-why .h-lg { font-size: clamp(30px, 3.6vw, 54px); }
.c-why .cards { --cols: 2 !important; margin-top: 0; }

/* Crane cards run edge to edge */
.c-others { padding-inline: 0; padding-bottom: 0; }
.c-others .grid-head { padding-inline: var(--shell); }
.c-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: clamp(32px, 4vw, 56px); }
.c-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-card { position: relative; display: block; min-height: clamp(380px, 38vw, 620px); overflow: hidden; background: var(--black); color: #fff; }
.c-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .05) 60%); }
.c-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(22px, 3vw, 44px); }
.c-card .ghost { font-size: 14px; font-weight: 700; color: var(--red-on-black); }
.c-cards:not(.four) .ghost { display: none; }
.c-card b { font-size: clamp(24px, 2.5vw, 38px); font-weight: 800; line-height: 1.05; text-transform: uppercase; transition: color .15s; }
.c-card small { max-width: 30em; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.c-card:hover b { color: var(--red-on-black); }

/* Long-form guides and articles */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding: var(--sec) var(--shell); }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); padding-top: 14px; border-top: 2px solid var(--red); }
.toc b { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.toc li { margin-bottom: 10px; font-size: 14px; line-height: 1.4; }
.toc a { transition: color .15s; }
.toc a:hover { color: var(--red); }
.doc-body { max-width: 780px; font-size: 16px; line-height: 1.75; color: #333; }
.doc-body > * + * { margin-top: 18px; }
.doc-body h2 { margin-top: 48px; color: var(--ink); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -.01em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.doc-body > h2:first-child, .doc-body > .meta-row + h2 { margin-top: 0; }
.doc-body h3 { margin-top: 30px; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.25; }
.doc-body > h3:first-child { margin-top: 0; }
.doc-body a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.doc-body a:not(.btn):hover { color: var(--ink); }
.doc-body ul, .doc-body ol { display: grid; gap: 8px; padding-left: 22px; }
.doc-body ul { list-style: square; }
.doc-body ol { list-style: decimal; }
.doc-body li::marker { color: var(--red); font-weight: 700; }
.doc-body .callout { padding: 20px 24px; background: var(--black); color: #fff; font-weight: 500; }
.doc-body .callout a:not(.btn) { color: #fff; }
.doc-body .callout a:not(.btn):hover { color: #fff; opacity: .8; }
.doc-body .meta-row { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 28px; font-size: 13px; color: var(--body); }
.doc-body .meta-row .tag { font-weight: 600; color: var(--red); }
.table-wrap { overflow-x: auto; }
.doc-table { min-width: 460px; margin-bottom: 0; }
.doc-table thead th { padding-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--body); border-bottom: 2px solid var(--ink); }
.doc-table tbody th { width: auto; padding-right: 16px; font-weight: 600; color: var(--ink); }
.doc-table td { padding-right: 16px; font-weight: 400; color: #333; }
.doc-cta { margin-top: 36px !important; }
.inline-link { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--ink); }
.card.c-guide { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.c-guide .h-lg { font-size: clamp(28px, 3.2vw, 46px); }
.c-guide-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }

/* Scroll-driven animation (see motion.js) */
.hero.is-intro .line > span, .hero.is-intro .hero-desc, .hero.is-intro .hero-link { transition: none; }
.p-hero { overflow: hidden; }
.p-hero::after { transition: opacity .6s ease .5s; }
.p-hero.pre::after { opacity: 0; transition: none; }
.clip-box { overflow: hidden; }
.cta { overflow: hidden; }
.cta .pic { overflow: hidden; }

/* Responsive */
@media (max-width: 1360px) {
  .nav { gap: 28px; }
  .brand .logo, .nav.solid .brand .logo { width: 180px; }
  #nav-links { gap: 22px; }
}
@media (max-width: 1024px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .card.c-guide { grid-template-columns: minmax(0, 1fr); }
  .c-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-stats div { padding-block: 20px; }
  .c-stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .c-stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .3); }
  .card.c-intro, .bp, .card.c-why { grid-template-columns: 1fr; }
  .c-intro-photo { min-height: 300px; margin-top: 0; }
  .c-tabs + .c-stats { padding-bottom: 0; }
  .c-why .grid-head { position: static; }
  .c-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .burger { display: grid; }
  #nav-links { position: fixed; inset: var(--nav-h) 0 0; z-index: 40; display: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px var(--shell); overflow-y: auto; background: var(--black); color: #fff; font-size: clamp(24px, 5vw, 36px); font-weight: 700; }
  .nav.open #nav-links { display: flex; }
  #nav-links > li > a[aria-current="page"] { color: var(--red-on-black); }
  #nav-links > li > a::after { display: none; }
  #nav-links { margin: 0; }
  .nav-right { flex: none; order: 2; margin-left: auto; gap: 12px; }
  .burger { order: 3; margin-left: 0; }
  .nav-extra { display: list-item; }
  .has-sub::after, .has-sub > a svg { display: none; }
  .nav .sub, .nav.solid .sub { position: static; min-width: 0; padding: 2px 0 10px 16px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; font-size: clamp(16px, 3vw, 20px); font-weight: 500; }
  .sub a { padding: 6px 0; color: var(--on-black); }
  .sub a:hover, .sub a[aria-current="page"] { color: var(--red-on-black); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1024px) {
  .intro, .prod, .cat-feature, .std-list, .card + .std-list, .faq-card { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .intro-foot { grid-column: 1; }
  .prod.flip .prod-media { order: 0; }
  .prod-media { position: static; }
  .cards { --cols: 2 !important; }
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .cat-cover { max-width: 340px; }
}
@media (max-width: 900px) {
  .cfg { display: block; }
  .cfg-media { display: none; }
  .cfg-inline { display: block; width: 100%; height: clamp(220px, 50vw, 380px); object-fit: cover; }
  .cfg-block, .cfg-block:last-child { min-height: 0; padding-bottom: 36px; border-top: 0; }
  .cfg-block:not(.is-on) > * { opacity: 1; }
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 760px) {
  :root { --nav-full: 68px; }
  .nav, .nav.solid { min-height: 68px; margin-bottom: 0; }
  .brand .logo, .nav.solid .brand .logo { width: 150px; }
  .p-hero { display: flow-root; min-height: 0; }
  .p-hero > img { height: 190px; clip-path: none; }
  .p-hero::after { display: none; }
  .p-hero > .crumbs { padding-top: 28px; }
  .p-hero > .lead { margin-bottom: 36px; }
  .sol { grid-template-columns: 56px minmax(0, 1fr); }
  .sol .ghost { font-size: 28px; }
  .sol p { grid-column: 2; }
  .panel { margin-top: -40px; width: calc(100% - 20px); }
  .stats, .duo { grid-template-columns: 1fr; }
  .visit .row { max-width: 100%; }
  .cta { padding-inline: 0; padding-bottom: 0; justify-content: stretch; }
  .cta .go { width: 100%; padding-inline: var(--shell); }
  .cards { --cols: 1 !important; }
  .intro-foot { grid-template-columns: 1fr; gap: 18px; }
  .std-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .std-list li span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--on-black); }
}
@media (max-width: 600px) {
  .bp-draw .t { font-size: 20px; }
}
@media (max-width: 520px) {
  .c-cards, .c-cards.four { grid-template-columns: 1fr; }
  .c-stats div { padding-inline: 12px; }
  .c-why .cards { --cols: 1 !important; }
  .nav-right .btn { display: none; }
  .h-xl { font-size: clamp(30px, 9.6vw, 40px); }
  .h-lg, .prod h2 { font-size: clamp(25px, 7.9vw, 32px); }
  .roles { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel .ghost { grid-row: auto; font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { transition: none; }
  .js .rv:not(.in) { opacity: 1; }
}

/* Blog: lead story joined to the page header, guides as a ruled index */
.post-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: var(--sec) 0; background: #fff; color: var(--ink); }
.post-feature .ph { position: relative; order: 2; min-height: clamp(320px, 34vw, 520px); }
.post-feature .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.post-feature .ph::after { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: polygon(14% 0, 15.4% 0, 1.4% 100%, 0 100%); pointer-events: none; }
.post-feature .body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 0 clamp(24px, 3vw, 48px) 0 var(--shell); }
.post-feature h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; }
.post-feature p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--body); }
.post-feature .small { color: var(--body); }
.post-feature:hover .link-ar { color: var(--red); }
.post-head { align-items: flex-end; margin-bottom: clamp(24px, 3vw, 40px); }
.post-list { display: block; margin-top: 0; border-top: 2px solid var(--ink); }
.post-list .tile { display: grid; grid-template-rows: auto 1fr; grid-template-columns: 170px minmax(0, 1fr) clamp(200px, 22vw, 300px); column-gap: clamp(24px, 4vw, 56px); padding-block: clamp(24px, 2.6vw, 36px); border-bottom: 1px solid var(--line); }
.post-list .tile[hidden] { display: none; }
.post-list .tile .body { display: contents; }
.post-list .tile .meta { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; align-self: start; font-size: 13px; line-height: 1.4; }
.post-list .tile h3 { grid-column: 2; grid-row: 1; align-self: start; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.01em; }
.post-list .tile p { grid-column: 2; grid-row: 2; align-self: start; max-width: 36em; margin-top: 12px; font-size: 16px; }
.post-list .tile .ph { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: 1.6; }
.post-list .tile .ph img { clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); }
.post-list .tile:not(:has(.meta)) { grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 300px); }
.post-list .tile:not(:has(.meta)) h3, .post-list .tile:not(:has(.meta)) p { grid-column: 1; }
.post-list .tile:not(:has(.meta)) .ph { grid-column: 2; }
.post-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: var(--shell); background: var(--red); color: #fff; }
.post-bar > div { padding: 18px 20px; border-left: 1px solid rgba(255, 255, 255, .35); }
.post-bar > div:first-child { padding-left: 0; border-left: 0; }
.post-bar small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-bar b { display: block; font-size: clamp(15px, 1.25vw, 18px); font-weight: 700; line-height: 1.25; }
.post .toc { padding-top: 0; border-top: 0; }
.post .toc ul { border-left: 2px solid var(--line); }
.post .toc li { margin-bottom: 0; }
.post .toc a { display: block; margin-left: -2px; padding: 8px 0 8px 14px; border-left: 2px solid transparent; }
.post .toc a[aria-current="true"] { border-color: var(--red); font-weight: 600; color: var(--red); }
.post .doc-body > p:first-child { font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.post .doc-body > h2 { margin-top: clamp(48px, 5vw, 72px); padding-top: 18px; border-top: 2px solid var(--ink); font-size: clamp(25px, 2.5vw, 38px); }
.post .doc-body > figure { margin-top: clamp(40px, 4vw, 56px); }
.post .doc-body > figure img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.post .doc-body > figure + h2 { margin-top: clamp(40px, 4vw, 56px); }
.post .doc-table { border-top: 0; }
.post .doc-table thead th { padding: 13px 14px; background: var(--black); color: #fff; border-bottom: 0; }
.post .doc-table tbody th, .post .doc-table td { padding: 13px 14px; }
.post .doc-body .callout { padding: 24px 28px; border-left: 6px solid var(--red-on-black); font-size: 17px; }
.post .doc-cta { padding-top: 28px; border-top: 2px solid var(--ink); }
@media (max-width: 1180px) {
  .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature .ph { order: 0; min-height: 0; aspect-ratio: 1.8; }
  .post-feature .ph img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px)); }
  .post-feature .ph::after { display: none; }
  .post-feature .body { padding: 28px var(--shell) 0; }
  .post-list .tile { grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, 1fr) clamp(150px, 26vw, 240px); }
  .post-list .tile .meta { grid-column: 1; grid-row: 1; flex-direction: row; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 10px; }
  .post-list .tile h3 { grid-column: 1; grid-row: 2; align-self: start; }
  .post-list .tile p { grid-column: 1; grid-row: 3; }
  .post-list .tile .ph { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .post-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-bar > div { padding: 14px 16px; }
  .post-bar > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .post-bar > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .35); }
}
@media (max-width: 560px) {
  .post-list .tile, .post-list .tile:not(:has(.meta)) { grid-template-rows: auto; grid-template-columns: minmax(0, 1fr); }
  .post-list .tile:not(:has(.meta)) .ph { grid-column: 1; }
  .post-list .tile .ph { grid-column: 1; grid-row: 4; margin-top: 16px; aspect-ratio: 2; }
}
