/* ORVANTA — "colour-flood" home page concept */
:root {
  --cream: #FBF6EC;
  --ink: #111111;
  --scene: #0B3D91;
  --scene-ink: #FFFFFF;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: "Hanken Grotesk", system-ui, sans-serif;
}
body.cx { background: var(--cream); color: var(--ink); }
.cx h1, .cx h2, .cx h3 { letter-spacing: -0.03em; }

/* Floating pill navigation */
.cx-nav { position: fixed; top: 14px; left: 14px; right: 14px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.cx-nav .logo img { display: block; height: 22px; width: auto; }
.cx-nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.cx-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.cx-nav ul a:hover { background: rgba(0,0,0,.06); }
.cx-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; font: 600 15px/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.cx-pill:hover { transform: translateY(-1px); }
.cx-pill.light { background: var(--cream); color: var(--ink); }
.cx-pill.orange { background: #FE8101; color: #000; }
.cx-pill .arr { transition: transform .2s var(--ease); }
.cx-pill:hover .arr { transform: translateX(3px); }
.cx-menu-btn { display: inline-flex; }
@media (min-width: 1000px) { .cx-nav ul { display: flex; } .cx-menu-btn { display: none; } }
.cx-drawer { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; padding: 96px 28px 28px; display: none; flex-direction: column; gap: 6px; }
.cx-drawer.open { display: flex; }
.cx-drawer a { color: #fff; text-decoration: none; font-size: clamp(32px, 9vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.cx-drawer .close { position: absolute; top: 22px; right: 22px; }

/* HERO carousel */
.cx-hero { position: relative; min-height: 100svh; background: var(--scene); color: var(--scene-ink); overflow: hidden; transition: background-color .7s var(--ease), color .7s var(--ease);
  display: grid; grid-template-rows: 1fr auto; padding: 96px 20px 28px; }
.cx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 42%, rgba(255,255,255,.18), transparent 70%); }
.cx-stage { position: relative; height: min(56svh, 560px); margin-top: 2svh; }
.cx-slide { position: absolute; left: 50%; top: 50%; height: 100%; width: 34%; display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%) translateX(calc(var(--pos) * min(24vw, 330px))) rotate(calc(var(--pos) * 9deg)) scale(var(--scale, 1));
  transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s; opacity: var(--op, 1); z-index: var(--z, 1); }
.cx-slide img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.cx-slide.wide img { max-height: 46%; }
.cx-hero-copy { position: relative; z-index: 5; display: grid; gap: 18px; align-items: end; grid-template-columns: 1fr; }
.cx-name { text-align: center; }
.cx-name .big { display: block; font-size: clamp(44px, 9vw, 120px); font-weight: 600; letter-spacing: -0.045em; line-height: .95; }
.cx-name .meta { display: block; margin-top: 8px; font-size: 15px; opacity: .85; }
.cx-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.cx-round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.cx-round:hover { background: var(--scene-ink); color: var(--scene); }
.cx-dots { display: flex; gap: 6px; }
.cx-dots button { width: 26px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.cx-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; opacity: .4; transition: width .3s var(--ease), opacity .3s; }
.cx-dots button[aria-current="true"]::before { width: 22px; opacity: 1; }
.cx-intro h1 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.02; margin: 0; max-width: 13ch; font-weight: 600; }
.cx-intro p { margin: 10px 0 0; max-width: 40ch; opacity: .9; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
@media (min-width: 1000px) {
  .cx-hero { padding: 96px 40px 36px; }
  .cx-hero-copy { grid-template-columns: 1fr auto 1fr; }
  .cx-actions { justify-content: flex-end; }
}
@media (max-width: 640px) { .cx-slide { width: 52%; } .cx-stage { height: 44svh; } }

/* Stats */
.cx-stats { background: var(--cream); padding: 56px 20px; }
.cx-stats ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.cx-stats li { border-top: 2px solid var(--ink); padding-top: 14px; }
.cx-stats b { display: block; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.cx-stats span { color: #444; font-size: 15px; }
@media (min-width: 900px) { .cx-stats ul { grid-template-columns: repeat(4, 1fr); } }

/* Aisle scenes */
.cx-aisles { position: relative; background: var(--scene); color: var(--scene-ink); transition: background-color .8s var(--ease), color .8s var(--ease); }
.cx-scene { min-height: 100svh; display: grid; align-items: center; padding: 110px 20px 60px; max-width: 1280px; margin: 0 auto; grid-template-columns: 1fr; gap: 28px; }
.cx-scene .idx { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cx-scene h2 { font-size: clamp(64px, 13vw, 180px); line-height: .86; margin: 10px 0 18px; font-weight: 600; letter-spacing: -0.055em; }
.cx-scene p.lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 30ch; margin: 0 0 18px; opacity: .92; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.cx-tags li { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.cx-cluster { position: relative; height: min(70svh, 620px); }
.cx-cluster img { position: absolute; object-fit: contain; filter: drop-shadow(0 28px 34px rgba(0,0,0,.32)); will-change: transform; transition: transform .2s linear; }
.cx-cluster img:nth-child(1) { width: 46%; height: 78%; left: 27%; top: 8%; z-index: 3; }
.cx-cluster img:nth-child(2) { width: 38%; height: 56%; left: 0; top: 30%; z-index: 2; rotate: -10deg; }
.cx-cluster img:nth-child(3) { width: 38%; height: 56%; right: 0; top: 18%; z-index: 1; rotate: 9deg; }
.cx-scene .cx-pill { background: var(--scene-ink); color: var(--scene); }
@media (min-width: 900px) { .cx-scene { grid-template-columns: 1fr 1.1fr; padding: 110px 40px 60px; } }
.cx-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.cx-rail.on { opacity: 1; pointer-events: auto; }
.cx-rail a { width: 44px; height: 34px; display: grid; place-items: center; }
.cx-rail a::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--scene-ink); background: var(--c); transition: transform .3s var(--ease); }
.cx-rail a[aria-current="true"]::before { transform: scale(1.45); }
@media (min-width: 900px) { .cx-rail { display: flex; } }

/* Brand marquee */
.cx-marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 28px 0; }
.cx-marquee .track { display: flex; gap: 48px; width: max-content; animation: cx-scroll 38s linear infinite; }
.cx-marquee span { font-size: clamp(30px, 4vw, 54px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.cx-marquee span::after { content: "✦"; margin-left: 48px; color: #FE8101; font-size: .5em; vertical-align: middle; }
.cx-marquee:hover .track { animation-play-state: paused; }
@keyframes cx-scroll { to { transform: translateX(-50%); } }

/* Sections on cream */
.cx-sec { padding: clamp(72px, 10vw, 140px) 20px; max-width: 1280px; margin: 0 auto; }
.cx-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #555; }
.cx-sec h2 { font-size: clamp(40px, 6vw, 84px); line-height: .95; margin: 12px 0 40px; font-weight: 600; max-width: 14ch; }
.cx-who { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cx-who a { display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 26px; border-radius: 28px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid #E8E0D0; transition: transform .35s var(--ease), box-shadow .35s; }
.cx-who a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.cx-who h3 { font-size: 26px; line-height: 1.05; margin: 0 0 10px; font-weight: 600; }
.cx-who p { margin: 0; color: #444; }
.cx-who .go { margin-top: 22px; font-weight: 600; }
@media (min-width: 760px) { .cx-who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cx-who { grid-template-columns: repeat(4, 1fr); } }
.cx-steps { display: grid; gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.cx-steps li { list-style: none; display: grid; grid-template-columns: 70px 1fr; gap: 10px 24px; padding: 28px 0; border-bottom: 1px solid #DCD3C2; }
.cx-steps li::before { counter-increment: s; content: "0" counter(s); font-size: 15px; font-weight: 600; color: #555; padding-top: 10px; }
.cx-steps h3 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1; margin: 0 0 8px; font-weight: 600; }
.cx-steps p { margin: 0; color: #444; max-width: 52ch; grid-column: 2; }
.cx-steps div { grid-column: 2; }
@media (min-width: 900px) { .cx-steps li { grid-template-columns: 120px 1fr 1fr; align-items: start; } .cx-steps div { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .cx-steps p { grid-column: auto; } }
.cx-faq { border-top: 2px solid var(--ink); }
.cx-faq details { border-bottom: 1px solid #DCD3C2; }
.cx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; min-height: 44px; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after { content: "+"; font-size: 32px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); flex: none; }
.cx-faq details[open] summary::after { transform: rotate(45deg); }
.cx-faq p { margin: 0 0 24px; max-width: 62ch; color: #444; }

/* Closing call to action */
.cx-cta { background: #FE8101; color: #000; border-radius: 40px; margin: 0 14px 14px; padding: clamp(56px, 8vw, 110px) 24px; position: relative; overflow: hidden; text-align: center; }
.cx-cta h2 { font-size: clamp(48px, 9vw, 140px); line-height: .9; margin: 0 auto 18px; font-weight: 600; letter-spacing: -0.05em; max-width: 11ch; }
.cx-cta p { margin: 0 auto 28px; max-width: 46ch; font-size: 18px; }
.cx-cta img { position: absolute; width: clamp(80px, 12vw, 170px); filter: drop-shadow(0 20px 26px rgba(0,0,0,.25)); pointer-events: none; }
.cx-cta img.a { left: 4%; top: 12%; rotate: -14deg; }
.cx-cta img.b { right: 5%; bottom: 10%; rotate: 12deg; }
@media (max-width: 760px) { .cx-cta img { display: none; } }

/* Reveal on scroll */
.cx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.cx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cx-reveal { opacity: 1; transform: none; }
  .cx-marquee .track { animation: none; }
  .cx-slide, .cx-hero, .cx-aisles { transition: none; }
}
/* fixes */
.cx-scene p.lead, .cx-hero p { color: inherit; }
.cx-scene h2 { font-size: clamp(60px, 11vw, 160px); }
.cx-cluster.bars img { width: 78% !important; height: 30% !important; }
.cx-cluster.bars img:nth-child(1) { left: 14%; top: 34%; rotate: -4deg; }
.cx-cluster.bars img:nth-child(2) { left: 0; top: 6%; rotate: -12deg; }
.cx-cluster.bars img:nth-child(3) { left: auto; right: 0; top: 64%; rotate: 8deg; }
.cx-cta img { width: auto; height: clamp(120px, 18vw, 260px); }
.cx-cta img.b { height: clamp(60px, 8vw, 110px); }
html:has(body.cx), body.cx { overflow-x: clip; }
.cx-nav .cx-pill { white-space: nowrap; }
@media (max-width: 420px) { .cx-nav { padding-left: 16px; } .cx-nav .cx-pill { padding: 0 14px; font-size: 14px; } .cx-nav .logo img { height: 19px; } }

/* ===== Site-wide colour-flood style (inner pages) ===== */
body.cx-inner { background: var(--cream); }
body.cx-inner { --radius-md: 18px; --radius-lg: 28px; }
.cx-inner .bg-light { background: #F4ECDD; }
.cx-inner h1, .cx-inner h2 { letter-spacing: -0.035em; }
.cx-inner .section h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; }
.cx-inner .btn { border-radius: 999px; padding: 13px 24px; }
.cx-inner .card, .cx-inner .p-card, .cx-inner .brand-tile { border-color: #E6DCCB; transition: transform .3s var(--ease), box-shadow .3s; }
.cx-inner .card:hover, .cx-inner .p-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.cx-inner .p-filter { border-color: #E6DCCB; border-radius: 22px; }
.cx-inner .p-filter input, .cx-inner .p-filter select { border-radius: 12px; }
.cx-inner .brands { border-bottom: 0; background: var(--ink); color: var(--cream); }
.cx-inner .brands .label { color: rgba(251,246,236,.7); }
.cx-inner .brands li { color: var(--cream); }
.cx-inner .note { background: #fff; border: 1px solid #E6DCCB; border-radius: 22px; }
.cx-inner .photo-band { border-radius: 28px; margin: 0 14px; }
.cx-inner .cta-image { border-radius: 40px; margin: 14px; }
.cx-inner .form-panel { background: #fff; border: 1px solid #E6DCCB; }
.cx-main > :first-child:not(.cx-ph) { padding-top: 150px; }
.cx-inner .site-footer { margin-top: 0; }

/* Colour page header */
.cx-ph { background: var(--bg, var(--cream)); color: var(--ink2, #111); padding: 150px 20px 72px; }
.cx-ph .wrap { max-width: 1280px; margin: 0 auto; display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.cx-ph .kick { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 14px; color: inherit; }
.cx-ph h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .92; letter-spacing: -0.05em; margin: 0 0 20px; font-weight: 600; color: inherit; }
.cx-ph p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 36ch; margin: 0; color: inherit; }
.cx-ph .vis { position: relative; min-height: 260px; }
.cx-ph .vis.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.cx-ph .vis.cluster { height: 380px; }
.cx-ph .vis.cluster img { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.3)); }
.cx-ph .vis.cluster img:nth-child(1) { width: 46%; height: 86%; left: 27%; top: 4%; z-index: 3; }
.cx-ph .vis.cluster img:nth-child(2) { width: 36%; height: 62%; left: 0; top: 26%; rotate: -10deg; z-index: 2; }
.cx-ph .vis.cluster img:nth-child(3) { width: 36%; height: 62%; right: 0; top: 18%; rotate: 9deg; z-index: 1; }
.cx-ph .vis.cluster.bars img { width: 78%; height: 30%; }
.cx-ph .vis.cluster.bars img:nth-child(1) { left: 12%; top: 36%; rotate: -4deg; }
.cx-ph .vis.cluster.bars img:nth-child(2) { left: 0; top: 4%; rotate: -12deg; }
.cx-ph .vis.cluster.bars img:nth-child(3) { left: auto; right: 0; top: 66%; rotate: 8deg; }
@media (min-width: 900px) { .cx-ph { padding: 170px 40px 96px; } .cx-ph .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; } .cx-ph .vis.cluster { height: 460px; } }
@media (max-width: 640px) { .cx-ph .vis.cluster { height: 280px; } }
.cx-ph.plain .wrap { grid-template-columns: 1fr; }
.cx-ph .vis.photo img { height: auto; }
.contact-grid > *, .grid-3 > *, .grid-2 > *, .cx-ph .wrap > * { min-width: 0; }
.tile img { height: auto; }
